Import table
advapi32.dll
StartServiceCtrlDispatcherW, RegisterServiceCtrlHandlerW, CreateServiceW, RegCreateKeyW, RegSetValueExW, RegCloseKey, ChangeServiceConfig2W, StartServiceW, SetServiceStatus, ControlService, DeleteService, OpenSCManagerW, OpenServiceW, CloseServiceHandle
kernel32.dll
GetTickCount, DeleteFileW, Sleep, GetModuleFileNameW, GetLastError, CopyFileW, CreateEventW, MultiByteToWideChar, CreateFileMappingW, UnmapViewOfFile, CloseHandle, WaitForSingleObject, SetEvent, OpenEventW, GetFileType, GetStartupInfoA, HeapDestroy, HeapCreate, VirtualFree, VirtualAlloc, HeapReAlloc, IsBadWritePtr, HeapSize, IsBadReadPtr, IsBadCodePtr, LoadLibraryA, InterlockedExchange, VirtualQuery, MapViewOfFile, SetHandleCount, GetCommandLineW, RtlUnwind, ExitProcess, RaiseException, GetModuleHandleA, GetStartupInfoW, GetVersionExA, HeapAlloc, HeapFree, QueryPerformanceCounter, GetCurrentThreadId, GetCurrentProcessId, GetSystemTimeAsFileTime, GetModuleFileNameA, SetUnhandledExceptionFilter, GetProcAddress, TerminateProcess, GetCurrentProcess, WriteFile, GetStdHandle, UnhandledExceptionFilter, FreeEnvironmentStringsA, GetEnvironmentStrings, FreeEnvironmentStringsW, GetEnvironmentStringsW, GetCommandLineA
shell32.dll
CommandLineToArgvW
shlwapi.dll
StrCpyW, PathCombineW