Function at 0x4565b8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4565c1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x4565da
add esp, 0xfffffff0
call fcn.004041f0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456845
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.00404c98
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x456676
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00409dc8
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 1
call fcn.00421b50
mov eax, dword [ebp - 0x10]
mov edx, 0x456878
call fcn.00405060
setne al
push eax
lea eax, [ebp - 0x18]
call fcn.00409dc8
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
call fcn.00409dc8
lea eax, [ebp - 0x1c]
mov edx, 0x456878
call fcn.00404f1c
mov edx, dword [ebp - 0x1c]
pop ecx
pop eax
call fcn.00421ae8
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
mov ecx, 0x456884
call fcn.00404f60
xor eax, eax
push ebp
push 0x4567d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00405114
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
cmp ebx, 0x20
jbe 0x456788
push 0x456894
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push 0x4568a4
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 0x4568b4
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 0x4568c4
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 0x4568d4
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 0x4568e4
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 0x4568f4
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 0x456904
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 0x456914
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 0x456924
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 0x4567cb
push 0x10
push 0x456934
push 0x45694c
mov eax, dword [ebp - 4]
push dword [eax + 0x34]
push 0x456980
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404fd4
mov eax, dword [ebp - 0x20]
call fcn.00405114
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 0x45682a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45682a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45684c
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404c68
ret