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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x487d82
sub esp, 0x68
call fcn.0043f510
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp]
test eax, eax
jle 0x487d60
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ebx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x28], ebp
xor ebp, ebp
jmp 0x487d09
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0x58]
mov ebp, dword [esp + 0x54]
mov edx, ebx
mov ebx, ebp
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov esi, eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x3c]
cmp ebp, esi
jge 0x487bde
mov dword [esp + 0x38], esi
sub esi, ebp
mov dword [esp + 0x44], esi
shr esi, 0x1f
mov edi, dword [esp + 0x44]
add esi, edi
sar esi, 1
lea edi, [esi + ebp]
mov ebp, dword [esp + 0x34]
cmp edi, ebp
jae 0x487d71
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], edi
mov eax, dword [edx + edi*4]
nop
add eax, ebx
mov dword [esp], eax
call fcn.00483790
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 0xc], ecx
call fcn.00402300
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x487bc9
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
jmp 0x487b24
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x44]
lea ecx, [ebx + edx + 1]
mov eax, dword [esp + 0x38]
jmp 0x487b24
mov esi, dword [esp + 0x34]
jmp 0x487c0f
mov ecx, dword [esp + 0x3c]
inc ecx
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x58]
mov edx, edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x28], ebp
mov edi, ebx
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x54]
mov ebp, ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edi
cmp ebp, esi
jge 0x487cd7
jae 0x487d68
mov dword [esp + 0x3c], ebp
mov eax, dword [edx + ebp*4]
nop
add eax, ebx
mov dword [esp + 0x5c], eax
mov dword [esp], eax
call fcn.00483790
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x70]
cmp dword [esp + 8], ecx
jne 0x487cd7
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.00402420
movzx eax, byte [esp + 0xc]
test al, al
je 0x487cd7
mov edx, dword [esp + 0x24]
lea ebx, [edx + 1]
mov ebp, dword [esp + 0x28]
cmp ebx, ebp
ja 0x487ca0
mov eax, dword [esp + 0x60]
lea edi, [eax + edx*4]
mov esi, dword [0xc83da0]
test esi, esi
jne 0x487c8e
mov esi, dword [esp + 0x5c]
mov dword [eax + edx*4], esi
jmp 0x487be4
mov ecx, eax
mov eax, dword [esp + 0x5c]
call fcn.00459d90
mov eax, ecx
jmp 0x487be4
lea eax, [0x837980]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00443b60
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x24]
jmp 0x487c75
mov edx, dword [esp + 0x30]
inc edx
mov ebx, dword [esp + 0x2c]
cmp edx, ebx
jge 0x487d44
mov eax, dword [esp + 0x64]
add eax, 0xc
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov ebx, ebp
mov ebp, edx
mov esi, dword [esp + 0x60]
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], esi
mov esi, dword [edx + 4]
mov edx, dword [edx]
cmp ebp, ecx
jae 0x487d7a
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], esi
mov dword [esp + 0x58], edx
mov dword [esp + 0x24], edi
mov ebx, dword [ebx + ebp*4]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x48]
jmp 0x487b4a
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x68
ret
xor eax, eax
xor ecx, ecx
xor edx, edx
jmp 0x487d50
mov eax, ebp
mov ecx, esi
call fcn.00459e10
mov eax, edi
mov ecx, ebp
call fcn.00459e10
mov eax, ebp
call fcn.00459e10
nop
call fcn.00458550
jmp fcn.00487ad0