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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x486a7c
sub esp, 0x58
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x486757
xor ecx, ecx
xor edx, edx
jmp 0x486763
mov ecx, dword [0x60caa8]
mov edx, dword [0x60caac]
test ecx, ecx
jne 0x48687f
mov ecx, dword [eax]
test byte [eax], al
movzx ecx, byte [ecx + 0x140]
test cl, cl
jne 0x48685f
mov ecx, dword [esp + 0x70]
test ecx, ecx
jl 0x4867a1
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 0x4868cb
lea eax, [0x5260e0]
mov dword [esp], eax
call fcn.0040b120
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov dword [eax + 4], 0xf
lea ecx, [0x536be9]
mov dword [eax], ecx
lea ecx, [0x529c20]
mov dword [esp], ecx
call fcn.0040b120
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x535074]
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 [0x633080]
test ecx, ecx
jne 0x48680b
mov dword [eax + 8], edx
jmp 0x486819
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045ee70
mov eax, ecx
lea ecx, [0x566c30]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x633080]
test ecx, ecx
jne 0x486835
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x14], ecx
jmp 0x486845
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x54]
call fcn.0045ee70
mov eax, ecx
mov dword [esp + 0x74], 0
lea ecx, [0x566c6c]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, dword [0x60cad8]
mov ecx, dword [0x60cadc]
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 0x486a60
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.00484130
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 0x48693a
mov ebx, dword [esp + 0x3c]
add ebx, edx
mov ecx, dword [esp + 0x34]
cmp ecx, edx
jae 0x486893
jmp 0x486a74
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
mov edx, dword [0x60c994]
cmp dword [0x60c990], ebx
je 0x486954
xor edx, edx
jmp 0x486983
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 0x486992
mov ecx, eax
mov eax, dword [esp + 0x48]
jmp 0x486a5a
mov edx, dword [0x60c964]
cmp dword [0x60c960], ebx
jne 0x4869cf
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 0x4869c7
mov eax, dword [0x60ca90]
mov ecx, dword [0x60ca94]
jmp 0x4869cf
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x2c], eax
lea edx, [0x529c20]
mov dword [esp], edx
call fcn.0040b120
mov eax, dword [esp + 4]
mov dword [eax + 4], 5
lea ecx, [0x534b80]
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 [0x633080]
test ecx, ecx
jne 0x486a1c
mov dword [eax + 8], edx
jmp 0x486a2a
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.0045ee70
mov eax, ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x633080]
test ecx, ecx
jne 0x486a44
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
jmp 0x486a54
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045ee70
mov eax, ecx
lea ecx, [0x566c6c]
mov edi, dword [esp + 0x3c]
jmp 0x486a64
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.0045ef50
nop
call fcn.0045daa0
jmp fcn.00486730