Function at 0x1801cc590
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
call fcn.18019cdc0
xor ebx, ebx
mov rbp, rax
cmp qword [0x180a57f60], rbx
je 0x1801cc5c2
call fcn.18019cdc0
mov rdi, qword [rax + 0x88]
test rdi, rdi
jne 0x1801cc5d8
jmp 0x1801cc5c5
mov rdi, rbx
lea rdx, str.bd___nullptr___Did_you_call_ImGui_ImplWin32_Init____
lea rcx, [0x18040fbf0]
call fcn.1801b5ac0
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x48]
xorps xmm1, xmm1
sub rax, qword [rdi + 0x18]
xorps xmm0, xmm0
cmp qword [0x180a57f60], rbx
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbp + 0x10], xmm1
mov rax, qword [rsp + 0x48]
mov qword [rdi + 0x18], rax
je 0x1801cc629
call fcn.18019cdc0
mov rbx, qword [rax + 0x88]
call fcn.18019cdc0
cmp qword [rbx], 0
mov rsi, rax
jne 0x1801cc64a
lea rdx, str.bd__hWnd___0
lea rcx, [0x18040fbf0]
call fcn.1801b5ac0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx]
cmp rax, rcx
jne 0x1801cc696
cmp byte [rsi + 0xcb], 0
je 0x1801cc696
cvttss2si eax, dword [rsi + 0xdf8]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], eax
cvttss2si eax, dword [rsi + 0xdfc]
mov dword [rsp + 0x44], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1801cc696
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rax, qword [0x180a57f60]
cmp byte [rax + 0x2f24], 0
je 0x1801cc6f9
cmp byte [rax + 0x4078], 0
jne 0x1801cc6f9
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cc6f9
call fcn.18019cdc0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801cc6e5
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x210
mov rcx, rax
call fcn.1801983e0
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rax, qword [0x180a57f60]
cmp byte [rax + 0x2f64], 0
je 0x1801cc75c
cmp byte [rax + 0x40a8], 0
jne 0x1801cc75c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cc75c
call fcn.18019cdc0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801cc748
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x214
mov rcx, rax
call fcn.1801983e0
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rax, qword [0x180a57f60]
cmp byte [rax + 0x2f44], 0
je 0x1801cc7bf
cmp byte [rax + 0x4090], 0
jne 0x1801cc7bf
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cc7bf
call fcn.18019cdc0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801cc7ab
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x212
mov rcx, rax
call fcn.1801983e0
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rax, qword [0x180a57f60]
cmp byte [rax + 0x2f84], 0
je 0x1801cc822
cmp byte [rax + 0x40c0], 0
jne 0x1801cc822
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cc822
call fcn.18019cdc0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801cc80e
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x216
mov rcx, rax
call fcn.1801983e0
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
cmp byte [rbp + 0x50], 0
je 0x1801cc82f
mov eax, 0xffffffff
jmp 0x1801cc83c
mov rax, qword [0x180a57f60]
mov eax, dword [rax + 0x4c38]
cmp dword [rdi + 0x28], eax
je 0x1801cc849
mov dword [rdi + 0x28], eax
call fcn.1801cbda0
call fcn.1801cbf20
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret