Function at 0x140002ae0
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 - 0x2a8]
sub rsp, 0x380
mov rax, qword [0x14013a040]
xor rax, rsp
mov qword [rbp + 0x270], rax
xor r14d, r14d
movups xmm0, xmmword [0x1401158b8]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x1401158c8]
mov dword [rbp - 0x40], eax
movzx eax, word [0x1401158cc]
mov word [rbp - 0x3c], ax
mov al, byte [0x1401158ce]
mov byte [rbp - 0x3a], al
mov r8d, r14d
lea r9, [rbp - 0x50]
mov eax, 0x2f684bdb
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x35
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x17
jl 0x140002b49
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp - 0x50]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x140002b93
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x40]
call fcn.140004e2c
nop
lea rcx, [rbp + 0x40]
mov esi, 0xf
cmp qword [rbp + 0x58], rsi
cmova rcx, qword [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0xb]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r15d, 0x1000
lea r12d, [rsi - 8]
xorps xmm0, xmm0
test eax, eax
js 0x140002c88
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rbp + 0x60]
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140002c01
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.140004b38
nop
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], r12
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, [rbp - 0x30]
call fcn.1400047b8
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, r12
jbe 0x140002c82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, r15
jb 0x140002c7d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c7d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
mov rcx, qword [rbp - 0x20]
jmp 0x140002c9b
movups xmmword [rbp - 0x30], xmm0
mov rcx, r14
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x30], r14b
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, r12
jb 0x140003160
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], rsi
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], r12
lea r13, [0x140114668]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x10]
call fcn.1400052c4
nop
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], rsi
cmova rax, qword [rbp - 0x10]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140005c34
nop
mov dword [rbp - 0x50], r14d
lea rax, [0x14013b4b0]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140002968
mov dil, al
cmp dword [rbp - 0x50], r14d
jne 0x140003166
lea rcx, [rbp + 0x10]
call fcn.140003cb4
nop
mov rdx, qword [rbp + 8]
cmp rdx, rsi
jbe 0x140002d7d
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x140002d78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
test dil, dil
jne 0x140002e50
mov rax, rbx
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, r12
jb 0x14000317b
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], rsi
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x10]
call fcn.1400052c4
nop
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], rsi
cmova rax, qword [rbp + 0x10]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140005c34
nop
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], r12
cmova rcx, qword [rbp - 0x10]
call fcn.1400e9228
shr rax, 0x20
test eax, eax
jne 0x140003181
lea rcx, [rbp - 0x10]
call fcn.140003cb4
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, rsi
jbe 0x140002e50
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x140002e4b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e4b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
mov rax, rbx
mov rcx, qword [rbp - 0x20]
sub rax, rcx
cmp rax, rsi
jb 0x140003194
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], rsi
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], rsi
lea r13, str.Sol.ccconfigs
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x10]
call fcn.1400052c4
nop
lea rax, [rbp + 0x10]
cmp qword [rbp + 0x28], rsi
cmova rax, qword [rbp + 0x10]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp + 0x20]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140005c34
nop
mov dword [rbp - 0x50], r14d
lea rax, [0x14013b4b0]
mov qword [rbp - 0x48], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140002968
mov dil, al
cmp dword [rbp - 0x50], r14d
jne 0x14000319a
lea rcx, [rbp - 0x10]
call fcn.140003cb4
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, rsi
jbe 0x140002f2c
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x140002f27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
test dil, dil
jne 0x140002ffc
mov rax, qword [rbp - 0x20]
sub rbx, rax
cmp rbx, rsi
jb 0x1400031af
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], rsi
cmova r9, qword [rbp - 0x30]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x10]
call fcn.1400052c4
nop
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], rsi
cmova rax, qword [rbp - 0x10]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp]
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x10]
call fcn.140005c34
nop
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], r12
cmova rcx, qword [rbp + 0x10]
call fcn.1400e9228
shr rax, 0x20
test eax, eax
jne 0x14000314d
lea rcx, [rbp + 0x10]
call fcn.140003cb4
nop
mov rdx, qword [rbp + 8]
cmp rdx, rsi
jbe 0x140002ffc
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, r15
jb 0x140002ff7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002ff7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
call fcn.14000d428
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rbp + 0x10]
lea rcx, str.1286992242099359744
call fcn.1400eb7c0
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
lea rax, str.Playing_Sol.cc_External_v1.0.1
mov qword [rsp + 0x40], rax
lea rax, str.Loading_External__v1.0.1
mov qword [rsp + 0x48], rax
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x50], rax
lea rax, [0x140114654]
mov qword [rsp + 0x60], rax
lea rax, str.Sol.cc_Logo
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.1400ebc50
lea rcx, str._Sol.cc____press_enter_to_close_console__closes_cheat_
call fcn.1400018cc
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]
call fcn.1400eb9d0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, rsi
jbe 0x1400030d6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, r15
jb 0x1400030d1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], rsi
mov byte [rbp - 0x30], r14b
mov rdx, qword [rbp + 0x58]
cmp rdx, rsi
jbe 0x14000311b
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x140003116
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003116
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7ce4
xor eax, eax
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.1400e7c80
lea r11, [rsp + 0x380]
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 + 0x10]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002834
nop
call fcn.140001ad8
nop
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x50]
lea rcx, str.exists
call fcn.140002894
nop
call fcn.140001ad8
nop
lea r8, [rbp - 0x10]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002834
nop
call fcn.140001ad8
nop
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x50]
lea rcx, str.exists
call fcn.140002894
nop
call fcn.140001ad8
int3