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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x8656ed
sub esp, 0x70
mov eax, dword [esp + 0x74]
mov dword [esp], eax
lea eax, [0x991dbc]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x18
call fcn.00865700
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
xor edx, edx
xor ebx, ebx
xor ebp, ebp
xor esi, esi
jmp 0x8654f8
inc edx
mov edi, dword [esp + 0x50]
mov ecx, edi
cmp edx, eax
jge 0x8656c8
lea edi, [ecx + edx*8]
mov ecx, dword [edi]
mov edi, dword [edi + 4]
test edi, edi
je 0x8654f1
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x58], esi
nop
mov dword [esp], ecx
mov dword [esp + 4], edi
lea eax, [0x981d38]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
call fcn.004db020
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x48], edx
xor ebx, ebx
jmp 0x865578
lea ebx, [eax + 1]
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov ecx, ebp
mov edx, dword [esp + 0x48]
cmp ebx, ecx
jge 0x8655d7
jae 0x8656e5
mov dword [esp + 0x2c], ebx
lea eax, [edx + ebx*8]
mov dword [esp + 0x54], eax
mov ecx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], ebp
call fcn.004dcbf0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
lea edx, [ecx + eax*8 + 4]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
mov dword [edx], ebp
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x8655c6
mov edx, dword [esp + 0x54]
mov dword [edx], ebx
jmp 0x865567
mov edi, dword [esp + 0x54]
mov edx, eax
mov eax, ebx
call fcn.00456fe0
mov eax, edx
jmp 0x865567
cmp ecx, 1
jb 0x8656db
lea edi, [esp + 0x5c]
mov ebx, eax
xor eax, eax
call fcn.004572ab
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ecx
lea ecx, [ebx - 1]
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, 8
add ecx, edx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 1]
mov ebx, dword [esp + 0x34]
cmp edx, ebx
ja 0x86568c
mov ebp, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov eax, dword [0xdd7ec0]
lea edi, [ebp + ecx*4]
test eax, eax
jne 0x865658
lea esi, [esp + 0x5c]
call fcn.0045778e
mov eax, dword [esp + 0x38]
mov esi, ebp
mov ebp, edx
mov edx, dword [esp + 0x44]
jmp 0x8654f1
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
lea eax, [0x91b7c0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x5c]
mov dword [esp + 8], eax
call fcn.00410ec0
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x4c]
jmp 0x865647
lea eax, [0x91b7c0]
mov dword [esp], eax
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], edx
call fcn.00440660
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x30]
jmp 0x86562d
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebx
add esp, 0x70
ret
mov eax, 1
call fcn.004570c0
mov eax, ebx
call fcn.00457060
nop
call fcn.004557a0
jmp fcn.008654a0