Import table
advapi32.dll
OpenServiceA, SetSecurityDescriptorDacl, StartServiceA, OpenSCManagerA, InitializeSecurityDescriptor, QueryServiceStatus, RegOpenKeyExA, RegCloseKey, RegQueryValueExA, CloseServiceHandle
kernel32.dll
GetCurrentProcess, SetProcessWorkingSetSize, WaitForMultipleObjects, CreateProcessA, SetEvent, GetVersionExA, GetStartupInfoA, CreateThread, FlushFileBuffers, CreateFileA, GetExitCodeThread, WriteConsoleW, GetConsoleOutputCP, WriteConsoleA, SetStdHandle, LoadLibraryA, GetConsoleMode, GetConsoleCP, SetFilePointer, RtlUnwind, InitializeCriticalSection, CreateEventA, Sleep, GlobalAlloc, GetCommandLineA, GetModuleHandleA, GetModuleFileNameA, WideCharToMultiByte, CloseHandle, HeapSize, GetProcAddress, GetLastError, HeapFree, HeapAlloc, GetProcessHeap, TerminateProcess, UnhandledExceptionFilter, SetUnhandledExceptionFilter, IsDebuggerPresent, GetCPInfo, InterlockedIncrement, InterlockedDecrement, GetACP, GetOEMCP, IsValidCodePage, TlsGetValue, TlsAlloc, TlsSetValue, TlsFree, SetLastError, GetCurrentThreadId, HeapDestroy, HeapCreate, VirtualFree, DeleteCriticalSection, LeaveCriticalSection, EnterCriticalSection, VirtualAlloc, HeapReAlloc, LCMapStringA, MultiByteToWideChar, LCMapStringW, ExitProcess, WriteFile, GetStdHandle, FreeEnvironmentStringsA, GetEnvironmentStrings, FreeEnvironmentStringsW, GetEnvironmentStringsW, SetHandleCount, GetFileType, QueryPerformanceCounter, GetTickCount, GetCurrentProcessId, GetSystemTimeAsFileTime, GetStringTypeA, GetStringTypeW, GetLocaleInfoA
shell32.dll
Shell_NotifyIconA
user32.dll
GetCursorPos, GetMessageA, ShowWindow, TranslateMessage, CreatePopupMenu, RegisterClassExA, PostQuitMessage, TrackPopupMenu, PostMessageA, DispatchMessageA, SetForegroundWindow, GetSystemMetrics, LoadImageA, CreateWindowExA, DestroyMenu, DefWindowProcA, SendMessageA, DestroyIcon, AppendMenuA