Import table
advapi32.dll
EqualSid, StartServiceCtrlDispatcherW, RegisterServiceCtrlHandlerW, OpenServiceW, ControlService, QueryServiceStatus, DeleteService, OpenSCManagerW, CreateServiceW, CloseServiceHandle, SetServiceStatus, RegisterEventSourceW, ReportEventW, DeregisterEventSource, AllocateAndInitializeSid, GetFileSecurityW, InitializeSecurityDescriptor, GetSecurityDescriptorDacl, GetAclInformation, GetLengthSid, SetFileSecurityW, SetSecurityDescriptorDacl, AddAccessAllowedAce, AddAce, GetAce, InitializeAcl
kernel32.dll
GetCommandLineW, SetConsoleCtrlHandler, Sleep, GetModuleFileNameW, FormatMessageW, lstrlenW, SetEvent, CreateEventW, CreateNamedPipeW, ResetEvent, GetLastError, WaitForMultipleObjects, ConnectNamedPipe, ReadFile, WriteFile, DisconnectNamedPipe, CloseHandle, LocalAlloc, LocalFree, HeapFree, HeapAlloc, GetProcAddress, GetModuleHandleA, ExitProcess, GetVersionExA, GetProcessHeap, TerminateProcess, GetCurrentProcess, UnhandledExceptionFilter, SetUnhandledExceptionFilter, IsDebuggerPresent, HeapDestroy, HeapCreate, VirtualFree, DeleteCriticalSection, LeaveCriticalSection, EnterCriticalSection, VirtualAlloc, HeapReAlloc, GetCPInfo, InterlockedIncrement, InterlockedDecrement, GetACP, GetOEMCP, TlsGetValue, TlsAlloc, TlsSetValue, TlsFree, SetLastError, GetCurrentThreadId, GetStdHandle, GetModuleFileNameA, LoadLibraryA, InitializeCriticalSection, FreeEnvironmentStringsA, MultiByteToWideChar, GetEnvironmentStrings, FreeEnvironmentStringsW, GetEnvironmentStringsW, GetCommandLineA, SetHandleCount, GetFileType, GetStartupInfoA, QueryPerformanceCounter, GetTickCount, GetCurrentProcessId, GetSystemTimeAsFileTime, RtlUnwind, SetFilePointer, WideCharToMultiByte, GetConsoleCP, GetConsoleMode, LCMapStringA, LCMapStringW, GetStringTypeA, GetStringTypeW, GetLocaleInfoA, HeapSize, SetStdHandle, WriteConsoleA, GetConsoleOutputCP, WriteConsoleW, FlushFileBuffers, CreateFileA, IsValidCodePage
shell32.dll
CommandLineToArgvW