Function at 0x14008f280
Capabilities:
Create thread
Encode data using xor
Enumerate gui resources
Enumerate processes
Execute command
Log keystrokes via polling
Set console window title
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x1400a9040]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r14d, r14d
lea rdx, str.Example
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14008f304
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov r8d, dword [rbp - 0x40]
xor edx, edx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14008f304
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, word [0x1400a0c64]
mov word [rbp - 0x40], ax
movzx eax, byte [0x1400a0c66]
mov byte [rbp - 0x40], 0x20
xor byte [rbp - 0x3f], 0x38
xor al, 0x39
mov byte [rbp - 0x3e], al
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea rdx, [rbp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rdi, rax
test rax, rax
je 0x14008f377
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 0xc8
mov edx, 0xc8
mov r9d, edx
mov r8d, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_MoveWindow]
mov r9d, 2
mov r8b, 0xe8
mov edx, 0x3e8
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
lea rdx, [rbp + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetConsoleCursorInfo]
mov dword [rbp + 0x14], r14d
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetConsoleCursorInfo]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xfffaffff
mov r8d, eax
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongA]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.140085bb0
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov edx, 5
lea rcx, [rbp - 0x30]
call fcn.140090930
test al, al
je 0x14008f422
cmp qword [rbp - 0x18], r14
jne 0x14008f467
call fcn.14007e520
mov qword [0x1400b11c8], rax
mov dword [rbp - 0x40], r14d
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x48], rcx
mov rdx, qword [0x1400b1c20]
mov rcx, rax
call fcn.140082f20
test rax, rax
jne 0x14008f45b
mov rcx, qword [0x1400b11c8]
call fcn.14007e970
mov rcx, qword [0x1400b11c8]
call fcn.14007e970
mov rax, qword [str.tWUUI]
mov qword [rbp - 0x40], rax
cmp byte [str._qQUVeRF_], r14b
je 0x14008f5c0
cmp dword [0x1400a9088], 2
jl 0x14008f57e
movdqa xmm4, xmmword [0x1400a1160]
movdqa xmm2, xmmword [0x1400a1020]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a1050]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a1060]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400a1080]
movd xmm0, dword [rbp - 0x40]
xorps xmm2, xmm0
movd dword [rbp - 0x40], xmm2
movdqa xmm3, xmmword [0x1400a1030]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400a1050]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400a1060]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400a1080]
movd xmm0, dword [rbp - 0x3c]
xorps xmm2, xmm0
movd dword [rbp - 0x3c], xmm2
jmp 0x14008f5c0
lea r9, [rbp - 0x40]
mov r8d, r14d
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x36
movzx eax, r8b
sub al, cl
add al, 0x37
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x14008f590
lea rcx, [rbp - 0x40]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
mov rax, qword [rcx]
movsxd r9, dword [rax + 4]
add rcx, r9
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
lea rdx, str._n_Start_Game
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400838a0
nop dword [rax]
mov qword [rbp - 0x28], r14
mov ecx, 0x20
call fcn.140091040
mov rbx, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], 0x1b
mov qword [rbp - 0x18], 0x1f
movups xmm0, xmmword [str.VALORANT_Win64_Shipping.exe]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400a0ab8]
movsd qword [rax + 0x10], xmm0
movzx eax, word [0x1400a0ac0]
mov word [rbx + 0x18], ax
movzx eax, byte [0x1400a0ac2]
mov byte [rbx + 0x1a], al
mov byte [rbx + 0x1b], r14b
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14008f671
mov eax, r14d
jmp 0x14008f6fb
xor edx, edx
mov r8d, 0x12c
lea rcx, [rbp + 0x54]
call fcn.140091c9a
mov dword [rbp + 0x50], 0x130
xor sil, sil
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14008f6e8
nop dword [rax]
lea rcx, [rbp + 0x7c]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], sil
jne 0x14008f6b0
cmp rax, 0x1b
jne 0x14008f6d2
mov r8, rax
lea rdx, [rbp + 0x7c]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14008f6e5
lea rdx, [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x14008f6a0
jmp 0x14008f6e8
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, r14d
test sil, sil
cmovne eax, dword [rbp + 0x58]
mov qword [0x1400b0860], rax
mov edx, 0x20
mov rcx, rbx
call fcn.140090fc0
mov qword [rsp + 0x60], r14
mov eax, dword [0x1400b0860]
mov dword [rsp + 0x68], eax
lea rdx, [rsp + 0x60]
lea rcx, [0x140086a20]
call qword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
jne 0x14008f749
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
jne 0x14008f749
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x14008f74c
mov rbx, r14
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
test rbx, rbx
je 0x14008f600
mov eax, dword [0x1400b0860]
mov dword [0x1400b1c50], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
mov edx, 5
lea rcx, [rbp - 0x30]
call fcn.140090930
mov rcx, r14
test al, al
cmovne rcx, qword [rbp - 0x18]
mov qword [0x1400b1c58], rcx
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, [0x140086a90]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x70], 0x50
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x70], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 0x68], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x60], xmm0
lea rbx, str.QTGQWREQWEQWE
mov qword [rbp - 0x50], rbx
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x48], rax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov qword [rsp + 0x58], r14
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x20], eax
mov r9d, 0x80000000
mov r8, rbx
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [0x1400b0910], rax
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x1400b0910]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400a0f20]
movdqu xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov rcx, qword [0x1400b0910]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x1400b0910]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400b0910]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.140086680
xorps xmm0, xmm0
movups xmmword [0x1400b0918], xmm0
movups xmmword [0x1400b0928], xmm0
movups xmmword [0x1400b0938], xmm0
mov ecx, 8
call fcn.140091040
lea rcx, [0x14008eda0]
mov qword [rax], rcx
mov qword [rbp - 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140090870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14008fd76
cmp dword [rsp + 0x68], 0
je 0x14008fd6a
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x30], xmm0
lea rcx, [rbp - 0x30]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14008fd6a
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x1400b0920], 0x12
je 0x14008fc1e
lea rdi, [0x14008e590]
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [0x1400b0910]
lea rcx, [0x1400b0918]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14008fa00
lea rcx, [0x1400b0918]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400b0918]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400b08b0]
cmp rax, rcx
jne 0x14008fa4f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [0x1400b0910]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400b08b0]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x40], r14
lea rdx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp - 0x40]
mov rcx, qword [0x1400b08b0]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 0x40]
mov dword [rbp - 0x30], eax
mov eax, dword [rbp - 0x3c]
mov dword [rbp - 0x2c], eax
mov rbx, qword [0x1400b07d0]
mov rax, qword [0x1400b08b0]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
lea rcx, [rbp - 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp - 0x38]
sub eax, dword [rbp - 0x40]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp - 0x34]
sub eax, dword [rbp - 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14008fafd
mov byte [rbx + 0x120], 1
mov byte [rbx + 0x430], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
jmp 0x14008fb04
mov byte [rbx + 0x120], 0
mov ecx, dword [rbp - 0x24]
mov edx, dword [rbp - 0x28]
mov eax, dword [0x1400b1c38]
cmp dword [rbp - 0x30], eax
jne 0x14008fb30
cmp edx, dword [0x1400b1c40]
jne 0x14008fb30
mov eax, dword [0x1400b1c3c]
cmp dword [rbp - 0x2c], eax
jne 0x14008fb30
cmp ecx, dword [0x1400b1c44]
je 0x14008fb91
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [0x1400b1c38], xmm0
mov dword [0x1400af66c], edx
mov dword [0x1400af670], ecx
mov dword [0x1400b0960], edx
mov dword [0x1400b0964], ecx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov r9d, dword [rbp - 0x3c]
mov r8d, dword [rbp - 0x40]
xor edx, edx
mov rcx, qword [0x1400b0910]
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400b09b0]
mov rax, qword [rcx]
lea rdx, [0x1400b0960]
call qword [rax + 0x80]
call fcn.14008e0d0
mov ecx, 8
call fcn.140091040
mov qword [rax], rdi
mov qword [rbp + 0x20], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r14d
mov r9, rax
lea r8, [0x140090870]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14008fd59
cmp dword [rsp + 0x68], 0
je 0x14008fd4d
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp + 0x20], xmm0
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14008fd4d
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
lea ecx, [rax + 0xa]
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x1400b0920], 0x12
jne 0x14008f9c0
cmp qword [0x1400b0cf8], 0
je 0x14008fc85
mov rcx, qword [0x1400b0d00]
test rcx, rcx
je 0x14008fc41
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400b0d00], r14
mov rcx, qword [0x1400b0cf0]
test rcx, rcx
je 0x14008fc5a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400b0cf0], r14
mov rbx, qword [0x1400b07d0]
mov rcx, qword [0x1400b0ce8]
test rcx, rcx
je 0x14008fc73
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400b0ce8], r14
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r14
mov qword [0x1400b0cf8], r14
mov qword [0x1400b0d08], r14
mov rbx, qword [0x1400b07d0]
mov rcx, rbx
call fcn.1400566b0
cmp qword [0x1400b07d0], rbx
jne 0x14008fcb2
mov qword [0x1400b07d0], r14
test rbx, rbx
je 0x14008fcda
mov rcx, rbx
call fcn.1400639d0
mov rax, qword [0x1400b07d0]
test rax, rax
je 0x14008fcd1
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400b09b0]
test rcx, rcx
je 0x14008fcfc
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400b09b0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400b0948]
test rcx, rcx
je 0x14008fd0e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400b0910]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [0x1400b0928]
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140090b70
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x68], r14d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3