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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x486e9c
sub esp, 0x58
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x486b77
xor ecx, ecx
xor edx, edx
jmp 0x486b83
mov ecx, dword [0x619c78]
mov edx, dword [0x619c7c]
test ecx, ecx
jne 0x486c9f
mov ecx, dword [eax]
test byte [eax], al
movzx ecx, byte [ecx + 0x140]
test cl, cl
jne 0x486c7f
mov ecx, dword [esp + 0x70]
test ecx, ecx
jl 0x486bc1
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
xor edi, edi
jmp 0x486ceb
lea eax, [0x52cea0]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0xf
lea ecx, [0x53e7b4]
mov dword [eax], ecx
lea ecx, [0x530c60]
mov dword [esp], ecx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x53cc34]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x640ab0]
test ecx, ecx
jne 0x486c2b
mov dword [eax + 8], edx
jmp 0x486c39
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045f0c0
mov eax, ecx
lea ecx, [0x56f938]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x640ab0]
test ecx, ecx
jne 0x486c55
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x14], ecx
jmp 0x486c65
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0045f0c0
mov eax, ecx
mov dword [esp + 0x74], 0
lea ecx, [0x56f974]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, dword [0x619ca8]
mov ecx, dword [0x619cac]
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x58
ret
mov eax, dword [esp + 0x24]
mov ebp, edx
add edx, eax
mov esi, ebp
sar ebp, 0x1f
add eax, esi
mov eax, dword [esp + 0x28]
adc ebp, eax
mov eax, dword [esp + 0x38]
sub eax, esi
sub ecx, esi
mov edi, eax
neg eax
sar eax, 0x1f
and esi, eax
mov eax, dword [esp + 0x4c]
add eax, esi
mov esi, edx
mov edx, edi
mov edi, ebx
mov ebx, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x486e80
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x3c], edi
mov edi, dword [eax]
test byte [edi], al
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
call fcn.00484550
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x486d5a
mov ebx, dword [esp + 0x3c]
add ebx, edx
mov ecx, dword [esp + 0x34]
cmp ecx, edx
jae 0x486cb3
jmp 0x486e94
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
mov edx, dword [0x619b5c]
cmp dword [0x619b58], ebx
je 0x486d74
xor edx, edx
jmp 0x486da3
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebx
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004031f0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x48]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x40]
mov edx, eax
mov eax, dword [esp + 0x30]
test dl, dl
je 0x486db2
mov ecx, eax
mov eax, dword [esp + 0x48]
jmp 0x486e7a
mov edx, dword [0x619b2c]
cmp dword [0x619b28], ebx
jne 0x486def
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
call fcn.004031f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x486de7
mov eax, dword [0x619c60]
mov ecx, dword [0x619c64]
jmp 0x486def
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
lea edx, [0x530c60]
mov dword [esp], edx
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x53c740]
mov dword [eax], ecx
mov ecx, dword [esp + 0x5c]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x640ab0]
test ecx, ecx
jne 0x486e3c
mov dword [eax + 8], edx
jmp 0x486e4a
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045f0c0
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x640ab0]
test ecx, ecx
jne 0x486e64
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
jmp 0x486e74
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045f0c0
mov eax, ecx
lea ecx, [0x56f974]
mov edi, dword [esp + 0x3c]
jmp 0x486e84
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, edx
call fcn.0045f1a0
nop
call fcn.0045dcf0
jmp fcn.00486b50