Function at 0x100076bd
Capabilities:
Link many functions at runtime
Rebuild import table

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x100076ca
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.kernel32.dll
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateProcessA
push eax
mov dword [esi + 8], eax
call edi
push str.GetModuleFileNameA
mov dword [esi + 0x20], eax
push dword [esi + 8]
call edi
push str.CreateMutexA
mov dword [esi + 0x24], eax
push dword [esi + 8]
call edi
push str.ReleaseMutex
mov dword [esi + 0x28], eax
push dword [esi + 8]
call edi
push str.GetLastError
mov dword [esi + 0x2c], eax
push dword [esi + 8]
call edi
push str.CloseHandle
mov dword [esi + 0x30], eax
push dword [esi + 8]
call edi
push str.Sleep
mov dword [esi + 0x34], eax
push dword [esi + 8]
call edi
push str.lstrcatA
mov dword [esi + 0x38], eax
push dword [esi + 8]
call edi
push str.GetTickCount
mov dword [esi + 0x3c], eax
push dword [esi + 8]
call edi
push str.WaitForSingleObject
mov dword [esi + 0x40], eax
push dword [esi + 8]
call edi
push str.GetFileAttributesA
mov dword [esi + 0x44], eax
push dword [esi + 8]
call edi
push str.CreateEventA
mov dword [esi + 0x48], eax
push dword [esi + 8]
call edi
push str.ResetEvent
mov dword [esi + 0x4c], eax
push dword [esi + 8]
call edi
push str.CancelIo
mov dword [esi + 0x50], eax
push dword [esi + 8]
call edi
push str.SetEvent
mov dword [esi + 0x54], eax
push dword [esi + 8]
call edi
push str.TerminateThread
mov dword [esi + 0x58], eax
push dword [esi + 8]
call edi
push str.GetVersionExA
mov dword [esi + 0x5c], eax
push dword [esi + 8]
call edi
push str.GetExitCodeProcess
mov dword [esi + 0x60], eax
push dword [esi + 8]
call edi
push str.ExpandEnvironmentStringsA
mov dword [esi + 0x64], eax
push dword [esi + 8]
call edi
push str.GetSystemInfo
mov dword [esi + 0x68], eax
push dword [esi + 8]
call edi
push str.GetSystemDirectoryA
mov dword [esi + 0x6c], eax
push dword [esi + 8]
call edi
push str.MoveFileA
mov dword [esi + 0x70], eax
push dword [esi + 8]
call edi
push str.MoveFileExA
mov dword [esi + 0x74], eax
push dword [esi + 8]
call edi
push str.WTSGetActiveConsoleSessionId
mov dword [esi + 0x78], eax
push dword [esi + 8]
call edi
push str.GetCurrentProcess
mov dword [esi + 0x7c], eax
push dword [esi + 8]
call edi
push str.User32.dll
mov dword [esi + 0x80], eax
call ebx
push str.wsprintfA
push eax
mov dword [esi + 0xc], eax
call edi
push str.ExitWindowsEx
mov dword [esi + 0x84], eax
push dword [esi + 0xc]
call edi
push str.MessageBoxA
mov dword [esi + 0x88], eax
push dword [esi + 0xc]
call edi
push str.IsWindowVisible
mov dword [esi + 0x8c], eax
push dword [esi + 0xc]
call edi
push str.SendMessageA
mov dword [esi + 0x90], eax
push dword [esi + 0xc]
call edi
push str.EnumWindows
mov dword [esi + 0x94], eax
push dword [esi + 0xc]
call edi
push str.MSVCRT.dll
mov dword [esi + 0x98], eax
call ebx
push str.strcmp
push eax
mov dword [esi + 0x18], eax
call edi
push str.strlen
mov dword [esi + 0xd8], eax
push dword [esi + 0x18]
call edi
push str.memcpy
mov dword [esi + 0xdc], eax
push dword [esi + 0x18]
call edi
push str.memset
mov dword [esi + 0xe0], eax
push dword [esi + 0x18]
call edi
push str.strstr
mov dword [esi + 0xe4], eax
push dword [esi + 0x18]
call edi
push str.ws2_32.dll
mov dword [esi + 0xe8], eax
call ebx
push str.WSAStartup
mov dword [esi + 0x14], eax
push eax
call edi
push str.WSACleanup
mov dword [esi + 0xec], eax
push dword [esi + 0x14]
call edi
push str.socket
mov dword [esi + 0xf0], eax
push dword [esi + 0x14]
call edi
push str.gethostbyname
mov dword [esi + 0xf4], eax
push dword [esi + 0x14]
call edi
push str.htons
mov dword [esi + 0xf8], eax
push dword [esi + 0x14]
call edi
push str.connect
mov dword [esi + 0xfc], eax
push dword [esi + 0x14]
call edi
push str.send
mov dword [esi + 0x100], eax
push dword [esi + 0x14]
call edi
push str.recv
mov dword [esi + 0x104], eax
push dword [esi + 0x14]
call edi
push str.closesocket
mov dword [esi + 0x108], eax
push dword [esi + 0x14]
call edi
push str.setsockopt
mov dword [esi + 0x10c], eax
push dword [esi + 0x14]
call edi
push str.WSAIoctl
mov dword [esi + 0x110], eax
push dword [esi + 0x14]
call edi
push str.select
mov dword [esi + 0x114], eax
push dword [esi + 0x14]
call edi
push str.getsockname
mov dword [esi + 0x118], eax
push dword [esi + 0x14]
call edi
push str.gethostname
mov dword [esi + 0x11c], eax
push dword [esi + 0x14]
call edi
push str.ADVAPI32.dll
mov dword [esi + 0x120], eax
call ebx
push str.SetServiceStatus
push eax
mov dword [esi + 0x10], eax
call edi
push str.RegisterServiceCtrlHandlerA
mov dword [esi + 0x9c], eax
push dword [esi + 0x10]
call edi
push str.OpenSCManagerA
mov dword [esi + 0xa0], eax
push dword [esi + 0x10]
call edi
push str.OpenServiceA
mov dword [esi + 0xa4], eax
push dword [esi + 0x10]
call edi
push str.StartServiceA
mov dword [esi + 0xa8], eax
push dword [esi + 0x10]
call edi
push str.CloseServiceHandle
mov dword [esi + 0xac], eax
push dword [esi + 0x10]
call edi
mov dword [esi + 0xb0], eax
push str.QueryServiceStatus
push dword [esi + 0x10]
call edi
push str.ControlService
mov dword [esi + 0xb4], eax
push dword [esi + 0x10]
call edi
push str.CreateServiceA
mov dword [esi + 0xb8], eax
push dword [esi + 0x10]
call edi
push str.ChangeServiceConfig2A
mov dword [esi + 0xbc], eax
push dword [esi + 0x10]
call edi
push str.DeleteService
mov dword [esi + 0xc0], eax
push dword [esi + 0x10]
call edi
push str.OpenProcessToken
mov dword [esi + 0xc4], eax
push dword [esi + 0x10]
call edi
push str.DuplicateTokenEx
mov dword [esi + 0xc8], eax
push dword [esi + 0x10]
call edi
push str.SetTokenInformation
mov dword [esi + 0xcc], eax
push dword [esi + 0x10]
call edi
push str.CreateProcessAsUserA
mov dword [esi + 0xd0], eax
push dword [esi + 0x10]
call edi
push str.wininet.dll
mov dword [esi + 0xd4], eax
call ebx
push 1
mov dword [esi + 0x1c], eax
pop eax
pop edi
mov dword [esi + 4], eax
pop ebx
pop esi
ret