Import table
advapi32.dll
RegOpenKeyExW, RegisterServiceCtrlHandlerW, CreateProcessAsUserW, StartServiceCtrlDispatcherW, OpenProcessToken, SetServiceStatus, RegCloseKey, RegQueryValueExW
kernel32.dll
GetCommandLineA, FlushFileBuffers, CreateFileA, GetModuleFileNameW, lstrlenW, lstrcpyW, GetPrivateProfileIntW, GetLastError, GetProcAddress, FreeLibrary, HeapAlloc, Process32FirstW, HeapFree, Process32NextW, lstrcmpiW, GetProcessHeap, CreateToolhelp32Snapshot, GetPrivateProfileStringW, CloseHandle, GetPrivateProfileSectionW, OpenProcess, LoadLibraryW, Sleep, GetFileAttributesW, WritePrivateProfileStringW, lstrcpynW, CreateFileW, lstrcatW, DeleteFileW, GetSystemTime, SetFilePointer, WriteFile, GetVersionExA, TerminateProcess, GetCurrentProcess, UnhandledExceptionFilter, SetUnhandledExceptionFilter, IsDebuggerPresent, RaiseException, GetModuleHandleA, ExitProcess, GetStdHandle, GetModuleFileNameA, FreeEnvironmentStringsA, MultiByteToWideChar, GetEnvironmentStrings, FreeEnvironmentStringsW, GetEnvironmentStringsW, GetCommandLineW, SetHandleCount, GetFileType, GetStartupInfoA, DeleteCriticalSection, TlsGetValue, TlsAlloc, TlsSetValue, TlsFree, InterlockedIncrement, SetLastError, GetCurrentThreadId, InterlockedDecrement, HeapDestroy, HeapCreate, VirtualFree, QueryPerformanceCounter, GetTickCount, GetCurrentProcessId, GetSystemTimeAsFileTime, GetCPInfo, GetACP, GetOEMCP, IsValidCodePage, WideCharToMultiByte, GetConsoleCP, GetConsoleMode, EnterCriticalSection, LeaveCriticalSection, VirtualAlloc, HeapReAlloc, HeapSize, LoadLibraryA, InitializeCriticalSection, RtlUnwind, LCMapStringA, LCMapStringW, GetStringTypeA, GetStringTypeW, GetLocaleInfoA, SetStdHandle, WriteConsoleA, GetConsoleOutputCP, WriteConsoleW
user32.dll
wsprintfW, CharLowerW
userenv.dll
DestroyEnvironmentBlock, CreateEnvironmentBlock