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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x65f7cb
sub esp, 0x90
mov eax, 0
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
lea ecx, [0x8fc180]
mov edx, dword [esp + 0x94]
mov dword [edx + 0xc], ecx
mov ecx, dword [0xbc7270]
test ecx, ecx
jne 0x65f79c
mov eax, dword [esp + 0xa4]
mov dword [edx + 0x10], eax
mov dword [esp], edx
call fcn.0065d590
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x94]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp], 8
lea eax, [0x8a46ac]
mov dword [esp + 4], eax
call fcn.004269f0
test eax, eax
jne 0x65f78f
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0xc], ebp
call fcn.0065fac0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00665050
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x94]
mov ebp, dword [ebx + 0x18]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea esi, [0x66c7d0]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0xa4]
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
mov ebp, edx
and edx, 0x1f
cmp edx, 0x11
jbe 0x65f775
cmp edx, 0x12
jne 0x65f46b
lea edi, [edx - 0x12]
cmp edi, 1
ja 0x65f427
test ebp, 0x200
je 0x65f404
xor edx, edx
jmp 0x65f2c0
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x80]
call eax
mov eax, dword [esp + 0x28]
lea edx, [eax + 1]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.0047ac80
mov eax, dword [esp + 0x14]
movzx ecx, byte [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test cl, cl
je 0x65f394
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x4c], edx
lea eax, [0x771460]
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.00407550
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
test eax, eax
je 0x65f389
movzx ebx, byte [0xbb55c0]
test bl, bl
je 0x65f33c
mov dword [0xbb55c4], eax
mov ebx, dword [0xbc7270]
test ebx, ebx
jne 0x65f376
mov dword [0xbb55c8], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x64]
test eax, eax
je 0x65f36b
movzx ebx, byte [eax + 0xf]
mov ebp, ebx
and ebx, 0x1f
xchg ebp, eax
test al, 0x20
xchg ebp, eax
jne 0x65f27a
or ebx, 0x80
jmp 0x65f27a
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x65f27a
lea edi, [0xbb55c8]
mov edx, eax
mov eax, ecx
call fcn.0044cc20
mov eax, edx
jmp 0x65f33c
xor ebx, ebx
xor ecx, ecx
xor eax, eax
jmp 0x65f27a
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x65f3f7
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x65f3b7
nop
call fcn.004271b0
add esp, 0x90
ret
lea ecx, [0x8fc080]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
call fcn.0065e580
jmp 0x65f3aa
nop
call fcn.004271b0
add esp, 0x90
ret
test ebp, 0x80
je 0x65f423
mov edx, dword [eax]
test edx, edx
setne dl
xor edx, 1
test dl, dl
je 0x65f276
jmp 0x65f39c
mov edx, eax
jmp 0x65f40e
mov dword [esp + 0x3c], edx
lea eax, [0x792e60]
mov dword [esp], eax
call fcn.00409dc0
mov edi, dword [esp + 4]
mov dword [edi + 4], 0x13
mov eax, dword [0xbc7270]
test eax, eax
jne 0x65f45b
lea eax, [0x7e210d]
mov dword [edi], eax
jmp 0x65f7b0
lea eax, [0x7e210d]
call fcn.0044cc20
jmp 0x65f7b0
cmp edx, 0x15
je 0x65f65d
cmp edx, 0x17
jne 0x65f5dd
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00479ba0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x65f39c
xor eax, eax
jmp 0x65f511
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebp, dword [esp + 0x58]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xc], edi
call fcn.00479490
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov ebx, dword [esp + 0x44]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x80]
call eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x54]
mov dword [esp], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
call fcn.00479ba0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jge 0x65f5d0
lea eax, [0x771460]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00407550
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x65f5c5
movzx edx, byte [0xbb55c0]
test dl, dl
je 0x65f580
mov dword [0xbb55c4], ecx
mov edx, dword [0xbc7270]
test edx, edx
jne 0x65f5b8
mov dword [0xbb55c8], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x65f5ad
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
test bl, 0x20
jne 0x65f49d
or edx, 0x80
jmp 0x65f49d
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x65f49d
lea edi, [0xbb55c8]
call fcn.0044cc20
jmp 0x65f580
xor edx, edx
xor eax, eax
xor ecx, ecx
jmp 0x65f49d
nop
call fcn.004271b0
add esp, 0x90
ret
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x7da620]
mov dword [esp], eax
lea eax, [esp + 0x74]
mov dword [esp + 4], eax
call fcn.00407470
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x94]
mov dword [esp], eax
lea ecx, [0x7e6923]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x1b
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call fcn.0065d9a0
jmp 0x65f39c
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebp
call fcn.00479ba0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x65f39c
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
call fcn.00479f10
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.006656e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test eax, eax
jle 0x65f768
mov dword [esp + 0x34], eax
xor edx, edx
jmp 0x65f6d4
mov ebx, dword [esp + 0x48]
add ebx, 0xc
mov ecx, ebx
mov edx, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], edx
mov eax, dword [ecx + 8]
mov dword [esp + 0x38], eax
mov ebx, dword [ecx + 4]
mov dword [esp + 0x4c], ebx
mov ebp, dword [ecx]
mov dword [esp + 0x50], ebp
mov esi, dword [esp + 0x54]
mov dword [esp], esi
mov edi, dword [esp + 0x58]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
call fcn.00479d40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x50]
mov dword [esp], ebx
mov ebx, dword [esp + 0x4c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x80]
lea edx, [esp + 0x80]
call eax
mov eax, dword [esp + 0x30]
inc eax
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jl 0x65f6c9
nop
call fcn.004271b0
add esp, 0x90
ret
test ebp, 0x1f
je 0x65f39c
cmp edx, 0x11
je 0x65f47d
jmp 0x65f5dd
nop
call fcn.004271b0
add esp, 0x90
ret
lea edi, [edx + 0x10]
mov eax, dword [esp + 0xa4]
call fcn.0044cc20
jmp 0x65f13d
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
lea eax, [0x780b40]
mov dword [esp], eax
mov dword [esp + 4], edi
call fcn.00427510
ud2
call fcn.0044b4c0
jmp fcn.0065f0e0