Import table
advapi32.dll
DeleteService, ControlService, OpenServiceW, CloseServiceHandle, ChangeServiceConfig2W, CreateServiceW, OpenSCManagerW, StartServiceCtrlDispatcherW, RegisterServiceCtrlHandlerExW, SetServiceStatus, GetTokenInformation, SetSecurityDescriptorDacl, InitializeSecurityDescriptor, SetEntriesInAclW, RegOpenKeyW, CreateProcessAsUserW, RegCloseKey, RegQueryValueExW, RegOpenKeyExW, FreeSid, CheckTokenMembership, AllocateAndInitializeSid, StartServiceW
gdi32.dll
GetStockObject
kernel32.dll
WTSGetActiveConsoleSessionId, SetEvent, WaitForMultipleObjects, RaiseException, FlushFileBuffers, CreateFileA, WriteConsoleW, GetConsoleOutputCP, GetModuleFileNameW, SetStdHandle, GetConsoleMode, GetConsoleCP, SetFilePointer, InitializeCriticalSectionAndSpinCount, LoadLibraryA, RtlUnwind, LocalFree, GetVersionExW, CreateEventW, LocalAlloc, GetModuleHandleW, GetTickCount, OpenMutexW, GetLongPathNameW, OpenProcess, Sleep, CreateWaitableTimerW, CreateMutexW, GetCurrentProcessId, ProcessIdToSessionId, SetWaitableTimer, CreateProcessW, CloseHandle, OpenEventW, GetLocalTime, FileTimeToSystemTime, CompareFileTime, LocalFileTimeToFileTime, SystemTimeToFileTime, GetLastError, WriteConsoleA, InitializeCriticalSection, HeapReAlloc, VirtualAlloc, HeapAlloc, GetModuleHandleA, GetLocaleInfoA, GetStartupInfoW, TerminateProcess, GetCurrentProcess, UnhandledExceptionFilter, SetUnhandledExceptionFilter, IsDebuggerPresent, GetCPInfo, InterlockedIncrement, InterlockedDecrement, GetACP, GetOEMCP, IsValidCodePage, GetProcAddress, TlsGetValue, TlsAlloc, TlsSetValue, TlsFree, SetLastError, GetCurrentThreadId, HeapFree, HeapSize, ExitProcess, WriteFile, GetStdHandle, GetModuleFileNameA, FreeEnvironmentStringsW, GetEnvironmentStringsW, GetCommandLineW, SetHandleCount, GetFileType, GetStartupInfoA, DeleteCriticalSection, HeapCreate, VirtualFree, QueryPerformanceCounter, GetSystemTimeAsFileTime, LCMapStringA, WideCharToMultiByte, MultiByteToWideChar, LCMapStringW, GetStringTypeA, GetStringTypeW, LeaveCriticalSection, EnterCriticalSection
psapi.dll
GetModuleFileNameExW
shell32.dll
CommandLineToArgvW
user32.dll
IsDialogMessageW, PeekMessageW, SetTimer, MessageBoxA, CreateWindowExW, RegisterClassExW, LoadIconW, DefWindowProcW, PostQuitMessage, GetWindowThreadProcessId, GetWindowLongW, GetSystemMetrics, GetWindowRect, GetWindowTextA, GetDesktopWindow, GetTopWindow, GetForegroundWindow, MsgWaitForMultipleObjectsEx, DispatchMessageW, TranslateMessage, KillTimer
userenv.dll
DestroyEnvironmentBlock, CreateEnvironmentBlock
wtsapi32.dll
WTSQueryUserToken