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

Disassembly:
mov ecx, dword [0x9aee30]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4910bd
sub esp, 0x70
call fcn.00469090
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 4]
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x34], ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x60], ebp
xor ebp, ebp
jmp 0x490e9d
add eax, 0xc
mov ecx, dword [esp + 0x38]
lea ebp, [ecx + 1]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x34]
mov ecx, dword [esp + 0x64]
cmp ebp, ebx
jge 0x490ef8
cmp ebp, edx
jae 0x4910b3
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x6c], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x20], edx
mov ebx, dword [eax]
mov dword [esp + 0x5c], ebx
mov ecx, dword [ecx + ebp*4]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x44]
jmp 0x490f3a
mov edx, dword [esp + 0x20]
jmp 0x490fd7
mov eax, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
jmp 0x490e87
mov eax, dword [esp + 0x60]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], esi
add esp, 0x70
ret
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x68]
mov ebp, dword [esp + 0x5c]
mov ecx, edx
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x30], ebx
mov edx, eax
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x30]
cmp edx, ebp
jle 0x490edd
lea eax, [ebp + edx]
shr eax, 1
mov esi, dword [esp + 0x20]
cmp esi, eax
jbe 0x4910ac
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], eax
mov edx, dword [ebx + eax*4]
add edx, ecx
nop
nop
mov dword [esp], edx
call fcn.0048ec30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x74]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xc], ecx
call fcn.00403110
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x490fa4
mov eax, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
jmp 0x490f12
mov ebx, dword [esp + 0x54]
inc ebx
mov eax, dword [esp + 0x40]
jmp 0x490f12
mov dword [eax + edx*4 - 4], ebx
mov ecx, dword [esp + 0x3c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov edi, edx
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x20]
cmp ebp, edx
jge 0x490e87
jae 0x4910a3
mov dword [esp + 0x50], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x3c], ebp
mov eax, dword [ebx + ebp*4]
add eax, ecx
mov dword [esp + 0x58], eax
nop
mov dword [esp], eax
call fcn.0048ec30
mov eax, dword [esp + 0x78]
cmp dword [esp + 8], eax
jne 0x490eea
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00403200
movzx eax, byte [esp + 0xc]
test al, al
je 0x490ee6
mov edx, dword [esp + 0x4c]
inc edx
mov ebx, dword [esp + 0x50]
cmp ebx, edx
jb 0x491047
mov eax, dword [esp + 0x60]
mov esi, ebx
jmp 0x491079
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x6c6040]
mov dword [esp + 0x10], eax
call fcn.004508b0
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, dword [0x9aef70]
test ebx, ebx
jne 0x49108c
mov ebx, dword [esp + 0x58]
jmp 0x490fb2
call fcn.0046c8a0
mov ebx, dword [esp + 0x58]
mov dword [edi], ebx
mov ebp, dword [eax + edx*4 - 4]
mov dword [edi + 4], ebp
jmp 0x490fb2
mov eax, ebp
mov ecx, edx
call fcn.0046c910
mov ecx, esi
call fcn.0046c910
mov eax, ebp
mov ecx, edx
call fcn.0046c910
nop
call fcn.0046b490
jmp fcn.00490e40