Function at 0x1400027c0
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 - 0x228]
sub rsp, 0x300
mov rax, qword [0x140073040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor esi, esi
movzx eax, word [0x14005a038]
mov word [rsp + 0x40], ax
mov al, byte [0x14005a03a]
mov byte [rsp + 0x42], al
mov r8d, esi
lea r9, [rsp + 0x40]
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, 0x36
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 3
jl 0x140002817
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x40]
or rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], sil
jne 0x140002862
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140004a80
nop
lea rcx, [rbp - 0x40]
mov r14d, 0xf
cmp qword [rbp - 0x28], r14
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rbp - 0x20]
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 0x140002962
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x20]
inc rbx
cmp word [rax + rbx*2], si
jne 0x1400028d1
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.1400047a0
nop
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x50]
lea r8, [rcx + rax*2]
lea rdx, [rsp + 0x40]
cmova rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400043ec
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000295c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x140002957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002957
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400556c4
mov rcx, qword [rbp - 0x70]
jmp 0x140002975
movups xmmword [rbp - 0x80], xmm0
mov rcx, rsi
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x80], sil
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
mov r12d, 6
cmp rax, r12
jb 0x140002ea8
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r14
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r12
lea r13, str.chaos
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.140004f04
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], r14
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005324
nop
mov dword [rsp + 0x40], esi
lea rax, [0x1400730c8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140002648
mov dil, al
cmp dword [rsp + 0x40], esi
jne 0x140002eae
lea rcx, [rsp + 0x60]
call fcn.1400039e0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, r14
jbe 0x140002a67
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140002a62
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002a62
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400556c4
test dil, dil
jne 0x140002b47
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp rax, r12
jb 0x140002ec5
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r14
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140004f04
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], r14
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140005324
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.1400568c8
shr rax, 0x20
test eax, eax
jne 0x140002ecb
lea rcx, [rbp - 0x60]
call fcn.1400039e0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r14
jbe 0x140002b47
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140002b42
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002b42
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400556c4
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
mov r12d, 0xe
cmp rax, r12
jb 0x140002ede
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r14
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r12
lea r13, str.chaosconfigs
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140004f04
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], r14
cmova rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140005324
nop
mov dword [rsp + 0x40], esi
lea rax, [0x1400730c8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.140002648
mov dil, al
cmp dword [rsp + 0x40], esi
jne 0x140002ee4
lea rcx, [rbp - 0x60]
call fcn.1400039e0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r14
jbe 0x140002c37
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140002c32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400556c4
test dil, dil
jne 0x140002d12
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, r12
jb 0x140002efa
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r14
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.140004f04
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], r14
cmova rax, qword [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005324
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.1400568c8
shr rax, 0x20
test eax, eax
jne 0x140002e94
lea rcx, [rsp + 0x60]
call fcn.1400039e0
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, r14
jbe 0x140002d12
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140002d0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d0d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400556c4
mov edi, esi
mov ebx, esi
movsxd rdx, edi
mov r8b, 0x3d
lea rcx, [rsp + 0x60]
call fcn.140003c78
mov r8, rax
cmp qword [rax + 0x18], r14
jbe 0x140002d32
mov r8, qword [rax]
mov eax, 0x38e38e39
imul ebx
sar edx, 1
mov r9d, edx
shr r9d, 0x1f
add r9d, edx
mov edx, 9
lea rcx, str._rLoading:____s___d__
call fcn.1400015bc
mov rdx, qword [rsp + 0x78]
cmp rdx, r14
jbe 0x140002d8e
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140002d89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002e11
call fcn.1400556c4
mov qword [rsp + 0x40], 0x96
lea rcx, [rsp + 0x40]
call fcn.140004644
inc edi
add ebx, 0x64
cmp ebx, 0x384
jle 0x140002d16
lea rcx, [0x140059e30]
call fcn.1400015bc
call fcn.14000bda0
lea rcx, str.press_enter_if_no_gay
call fcn.1400015bc
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 [rbp - 0x68]
cmp rdx, r14
jbe 0x140002e1d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x140002e18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e18
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400556c4
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], r14
mov byte [rbp - 0x80], sil
mov rdx, qword [rbp - 0x28]
cmp rdx, r14
jbe 0x140002e62
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r15
jb 0x140002e5d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e5d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400556c4
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140055660
lea r11, [rsp + 0x300]
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, [rsp + 0x60]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002514
nop
call fcn.140001770
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140002574
nop
call fcn.140001770
nop
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002514
nop
call fcn.140001770
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140002574
nop
call fcn.140001770
int3