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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x485ac1
sub esp, 0xe4
lea eax, [0x49aec0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov ecx, dword [esp + 0xf0]
mov dword [esp + 8], ecx
call fcn.00435fe0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x44], edx
lea edi, [esp + 0x5c]
xor eax, eax
call fcn.00449469
lea edi, [esp + 0x78]
call fcn.00449455
lea eax, [esp + 0x78]
mov dword [esp + 0x68], eax
call fcn.00439f10
mov eax, dword [esp]
mov dword [esp + 0x64], eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x24]
jmp 0x48580e
mov ebp, dword [esp + 0x40]
lea eax, [ebp + 1]
mov ebp, edx
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0xf0]
cmp eax, ebp
jge 0x485a97
mov dword [esp + 0x20], ecx
mov dword [esp + 0x58], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], ebx
mov ecx, dword [esp + 0xec]
lea edx, [ecx + eax*8]
mov ebx, dword [edx + 4]
mov dword [esp + 0x28], ebx
mov edx, dword [edx]
mov dword [esp + 0x48], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
lea ebp, [0x4b0361]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 1
call fcn.00481c70
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x48590b
mov eax, dword [esp + 0x20]
lea ecx, [eax + 1]
mov edx, dword [esp + 0x24]
cmp ecx, edx
jg 0x4858d1
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + eax*8 + 4]
mov esi, dword [esp + 0x28]
mov dword [ebp], esi
lea eax, [ebx + eax*8]
mov ebp, dword [0x530550]
test ebp, ebp
jne 0x4858a4
mov ebp, dword [esp + 0x48]
mov dword [eax], ebp
jmp 0x485801
mov dword [esp + 0x54], ebx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040cdc0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x54]
jmp 0x485801
lea ebx, [0x49aec0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.004360b0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x20]
jmp 0x485881
mov ecx, dword [esp + 0x28]
cmp eax, ecx
ja 0x485aba
movzx edx, byte [esp + 0xe8]
test dl, dl
jne 0x485a7a
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ebx
lea ecx, [0x49b8e0]
mov dword [esp], ecx
lea edx, [esp + 0x5c]
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.00407fc0
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov eax, dword [eax]
test cl, cl
je 0x4859b4
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jae 0x485ab3
mov edx, dword [esp + 0x58]
lea ebx, [edx + eax*8 + 4]
mov ebp, dword [esp + 0x28]
mov dword [ebx], ebp
lea eax, [edx + eax*8]
mov ebx, dword [0x530550]
test ebx, ebx
jne 0x48599a
mov ebx, dword [esp + 0x48]
mov dword [eax], ebx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x58]
jmp 0x485801
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040cdc0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x58]
jmp 0x48598d
lea eax, [0x49b8e0]
mov dword [esp], eax
lea ecx, [esp + 0x5c]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xc], edx
call fcn.00408970
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
lea eax, [ecx + 1]
mov edx, dword [esp + 0x24]
cmp eax, edx
jg 0x485a42
mov ebx, dword [esp + 0x58]
lea ebp, [ebx + ecx*8 + 4]
mov esi, dword [esp + 0x28]
mov dword [ebp], esi
mov ebp, dword [0x530550]
lea ecx, [ebx + ecx*8]
test ebp, ebp
jne 0x485a18
mov ebp, dword [esp + 0x48]
mov dword [ecx], ebp
mov ecx, eax
jmp 0x485801
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
call fcn.0040cdc0
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x4c]
jmp 0x485a11
lea ebx, [0x49aec0]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.004360b0
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
inc eax
mov ecx, dword [esp + 0x20]
jmp 0x4859f3
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00481530
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 8]
jmp 0x48592b
mov dword [esp + 0xf8], edx
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], ebx
add esp, 0xe4
ret
call fcn.00423790
ud2
call fcn.004237f0
ud2
call fcn.00447a60
jmp fcn.00485770