Function at 0x1801cd7c0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x180672700]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.18019c800
xor edi, edi
mov rbp, rax
cmp qword [0x18067b998], rdi
je 0x1801cd809
call fcn.18019c800
mov rbx, qword [rax + 0x88]
test rbx, rbx
jne 0x1801cd833
jmp 0x1801cd80c
mov rbx, rdi
mov r9d, 0x12
lea r8, str.Assertion_failed
lea rdx, str.bd___nullptr___Did_you_call_ImGui_ImplWin32_Init____
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 3
je 0x1801cd832
cmp eax, 4
jne 0x1801cd833
int3
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x38]
lea rcx, [rsp + 0x28]
sub eax, dword [rsp + 0x30]
movd xmm1, eax
mov eax, dword [rsp + 0x3c]
sub eax, dword [rsp + 0x34]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbp + 8], xmm1
movss dword [rbp + 0xc], xmm0
mov qword [rsp + 0x28], rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x28]
xorps xmm1, xmm1
sub rax, qword [rbx + 0x18]
xorps xmm0, xmm0
cmp qword [0x18067b998], rdi
cvtsi2ss xmm0, qword [rbx + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbp + 0x10], xmm1
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x18], rax
je 0x1801cd8c3
call fcn.18019c800
mov rdi, qword [rax + 0x88]
call fcn.18019c800
cmp qword [rdi], 0
mov rsi, rax
jne 0x1801cd8f6
mov r9d, 0x12
lea r8, str.Assertion_failed
lea rdx, str.bd__hWnd___0
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
add eax, 0xfffffffd
cmp eax, 1
ja 0x1801cd8f6
int3
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rdi]
cmp rax, rcx
jne 0x1801cd942
cmp byte [rsi + 0xcb], 0
je 0x1801cd942
cvttss2si eax, dword [rsi + 0xdf8]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
cvttss2si eax, dword [rsi + 0xdfc]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x1801cd942
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rcx, qword [0x18067b998]
cmp byte [rcx + 0x2f24], 0
je 0x1801cd984
mov edx, 0x210
call fcn.180197410
cmp byte [rax + 8], 0
jne 0x1801cd984
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cd984
mov ecx, 0x210
mov r8d, 0xa0
call fcn.1801cd0b0
mov rcx, qword [0x18067b998]
cmp byte [rcx + 0x2f64], 0
je 0x1801cd9c6
mov edx, 0x214
call fcn.180197410
cmp byte [rax + 8], 0
jne 0x1801cd9c6
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cd9c6
mov ecx, 0x214
mov r8d, 0xa1
call fcn.1801cd0b0
mov rcx, qword [0x18067b998]
cmp byte [rcx + 0x2f44], 0
je 0x1801cda08
mov edx, 0x212
call fcn.180197410
cmp byte [rax + 8], 0
jne 0x1801cda08
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cda08
mov ecx, 0x212
mov r8d, 0x5b
call fcn.1801cd0b0
mov rcx, qword [0x18067b998]
cmp byte [rcx + 0x2f84], 0
je 0x1801cda4a
mov edx, 0x216
call fcn.180197410
cmp byte [rax + 8], 0
jne 0x1801cda4a
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801cda4a
mov ecx, 0x216
mov r8d, 0x5c
call fcn.1801cd0b0
cmp byte [rbp + 0x50], 0
je 0x1801cda57
mov eax, 0xffffffff
jmp 0x1801cda64
mov rax, qword [0x18067b998]
mov eax, dword [rax + 0x4c38]
cmp dword [rbx + 0x28], eax
je 0x1801cda71
mov dword [rbx + 0x28], eax
call fcn.1801ccf30
call fcn.1801cd150
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1801fbc70
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret