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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x64cb9c
sub esp, 0x40
mov eax, 0
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf], 0
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 0x58]
mov edx, dword [eax + 0x5c]
test ecx, ecx
setbe cl
test edx, edx
sete dl
setl bl
and edx, ecx
or ebx, edx
test bl, bl
jne 0x64c9cc
lea ecx, [eax + 0x70]
mov dword [esp + 0x30], ecx
mov dword [esp], ecx
call fcn.0045bff0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea eax, [0x64cc00]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], eax
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x44]
mov edi, dword [eax + 0x88]
test edi, edi
je 0x64c9f2
mov ebx, dword [edi + 4]
sub ebx, dword [edi + 0xc]
add ebx, dword [edi + 0x14]
test ebx, ebx
jle 0x64c9f2
mov dword [esp + 0x24], edi
lea ebx, [edi + 0x10]
mov dword [esp + 0x2c], ebx
jmp 0x64ca12
lea ecx, [eax + 0x70]
mov dword [esp + 0x30], ecx
mov dword [esp], ecx
call fcn.0045bff0
mov eax, dword [esp + 0x44]
dec dword [eax + 0x78]
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.0045c370
add esp, 0x40
ret
dec dword [eax + 0x78]
mov byte [esp + 0xf], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [edx]
call eax
add esp, 0x40
ret
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [edi]
mov esi, dword [edi + 4]
mov dword [esp + 0x1c], esi
mov ecx, ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x18], ebx
mov edx, ebp
mov ebp, dword [edi + 0xc]
sub esi, ebp
mov ebx, dword [edi + 0x14]
mov dword [esp + 0x14], ebx
add esi, ebx
mov ebx, dword [edi + 0x10]
mov dword [esp + 0x28], ebx
mov ebx, dword [edi + 0x18]
test esi, esi
jle 0x64cb7e
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jg 0x64cabb
mov ebp, dword [esp + 0x14]
test ebp, ebp
jne 0x64ca61
xor ebx, ebx
jmp 0x64caf8
mov dword [edi + 4], ebp
mov dword [edi + 8], ebx
mov ebx, dword [0x900e70]
test ebx, ebx
jne 0x64ca79
mov ebx, dword [esp + 0x28]
mov dword [edi], ebx
jmp 0x64ca86
mov ebx, eax
mov eax, dword [esp + 0x28]
call fcn.00456ac0
mov eax, ebx
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], 0
mov ebx, dword [esp + 0x18]
mov dword [edi + 0x18], ebx
mov ebx, dword [0x900e70]
test ebx, ebx
jne 0x64caaa
mov dword [edi + 0x10], edx
jmp 0x64cabb
mov ebx, edi
mov edi, ecx
mov ebp, eax
mov eax, edx
call fcn.00456ac0
mov eax, ebp
mov edi, ebx
mov edx, dword [edi]
mov ebx, dword [edi + 4]
mov ebp, dword [edi + 0xc]
cmp ebp, ebx
jae 0x64cb89
mov ebx, dword [edx + ebp*4]
lea esi, [edx + ebp*4]
mov ecx, dword [0x900e70]
test ecx, ecx
jne 0x64cae4
mov dword [edx + ebp*4], 0
jmp 0x64caf5
mov ecx, edi
mov edi, esi
mov edx, eax
xor eax, eax
call fcn.00456ac0
mov eax, edx
mov edi, ecx
inc dword [edi + 0xc]
mov dword [esp + 0x20], ebx
nop
mov eax, dword [ebx]
mov dword [esp], 0
mov dword [esp + 4], eax
call fcn.00406850
movzx eax, byte [esp + 8]
test al, al
jne 0x64ca06
lea eax, [0x740680]
mov dword [esp], eax
call fcn.0040b440
mov eax, dword [esp + 4]
lea ecx, [0x64cbb0]
mov dword [eax], ecx
mov ecx, dword [0x900e70]
test ecx, ecx
jne 0x64cb50
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [eax + 8], edx
jmp 0x64cb6c
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x44]
call fcn.00456ac0
lea edi, [ecx + 8]
mov eax, dword [esp + 0x20]
call fcn.00456ac0
mov eax, ecx
mov dword [esp], eax
call fcn.0043aa10
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x44]
jg 0x64c9f5
jmp 0x64c9f2
mov eax, ebp
mov ecx, ebx
call fcn.00456b40
nop
call fcn.0042fda0
add esp, 0x40
ret
call fcn.00455690
jmp fcn.0064c920