Function at 0x458340
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x458349
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x458362
add esp, 0xfffffff0
call fcn.004042a8
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4585cd
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.00404d50
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4583fe
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00409ebc
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 1
call fcn.004225c0
mov eax, dword [ebp - 0x10]
mov edx, 0x458600
call fcn.00405118
setne al
push eax
lea eax, [ebp - 0x18]
call fcn.00409ebc
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
call fcn.00409ebc
lea eax, [ebp - 0x1c]
mov edx, 0x458600
call fcn.00404fd4
mov edx, dword [ebp - 0x1c]
pop ecx
pop eax
call fcn.00422558
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
mov ecx, 0x45860c
call fcn.00405018
xor eax, eax
push ebp
push 0x45855d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.004051cc
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
cmp ebx, 0x20
jbe 0x458510
push 0x45861c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push 0x45862c
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 0x45863c
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 0x45864c
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 0x45865c
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 0x45866c
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 0x45867c
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 0x45868c
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 0x45869c
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 0x4586ac
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 0x458553
push 0x10
push 0x4586bc
push 0x4586d4
mov eax, dword [ebp - 4]
push dword [eax + 0x34]
push 0x458708
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.0040508c
mov eax, dword [ebp - 0x20]
call fcn.004051cc
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 0x4585b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4585b2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4585d4
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404d20
ret