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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65b949
sub esp, 0x7c
xor eax, eax
test al, al
je 0x65b632
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0xe17810
mov eax, 2
lea ecx, [esp + 0x40]
jmp 0x65b64b
mov dword [esp + 0x3c], 0
mov dword [esp + 0x3c], 0xe17810
mov eax, 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov byte [esp + 0x6c], 0
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov eax, dword [0xa1d2f0]
mov ecx, dword [0xa1d2f4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [esp + 0x6c]
mov dword [esp + 8], eax
call fcn.0054fb00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test ebx, ebx
je 0x65b6e0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], edx
call fcn.00435460
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.00435e00
call fcn.00435660
call fcn.004354d0
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
xor ecx, ecx
jmp 0x65b70b
mov edx, dword [esp + 0x34]
lea ecx, [edx + 1]
cmp ecx, 4
jge 0x65b8cd
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jne 0x65b724
xor ebp, ebp
xor edx, edx
jmp 0x65b732
mov ebp, dword [ebx]
cmp edx, 1
jle 0x65b730
mov edx, dword [ebx + 4]
jmp 0x65b732
xor edx, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x5c], eax
movzx ebx, byte [eax]
test bl, bl
je 0x65b74e
xor ebx, ebx
sub ebx, ebp
mov esi, 0
sbb esi, edx
jmp 0x65b752
mov esi, edx
mov ebx, ebp
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e
call fcn.00458ef0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov dword [esp + ecx*4 + 0x48], eax
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
test edx, edx
jne 0x65b78e
xor edx, edx
xor ebp, ebp
jmp 0x65b79c
mov ebp, dword [ebx]
cmp edx, 1
jle 0x65b79a
mov edx, dword [ebx + 4]
jmp 0x65b79c
xor edx, edx
movzx eax, byte [eax]
test al, al
je 0x65b7b0
xor eax, eax
sub eax, ebp
mov ebx, 0
sbb ebx, edx
jmp 0x65b7b4
mov ebx, edx
mov eax, ebp
mov dword [esp + 4], ebx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x3e
call fcn.00458d70
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jge 0x65b7eb
xor edx, edx
sub edx, eax
mov ebx, 0
sbb ebx, ecx
test ecx, ecx
jmp 0x65b7ef
mov ebx, ecx
mov edx, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
test eax, eax
sete al
and ebp, eax
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x65b811
test ecx, ecx
mov ecx, 0
mov eax, 0
jmp 0x65b870
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
test ebx, ebx
je 0x65b84d
mov dword [esp + 0x28], ebx
lea eax, [0x67a0e0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov ecx, 2
jmp 0x65b870
lea eax, [0x679aa0]
mov dword [esp], eax
call fcn.0040af90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x24]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov ecx, 1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x64], eax
setl dl
mov byte [esp + 0x1f], dl
lea ebx, [0x68e9a0]
mov dword [esp], ebx
call fcn.0040af90
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x1f]
mov byte [eax], cl
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa43e50]
test ecx, ecx
jne 0x65b8b8
mov ecx, dword [esp + 0x64]
mov dword [eax + 4], ecx
jmp 0x65b704
lea edi, [eax + 4]
mov ecx, eax
mov eax, dword [esp + 0x64]
call fcn.0045f670
mov eax, ecx
jmp 0x65b704
mov eax, 3
xor ecx, ecx
xor edx, edx
jmp 0x65b933
mov dword [esp + 0x30], eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + eax*4 + 0x48]
lea edx, [0x6cba25]
movzx ecx, byte [edx + ecx]
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ecx
call fcn.0044b750
mov dword [esp], 0
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
call fcn.0044afd0
mov eax, dword [esp + 0x30]
dec eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
jge 0x65b8d8
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
add esp, 0x7c
ret
call fcn.0045e260
jmp fcn.0065b5f0