Function at 0x404c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x572a08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [0x680770]
xor ebx, ebx
cmp eax, ebx
je 0x404c43
add eax, 0x7c
call fcn.00403be0
test al, al
jne 0x404c4c
cmp byte [ebp + 0xc], bl
je 0x404f9c
call fcn.00407ee0
mov edi, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x40]
call fcn.004a03c0
mov byte [esp + 0x78], 1
lea eax, [esp + 0x13]
push eax
call fcn.00523680
mov ecx, 3
lea esi, [esp + 0x58]
call fcn.004080a0
mov byte [esp + 0x78], 2
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ecx, esi
mov dword [esp + 0x1c], ebx
call eax
test eax, eax
jle 0x404e99
jmp 0x404ca7
mov esi, dword [ebp + 8]
mov edx, dword [esi]
mov eax, dword [esp + 0x1c]
mov edx, dword [edx + 0x3c]
push eax
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
mov dword [esp + 0x30], edi
call edx
mov ebx, eax
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
mov esi, 0x604de0
call fcn.0049a660
test al, al
jne 0x404e28
mov eax, dword [ebx]
mov edx, dword [eax + 0x20]
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00524930
mov byte [esp + 0x78], 3
xor ecx, ecx
lea edi, [esp + 0x48]
call fcn.004ad4f0
mov byte [esp + 0x78], 4
mov eax, edi
call fcn.004665c0
mov esi, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], esi
call fcn.00408130
push eax
mov eax, esi
call fcn.004a8240
test al, al
jne 0x404dd6
mov edx, dword [ebx]
mov eax, dword [edx + 0x20]
mov ecx, ebx
call eax
lea esi, [esp + 0x14]
call fcn.004992f0
mov byte [esp + 0x78], 5
mov ecx, 0x5c
mov eax, esi
call fcn.00499bf0
test eax, eax
jl 0x404d81
lea ecx, [esp + 0x28]
push ecx
mov edx, eax
mov ecx, esi
call fcn.00499840
mov byte [esp + 0x78], 6
mov edi, esi
call fcn.00499530
mov byte [esp + 0x78], 5
lea ecx, [esp + 0x28]
call fcn.00499450
jmp 0x404d8a
lea edi, [esp + 0x14]
call fcn.00499c60
or edi, 0xffffffff
mov eax, 0x5fdbb4
lea esi, [esp + 0x20]
call fcn.004993d0
mov byte [esp + 0x78], 7
mov eax, dword [ebx]
mov edx, esi
push edx
mov edx, dword [eax + 0x28]
push ebx
mov ecx, ebx
call edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.005242e0
mov byte [esp + 0x78], 5
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x78], 4
lea ecx, [esp + 0x14]
call fcn.00499450
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0x18]
call fcn.00408130
push esi
lea esi, [esp + 0x3c]
call fcn.004a8170
mov byte [esp + 0x78], 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x18]
push 0
mov eax, esi
push eax
mov ecx, ebx
call edx
mov byte [esp + 0x78], 4
mov ecx, esi
call fcn.004a8190
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x48]
call fcn.004ad650
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x18]
call fcn.00499450
mov edi, dword [esp + 0x30]
mov eax, dword [0x680770]
add eax, 0xc04
call fcn.00403be0
test al, al
je 0x404e7a
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test al, al
jne 0x404e7a
mov edx, dword [edi]
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
test al, al
jne 0x404e7a
mov edx, dword [edi]
mov eax, dword [edx + 0x78]
mov ecx, edi
call eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x20]
call eax
push eax
lea esi, [esp + 0x5c]
call fcn.00403540
mov ecx, dword [ebp + 8]
mov esi, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
inc esi
mov dword [esp + 0x1c], esi
call eax
cmp esi, eax
jl 0x404ca4
mov edi, dword [esp + 0x24]
mov eax, dword [0x680770]
add eax, 0xc04
call fcn.00403be0
test al, al
je 0x404f5f
or edi, 0xffffffff
mov eax, 0x5fdbb4
lea esi, [esp + 0x1c]
call fcn.004993d0
mov ebx, eax
mov byte [esp + 0x78], 9
or edi, edi
mov eax, 0x5fdbb4
lea esi, [esp + 0x20]
call fcn.004993d0
mov dword [esp + 0x30], eax
mov byte [esp + 0x78], 0xa
or edi, 0xffffffff
mov eax, 0x604bbc
lea esi, [esp + 0x28]
call fcn.004993d0
mov byte [esp + 0x78], 0xb
push ebx
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0x38]
push edx
call fcn.004a0d80
add esp, 0x10
mov byte [esp + 0x78], 0xc
mov ecx, dword [0x680770]
add ecx, 0xc18
call fcn.004080d0
mov byte [esp + 0x78], 0xb
lea ecx, [esp + 0x2c]
call fcn.00499450
mov byte [esp + 0x78], 0xa
mov ecx, esi
call fcn.00499450
mov byte [esp + 0x78], 9
lea ecx, [esp + 0x20]
call fcn.00499450
mov byte [esp + 0x78], 2
lea ecx, [esp + 0x1c]
call fcn.00499450
mov edi, dword [esp + 0x24]
call fcn.004406a0
mov byte [esp + 0x78], 1
lea eax, [esp + 0x58]
call fcn.00403510
mov byte [esp + 0x78], 0
lea eax, [esp + 0x40]
call fcn.004a03e0
mov dword [esp + 0x78], 0xffffffff
test edi, edi
je 0x404f9c
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
mov dword [esp + 0x38], 0
call ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8