Function at 0x140066788
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 [0x140104700]
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, [0x1401050f0]
mov rcx, rsi
call fcn.14007a210
cmp byte [0x140105300], r12b
jne 0x140066857
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.140065800
mov dword [rsp + 0x60], 0xfbebe5
mov byte [rsp + 0x64], r13b
mov rcx, r12
mov r15b, 0x7a
mov al, cl
sub al, r15b
xor byte [rsp + rcx + 0x60], al
add rcx, r13
cmp rcx, 3
jb 0x14006686f
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.140076e00
lea r8, [0x140105368]
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.140063a9c
mov bl, al
lea rcx, [rbp - 0x78]
call fcn.140060a4c
nop
lea rcx, [rsp + 0x68]
call fcn.14005b718
movdqa xmm8, xmmword [0x1400dd310]
movdqa xmm9, xmmword [0x1400dd3a0]
test bl, bl
je 0x140066962
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], 0x8786d3cf
mov dword [rbp - 0x54], 0x100a184
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x26
jb 0x14006693c
mov byte [rbp - 0x51], r12b
lea rcx, [rbp - 0x78]
call fcn.14005ec30
mov ecx, 0x3e8
jmp 0x14006696f
mov rcx, rsi
call fcn.140076e00
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
lea r8, [0x140105368]
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.140063a9c
mov bl, al
lea rcx, [rbp - 0x78]
call fcn.140060a4c
nop
lea rcx, [rsp + 0x68]
call fcn.14005b718
test bl, bl
je 0x140066aa6
lea r8, [0x140105368]
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.14005b718
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.14007bb60
cmp byte [0x140105300], r12b
jne 0x140066d25
lea r8, [0x140105368]
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.14005b718
nop
lea rcx, [rbp]
call fcn.14005c178
movdqa xmm6, xmmword [0x1400dd300]
movdqa xmm7, xmmword [0x1400dd2d0]
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], 0xa9f1e2cd
mov dword [rsp + 0x6c], 0x86abb0
mov byte [rsp + 0x70], r13b
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 7
jb 0x140066aeb
mov byte [rsp + 0x70], r12b
lea rcx, [rsp + 0x68]
call fcn.14005ec30
mov bl, r12b
test bl, bl
jne 0x140066d2e
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.14007bb60
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
cmp byte [0x140105300], r12b
je 0x140066d4f
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], 0x8786d3cf
mov dword [rbp - 0x54], 0x100a184
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x26
jb 0x140066ba3
mov byte [rbp - 0x51], r12b
lea rcx, [rbp - 0x78]
call fcn.14005ed28
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 [0x140105378]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, r14
jb 0x14006727b
lea rax, [0x140105368]
cmp qword [0x140105380], r14
cmova rax, qword [0x140105368]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, str.C:ProgramData_
lea r8, [0x140105368]
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 0x140066cc6
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140066cc1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140066dcf
call fcn.1400d07e8
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.140060da0
test rax, rax
jne 0x140066d14
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.14005c1dc
jmp 0x140066b0f
lea rcx, [rbp]
call fcn.14005c178
cmp byte [0x140105300], r12b
jne 0x140066dd6
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], 0x88ccceca
mov word [rbp - 0x54], 0xa0
mov byte [rbp - 0x52], r13b
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x25
jb 0x140066d8e
mov byte [rbp - 0x52], r12b
lea rcx, [rbp - 0x78]
call fcn.14005ed28
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 0x140066ab6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14005d61c
movdqa xmm0, xmmword [0x1400dd3e0]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0xe1fcf2f2
mov word [rsp + 0x7c], 0x100
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0x14
jb 0x140066dfb
mov byte [rsp + 0x7d], r12b
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
test ax, ax
jne 0x140066e69
call fcn.140063c7c
movdqa xmm0, xmmword [0x1400dd3e0]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0xe1fcf2f2
mov word [rsp + 0x7c], 0x100
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0x14
jb 0x140066e47
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 [0x1400dd400]
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1400dd330]
movdqu xmmword [rbp - 0x68], xmm1
movdqa xmm0, xmmword [0x1400dd230]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x48], r13b
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rbp + rcx - 0x78], al
add rcx, r13
cmp rcx, 0x2f
jb 0x140066eb4
mov byte [rbp - 0x48], r12b
lea rcx, [rbp - 0x78]
call fcn.14005ecac
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 [0x1400dd210]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x78], r13b
mov rdx, r12
mov al, dl
sub al, r15b
xor byte [rsp + rdx + 0x68], al
add rdx, r13
cmp rdx, r14
jb 0x140066f06
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 0x140066f85
mov dword [rsp + 0x68], 0xc6c4c6d0
mov dword [rsp + 0x6c], 0xd9c2cad8
mov dword [rsp + 0x70], 0x100afae
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0xa
jb 0x140066f57
mov byte [rsp + 0x73], r12b
lea rdx, [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140105060], rax
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [0x140105060], r12
je 0x140066f3c
mov ecx, 0x76
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140066f94
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 [0x1400dd320]
movdqu xmmword [rsp + 0x68], xmm6
mov dword [rsp + 0x78], 0xe9e8fefe
mov dword [rsp + 0x7c], 0xb3fbf5f3
mov dword [rbp - 0x80], 0xc5e7fb
mov byte [rbp - 0x7c], r13b
mov rcx, r12
mov al, cl
sub al, r15b
xor byte [rsp + rcx + 0x68], al
add rcx, r13
cmp rcx, 0x1b
jb 0x140067001
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 0x14006709a
mov r15d, dword [rbp + 0x138]
xor edx, edx
lea ecx, [rax + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140067087
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 0x140067083
mov rcx, rbx
cmp dword [rbp + 8], r15d
je 0x140067222
lea rdx, [rbp]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x14006706d
mov eax, r12d
mov r15b, 0x7a
cmp eax, esi
jbe 0x14006709a
mov esi, eax
mov r14d, dword [rbp + 0x138]
lea rdx, [rbp + 0x130]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140066fdd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1401053b8], r14d
movdqa xmm0, xmmword [0x1400dd410]
movdqu xmmword [rsp + 0x68], xmm0
mov dword [rsp + 0x78], 0xb8adf2
mov byte [rsp + 0x7c], r13b
mov rdx, r12
mov al, dl
sub al, r15b
xor byte [rsp + rdx + 0x68], al
add rdx, r13
cmp rdx, 0x13
jb 0x1400670df
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 [0x1401053b8]
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 [0x1401053b8]
call fcn.14001dd00
mov edx, dword [0x140104f24]
lea rcx, str.VALORANT_Win64_Shipping.exe
call fcn.14001da84
mov qword [0x1401053c0], rax
movdqa xmm0, xmmword [0x1400dd360]
movdqu xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x1400dd2f0]
movdqu xmmword [rbp - 0x68], xmm1
mov dword [rbp - 0x58], 0x100879c
mov r8, r12
mov al, r8b
sub al, r15b
xor byte [rbp + r8 - 0x78], al
add r8, r13
cmp r8, 0x22
jb 0x14006716e
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 [0x1401053c0]
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.14005f6b8
cmp eax, 3
je 0x1400671d1
lea rcx, str.__render_____failed_to_setup_render._n
call fcn.14003682c
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400654ec]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthread]
call fcn.14005eda4
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x140067235
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140067230
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140067230
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 0x14006708a
call fcn.1400d07e8
xor eax, eax
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1400d0880
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.140060ae0
nop
int3