Function at 0x1400029fc
Capabilities:
Encode data using xor
Get common file path
Set console window title

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x258]
sub rsp, 0x330
mov rax, qword [0x140130040]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor esi, esi
movups xmm0, xmmword [str._RY]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [0x14010c1a0]
movups xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [0x14010c1b0]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x14010c1c0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x14010c1c4]
mov word [rbp - 0x3c], ax
mov r8d, esi
lea r9, [rbp - 0x70]
mov eax, 0x8d3dcb09
mul r8d
shr edx, 5
movsx eax, dl
imul ecx, eax, 0x3a
mov al, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x36
jl 0x140002a71
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 8], xmm1
lea rax, [rbp - 0x70]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x140002ab2
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x18]
call fcn.140004dc8
nop
lea rcx, [rbp - 0x18]
mov r14d, 0xf
cmp qword [rbp], r14
cmova rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0xb]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r15d, 0x1000
xorps xmm0, xmm0
test eax, eax
js 0x140002bbe
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
lea rax, [rbp + 0x10]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140002b1e
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x38]
call fcn.140004a48
nop
lea rcx, [rbp - 0x38]
cmp qword [rbp - 0x20], 7
cmova rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x28]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x38]
cmova rdx, qword [rbp - 0x38]
lea rcx, [rsp + 0x50]
call fcn.14000467c
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 7
jbe 0x140002ba1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, r15
jb 0x140002b9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
movdqa xmm0, xmmword [0x14011c160]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], si
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
jmp 0x140002bd8
movups xmmword [rsp + 0x50], xmm0
mov rcx, rsi
mov qword [rsp + 0x60], rcx
mov rdx, r14
mov qword [rsp + 0x68], rdx
mov byte [rsp + 0x50], sil
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
mov r12d, 5
cmp rax, r12
jb 0x140002ff8
lea r9, [rsp + 0x50]
cmp rdx, r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
lea r13, str.CxC2
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140005344
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r14
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140005c48
nop
lea rcx, [rbp - 0x70]
call fcn.140002868
mov dil, al
lea rcx, [rbp - 0x70]
call fcn.140003b14
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x140002ca2
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002c9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c9d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
test dil, dil
jne 0x140002d78
mov rax, rbx
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, r12
jb 0x140002ffe
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x70]
call fcn.140005344
nop
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140005c48
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call fcn.1400e8cd8
shr rax, 0x20
test eax, eax
jne 0x140003004
lea rcx, [rsp + 0x70]
call fcn.140003b14
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r14
jbe 0x140002d78
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002d73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
mov rax, rbx
mov rcx, qword [rsp + 0x60]
sub rax, rcx
mov r12d, 0xd
cmp rax, r12
jb 0x140003018
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
lea r13, str.CXC2configs
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x70]
call fcn.140005344
nop
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], r14
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.140005c48
nop
lea rcx, [rsp + 0x70]
call fcn.140002868
mov dil, al
lea rcx, [rsp + 0x70]
call fcn.140003b14
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r14
jbe 0x140002e3e
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
test dil, dil
jne 0x140002f11
mov rax, qword [rsp + 0x60]
sub rbx, rax
cmp rbx, r12
jb 0x14000301e
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140005344
nop
lea rax, [rsp + 0x70]
cmp qword [rbp - 0x78], r14
cmova rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140005c48
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
call fcn.1400e8cd8
shr rax, 0x20
test eax, eax
jne 0x140002fe5
lea rcx, [rbp - 0x70]
call fcn.140003b14
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x140002f11
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002f0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
call fcn.14000d140
lea rcx, str.CxC2.gg___press_enter_to_close_console__closes_cheat_
call fcn.1400017bc
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, r14
jbe 0x140002f6b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140002f66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], sil
mov rdx, qword [rbp]
cmp rdx, r14
jbe 0x140002fb3
inc rdx
mov rcx, qword [rbp - 0x18]
mov rax, rcx
cmp rdx, r15
jb 0x140002fae
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fae
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e78b4
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.1400e7850
lea r11, [rsp + 0x330]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002734
nop
call fcn.1400019c8
int3
call fcn.1400019c8
nop
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002734
nop
call fcn.1400019c8
int3
call fcn.1400019c8
int3