Function at 0x140065a6c
Capabilities:
Create thread
Delete file
Encode data using xor
Enumerate processes
Execute command
Log keystrokes via polling
Terminate process

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 - 0x2d8]
sub rsp, 0x3b0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140102700]
xor rax, rsp
mov qword [rbp + 0x260], rax
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x60], r12d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx ecx, word [rbp - 0x12]
sub cx, word [rbp - 0x16]
lea r13d, [r12 + 1]
add cx, r13w
mov word [rsp + 0x60], cx
movzx ecx, word [rbp - 0x10]
sub cx, word [rbp - 0x14]
add cx, r13w
mov word [rsp + 0x62], cx
mov edx, dword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
lea rsi, [0x1401030c0]
mov rcx, rsi
call fcn.1400794c0
cmp byte [0x1401032d0], r12b
jne 0x140065b3b
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140064ae4
mov dword [rsp + 0x60], 0x574f41
mov byte [rsp + 0x64], r13b
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rsp + rcx + 0x60], al
add rcx, r13
cmp rcx, 3
jb 0x140065b50
mov byte [rsp + 0x64], r12b
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, rsi
call fcn.1400760b0
lea r15, [0x140103338]
mov r8, r15
lea rdx, str.C:ProgramData_
lea rcx, [rsp + 0x68]
call fcn.140058534
nop
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140058d58
nop
lea rcx, [rbp - 0x78]
call fcn.140062d80
mov bl, al
lea rcx, [rbp - 0x78]
call fcn.14005fd70
nop
lea rcx, [rsp + 0x68]
call fcn.14005b5a8
movdqa xmm8, xmmword [0x1400dbff0]
movdqa xmm9, xmmword [0x1400dc090]
test bl, bl
je 0x140065c42
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov word [rsp + 0x40], 0xa
mov byte [rsp + 0x42], r12b
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
movdqu xmmword [rbp - 0x78], xmm9
movdqu xmmword [rbp - 0x68], xmm8
mov dword [rbp - 0x58], 0x6b6a372b
mov dword [rbp - 0x54], 0x1004d68
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x26
jb 0x140065c1e
mov byte [rbp - 0x51], r12b
lea rcx, [rbp - 0x78]
call fcn.14005df74
mov ecx, 0x3e8
jmp 0x140065c4f
mov rcx, rsi
call fcn.1400760b0
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r12
mov r14d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x28], r14
mov byte [rbp - 0x40], r12b
mov r8, r15
lea rdx, str.C:ProgramData_
lea rcx, [rsp + 0x68]
call fcn.140058534
nop
mov r8b, r12b
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140058d58
nop
lea rcx, [rbp - 0x78]
call fcn.140062d80
mov bl, al
lea rcx, [rbp - 0x78]
call fcn.14005fd70
nop
lea rcx, [rsp + 0x68]
call fcn.14005b5a8
test bl, bl
je 0x140065d7a
mov r8, r15
lea rdx, str.C:ProgramData_
lea rcx, [rsp + 0x68]
call fcn.140058534
nop
mov dword [rsp + 0x20], r13d
lea r9d, [r14 + 0x31]
mov r8d, r13d
mov rdx, rax
lea rcx, [rbp]
call fcn.14005a688
nop
lea rcx, [rsp + 0x68]
call fcn.14005b5a8
lea rdx, [rbp - 0x40]
lea rcx, [rbp]
call fcn.14005a434
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], r14
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.140058acc
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.14007ae10
cmp byte [0x1401032d0], r12b
jne 0x140065fed
mov r8, r15
lea rdx, str.C:ProgramData_
lea rcx, [rbp - 0x78]
call fcn.140058534
lea rcx, [rbp - 0x78]
cmp qword [rbp - 0x60], r14
cmova rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [rbp - 0x78]
call fcn.14005b5a8
nop
lea rcx, [rbp]
call fcn.14005bfbc
movdqa xmm6, xmmword [str.BA_C_S__]
movdqa xmm7, xmmword [0x1400dbfc0]
mov word [rsp + 0x40], 0xa
mov byte [rsp + 0x42], r12b
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
mov dword [rsp + 0x68], 0x55d4669
mov dword [rsp + 0x6c], 0x22071c
mov byte [rsp + 0x70], r13b
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 7
jb 0x140065dbf
mov byte [rsp + 0x70], r12b
lea rcx, [rsp + 0x68]
call fcn.14005df74
mov bl, r12b
test bl, bl
jne 0x140065ff6
lea rdx, [rbp - 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140058110
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], r14
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp - 0x78]
call fcn.140058acc
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.14007ae10
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp byte [0x1401032d0], r12b
je 0x140066017
mov word [rsp + 0x44], 0xa
mov byte [rsp + 0x46], r12b
lea rdx, [rsp + 0x44]
call fcn.140058358
movdqu xmmword [rbp - 0x78], xmm9
movdqu xmmword [rbp - 0x68], xmm8
mov dword [rbp - 0x58], 0x6b6a372b
mov dword [rbp - 0x54], 0x1004d68
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x26
jb 0x140065e75
mov byte [rbp - 0x51], r12b
lea rcx, [rbp - 0x78]
call fcn.14005e06c
mov word [rsp + 0x48], 0xa
mov byte [rsp + 0x4a], r12b
lea rdx, [rsp + 0x48]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
mov rcx, qword [0x140103348]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, r14
jb 0x140066529
mov rax, r15
cmp qword [0x140103350], r14
cmova rax, qword [0x140103338]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.C:ProgramData_
mov r8, r15
mov dl, byte [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.14005a928
or edi, r13d
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], r14
cmova rdx, qword [rbp - 0x78]
mov dword [rsp + 0x20], r13d
mov ebx, 2
lea r9d, [rbx + 0x3e]
mov r8d, ebx
lea rcx, [rbp]
call fcn.14005a7e4
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
mov rdx, qword [rbp - 0x60]
cmp rdx, r14
jbe 0x140065f8e
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140065f89
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066095
call fcn.1400cfa98
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x78], r12b
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], r14
cmova rdx, qword [rbp - 0x40]
mov r8, qword [rbp - 0x30]
lea rcx, [rbp]
call fcn.1400596b8
lea rcx, [rbp + 8]
call fcn.1400600c0
test rax, rax
jne 0x140065fdc
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, [rbp]
add rcx, rax
xor r8d, r8d
mov edx, ebx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov bl, r13b
lea rcx, [rbp]
call fcn.14005c020
jmp 0x140065de1
lea rcx, [rbp]
call fcn.14005bfbc
cmp byte [0x1401032d0], r12b
jne 0x14006609c
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov word [rsp + 0x4c], 0xa
mov byte [rsp + 0x4e], r12b
lea rdx, [rsp + 0x4c]
call fcn.140058358
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
movdqu xmmword [rbp - 0x78], xmm7
movdqu xmmword [rbp - 0x68], xmm6
mov dword [rbp - 0x58], 0x64202a2e
mov word [rbp - 0x54], Ordinal_79
mov byte [rbp - 0x52], r13b
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x25
jb 0x140066056
mov byte [rbp - 0x52], r12b
lea rcx, [rbp - 0x78]
call fcn.14005e06c
mov word [rsp + 0x60], 0xa
mov byte [rsp + 0x62], r12b
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
jmp 0x140065d8a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movdqa xmm0, xmmword [0x1400dc0d0]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x4d505656
mov word [rsp + 0x7c], 0x100
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0x14
jb 0x1400660bc
mov byte [rsp + 0x7d], r12b
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x140066126
call fcn.140062f60
movdqa xmm0, xmmword [0x1400dc0d0]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x4d505656
mov word [rsp + 0x7c], 0x100
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0x14
jb 0x140066106
mov byte [rsp + 0x7d], r12b
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov word [rsp + 0x60], 0xa
mov byte [rsp + 0x62], r12b
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
movdqa xmm0, xmmword [0x1400dc0f0]
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1400dc010]
movdqu xmmword [rbp - 0x68], xmm1
movdqa xmm0, xmmword [str._1_2g]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x48], r13b
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x2f
jb 0x140066171
mov byte [rbp - 0x48], r12b
lea rcx, [rbp - 0x78]
call fcn.14005dff0
mov word [rsp + 0x60], 0xa
mov byte [rsp + 0x62], r12b
lea rdx, [rsp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
movdqa xmm0, xmmword [str.RBQVC_a]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x78], r13b
mov rdx, r12
lea eax, [rdx + 0x22]
xor byte [rsp + rdx + 0x68], al
add rdx, r13
cmp rdx, r14
jb 0x1400661c1
mov byte [rsp + 0x78], r12b
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, Ordinal_301
lea ecx, [rdx + 0x19]
call qword [sym.imp.KERNEL32.dll_Beep]
mov ecx, 0x1f4
jmp 0x14006623c
mov dword [rsp + 0x68], 0x6a686274
mov dword [rsp + 0x6c], 0x7d666674
mov dword [rsp + 0x70], 0x1000b0a
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0xa
jb 0x140066210
mov byte [rsp + 0x73], r12b
lea rdx, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140102fe8], rax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x140102fe8], r12
je 0x1400661f5
mov ecx, 0x76
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14006624b
call fcn.14001db28
mov r14d, r12d
mov esi, r12d
xor edx, edx
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
mov dword [rbp + 0x130], 0x130
lea rdx, [rbp + 0x130]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
movdqa xmm6, xmmword [0x1400dc110]
movdqu xmmword [rsp + 0x68], xmm6
mov dword [rsp + 0x78], 0x45445a5a
mov dword [rsp + 0x7c], 0x175f595f
mov dword [rbp - 0x80], 0x59435f
mov byte [rbp - 0x7c], r13b
mov rcx, r12
lea eax, [rcx + 0x22]
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0x1b
jb 0x1400662b8
mov byte [rbp - 0x7c], r12b
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x15c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x14006634c
mov r15d, dword [rbp + 0x138]
xor edx, edx
lea ecx, [rax + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14006633c
xor edx, edx
mov r8d, Ordinal_301
lea rcx, [rbp + 4]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp], 0x130
lea rdx, [rbp]
mov rcx, rbx
call sub.KERNEL32.dll_Process32First
jmp 0x140066338
mov rcx, rbx
cmp dword [rbp + 8], r15d
je 0x1400664d0
lea rdx, [rbp]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140066322
mov eax, r12d
cmp eax, esi
jbe 0x14006634c
mov esi, eax
mov r14d, dword [rbp + 0x138]
lea rdx, [rbp + 0x130]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140066294
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x140103388], r14d
movdqa xmm0, xmmword [0x1400dc100]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0x140956
mov byte [rsp + 0x7c], r13b
mov rdx, r12
lea eax, [rdx + 0x22]
xor byte [rsp + rdx + 0x68], al
add rdx, r13
cmp rdx, 0x13
jb 0x140066391
mov byte [rsp + 0x7c], r12b
lea rdx, [rsp + 0x68]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
mov edx, dword [0x140103388]
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___int____ptr64]
lea rdx, [0x14005a238]
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]
mov ecx, dword [0x140103388]
call fcn.14001dd00
mov edx, dword [0x140102ef4]
lea rcx, str.VALORANT_Win64_Shipping.exe
call fcn.14001da84
mov qword [0x140103390], rax
movdqa xmm0, xmmword [0x1400dc130]
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1400dc000]
movdqu xmmword [rbp - 0x68], xmm1
mov dword [rbp - 0x58], 0x1006378
mov r8, r12
lea eax, [r8 + 0x22]
xor byte [rbp + r8 - 0x78], al
add r8, r13
cmp r8, 0x22
jb 0x14006641e
mov byte [rbp - 0x55], r12b
lea rdx, [rbp - 0x78]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140058358
mov rdx, qword [0x140103390]
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___long_long___int64_____ptr64]
lea rdx, [0x14005a238]
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.14001da24
call fcn.14005e9dc
cmp eax, 3
je 0x14006647f
lea rcx, str.__render_____failed_to_setup_render._n
call fcn.14003682c
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400647d0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
call fcn.14005e0e8
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x1400664e3
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400664de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400664de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x1c]
jmp 0x14006633f
call fcn.1400cfa98
xor eax, eax
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400cfb30
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14005fe04
nop
int3