Function at 0x404500
Capabilities:
Link many functions at runtime

Disassembly:
mov edx, dword [0x41b250]
sub esp, 0x434
test edx, edx
push ebx
push ebp
push esi
push edi
je 0x404867
mov eax, dword [edx]
test eax, eax
je 0x404867
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x404539
lea esp, [esp]
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x404530
cmp dword [eax], 0
je 0x404867
call fcn.004065d0
mov ecx, dword [edx]
test ecx, ecx
je 0x40455f
mov eax, dword [ecx + 4]
test eax, eax
je 0x40455d
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x404554
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x34]
xor edx, edx
xor esi, esi
test eax, eax
je 0x40458a
lea ebx, [ebx]
mov ecx, dword [eax + 0x10048]
add edx, ecx
mov ecx, dword [eax + 0x1004c]
mov eax, dword [eax + 0x10050]
adc esi, ecx
test eax, eax
jne 0x404570
push 0
push 0x64
push esi
push edx
call fcn.00407a40
push 0
push 0x40000000
push edx
push eax
call fcn.004078b0
mov edi, edx
lea edx, [esp + 0x24]
push edx
mov esi, eax
mov eax, dword [0x41b280]
push 0x2c
call fcn.00402950
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x3c], ebp
je 0x404867
push 0
push 0x64
push edi
push esi
call fcn.00407960
push ebx
push ecx
push edx
push eax
mov eax, dword [0x419010]
push eax
lea ecx, [esp + 0x54]
push ebp
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea edx, [esp + 0x40]
push edx
call fcn.004065d0
add esp, 4
lea eax, [esp + 0x24]
xor ebx, ebx
push eax
mov eax, dword [0x41b280]
push 0x29
mov dword [esp + 0x38], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x20], ebx
call fcn.00402950
lea ecx, [esp + 0x24]
mov edi, eax
mov eax, dword [0x41b280]
push ecx
push 0x2a
mov dword [esp + 0x40], edi
call fcn.00402950
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x30], eax
mov eax, dword [0x41b280]
push 0x2b
mov byte [esp + 0x1f], bl
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00402950
mov ebp, eax
cmp ebp, ebx
je 0x404751
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, ebp
call fcn.004030a0
mov esi, dword [esp + 0x20]
test esi, esi
je 0x40467f
cmp dword [esp + 0x1c], ebx
jle 0x40467f
mov eax, dword [esi]
jmp 0x404681
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40473d
test esi, esi
je 0x4046a2
cmp dword [esp + 0x1c], 1
jle 0x4046a2
mov eax, dword [esi + 4]
jmp 0x4046a4
xor eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x30], eax
je 0x4046c2
cmp dword [esp + 0x1c], 2
jle 0x4046c2
mov eax, dword [esi + 8]
jmp 0x4046c4
xor eax, eax
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x28], eax
je 0x4046dc
cmp dword [esp + 0x1c], 3
jle 0x4046dc
mov eax, dword [esi + 0xc]
jmp 0x4046de
xor eax, eax
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x34], eax
je 0x4046f6
cmp dword [esp + 0x1c], 4
jle 0x4046f6
mov eax, dword [esi + 0x10]
jmp 0x4046f8
xor eax, eax
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x18], eax
je 0x404710
cmp dword [esp + 0x1c], 5
jle 0x404710
mov esi, dword [esi + 0x14]
jmp 0x404712
xor esi, esi
push esi
push edi
call ebx
cmp dword [esp + 0x30], 0
mov ebx, eax
je 0x40473d
cmp dword [esp + 0x28], 0
je 0x40473d
cmp dword [esp + 0x34], 0
je 0x40473d
cmp dword [esp + 0x18], 0
je 0x40473d
test ebx, ebx
je 0x40473d
mov byte [esp + 0x17], 1
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x1c]
call fcn.00403160
test edi, edi
je 0x404853
cmp dword [esp + 0x2c], 0
je 0x404853
cmp byte [esp + 0x17], 0
je 0x404853
push 0
push 0
push 0
push 0
push 0x4081dc
call dword [esp + 0x48]
mov ebp, eax
test ebp, ebp
je 0x404834
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push edi
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x40481e
mov eax, dword [esp + 0x2c]
push 0
push 0x80800000
push 0
lea edx, [esp + 0x4c]
push edx
push 0
push eax
push 0
push esi
call dword [esp + 0x50]
mov edi, eax
test edi, edi
je 0x4047ff
push 0
push 0
push 0
push 0
push edi
call dword [esp + 0x3c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065d0
add esp, 4
push edi
call dword [esp + 0x1c]
push esi
call dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push ebp
call dword [esp + 0x1c]
jmp 0x404843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065d0
add esp, 4
push esi
call dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push ebp
call dword [esp + 0x1c]
jmp 0x404843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065d0
add esp, 4
push ebp
call dword [esp + 0x1c]
jmp 0x404843
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065d0
add esp, 4
mov eax, edi
call fcn.00404250
mov eax, dword [esp + 0x2c]
call fcn.00404250
mov ecx, dword [esp + 0x3c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x434
ret