Function at 0x14000f390
Capabilities:
Check for foreground window switch
Create thread
Encode data using xor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
xor edi, edi
movups xmmword [0x1400b5880], xmm0
movups xmmword [0x1400b5890], xmm0
movups xmmword [0x1400b58a0], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x1400b5c10]
lea rcx, [0x1400b5880]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400056c0
lea rcx, [0x1400b5880]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400b5880]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400b5868]
cmp rax, rcx
jne 0x140005718
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400b5c10]
mov r9d, 2
mov dword [rsp + 0x30], 3
mov r8d, r9d
mov dword [rsp + 0x28], 0xfffffffd
mov rdx, rax
mov dword [rsp + 0x20], 0xfffffffd
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400b5868]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rdi
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400b5868]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
call fcn.14001c0c0
mov rcx, qword [0x1400b5868]
mov rbx, rax
mov qword [rax + 0xc0], rcx
lea rcx, [rsp + 0x68]
mov dword [rax + 0x10], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [rsp + 0x68]
sub ecx, dword [rsp + 0x60]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd8c], xmm0
mov ecx, dword [rsp + 0x6c]
sub ecx, dword [rsp + 0x64]
movd xmm0, ecx
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd90], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400057d4
mov byte [rbx + 0xd94], 1
mov eax, dword [rbx + 0xd90]
mov dword [rbx + 0x3658], eax
mov byte [rbx + 0x36a8], 1
jmp 0x1400057db
mov byte [rbx + 0xd94], dil
mov eax, dword [0x1400b5ca8]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jne 0x14000580b
cmp edx, dword [0x1400b5cb0]
jne 0x14000580b
mov eax, dword [0x1400b5cac]
cmp dword [rsp + 0x44], eax
jne 0x14000580b
cmp ecx, dword [0x1400b5cb4]
je 0x140005866
movups xmm0, xmmword [rsp + 0x40]
mov r9d, dword [rsp + 0x64]
lea eax, [rcx - 3]
mov r8d, dword [rsp + 0x60]
add r9d, 2
mov dword [0x1400b5a04], ecx
add r8d, 2
mov dword [0x1400b5824], ecx
lea ecx, [rdx - 3]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x1400b5c10]
mov dword [0x1400b5a60], edx
mov dword [0x1400b5820], edx
xor edx, edx
movups xmmword [0x1400b5ca8], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
call fcn.14003f000
call fcn.14003fe70
call fcn.140022d20
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140005892
cmp byte [0x1400b54f4], dil
sete byte [0x1400b54f4]
call fcn.14000eb00
cmp byte [0x1400b54f4], dil
je 0x1400058b0
call fcn.14001c0c0
mov byte [rax + 0x68], 1
call fcn.140007000
jmp 0x1400058b9
call fcn.14001c0c0
mov byte [rax + 0x68], dil
call fcn.140007c00
mov rcx, qword [0x1400b57f0]
lea r8, [0x1400b5808]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1400b57f0]
lea r8, [0x1400b58e0]
mov rdx, qword [0x1400b5808]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.140024c40
call fcn.14001bd50
mov rcx, rax
call fcn.14003f040
mov rcx, qword [0x1400b57f8]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x1400b57f8]
xor r8d, r8d
cmp byte [0x1400b576b], dil
mov rax, qword [rcx]
je 0x14000593a
lea edx, [r8 + 1]
jmp 0x14000593c
xor edx, edx
call qword [rax + 0x40]
cmp dword [0x1400b5888], 0x12
jne 0x140005680
call fcn.14003fc60
call fcn.140040260
xor ecx, ecx
call fcn.140019ea0
mov rcx, qword [0x1400b5c10]
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
jmp qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
xor edi, edi
mov dword [rsp + 0x60], 0xbdbdb1b9
mov eax, edi
mov dword [rsp + 0x64], 0xa2bbb5a1
mov dword [rsp + 0x68], 0x100d8d7
nop word [rax + rax]
lea ecx, [rax - 0x11]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 0xa
jb 0x14000f3c0
lea rdx, [rsp + 0x60]
mov byte [rsp + 0x6b], dil
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400b5868], rax
call fcn.140005980
mov rax, qword [0x1400b5c10]
xor r9d, r9d
mov qword [0x1400b5850], rax
xor r8d, r8d
lea rax, [0x1400b57f0]
mov dword [0x1400b5848], 1
mov qword [rsp + 0x58], rax
xor ecx, ecx
lea rax, [rsp + 0x88]
mov qword [0x1400b5820], rdi
mov qword [rsp + 0x50], rax
lea edx, [r9 + 1]
lea rax, [0x1400b57e8]
mov dword [0x1400b5830], 0x1c
mov qword [rsp + 0x48], rax
lea rax, [0x1400b57f8]
mov qword [rsp + 0x40], rax
lea rax, [0x1400b5820]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x80]
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rax
mov dword [0x1400b5828], 0x3c
mov dword [0x1400b582c], 1
mov dword [0x1400b5844], 0x20
mov qword [0x1400b583c], 1
mov dword [0x1400b5858], 1
mov dword [rsp + 0x80], 0xb000
call sub.d3d11.dll_D3D11CreateDeviceAndSwapChain
test eax, eax
jne 0x14000f54e
mov rcx, qword [0x1400b57f8]
lea r9, [rsp + 0x90]
mov qword [rsp + 0x90], rdi
lea r8, [0x14005ac00]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x48]
test eax, eax
jne 0x14000f54e
mov rcx, qword [0x1400b57e8]
lea r9, [0x1400b5808]
mov rdx, qword [rsp + 0x90]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x90]
test eax, eax
mov rax, qword [rcx]
je 0x14000f525
call qword [rax + 0x10]
jmp 0x14000f54e
call qword [rax + 0x10]
xor ecx, ecx
call fcn.140019700
mov rcx, qword [0x1400b5c10]
call fcn.14003fcf0
mov rdx, qword [0x1400b57f0]
mov rcx, qword [0x1400b57e8]
call fcn.14003eda0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.VALORANT
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rbx, rax
je 0x14000f598
nop dword [rax + rax]
mov ecx, 0xc8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
lea rdx, str.VALORANT
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
cmp rbx, rax
jne 0x14000f570
mov qword [rsp + 0x28], rdi
lea r8, [0x140003b10]
xor r9d, r9d
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
jmp 0x140005650