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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x85ea89
sub esp, 0x38
mov ebx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x4c]
mov ebp, dword [ebx + 0x48]
mov eax, dword [ebx + 0x54]
cmp eax, ecx
ja 0x85ea83
mov esi, dword [ebx + 0x84]
sub ecx, eax
sub edx, eax
mov dword [esp + 0x2c], edx
mov edi, edx
neg edx
sar edx, 0x1f
and eax, edx
add eax, ebp
mov dword [esp + 0x34], eax
cmp ecx, esi
jle 0x85ea53
cmp esi, edi
ja 0x85ea7a
mov dword [esp + 0x28], esi
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
lea edx, [0x902a20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004088f0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
call fcn.00496020
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x18]
mov ebx, ecx
add ecx, edx
mov ebp, dword [eax + 0xc]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov ecx, edx
sar edx, 0x1f
add ebx, ecx
adc ebp, edx
mov dword [eax + 0xc], ebp
mov edx, dword [eax + 0x84]
sub edx, ecx
mov dword [eax + 0x84], edx
nop
mov ebx, dword [eax + 0x54]
add ecx, ebx
mov dword [eax + 0x54], ecx
test edi, edi
je 0x85e900
cmp dword [0xdc3060], edi
je 0x85e8b9
mov dword [eax + 0x68], edi
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x85e8ad
mov dword [eax + 0x6c], esi
add esp, 0x38
ret
lea edi, [eax + 0x6c]
mov eax, esi
call fcn.00456fe0
jmp 0x85e8a9
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], edi
mov dword [esp], edi
mov dword [esp + 4], esi
mov eax, dword [0xdc3064]
mov dword [esp + 8], eax
call fcn.00402f30
movzx eax, byte [esp + 0xc]
test al, al
je 0x85e8f2
mov esi, dword [0xdc308c]
mov edi, dword [0xdc3088]
mov eax, dword [esp + 0x3c]
jmp 0x85e899
mov eax, dword [esp + 0x3c]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
jmp 0x85e899
mov ebx, dword [eax + 0x50]
mov ebp, dword [eax + 0x48]
cmp dword [eax + 0x4c], ecx
jne 0x85e987
mov esi, dword [eax + 0x58]
cmp ecx, ebx
ja 0x85ea73
cmp esi, ecx
ja 0x85ea6c
mov dword [eax + 0x58], ecx
mov edx, ecx
sub ecx, esi
sub ebx, esi
mov edi, ebx
neg ebx
sar ebx, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
cmp dword [eax + 0x4c], edx
jne 0x85e94b
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 1
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], edi
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x85e96b
mov dword [eax + 0x70], ebx
lea ecx, [0x9b22d0]
mov dword [eax + 0x60], ecx
add esp, 0x38
ret
lea edi, [eax + 0x70]
mov ecx, eax
mov eax, ebx
call fcn.00456fe0
lea edi, [ecx + 0x60]
lea eax, [0x9b22d0]
call fcn.00456fe0
jmp 0x85e967
test edx, edx
jg 0x85e90b
nop
movzx esi, byte [eax + 0x98]
xchg esi, eax
test al, al
xchg esi, eax
je 0x85ea0c
mov esi, dword [eax + 0x58]
mov edx, ecx
sub ecx, esi
test ecx, ecx
jle 0x85e9f0
cmp edx, ebx
ja 0x85ea63
cmp esi, edx
ja 0x85ea5a
mov dword [eax + 0x58], edx
sub ebx, esi
mov edi, ebx
neg ebx
sar ebx, 0x1f
and esi, ebx
lea ebx, [ebp + esi]
cmp dword [eax + 0x4c], edx
jne 0x85e9dd
mov dword [eax + 0x54], 0
mov dword [eax + 0x58], 0
mov byte [eax + 0x5c], 1
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], edi
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x85ea43
mov dword [eax + 0x70], ebx
mov ecx, dword [0xdc3064]
mov edx, dword [0xdc3060]
mov dword [eax + 0x68], edx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x85ea33
mov dword [eax + 0x6c], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x85ea23
lea ecx, [0x9b22e8]
mov dword [eax + 0x60], ecx
add esp, 0x38
ret
lea edi, [eax + 0x60]
lea eax, [0x9b22e8]
call fcn.00456fe0
jmp 0x85ea1f
lea edi, [eax + 0x6c]
mov edx, eax
mov eax, ecx
call fcn.00456fe0
mov eax, edx
jmp 0x85ea0c
lea edi, [eax + 0x70]
mov ecx, eax
mov eax, ebx
call fcn.00456fe0
mov eax, ecx
jmp 0x85e9f0
mov esi, ecx
jmp 0x85e7fe
mov eax, esi
mov ecx, edx
call fcn.004570c0
mov ecx, edx
mov edx, ebx
call fcn.004570a0
mov eax, esi
call fcn.004570c0
mov edx, ebx
call fcn.004570a0
mov ecx, esi
mov edx, edi
call fcn.004570a0
call fcn.004570c0
nop
call fcn.004557a0
jmp fcn.0085e7a0