Import table
advapi32.dll
OpenProcessToken, AdjustTokenPrivileges, ControlService, OpenSCManagerA, SetServiceStatus, QueryServiceStatus, DuplicateTokenEx, RegisterServiceCtrlHandlerExA, LookupPrivilegeValueA, StartServiceA, SetTokenInformation, CreateServiceA, CreateProcessAsUserA, OpenServiceA, CloseServiceHandle, StartServiceCtrlDispatcherA, DeleteService, ChangeServiceConfig2A
kernel32.dll
CloseHandle, WinExec, GetModuleHandleA, WTSGetActiveConsoleSessionId, GetModuleFileNameA, SetProcessWorkingSetSize, GetProcAddress, GetLastError, CreateEventA, Sleep, SetEvent, WaitForSingleObject, GetCurrentProcess, K32EmptyWorkingSet, SetStdHandle, GetOEMCP, UnhandledExceptionFilter, SetUnhandledExceptionFilter, IsDebuggerPresent, EncodePointer, DecodePointer, TerminateProcess, GetCommandLineA, HeapSetInformation, GetCPInfo, InterlockedIncrement, InterlockedDecrement, GetACP, CreateFileW, IsValidCodePage, TlsAlloc, TlsGetValue, TlsSetValue, TlsFree, GetModuleHandleW, SetLastError, GetCurrentThreadId, EnterCriticalSection, LeaveCriticalSection, ExitProcess, WriteFile, GetStdHandle, GetModuleFileNameW, FreeEnvironmentStringsW, WideCharToMultiByte, GetEnvironmentStringsW, SetHandleCount, InitializeCriticalSectionAndSpinCount, GetFileType, GetStartupInfoW, DeleteCriticalSection, HeapCreate, QueryPerformanceCounter, GetTickCount, GetCurrentProcessId, GetSystemTimeAsFileTime, LCMapStringW, MultiByteToWideChar, GetStringTypeW, HeapFree, RtlUnwind, IsProcessorFeaturePresent, LoadLibraryW, HeapAlloc, HeapReAlloc, GetConsoleCP, GetConsoleMode, FlushFileBuffers, SetFilePointer, HeapSize, WriteConsoleW