Function at 0x4044f0
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 0x404857
mov eax, dword [edx]
test eax, eax
je 0x404857
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x404529
lea esp, [esp]
mov eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x404520
cmp dword [eax], 0
je 0x404857
call fcn.004065c0
mov ecx, dword [edx]
test ecx, ecx
je 0x40454f
mov eax, dword [ecx + 4]
test eax, eax
je 0x40454d
mov ecx, eax
mov eax, dword [ecx + 4]
test eax, eax
jne 0x404544
mov ecx, dword [ecx]
mov eax, dword [ecx + 0x34]
xor edx, edx
xor esi, esi
test eax, eax
je 0x40457a
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 0x404560
push 0
push 0x64
push esi
push edx
call fcn.00407a30
push 0
push 0x40000000
push edx
push eax
call fcn.004078a0
mov edi, edx
lea edx, [esp + 0x24]
push edx
mov esi, eax
mov eax, dword [0x41b280]
push 0x2c
call fcn.00402940
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x3c], ebp
je 0x404857
push 0
push 0x64
push edi
push esi
call fcn.00407950
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.004065c0
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.00402940
lea ecx, [esp + 0x24]
mov edi, eax
mov eax, dword [0x41b280]
push ecx
push 0x2a
mov dword [esp + 0x40], edi
call fcn.00402940
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.00402940
mov ebp, eax
cmp ebp, ebx
je 0x404741
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov eax, ebp
call fcn.00403090
mov esi, dword [esp + 0x20]
test esi, esi
je 0x40466f
cmp dword [esp + 0x1c], ebx
jle 0x40466f
mov eax, dword [esi]
jmp 0x404671
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40472d
test esi, esi
je 0x404692
cmp dword [esp + 0x1c], 1
jle 0x404692
mov eax, dword [esi + 4]
jmp 0x404694
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 0x4046b2
cmp dword [esp + 0x1c], 2
jle 0x4046b2
mov eax, dword [esi + 8]
jmp 0x4046b4
xor eax, eax
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x28], eax
je 0x4046cc
cmp dword [esp + 0x1c], 3
jle 0x4046cc
mov eax, dword [esi + 0xc]
jmp 0x4046ce
xor eax, eax
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x34], eax
je 0x4046e6
cmp dword [esp + 0x1c], 4
jle 0x4046e6
mov eax, dword [esi + 0x10]
jmp 0x4046e8
xor eax, eax
push eax
push edi
call ebx
test esi, esi
mov dword [esp + 0x18], eax
je 0x404700
cmp dword [esp + 0x1c], 5
jle 0x404700
mov esi, dword [esi + 0x14]
jmp 0x404702
xor esi, esi
push esi
push edi
call ebx
cmp dword [esp + 0x30], 0
mov ebx, eax
je 0x40472d
cmp dword [esp + 0x28], 0
je 0x40472d
cmp dword [esp + 0x34], 0
je 0x40472d
cmp dword [esp + 0x18], 0
je 0x40472d
test ebx, ebx
je 0x40472d
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.00403150
test edi, edi
je 0x404843
cmp dword [esp + 0x2c], 0
je 0x404843
cmp byte [esp + 0x17], 0
je 0x404843
push 0
push 0
push 0
push 0
push 0x4081dc
call dword [esp + 0x48]
mov ebp, eax
test ebp, ebp
je 0x404824
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 0x40480e
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 0x4047ef
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.004065c0
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 0x404833
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065c0
add esp, 4
push esi
call dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
push ebp
call dword [esp + 0x1c]
jmp 0x404833
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065c0
add esp, 4
push ebp
call dword [esp + 0x1c]
jmp 0x404833
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004065c0
add esp, 4
mov eax, edi
call fcn.00404240
mov eax, dword [esp + 0x2c]
call fcn.00404240
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