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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x486937
sub esp, 0x58
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x486647
xor ecx, ecx
xor edx, edx
jmp 0x486653
mov ecx, dword [0x619c78]
mov edx, dword [0x619c7c]
test ecx, ecx
jne 0x48673c
mov ecx, dword [esp + 0x70]
test ecx, ecx
jl 0x48667e
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 0x48678c
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], 6
lea ecx, [0x53c92b]
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 0x4866e8
mov dword [eax + 8], edx
jmp 0x4866f6
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 0x486712
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x14], ecx
jmp 0x486722
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 dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x58
ret
mov ebx, dword [esp + 0x24]
mov ebp, eax
add eax, ebx
mov esi, ebp
sar ebp, 0x1f
add ebx, esi
mov ebx, dword [esp + 0x28]
adc ebp, ebx
mov ebx, dword [esp + 0x38]
sub ebx, esi
sub ecx, esi
mov edi, ebx
neg ebx
sar ebx, 0x1f
and esi, ebx
mov ebx, dword [esp + 0x4c]
add ebx, esi
mov esi, eax
mov eax, dword [esp + 0x5c]
mov eax, edx
mov edx, edi
mov edi, eax
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x48691d
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x3c], edi
mov edi, dword [eax]
test byte [edi], al
test byte [eax], 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.00483770
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ebx, ebx
jne 0x4867fd
mov edx, dword [esp + 0x3c]
add edx, eax
mov ecx, dword [esp + 0x34]
cmp ecx, eax
jae 0x486750
jmp 0x486931
mov dword [esp + 0x48], ebp
mov dword [esp + 0x30], ebx
mov eax, dword [0x619b5c]
cmp dword [0x619b58], ecx
je 0x486817
xor eax, eax
jmp 0x486844
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], ecx
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004031f0
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x48]
test al, al
je 0x48684f
mov eax, ebp
jmp 0x486917
mov eax, dword [0x619b2c]
cmp dword [0x619b28], ecx
jne 0x48688c
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004031f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x486884
mov ebx, dword [0x619c60]
mov ebp, dword [0x619c64]
jmp 0x48688c
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x44], ebp
lea eax, [0x530c60]
mov dword [esp], eax
call fcn.0040b1d0
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x53c561]
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 0x4868d9
mov dword [eax + 8], edx
jmp 0x4868e7
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 0x486901
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x14], ecx
jmp 0x486911
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.0045f0c0
mov eax, ecx
lea ebx, [0x56f974]
mov edi, dword [esp + 0x3c]
jmp 0x486921
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
call fcn.0045f1a0
nop
call fcn.0045dcf0
jmp fcn.00486620