Function at 0x456224
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x45622d
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x456246
add esp, 0xfffffff0
call fcn.00403fd0
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4564b1
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.00404a78
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4562e2
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00409a50
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
mov edx, 1
call fcn.00421718
mov eax, dword [ebp - 0x10]
mov edx, 0x4564e4
call fcn.00404e40
setne al
push eax
lea eax, [ebp - 0x18]
call fcn.00409a50
mov eax, dword [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
call fcn.00409a50
lea eax, [ebp - 0x1c]
mov edx, 0x4564e4
call fcn.00404cfc
mov edx, dword [ebp - 0x1c]
pop ecx
pop eax
call fcn.004216b0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
mov ecx, 0x4564f0
call fcn.00404d40
xor eax, eax
push ebp
push 0x456441
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
call fcn.00404ef4
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
cmp ebx, 0x20
jbe 0x4563f4
push 0x456500
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
push 0x456510
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 0x456520
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 0x456530
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 0x456540
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 0x456550
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 0x456560
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 0x456570
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 0x456580
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 0x456590
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 0x456437
push 0x10
push 0x4565a0
push 0x4565b8
mov eax, dword [ebp - 4]
push dword [eax + 0x34]
push 0x4565ec
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00404db4
mov eax, dword [ebp - 0x20]
call fcn.00404ef4
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 0x456496
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x456496
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4564b8
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404a48
ret