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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x10006b5e
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
mov dword [esi + 0x28], eax
mov eax, dword [esi + 8]
push str.GetModuleFileNameA
push eax
call edi
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 8]
push str.CreateMutexA
push ecx
call edi
mov dword [esi + 0x30], eax
mov edx, dword [esi + 8]
push str.ReleaseMutex
push edx
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 8]
push str.GetLastError
push eax
call edi
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 8]
push str.CloseHandle
push ecx
call edi
mov dword [esi + 0x3c], eax
mov edx, dword [esi + 8]
push str.Sleep
push edx
call edi
mov dword [esi + 0x40], eax
mov eax, dword [esi + 8]
push str.lstrcatA
push eax
call edi
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 8]
push str.GetTickCount
push ecx
call edi
mov dword [esi + 0x48], eax
mov edx, dword [esi + 8]
push str.WaitForSingleObject
push edx
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 8]
push str.GetFileAttributesA
push eax
call edi
mov dword [esi + 0x50], eax
mov ecx, dword [esi + 8]
push str.CreateEventA
push ecx
call edi
mov dword [esi + 0x54], eax
mov edx, dword [esi + 8]
push str.ResetEvent
push edx
call edi
mov dword [esi + 0x58], eax
mov eax, dword [esi + 8]
push str.CancelIo
push eax
call edi
mov dword [esi + 0x5c], eax
mov ecx, dword [esi + 8]
push str.SetEvent
push ecx
call edi
mov dword [esi + 0x60], eax
mov edx, dword [esi + 8]
push str.TerminateThread
push edx
call edi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 8]
push str.GetVersionExA
push eax
call edi
mov dword [esi + 0x68], eax
mov ecx, dword [esi + 8]
push str.GetExitCodeProcess
push ecx
call edi
mov dword [esi + 0x6c], eax
mov edx, dword [esi + 8]
push str.ExpandEnvironmentStringsA
push edx
call edi
mov dword [esi + 0x70], eax
mov eax, dword [esi + 8]
push str.GetSystemInfo
push eax
call edi
mov dword [esi + 0x74], eax
mov ecx, dword [esi + 8]
push str.GetSystemDirectoryA
push ecx
call edi
mov dword [esi + 0x78], eax
mov edx, dword [esi + 8]
push str.MoveFileA
push edx
call edi
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 8]
push str.MoveFileExA
push eax
call edi
mov dword [esi + 0x80], eax
mov ecx, dword [esi + 8]
push str.WTSGetActiveConsoleSessionId
push ecx
call edi
mov dword [esi + 0x84], eax
mov edx, dword [esi + 8]
push str.GetCurrentProcess
push edx
call edi
mov dword [esi + 0x88], eax
mov eax, dword [esi + 8]
push str.CreateToolhelp32Snapshot
push eax
call edi
mov dword [esi + 0x8c], eax
mov ecx, dword [esi + 8]
push str.Process32First
push ecx
call edi
mov dword [esi + 0x90], eax
mov edx, dword [esi + 8]
push str.Process32Next
push edx
call edi
push str.User32.dll
mov dword [esi + 0x94], eax
call ebx
push str.wsprintfA
push eax
mov dword [esi + 0xc], eax
call edi
mov dword [esi + 0x98], eax
mov eax, dword [esi + 0xc]
push str.ExitWindowsEx
push eax
call edi
mov dword [esi + 0x9c], eax
mov ecx, dword [esi + 0xc]
push str.MessageBoxA
push ecx
call edi
mov dword [esi + 0xa0], eax
mov edx, dword [esi + 0xc]
push str.IsWindowVisible
push edx
call edi
mov dword [esi + 0xa4], eax
mov eax, dword [esi + 0xc]
push str.SendMessageA
push eax
call edi
mov dword [esi + 0xa8], eax
mov ecx, dword [esi + 0xc]
push str.EnumWindows
push ecx
call edi
push str.MSVCRT.dll
mov dword [esi + 0xac], eax
call ebx
push str.strcmp
push eax
mov dword [esi + 0x18], eax
call edi
mov dword [esi + 0x110], eax
mov edx, dword [esi + 0x18]
push str.strlen
push edx
call edi
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x18]
push str.memcpy
push eax
call edi
mov dword [esi + 0x118], eax
mov ecx, dword [esi + 0x18]
push str.memset
push ecx
call edi
mov dword [esi + 0x11c], eax
mov edx, dword [esi + 0x18]
push str.strstr
push edx
call edi
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0x18]
push str.memmove
push eax
call edi
push str.ws2_32.dll
mov dword [esi + 0x124], eax
call ebx
push str.WSAStartup
push eax
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x128], eax
mov ecx, dword [esi + 0x14]
push str.WSACleanup
push ecx
call edi
mov dword [esi + 0x12c], eax
mov edx, dword [esi + 0x14]
push str.socket
push edx
call edi
mov dword [esi + 0x130], eax
mov eax, dword [esi + 0x14]
push str.gethostbyname
push eax
call edi
mov dword [esi + 0x134], eax
mov ecx, dword [esi + 0x14]
push str.htons
push ecx
call edi
mov dword [esi + 0x138], eax
mov edx, dword [esi + 0x14]
push str.connect
push edx
call edi
mov dword [esi + 0x13c], eax
push str.send
mov eax, dword [esi + 0x14]
push eax
call edi
mov dword [esi + 0x140], eax
mov ecx, dword [esi + 0x14]
push str.recv
push ecx
call edi
mov dword [esi + 0x144], eax
mov edx, dword [esi + 0x14]
push str.closesocket
push edx
call edi
mov dword [esi + 0x148], eax
mov eax, dword [esi + 0x14]
push str.setsockopt
push eax
call edi
mov dword [esi + 0x14c], eax
mov ecx, dword [esi + 0x14]
push str.WSAIoctl
push ecx
call edi
mov dword [esi + 0x150], eax
mov edx, dword [esi + 0x14]
push str.select
push edx
call edi
mov dword [esi + 0x154], eax
mov eax, dword [esi + 0x14]
push str.getsockname
push eax
call edi
mov dword [esi + 0x158], eax
mov ecx, dword [esi + 0x14]
push str.gethostname
push ecx
call edi
push str.ADVAPI32.dll
mov dword [esi + 0x15c], eax
call ebx
push str.SetServiceStatus
push eax
mov dword [esi + 0x10], eax
call edi
mov edx, dword [esi + 0x10]
push str.RegisterServiceCtrlHandlerA
push edx
mov dword [esi + 0xb0], eax
call edi
mov dword [esi + 0xb4], eax
mov eax, dword [esi + 0x10]
push str.OpenSCManagerA
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.OpenServiceA
push ecx
mov dword [esi + 0xb8], eax
call edi
mov edx, dword [esi + 0x10]
push str.StartServiceA
push edx
mov dword [esi + 0xbc], eax
call edi
mov dword [esi + 0xc0], eax
mov eax, dword [esi + 0x10]
push str.CloseServiceHandle
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.QueryServiceStatus
push ecx
mov dword [esi + 0xc4], eax
call edi
mov edx, dword [esi + 0x10]
push str.ControlService
push edx
mov dword [esi + 0xc8], eax
call edi
mov dword [esi + 0xcc], eax
mov eax, dword [esi + 0x10]
push str.CreateServiceA
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.ChangeServiceConfig2A
push ecx
mov dword [esi + 0xd0], eax
call edi
mov edx, dword [esi + 0x10]
push str.DeleteService
push edx
mov dword [esi + 0xd4], eax
call edi
mov dword [esi + 0xd8], eax
mov eax, dword [esi + 0x10]
push str.OpenProcessToken
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.DuplicateTokenEx
push ecx
mov dword [esi + 0xdc], eax
call edi
mov edx, dword [esi + 0x10]
push str.SetTokenInformation
push edx
mov dword [esi + 0xe0], eax
call edi
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x10]
push str.CreateProcessAsUserA
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.RegQueryValueExA
push ecx
mov dword [esi + 0xe8], eax
call edi
mov edx, dword [esi + 0x10]
push str.RegOpenKeyExA
push edx
mov dword [esi + 0xec], eax
call edi
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0x10]
push str.RegEnumValueA
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.RegEnumKeyExA
push ecx
mov dword [esi + 0xf4], eax
call edi
mov edx, dword [esi + 0x10]
push str.RegCloseKey
push edx
mov dword [esi + 0xf8], eax
call edi
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x10]
push str.RegCreateKeyExA
push eax
call edi
mov ecx, dword [esi + 0x10]
push str.RegSetValueExA
push ecx
mov dword [esi + 0x100], eax
call edi
mov edx, dword [esi + 0x10]
push str.RegDeleteKeyA
push edx
mov dword [esi + 0x104], eax
call edi
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x10]
push str.RegDeleteValueA
push eax
call edi
mov dword [esi + 0x10c], eax
push str.wininet.dll
call ebx
push str.Ole32.dll
mov dword [esi + 0x1c], eax
call ebx
push str.CoInitialize
push eax
mov dword [esi + 0x20], eax
call edi
mov ecx, dword [esi + 0x20]
push str.CoUninitialize
push ecx
mov dword [esi + 0x160], eax
call edi
mov edx, dword [esi + 0x20]
push str.CoCreateInstance
push edx
mov dword [esi + 0x164], eax
call edi
mov dword [esi + 0x168], eax
mov eax, 1
pop edi
mov dword [esi + 4], eax
pop ebx
pop esi
ret