Function at 0x140003958
Capabilities:
Encode data using xor
Execute command
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 [0x140139040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor r14d, r14d
mov dword [0x14020ea68], r14d
mov byte [0x14020ea6c], r14b
mov qword [0x14020e7c0], r14
mov word [0x14020e7c8], r14w
mov byte [0x14020e7ca], r14b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [0x14020ea70], xmm0
movups xmmword [0x14020ea80], xmm0
movups xmmword [0x14020ea90], xmm0
movups xmmword [0x14020eaa0], xmm0
mov byte [0x14020eab0], al
mov dword [0x14020e7b8], r14d
movups xmmword [0x14020e7d0], xmm0
mov qword [0x14020e7e0], rax
mov dword [0x14020e7e8], eax
mov byte [0x14020e7ec], al
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r14 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea r15d, [r14 + 0xf]
mov r12d, 0x1000
or rdi, 0xffffffffffffffff
xorps xmm0, xmm0
test eax, eax
js 0x140003ad6
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x20]
mov r8, rdi
inc r8
cmp word [rax + r8*2], r14w
jne 0x140003a47
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140005b2c
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 - 0x60]
call fcn.1400057ac
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140003ad0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r12
jb 0x140003acb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003acb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
mov rcx, qword [rbp - 0x50]
jmp 0x140003ae9
movups xmmword [rbp - 0x60], xmm0
mov rcx, r14
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x48], r15
mov byte [rbp - 0x60], r14b
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
mov r13d, 6
cmp rax, r13
jb 0x14000402b
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], r15
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], r13
lea rax, str.OISHI
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.140006300
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
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 - 0x80]
call fcn.140006c5c
nop
mov dword [rsp + 0x40], r14d
lea rax, [0x1401390d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140002e48
mov sil, al
cmp dword [rsp + 0x40], r14d
jne 0x140004031
lea rcx, [rbp - 0x80]
call fcn.140004cb8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
jbe 0x140003be1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140003bdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003bdc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
test sil, sil
jne 0x140003cc6
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
cmp rax, r13
jb 0x140004047
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], r15
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], r13
lea rax, str.OISHI
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140006300
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], r15
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x70]
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.140006c5c
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.1400ee878
shr rax, 0x20
test eax, eax
jne 0x14000404d
lea rcx, [rsp + 0x60]
call fcn.140004cb8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, r15
jbe 0x140003cc6
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r12
jb 0x140003cc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003cc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
movups xmm0, xmmword [0x1401121d0]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x1401121e0]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x1401121e8]
mov dword [rsp + 0x58], eax
cmp byte [0x1401121eb], r14b
je 0x140003d2b
mov r8d, r14d
lea r9, [rsp + 0x40]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0x1c
jl 0x140003cfb
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x40]
inc rdi
cmp byte [rax + rdi], r14b
jne 0x140003d3f
mov r8, rdi
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140005e0c
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], r15
cmova rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov rax, rbx
mov rcx, qword [rbp - 0x50]
sub rax, rcx
mov esi, 0xe
cmp rax, rsi
jb 0x140004061
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], r15
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], rsi
lea r13, str.OISHIconfigs
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.140006300
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], r15
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp - 0x70]
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.140006c5c
nop
mov dword [rsp + 0x40], r14d
lea rax, [0x1401390d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140002e48
mov dil, al
cmp dword [rsp + 0x40], r14d
jne 0x140004067
lea rcx, [rsp + 0x60]
call fcn.140004cb8
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, r15
jbe 0x140003e5a
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r12
jb 0x140003e55
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003e55
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
test dil, dil
jne 0x140003f37
mov rax, qword [rbp - 0x50]
sub rbx, rax
cmp rbx, rsi
jb 0x14000407e
lea r9, [rbp - 0x60]
cmp qword [rbp - 0x48], r15
cmova r9, qword [rbp - 0x60]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.140006300
nop
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
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 - 0x80]
call fcn.140006c5c
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.1400ee878
shr rax, 0x20
test eax, eax
jne 0x140004018
lea rcx, [rbp - 0x80]
call fcn.140004cb8
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
jbe 0x140003f37
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140003f32
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f32
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
call fcn.14000e930
lea rcx, str._DATA__Failed_to_load_the_cheat.
call fcn.140001dac
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]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, r15
jbe 0x140003f9c
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r12
jb 0x140003f97
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f97
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
movdqa xmm0, xmmword [0x140124470]
movdqu xmmword [rbp - 0x30], xmm0
mov byte [rbp - 0x40], r14b
mov rdx, qword [rbp - 0x48]
cmp rdx, r15
jbe 0x140003fe6
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140003fe1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003fe1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ed574
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400ed2d0
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, [rbp - 0x80]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002d14
nop
call fcn.140001fb8
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140002d74
nop
call fcn.140001fb8
nop
lea r8, [rsp + 0x60]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002d14
nop
call fcn.140001fb8
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.140002d74
nop
call fcn.140001fb8
int3