Function at 0x140002b64
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
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x228]
sub rsp, 0x310
mov rax, qword [0x1400ab040]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor esi, esi
movsd xmm0, qword [str._YRYOURP]
movsd qword [rsp + 0x40], xmm0
mov eax, dword [0x14008c270]
mov dword [rsp + 0x48], eax
movzx eax, word [0x14008c274]
mov word [rsp + 0x4c], ax
cmp byte [0x14008c275], sil
je 0x140002bf9
mov r8d, esi
lea r9, [rsp + 0x40]
mov eax, 0x51eb851f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x32
mov al, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xe
jl 0x140002bd2
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x140002c14
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x30]
call fcn.140004f40
nop
lea rcx, [rbp - 0x30]
mov r14d, 0xf
cmp qword [rbp - 0x18], r14
cmova rcx, qword [rbp - 0x30]
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 0x140002d21
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp - 0x10]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140002c81
mov r8, rbx
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x50]
call fcn.140004bc0
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x40]
lea r8, [rcx + rax*2]
lea rdx, [rbp - 0x50]
cmova rdx, qword [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400047ec
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x140002d04
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140002cff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002cff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
movdqa xmm0, xmmword [0x14009e3c0]
movdqu xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], si
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
jmp 0x140002d3b
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, 6
cmp rax, r12
jb 0x140003166
lea r9, [rsp + 0x50]
cmp rdx, r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
lea rax, [0x14008b05c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x70]
call fcn.140005518
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.140005dc0
nop
lea rcx, [rbp - 0x70]
call fcn.1400029d0
mov dil, al
lea rcx, [rbp - 0x70]
call fcn.140003c84
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x140002e05
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002e00
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e00
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
test dil, dil
jne 0x140002ee2
mov rax, rbx
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, r12
jb 0x14000316c
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], r12
lea rax, [0x14008b05c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x70]
call fcn.140005518
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.140005dc0
nop
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 7
cmova rcx, qword [rsp + 0x70]
call fcn.140084728
shr rax, 0x20
test eax, eax
jne 0x140003172
lea rcx, [rsp + 0x70]
call fcn.140003c84
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r14
jbe 0x140002ee2
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002edd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002edd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
mov rax, rbx
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, 0xe
jb 0x140003186
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0xe
lea r12, str._santoconfigs
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x70]
call fcn.140005518
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.140005dc0
nop
lea rcx, [rsp + 0x70]
call fcn.1400029d0
mov dil, al
lea rcx, [rsp + 0x70]
call fcn.140003c84
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, r14
jbe 0x140002fa7
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x140002fa2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fa2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
test dil, dil
jne 0x14000307f
mov rax, qword [rsp + 0x60]
sub rbx, rax
cmp rbx, 0xe
jb 0x14000318c
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], r14
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0xe
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x70]
call fcn.140005518
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.140005dc0
nop
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova rcx, qword [rbp - 0x70]
call fcn.140084728
shr rax, 0x20
test eax, eax
jne 0x140003153
lea rcx, [rbp - 0x70]
call fcn.140003c84
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, r14
jbe 0x14000307f
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, r15
jb 0x14000307a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000307a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
call fcn.14000d100
lea rcx, str.santo___press_enter_to_close_console__closes_cheat_
call fcn.14000192c
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 0x1400030d9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x1400030d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x50], sil
mov rdx, qword [rbp - 0x18]
cmp rdx, r14
jbe 0x140003121
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x14000311c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000311c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083504
xor eax, eax
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400834a0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea r8, [rbp - 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000289c
nop
call fcn.140001b38
int3
call fcn.140001b38
nop
lea r8, [rsp + 0x70]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000289c
nop
call fcn.140001b38
int3
call fcn.140001b38
int3