Function at 0x140005660
Capabilities:
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 0x1400056d0
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 0x140005728
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.14001c250
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 0x1400057e4
mov byte [rbx + 0xd94], 1
mov eax, dword [rbx + 0xd90]
mov dword [rbx + 0x3658], eax
mov byte [rbx + 0x36a8], 1
jmp 0x1400057eb
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 0x14000581b
cmp edx, dword [0x1400b5cb0]
jne 0x14000581b
mov eax, dword [0x1400b5cac]
cmp dword [rsp + 0x44], eax
jne 0x14000581b
cmp ecx, dword [0x1400b5cb4]
je 0x140005876
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.14003f190
call fcn.140040000
call fcn.140022eb0
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1400058a2
cmp byte [0x1400b54f4], dil
sete byte [0x1400b54f4]
call fcn.14000eb20
cmp byte [0x1400b54f4], dil
je 0x1400058c0
call fcn.14001c250
mov byte [rax + 0x68], 1
call fcn.140007010
jmp 0x1400058c9
call fcn.14001c250
mov byte [rax + 0x68], dil
call fcn.140007bd0
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.140024dd0
call fcn.14001bee0
mov rcx, rax
call fcn.14003f1d0
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 0x14000594a
lea edx, [r8 + 1]
jmp 0x14000594c
xor edx, edx
call qword [rax + 0x40]
cmp dword [0x1400b5888], 0x12
jne 0x140005690
call fcn.14003fdf0
call fcn.1400403f0
xor ecx, ecx
call fcn.14001a030
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], 0xfefceef8
mov eax, edi
mov dword [rsp + 0x64], 0xe1faf2e0
mov dword [rsp + 0x68], 0x1009796
nop word [rax + rax]
lea ecx, [rax - 0x52]
xor byte [rsp + rax + 0x60], cl
inc rax
cmp rax, 0xa
jb 0x14000f3e0
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.140005990
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 0x14000f56e
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 0x14000f56e
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 0x14000f545
call qword [rax + 0x10]
jmp 0x14000f56e
call qword [rax + 0x10]
xor ecx, ecx
call fcn.140019890
mov rcx, qword [0x1400b5c10]
call fcn.14003fe80
mov rdx, qword [0x1400b57f0]
mov rcx, qword [0x1400b57e8]
call fcn.14003ef30
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 0x14000f5b8
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 0x14000f590
mov qword [rsp + 0x28], rdi
lea r8, [0x140003b20]
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 0x140005660