Function at 0x140002928
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 [0x140133040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor r14d, r14d
mov eax, dword [str.kqn_]
mov dword [rsp + 0x40], eax
lea esi, [r14 + 1]
lea r13d, [r14 + 4]
cmp byte [0x14010d30b], r14b
je 0x1400029ab
mov r8d, r14d
lea r9, [rsp + 0x40]
mov eax, 0x5397829d
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x31
mov al, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
add r8d, esi
add r9, rsi
cmp r8d, r13d
jl 0x140002985
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], r14b
jne 0x1400029c6
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140005330
nop
lea rcx, [rbp - 0x40]
mov r15d, 0xf
cmp qword [rbp - 0x28], r15
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, [r15 + 0xb]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r12d, 0x1000
xorps xmm0, xmm0
test eax, eax
js 0x140002ac7
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x20]
mov r8, rbx
inc r8
cmp word [rax + r8*2], r14w
jne 0x140002a38
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140005050
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.140004a78
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002ac1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, r12
jb 0x140002abc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002abc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
mov rcx, qword [rbp - 0x70]
jmp 0x140002ada
movups xmmword [rbp - 0x80], xmm0
mov rcx, r14
mov qword [rbp - 0x70], rcx
mov qword [rbp - 0x68], r15
mov byte [rbp - 0x80], r14b
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
cmp rax, r13
jb 0x1400030a8
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r15
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r13
lea rax, str.RKU
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.1400057c8
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], r15
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.140006138
nop
mov dword [rsp + 0x40], r14d
lea rax, [0x1401330d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.1400027b0
mov dil, al
cmp dword [rsp + 0x40], r14d
jne 0x1400030ae
lea rcx, [rsp + 0x60]
call fcn.140003bfc
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, r15
jbe 0x140002bc8
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140002bc3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002bc3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
test dil, dil
jne 0x140002caf
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
cmp rax, r13
jb 0x1400030c5
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r15
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r13
lea rax, str.RKU
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400057c8
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 - 0x60]
call fcn.140006138
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.1400e9488
shr rax, 0x20
test eax, eax
jne 0x1400030cb
lea rcx, [rbp - 0x60]
call fcn.140003bfc
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
jbe 0x140002caf
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140002caa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002caa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
mov rax, rbx
mov rcx, qword [rbp - 0x70]
sub rax, rcx
mov r13d, 0xc
cmp rax, r13
jb 0x1400030de
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r15
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r13
lea rax, str.RKUconfigs
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x60]
call fcn.1400057c8
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 - 0x60]
call fcn.140006138
nop
mov dword [rsp + 0x40], r14d
lea rax, [0x1401330d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400027b0
mov dil, al
cmp dword [rsp + 0x40], r14d
jne 0x1400030e4
lea rcx, [rbp - 0x60]
call fcn.140003bfc
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
jbe 0x140002da1
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140002d9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
test dil, dil
jne 0x140002e83
mov rax, qword [rbp - 0x70]
sub rbx, rax
cmp rbx, r13
jb 0x1400030fa
lea r9, [rbp - 0x80]
cmp qword [rbp - 0x68], r15
cmova r9, qword [rbp - 0x80]
mov qword [rsp + 0x30], r13
lea rcx, str.RKUconfigs
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x60]
call fcn.1400057c8
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], r15
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.140006138
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
call fcn.1400e9488
shr rax, 0x20
test eax, eax
jne 0x140003094
lea rcx, [rsp + 0x60]
call fcn.140003bfc
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, r15
jbe 0x140002e83
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r12
jb 0x140002e7e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e7e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r15
mov byte [rsp + 0x40], r14b
lea rdx, str.Please_enter_your_license_key:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004be8
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140004d58
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0xa
mov qword [rsp + 0x78], r15
movsd xmm0, qword [str.rayownsyou]
movsd qword [rsp + 0x60], xmm0
movzx eax, word [0x14010bfa8]
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], r14b
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x58]
cmp rdi, r15
cmova rcx, rbx
mov r8, qword [rsp + 0x50]
cmp r8, 0xa
jne 0x140002f9a
lea rdx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140002f9a
lea rdx, str._n___________________________________________n_________________________________n___________________________n______._______________________n_________________________n__________________________________________n_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004be8
lea rdx, [0x140004f34]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call fcn.14000d8d8
lea rdx, str.License_key_is_valid._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004be8
lea rdx, str.Press_enter_to_exit...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004be8
or r8d, 0xffffffff
mov rdx, rsi
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:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::ignore_long_long___int64___int____ptr64]
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]
mov esi, r14d
jmp 0x140002fae
lea rdx, str.Invalid_license_key._Exiting..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004be8
nop
cmp rdi, r15
jbe 0x140002fe4
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, r12
jb 0x140002fdb
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002fdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400e7f44
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, r15
jbe 0x14000301d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r12
jb 0x140003018
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003018
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r15
mov byte [rbp - 0x80], r14b
mov rdx, qword [rbp - 0x28]
cmp rdx, r15
jbe 0x140003062
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, r12
jb 0x14000305d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000305d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e7f44
mov eax, esi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400e7ee0
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.14000267c
nop
call fcn.140001928
nop
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1400026dc
nop
call fcn.140001928
nop
lea r8, [rbp - 0x60]
mov edx, eax
lea rcx, str.create_directory
call fcn.14000267c
nop
call fcn.140001928
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1400026dc
nop
call fcn.140001928
int3