Function at 0x18000a850
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xorps xmm0, xmm0
xor esi, esi
movups xmmword [0x180085d48], xmm0
movups xmmword [0x180085d58], xmm0
movups xmmword [0x180085d68], xmm0
nop dword [rax]
mov rdx, qword [0x180085eb0]
lea rcx, [0x180085d48]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x18000a8c0
lea rcx, [0x180085d48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x180085d48]
call qword [sym.imp.USER32.dll_DispatchMessageW]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x180085ca8]
cmp rax, rcx
jne 0x18000a918
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x180085eb0]
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 [0x180085ca8]
xorps xmm0, xmm0
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x40]
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x180085ca8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov rbx, qword [0x180085e10]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x44], eax
mov rax, qword [0x180085ca8]
mov qword [rbx + 0xc8], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rsp + 0x68]
mov ecx, 1
sub eax, dword [rsp + 0x60]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd94], xmm0
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0xd98], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000a9d3
mov byte [rbx + 0xd9c], 1
mov eax, dword [rbx + 0xd98]
mov dword [rbx + 0x3660], eax
mov byte [rbx + 0x36b0], 1
jmp 0x18000a9da
mov byte [rbx + 0xd9c], sil
mov eax, dword [0x180085f60]
mov ecx, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x48]
cmp dword [rsp + 0x40], eax
jne 0x18000aa0a
cmp edx, dword [0x180085f68]
jne 0x18000aa0a
mov eax, dword [0x180085f64]
cmp dword [rsp + 0x44], eax
jne 0x18000aa0a
cmp ecx, dword [0x180085f6c]
je 0x18000aa65
movups xmm0, xmmword [rsp + 0x40]
mov r9d, dword [rsp + 0x64]
lea eax, [rcx - 3]
mov r8d, dword [rsp + 0x60]
add r9d, 2
mov dword [0x180085e18], ecx
add r8d, 2
mov dword [0x180085cd4], ecx
lea ecx, [rdx - 3]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x180085eb0]
mov dword [0x180085e50], edx
mov dword [0x180085cd0], edx
xor edx, edx
movups xmmword [0x180085f60], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rax, qword [0x180085e10]
test rax, rax
je 0x18000aa7a
mov rcx, qword [rax + 0x98]
jmp 0x18000aa7d
mov rcx, rsi
cmp qword [rcx + 0x48], rsi
jne 0x18000aa88
call fcn.180038de0
call fcn.180039a20
call fcn.180015400
mov ecx, 0x2d
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x18000aaaf
cmp byte [0x180085598], sil
sete byte [0x180085598]
call fcn.180001950
cmp byte [0x180085598], sil
mov rax, qword [0x180085e10]
je 0x18000aacf
mov byte [rax + 0x70], 1
call fcn.180001c60
jmp 0x18000aad3
mov byte [rax + 0x70], sil
call fcn.1800087d0
mov rcx, qword [0x180085ca0]
lea r8, [0x180085db0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x180085ca0]
lea r8, [0x180085d98]
mov rdx, qword [0x180085db0]
mov rax, qword [rcx]
call qword [rax + 0x190]
call fcn.180017e80
mov rax, qword [0x180085e10]
mov rcx, qword [rax + 0x40b0]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.1800383a0
mov rcx, qword [0x180085d38]
xor r8d, r8d
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x40]
mov rcx, qword [0x180085d38]
xor r8d, r8d
cmp byte [0x180085dc4], sil
mov rax, qword [rcx]
je 0x18000ab6a
lea edx, [r8 + 1]
jmp 0x18000ab6c
xor edx, edx
call qword [rax + 0x40]
cmp dword [0x180085d50], 0x12
jne 0x18000a880
mov rdi, qword [0x180085e10]
test rdi, rdi
je 0x18000ab91
mov rbx, qword [rdi + 0x98]
jmp 0x18000ab94
mov rbx, rsi
call fcn.1800392c0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18000aba8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx]
test rcx, rcx
je 0x18000abb6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18000abc5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x180085e10]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x98], rsi
test rax, rax
je 0x18000abe5
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x180085e10]
test rax, rax
je 0x18000ac03
mov rbx, qword [rax + 0x90]
jmp 0x18000ac06
mov rbx, rsi
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x18000ac20
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x180085e10]
mov qword [rdi + 0x78], rsi
mov qword [rdi + 0x88], rsi
test rax, rax
je 0x18000ac36
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x180085e10]
mov qword [0x180085e10], rbx
call fcn.1800168c0
mov qword [0x180085e10], rsi
test rbx, rbx
je 0x18000ac81
mov rcx, rbx
call fcn.180027530
mov rax, qword [0x180085e10]
test rax, rax
je 0x18000ac78
dec dword [rax + 0xec]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x180085eb0]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
jmp qword [sym.imp.USER32.dll_DestroyWindow]
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x30]
mov dword [rsp + 0x30], 0x92909a8c
mov dword [rsp + 0x34], 0xb5ae9e8c
mov dword [rsp + 0x38], 0x100c3c2
call fcn.18000bcd0
lea rdx, [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x180085ca8], rax
call fcn.180007fb0
call fcn.1800078f0
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 0x18000ad2b
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 0x18000ad03
xor eax, eax
lea r8, [0x180008240]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
add rsp, 0x40
pop rbx
jmp 0x18000a850