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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x662d12
sub esp, 0x68
mov eax, 0
mov dword [esp + 0x64], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea eax, [0x662d20]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x64], ecx
mov byte [esp + 0x23], 1
mov ecx, dword [eax + 0x98]
test ecx, ecx
je 0x662c72
mov edx, dword [esp + 0x70]
test edx, edx
jne 0x662b45
mov edx, dword [eax + 0x70]
test edx, edx
sete dl
mov ebx, dword [eax + 0x6c]
test ebx, ebx
sete bl
and edx, ebx
test dl, dl
jne 0x662c2b
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00405ff0
movzx eax, byte [esp + 8]
test al, al
jne 0x662c0a
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x6c]
mov edx, dword [eax + 0x70]
mov dword [esp + 4], edx
mov dword [esp], ecx
call fcn.004ae610
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov ecx, dword [ecx]
mov edx, dword [eax + 0x98]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x54]
mov dword [esp], ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call fcn.00447c00
mov eax, dword [esp + 0x18]
test eax, eax
je 0x662be9
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x662cba
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov eax, dword [eax + 0x98]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.004057d0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
mov dword [esp + 0x28], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x28]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jl 0x662c93
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov eax, dword [eax + 0x98]
mov dword [esp], eax
lea eax, [esp + 0x40]
mov dword [esp + 4], eax
call fcn.004057d0
mov eax, dword [0x8b2a50]
mov ecx, dword [0x8b2a54]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
call eax
add esp, 0x68
ret
call fcn.00462f90
jmp fcn.00662a50