Function at 0x140001070
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xf0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rsp + 0xb0], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea rdx, str.KEY:_F1
call qword [sym.imp.USER32.dll_SetWindowTextA]
lea rcx, str.Auto_accept_key:_F1_n
call fcn.140001010
movsd xmm7, qword [0x140003360]
xor esi, esi
movsd xmm8, qword [0x140003368]
nop word [rax + rax]
lea rcx, str.Searching_for_game..._n
call fcn.140001010
mov rcx, qword [0x140005628]
test rcx, rcx
jne 0x14000112d
nop dword [rax + rax]
lea rdx, str.Counter_Strike_2
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov ecx, 0xa
mov qword [0x140005628], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [0x140005628]
test rcx, rcx
je 0x140001100
lea rdx, [0x140005620]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [0x140005620]
lea rcx, str.Game_found___PID:__d__n
call fcn.140001010
nop dword [rax]
mov ecx, 0x70
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400011a9
cmp byte [0x140005624], sil
sete al
mov byte [0x140005624], al
test al, al
je 0x140001183
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, str.AUTOACCEPT:_ON
jmp 0x140001190
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, str.AUTOACCEPT:_OFF
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, 0x32
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Beep]
mov r8d, dword [0x140005620]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rcx, rax
xor edx, edx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x102
jne 0x1400012ce
cmp byte [0x140005624], sil
je 0x1400012be
mov rcx, qword [0x140005628]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetWindowRect]
xorps xmm0, xmm0
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0xa0], rax
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
call qword [sym.imp.USER32.dll_GetSystemMetrics]
movd xmm6, dword [rsp + 0x2c]
mov ecx, eax
mov eax, dword [rsp + 0x28]
cdq
sub eax, edx
sar eax, 1
cvtdq2pd xmm6, xmm6
shl eax, 0x10
cdq
idiv ecx
divsd xmm6, xmm7
xor ecx, ecx
mov dword [rsp + 0x38], eax
mulsd xmm6, xmm8
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov r8d, 0x28
mov dword [rsp + 0x44], 0x8001
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x6c], 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
lea ecx, [r8 - 0x25]
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x94], 4
divsd xmm6, xmm0
cvttsd2si eax, xmm6
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_SendInput]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001150
lea rcx, str.Game_closed..._n
call fcn.140001010
mov qword [0x140005628], rsi
jmp 0x1400010e0