Function at 0x140002c90
Capabilities:
Create process on windows
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 [0x14012f040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
xor r14d, r14d
movsd xmm0, qword [str.FP_NXV]
movsd qword [rsp + 0x40], xmm0
movzx eax, word [0x14010b250]
mov word [rsp + 0x48], ax
cmp byte [0x14010b251], r14b
je 0x140002d1c
mov r8d, r14d
lea r9, [rsp + 0x40]
mov eax, 0x4ec4ec4f
mul r8d
shr edx, 4
movsx eax, dl
imul ecx, eax, 0x34
mov al, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
inc r9
cmp r8d, 0xa
jl 0x140002cf5
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rax, [rsp + 0x40]
or rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp byte [rax + r8], r14b
jne 0x140002d37
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x40]
call fcn.140002b68
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]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rbx, rax
lea esi, [r15 - 0x23]
mov edx, esi
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowLongA]
bts eax, 0x13
mov r8d, eax
mov edx, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowLongA]
lea r9d, [r15 - 0xd]
mov r8b, 0x80
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x2e]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, 0x1000
xorps xmm0, xmm0
test eax, eax
js 0x140002e74
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
lea rax, [rbp - 0x20]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x140002de0
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x40]
call fcn.140004de0
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, [rsp + 0x60]
call fcn.1400049e8
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x140002e6d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140002e68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002e68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
mov rcx, qword [rsp + 0x70]
jmp 0x140002e8b
movups xmmword [rsp + 0x60], xmm0
mov rcx, r14
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x60], r14b
movabs rbx, 0x7fffffffffffffff
mov rax, rbx
sub rax, rcx
mov r12d, 8
cmp rax, r12
jb 0x1400033b3
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], r12
lea r13, str._revival
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.1400054b4
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, [rbp - 0x60]
call fcn.140005e40
nop
mov dword [rsp + 0x40], r14d
lea rax, [0x14012f0d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400029bc
mov dil, al
cmp dword [rsp + 0x40], r14d
jne 0x1400033b9
lea rcx, [rbp - 0x60]
call fcn.140003f08
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, r15
jbe 0x140002f7f
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rsi
jb 0x140002f7a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002f7a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
test dil, dil
jne 0x14000305c
mov rax, rbx
mov rcx, qword [rsp + 0x70]
sub rax, rcx
cmp rax, r12
jb 0x1400033cf
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.1400054b4
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, [rbp - 0x80]
call fcn.140005e40
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.1400e7c88
shr rax, 0x20
test eax, eax
jne 0x1400033d5
lea rcx, [rbp - 0x80]
call fcn.140003f08
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, r15
jbe 0x14000305c
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rsi
jb 0x140003057
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003057
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
mov rax, rbx
mov rcx, qword [rsp + 0x70]
sub rax, rcx
mov r12d, 0x10
cmp rax, r12
jb 0x1400033e8
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], r12
lea r13, str._revivalconfigs
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x60]
call fcn.1400054b4
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, [rbp - 0x80]
call fcn.140005e40
nop
mov dword [rsp + 0x40], r14d
lea rax, [0x14012f0d8]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.1400029bc
mov dil, al
cmp dword [rsp + 0x40], r14d
jne 0x1400033ee
lea rcx, [rbp - 0x80]
call fcn.140003f08
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, r15
jbe 0x14000314b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, rsi
jb 0x140003146
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003146
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
test dil, dil
jne 0x140003225
mov rax, qword [rsp + 0x70]
sub rbx, rax
cmp rbx, r12
jb 0x140003404
lea r9, [rsp + 0x60]
cmp qword [rsp + 0x78], r15
cmova r9, qword [rsp + 0x60]
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x80]
call fcn.1400054b4
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, [rbp - 0x60]
call fcn.140005e40
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
call fcn.1400e7c88
shr rax, 0x20
test eax, eax
jne 0x1400033a0
lea rcx, [rbp - 0x60]
call fcn.140003f08
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, r15
jbe 0x140003225
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, rsi
jb 0x140003220
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003220
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
call fcn.14000d670
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
mov edx, 0xc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea r8, [0x14022d5e0]
cmp qword [0x14022d5f8], r15
cmova r8, qword [0x14022d5e0]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
mov qword [rsp + 0x40], 5
lea rcx, [rsp + 0x40]
call fcn.140004c84
lea r8, [0x14022d5c0]
cmp qword [0x14022d5d8], r15
cmova r8, qword [0x14022d5c0]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.revival.priv___press_enter_to_close_console__closes_cheat_
call fcn.14000185c
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 edx, 7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, r15
jbe 0x140003326
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, rsi
jb 0x140003321
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003321
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r15
mov byte [rsp + 0x60], r14b
mov rdx, qword [rbp - 0x28]
cmp rdx, r15
jbe 0x14000336e
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, rsi
jb 0x140003369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003369
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400e6984
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1400e66e0
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 - 0x60]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002888
nop
call fcn.140001a68
nop
lea r8, [rbp - 0x60]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1400028e8
nop
call fcn.140001a68
nop
lea r8, [rbp - 0x80]
mov edx, eax
lea rcx, str.create_directory
call fcn.140002888
nop
call fcn.140001a68
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x40]
lea rcx, str.exists
call fcn.1400028e8
nop
call fcn.140001a68
int3