Import table
advapi32.dll
SetServiceStatus, FreeSid, AddAccessAllowedAce, InitializeAcl, GetLengthSid, AllocateAndInitializeSid, SetSecurityDescriptorDacl, InitializeSecurityDescriptor, RegisterServiceCtrlHandlerA, StartServiceCtrlDispatcherA
kernel32.dll
SetEvent, LeaveCriticalSection, CloseHandle, DisconnectNamedPipe, ResetEvent, GetOverlappedResult, GetLastError, WriteFile, EnterCriticalSection, GlobalAlloc, GlobalFree, WaitForSingleObject, GetTickCount, ConnectNamedPipe, CreateNamedPipeA, DeleteCriticalSection, CreateEventA, InitializeCriticalSection, RegisterApplicationRestart, GetCommandLineW, HeapSetInformation, GetCurrentProcess, TerminateProcess, GetSystemTimeAsFileTime, GetCurrentProcessId, GetCurrentThreadId, QueryPerformanceCounter, GetModuleHandleA, UnhandledExceptionFilter, SetUnhandledExceptionFilter, InterlockedCompareExchange, Sleep, InterlockedExchange
msvcrt.dll
DllMain
ws2_32.dll
freeaddrinfo, getaddrinfo