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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x65c477
sub esp, 0x44
mov eax, dword [esp + 0x48]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
test ecx, ecx
jne 0x65c445
mov dword [esp + 0x20], edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x98]
test ecx, ecx
jbe 0x65c428
dec ecx
mov dword [eax + 0x98], ecx
mov ecx, dword [eax + 0x9c]
mov esi, dword [eax + 0xa0]
test esi, esi
xchg edi, ebx
sete bl
xchg edi, ebx
test ecx, ecx
seta dl
and edi, edx
test esi, esi
setg dl
or edx, edi
test dl, dl
je 0x65c40f
mov edx, ecx
sub ecx, ebp
mov dword [eax + 0x9c], ecx
mov ecx, ebp
sar ebp, 0x1f
sub edx, ecx
sbb esi, ebp
mov dword [eax + 0xa0], esi
movzx edx, byte [esp + 0x4c]
test dl, dl
je 0x65c02c
test ecx, ecx
jbe 0x65c470
movzx edx, byte [ebx]
cmp dl, 0x14
jne 0x65c3b5
test ecx, ecx
jbe 0x65c469
movzx edx, byte [ebx]
cmp dl, 0x14
jne 0x65c391
mov ecx, dword [eax + 0xb0]
mov dword [esp + 0x30], ecx
lea edx, [0x78f280]
mov dword [esp], edx
call fcn.00409cb0
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
lea ecx, [0x75b940]
mov dword [esp], ecx
mov dword [esp + 4], 1
call fcn.00403b00
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x38]
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x20]
mov dword [edi + 8], ecx
mov ecx, dword [0xadb480]
test ecx, ecx
jne 0x65c36f
mov ecx, dword [esp + 0x28]
mov dword [edi], ecx
mov dword [edi + 0xc], eax
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 0x78]
mov dword [esp], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.00403d00
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.004046c0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x65c34b
mov eax, dword [esp + 0x48]
mov dword [eax + 0x98], 0x80000000
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
test edx, edx
seta bl
test ecx, ecx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
test ecx, ecx
seta bl
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x65c19d
mov dword [eax + 0x9c], edx
mov dword [eax + 0xa0], ecx
lea eax, [0x761f60]
mov dword [esp], eax
call fcn.00409cb0
movzx eax, byte [0x8414ac]
mov ecx, dword [esp + 4]
mov byte [ecx], al
mov eax, dword [esp + 0x30]
test eax, eax
je 0x65c180
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 1
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x44
ret
lea eax, [0x761f60]
mov dword [esp], eax
call fcn.00409cb0
movzx eax, byte [0x8414ad]
mov ecx, dword [esp + 4]
mov byte [ecx], al
jmp 0x65c158
mov ecx, dword [eax + 0x94]
test ecx, ecx
je 0x65c332
lea edx, [ecx + 0x28]
test byte [edx], al
mov edx, dword [ecx + 0x2c]
mov dword [esp + 0x24], edx
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x2c], ecx
cmp edx, 0xa
jge 0x65c241
je 0x65c211
je 0x65c1df
mov ecx, 0x40000000
xor edx, edx
mov dword [eax + 0x9c], ecx
mov dword [eax + 0xa0], edx
jmp 0x65c135
mov dword [esp], ecx
lea eax, [0x7d6623]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
je 0x65c20b
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov edx, 0x10
jmp 0x65c1ce
mov eax, dword [esp + 0x48]
jmp 0x65c1c7
mov dword [esp], ecx
lea eax, [0x7d6619]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65c1fe
mov edx, dword [esp + 0x24]
cmp edx, 0xa
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
jmp 0x65c1c5
je 0x65c2e4
je 0x65c2ad
je 0x65c27c
cmp edx, 0x16
jne 0x65c1c7
mov dword [esp], ecx
lea eax, [0x7dc60e]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65c1fe
mov eax, dword [esp + 0x48]
jmp 0x65c1c7
mov dword [esp], ecx
lea eax, [0x7d6637]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65c1fe
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
jmp 0x65c24b
mov dword [esp], ecx
lea eax, [0x7d662d]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.004021f0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x65c1fe
mov edx, dword [esp + 0x24]
cmp edx, 0xa
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
jmp 0x65c249
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x7d6623]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0xa
call fcn.004020a0
mov eax, dword [esp + 0x10]
test eax, eax
jg 0x65c31e
mov edx, dword [esp + 0x24]
cmp edx, 0xa
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
jmp 0x65c1c3
mov edx, dword [esp + 0x24]
cmp edx, 0xa
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
jmp 0x65c247
mov dword [eax + 0x9c], 0x40000000
mov dword [eax + 0xa0], 0
jmp 0x65c135
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
add esp, 0x44
ret
mov ecx, eax
mov eax, dword [esp + 0x28]
call fcn.0044c870
lea edx, [edi + 0xc]
mov eax, edi
mov edi, edx
mov ebx, eax
mov eax, ecx
call fcn.0044c870
mov edi, ebx
jmp 0x65c0a3
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
add esp, 0x44
ret
lea eax, [0x7e49a7]
mov dword [esp], eax
mov dword [esp + 4], 0x26
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.004bb7b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
add esp, 0x44
ret
mov dword [esp], eax
call fcn.0065b950
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x28]
jmp 0x65c00f
mov dword [esp], eax
call fcn.0065b950
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
jmp 0x65bfcb
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
add esp, 0x44
ret
call fcn.00426430
ud2
call fcn.00426430
ud2
call fcn.0044b110
jmp fcn.0065bf60