Import table
advapi32.dll
RegSetValueExW, RegQueryValueExW, RegOpenKeyExW, RegCreateKeyExW, RegEnumKeyExW, RegCloseKey, ControlService, StartServiceW, StartServiceCtrlDispatcherW, DeleteService, OpenServiceW, CloseServiceHandle, ChangeServiceConfig2W, CreateServiceW, OpenSCManagerW, SetServiceStatus, RegisterServiceCtrlHandlerExW, CreateProcessAsUserW, RevertToSelf, DuplicateTokenEx
kernel32.dll
GetConsoleOutputCP, WriteConsoleA, SetStdHandle, GetStringTypeW, GetStringTypeA, LoadLibraryA, GetCurrentProcess, WriteFile, InterlockedDecrement, GetLastError, WideCharToMultiByte, MultiByteToWideChar, GetModuleFileNameW, OutputDebugStringW, OutputDebugStringA, LoadLibraryW, GetProcAddress, FreeLibrary, CloseHandle, FindResourceExW, FindResourceW, SizeofResource, LockResource, LoadResource, GetEnvironmentStringsW, GetCommandLineA, WriteConsoleW, GetConsoleMode, GetConsoleCP, SetFilePointer, FreeEnvironmentStringsW, CreateFileA, FlushFileBuffers, GetEnvironmentStrings, FreeEnvironmentStringsA, GetModuleFileNameA, GetStdHandle, LCMapStringW, LCMapStringA, GetOEMCP, VirtualAlloc, GetSystemTimeAsFileTime, GetCurrentProcessId, GetTickCount, QueryPerformanceCounter, VirtualFree, HeapCreate, GetStartupInfoA, GetFileType, SetHandleCount, RaiseException, EnterCriticalSection, LeaveCriticalSection, InitializeCriticalSection, DeleteCriticalSection, GetVersionExA, HeapDestroy, HeapAlloc, HeapFree, HeapReAlloc, HeapSize, GetProcessHeap, InterlockedExchange, GetACP, GetLocaleInfoA, GetThreadLocale, LocalFree, TerminateProcess, UnhandledExceptionFilter, SetUnhandledExceptionFilter, IsDebuggerPresent, RtlUnwind, GetModuleHandleA, TlsGetValue, TlsAlloc, TlsSetValue, TlsFree, InterlockedIncrement, SetLastError, GetCurrentThreadId, Sleep, ExitProcess, GetCPInfo, GetCommandLineW
user32.dll
SendMessageW, GetMessageW, TranslateAcceleratorW, TranslateMessage, UnregisterClassA, DispatchMessageW
wtsapi32.dll
WTSFreeMemory, WTSQueryUserToken, WTSEnumerateSessionsW