Function at 0x1400a7fcc
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x30
call fcn.1400852d8
mov r15, rax
call fcn.140084fb8
test rax, rax
je 0x1400a8004
call fcn.1400852d8
mov rdi, qword [rax + 0x90]
test rdi, rdi
jne 0x1400a801f
jmp 0x1400a8006
xor edi, edi
mov r8d, 0x152
lea rdx, str.C:Users_adminDesktopCS2_External_masterCS2_ExternalOS_ImGuiimguiimgui_impl_win32.cpp
lea rcx, str.bd___nullptr___Did_you_call_ImGui_ImplWin32_Init____
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
xorps xmm0, xmm0
lea rdx, [rbp - 0x10]
movdqu xmmword [rbp - 0x10], xmm0
mov rcx, qword [rdi]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 8]
lea rcx, [rbp + 0x38]
sub eax, dword [rbp - 0x10]
movd xmm1, eax
mov eax, dword [rbp - 4]
sub eax, dword [rbp - 0xc]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r15 + 8], xmm1
movss dword [r15 + 0xc], xmm0
and qword [rbp + 0x38], 0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp + 0x38]
xorps xmm1, xmm1
sub rax, qword [rdi + 0x18]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [r15 + 0x10], xmm1
mov rax, qword [rbp + 0x38]
mov qword [rdi + 0x18], rax
call fcn.140084fb8
test rax, rax
je 0x1400a80ac
call fcn.1400852d8
mov rbx, qword [rax + 0x90]
jmp 0x1400a80ae
xor ebx, ebx
call fcn.1400852d8
cmp qword [rbx], 0
mov rsi, rax
jne 0x1400a80d5
mov r8d, 0xfe
lea rdx, str.C:Users_adminDesktopCS2_External_masterCS2_ExternalOS_ImGuiimguiimgui_impl_win32.cpp
lea rcx, str.bd__hWnd___0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__wassert
mov r14, qword [rbx]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, r14
jne 0x1400a8169
cmp byte [rsi + 0xd3], 0
je 0x1400a812c
cvttss2si eax, dword [rsi + 0xdf4]
lea rdx, [rbp + 0x30]
mov rcx, r14
mov dword [rbp + 0x30], eax
cvttss2si eax, dword [rsi + 0xdf8]
mov dword [rbp + 0x34], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1400a8123
mov edx, dword [rbp + 0x34]
mov ecx, dword [rbp + 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rsi + 0xd3], 0
jne 0x1400a8169
cmp byte [rbx + 0x10], 0
jne 0x1400a8169
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400a8169
mov rcx, qword [rbx]
lea rdx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400a8169
movd xmm2, dword [rbp + 0x34]
mov rcx, rsi
movd xmm1, dword [rbp + 0x30]
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
call fcn.14007c2e4
mov r14d, 0x210
mov ecx, r14d
call fcn.140086dd0
or ebx, 0xffffffff
mov sil, 1
test al, al
je 0x1400a81a7
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test sil, al
jne 0x1400a81a7
mov r9d, ebx
xor edx, edx
mov r8d, 0xa0
mov ecx, r14d
call fcn.1400a7df8
mov r14d, 0x214
mov ecx, r14d
call fcn.140086dd0
test al, al
je 0x1400a81df
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test sil, al
jne 0x1400a81df
mov r9d, ebx
xor edx, edx
mov r8d, 0xa1
mov ecx, r14d
call fcn.1400a7df8
mov r14d, 0x212
mov ecx, r14d
call fcn.140086dd0
test al, al
je 0x1400a8215
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test sil, al
jne 0x1400a8215
xor edx, edx
mov r9d, ebx
mov ecx, r14d
lea r8d, [rdx + 0x5b]
call fcn.1400a7df8
mov r14d, 0x216
mov ecx, r14d
call fcn.140086dd0
test al, al
je 0x1400a824b
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test sil, al
jne 0x1400a824b
xor edx, edx
mov r9d, ebx
mov ecx, r14d
lea r8d, [rdx + 0x5c]
call fcn.1400a7df8
cmp byte [r15 + 0x70], 0
jne 0x1400a8259
call fcn.140085728
mov ebx, eax
cmp dword [rdi + 0x28], ebx
je 0x1400a8266
mov dword [rdi + 0x28], ebx
call fcn.1400a8798
call fcn.1400a82f8
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret