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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x44], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
je 0x140065acb
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
cmp dword [rsp + 0x5c], 0x25
jne 0x140065ac6
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x25
jne 0x1400652e5
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140065295
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140065060
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x140065319
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jle 0x14006532b
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x28]
call fcn.140065110
movzx eax, al
test eax, eax
je 0x140065643
mov r8d, 3
lea rdx, [0x1400f1c04]
mov rcx, qword [rsp + 0x28]
call fcn.140097e90
test eax, eax
jne 0x140065389
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 3
mov qword [rsp + 0x28], rax
jmp case.0x14006540c.0
mov r8d, 3
lea rdx, [0x1400f1c08]
mov rcx, qword [rsp + 0x28]
call fcn.140097e90
test eax, eax
jne 0x1400653c2
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 3
mov qword [rsp + 0x28], rax
jmp case.0x14006540c.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x60], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0x7a
ja case.0x14006540c.0
movsxd rax, dword [rsp + 0x50]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x65f50]
mov eax, dword [rcx + rax*4 + 0x65eec]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
btr eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
cmp eax, 0x2a
jne 0x1400654ca
mov eax, dword [rsp + 0x20]
bts eax, 0x10
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140065060
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400654ae
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x3c], eax
jmp 0x1400654b6
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x3c], eax
jle 0x1400654c8
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x44], eax
jmp 0x1400654ef
mov eax, dword [rsp + 0x20]
bts eax, 0xf
mov dword [rsp + 0x20], eax
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140099250
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
and eax, 0x18000
cmp eax, 0x18000
jne 0x140065509
mov eax, 1
jmp 0x140065ee5
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 0x10
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
and eax, 0x20
test eax, eax
je 0x140065546
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp 0x140065551
mov eax, dword [rsp + 0x20]
or eax, 0x20
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
bts eax, 7
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
or eax, 0x40
mov dword [rsp + 0x20], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
jne case.0x14006540c.48
mov eax, dword [rsp + 0x20]
bts eax, 8
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
bts eax, 0xd
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
dec rax
mov r8d, 0xa
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140099250
mov dword [rsp + 0x34], eax
jmp case.0x14006540c.0
mov eax, dword [rsp + 0x20]
bts eax, 0xe
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x28]
call fcn.140065060
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x140065615
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x34], eax
jmp 0x14006561d
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x34], eax
jle 0x14006562f
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x44], eax
jmp case.0x14006540c.0
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
jmp 0x14006533b
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x14006565e
cmp dword [rsp + 0x24], 0x80
jl 0x140065668
mov eax, 1
jmp 0x140065ee5
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
sub eax, 0x45
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0x33
ja case.0x1400656a8.70
movsxd rax, dword [rsp + 0x4c]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x66010]
mov eax, dword [rcx + rax*4 + 0x65fcc]
add rax, rcx
jmp rax
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 1
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 4
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 2
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 9
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 0xa
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
or eax, 0xa00
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
or eax, 0x1a00
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
mov eax, dword [rsp + 0x20]
bts eax, 0x11
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
bts eax, 0x12
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
or eax, 0x41000
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
bts eax, 0x13
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 7
mov eax, dword [rsp + 0x20]
or eax, 0x81000
mov dword [rsp + 0x20], eax
jmp 0x1400658ca
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 0
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x20]
mov dword [rcx + rax + 4], edx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x34]
mov dword [rcx + rax + 8], edx
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x3c]
mov dword [rcx + rax + 0xc], edx
mov eax, dword [rsp + 0x20]
and eax, 0x4000
test eax, eax
je 0x1400659c7
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x140065941
cmp dword [rsp + 0x38], 0x80
jl 0x14006594b
mov eax, 1
jmp 0x140065ee5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x38]
mov dword [rcx + rax + 8], edx
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 9
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 4], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 0xc], 0
mov eax, dword [rsp + 0x20]
and eax, 0x10000
test eax, eax
je 0x140065a79
mov eax, dword [rsp + 0x3c]
dec eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jl 0x1400659f3
cmp dword [rsp + 0x40], 0x80
jl 0x1400659fd
mov eax, 1
jmp 0x140065ee5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov edx, dword [rsp + 0x40]
mov dword [rcx + rax + 0xc], edx
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 9
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 4], 0
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 8], 0
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax + 0xc], 0
mov rax, qword [rsp + 0x28]
movsx eax, byte [rax]
test eax, eax
jne 0x140065a8f
mov dword [rsp + 0x54], 0
jmp 0x140065a97
mov dword [rsp + 0x54], 1
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x90], rax
jmp 0x140065295
mov dword [rsp + 0x24], 0
jmp 0x140065adf
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x24], eax
jge 0x140065ee3
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x4000
test eax, eax
je 0x140065b52
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
movsxd rcx, dword [rdx + rcx + 8]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x10000
test eax, eax
je 0x140065bb7
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
movsxd rcx, dword [rdx + rcx + 0xc]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 9
ja case.0x140065bf0.5
movsxd rax, dword [rsp + 0x58]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x66044]
add rax, rcx
jmp rax
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp case.0x140065bf0.5
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp case.0x140065bf0.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x40
test eax, eax
je 0x140065cdd
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140065cdd
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp 0x140065e8a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x40
test eax, eax
je 0x140065d34
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x98]
mov rdx, qword [rdx - 8]
mov qword [rcx + rax + 0x10], rdx
jmp 0x140065e8a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x20
test eax, eax
je 0x140065da8
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140065da8
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x140065e8a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x20
test eax, eax
je 0x140065dff
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x140065e8a
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax + 4]
and eax, 0x200
test eax, eax
je 0x140065e54
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp 0x140065e8a
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax - 8]
movsxd rcx, dword [rsp + 0x24]
imul rcx, rcx, 0x18
mov rdx, qword [rsp + 0x88]
mov qword [rdx + rcx + 0x10], rax
jmp case.0x140065bf0.5
mov rax, qword [rsp + 0x98]
add rax, 8
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
movsd xmm0, qword [rax - 8]
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
movsd qword [rcx + rax + 0x10], xmm0
jmp case.0x140065bf0.5
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0x88]
mov dword [rcx + rax], 3
jmp 0x140065ad5
xor eax, eax
add rsp, 0x78
ret