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

Disassembly:
mov ecx, dword [0x5e82a4]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x487304
sub esp, 0x90
mov eax, 0
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0x94]
cmp byte [eax + 0x130], 3
je 0x48713e
mov dword [esp], eax
call fcn.00483fe0
movzx eax, byte [esp + 4]
test al, al
je 0x486f70
mov eax, dword [esp + 0x94]
xor ecx, ecx
xor edx, edx
jmp 0x486f9c
mov eax, dword [esp + 0x94]
movzx ecx, byte [eax + 0x12f]
test cl, cl
je 0x486f90
mov ecx, dword [0x5bf0f0]
mov edx, dword [0x5bf0f4]
jmp 0x486f9c
lea ecx, [0x529bb4]
lea edx, [0x5e8180]
test ecx, ecx
jne 0x48711e
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x4873b0]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
lea ecx, [esp + 0x7c]
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x23], 1
lea ecx, [eax + 0xf8]
mov dword [esp + 0x70], ecx
mov dword [esp], ecx
call fcn.004693c0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x487370]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x74]
mov dword [esp + 0x88], eax
mov byte [esp + 0x23], 3
mov eax, dword [esp + 0x94]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0xc], 1
call fcn.0046d4d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4870d6
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x94]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, ebp
lea ebp, [0x487310]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x84], ecx
mov byte [esp + 0x23], 7
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0xa8]
mov esi, dword [esp + 0xa4]
xor edi, edi
jmp 0x48719b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
add esp, 0x90
ret
mov dword [esp + 0xac], 0
lea eax, [0x529ac4]
mov dword [esp + 0xb0], eax
lea eax, [0x5294b8]
mov dword [esp + 0xb4], eax
add esp, 0x90
ret
mov ebx, dword [esp + 0x30]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
sub ecx, eax
mov esi, dword [esp + 0x6c]
add ebx, esi
mov esi, dword [esp + 0x38]
add esi, eax
mov eax, dword [esp + 0x34]
adc eax, 0
mov edi, edx
mov edx, ebp
mov ebp, eax
mov eax, dword [esp + 0x94]
test ecx, ecx
je 0x48729e
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edi
cmp ecx, 0x40000000
jle 0x4871c6
mov dword [esp + 0x40], eax
mov eax, 0x40000000
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
jmp 0x4871ca
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x28], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.004637cb
mov dword [esp + 0x64], ebp
mov dword [esp + 0x60], esi
mov ecx, dword [esp + 0x94]
mov eax, dword [ecx + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], ecx
call fcn.0046f740
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
add edx, eax
test ecx, ecx
jne 0x48724a
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jae 0x48716a
jmp 0x4872f2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], ecx
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov byte [esp + 0x23], 3
mov edx, dword [esp + 0x84]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 1
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
call fcn.004636b0
nop
call fcn.00435e30
add esp, 0x90
ret
call fcn.004621e0
jmp fcn.00486ee0