Function at 0x459758
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x459761
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x45977a
add esp, 0xfffffff0
call fcn.00403b3c
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4599e5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 4]
add eax, 0x34
mov edx, dword [ebp + 8]
call fcn.004045bc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x459816
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.0040936c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 1
call fcn.0042b1dc
mov eax, dword [ebp - 0x10]
mov edx, 0x459a18
call fcn.00404984
setne al
push eax
lea eax, [ebp - 0x18]
call fcn.0040936c
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
call fcn.0040936c
lea eax, [ebp - 0x1c]
mov edx, 0x459a18
call fcn.00404840
mov edx, dword [ebp - 0x1c]
pop ecx
pop eax
call fcn.0042b174
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
mov ecx, 0x459a24
call fcn.00404884
xor eax, eax
push ebp
push 0x459975
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00404a38
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
cmp ebx, 0x20
jbe 0x459928
push 0x459a34
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push 0x459a44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
push 0x459a54
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
push 0x459a64
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
push 0x459a74
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
push 0x459a84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
push 0x459a94
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
push 0x459aa4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
push 0x459ab4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x5c], eax
push 0x459ac4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
jmp 0x45996b
push 0x10
push 0x459ad4
push 0x459aec
mov eax, dword [ebp - 4]
push dword [eax + 0x34]
push 0x459b20
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004048f8
mov eax, dword [ebp - 0x20]
call fcn.00404a38
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4599ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4599ca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4599ec
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.0040458c
ret