Function at 0x1801d7c70
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
call fcn.1801a84a0
xor ebx, ebx
mov rbp, rax
cmp qword [0x180ae6e00], rbx
je 0x1801d7ca2
call fcn.1801a84a0
mov rdi, qword [rax + 0x88]
test rdi, rdi
jne 0x1801d7cb8
jmp 0x1801d7ca5
mov rdi, rbx
lea rdx, str.bd___nullptr___Did_you_call_ImGui_ImplWin32_Init____
lea rcx, str._ImGui__Assertion_failed:__s_n
call fcn.1801c11a0
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 [0x180ae6e00], 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 0x1801d7d09
call fcn.1801a84a0
mov rbx, qword [rax + 0x88]
call fcn.1801a84a0
cmp qword [rbx], 0
mov rsi, rax
jne 0x1801d7d2a
lea rdx, str.bd__hWnd___0
lea rcx, str._ImGui__Assertion_failed:__s_n
call fcn.1801c11a0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx]
cmp rax, rcx
jne 0x1801d7d76
cmp byte [rsi + 0xcb], 0
je 0x1801d7d76
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 0x1801d7d76
mov edx, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rax, qword [0x180ae6e00]
cmp byte [rax + 0x2f24], 0
je 0x1801d7dd9
cmp byte [rax + 0x4078], 0
jne 0x1801d7dd9
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801d7dd9
call fcn.1801a84a0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801d7dc5
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x210
mov rcx, rax
call fcn.1801a3ac0
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rax, qword [0x180ae6e00]
cmp byte [rax + 0x2f64], 0
je 0x1801d7e3c
cmp byte [rax + 0x40a8], 0
jne 0x1801d7e3c
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801d7e3c
call fcn.1801a84a0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801d7e28
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x214
mov rcx, rax
call fcn.1801a3ac0
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rax, qword [0x180ae6e00]
cmp byte [rax + 0x2f44], 0
je 0x1801d7e9f
cmp byte [rax + 0x4090], 0
jne 0x1801d7e9f
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801d7e9f
call fcn.1801a84a0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801d7e8b
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x212
mov rcx, rax
call fcn.1801a3ac0
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rax, qword [0x180ae6e00]
cmp byte [rax + 0x2f84], 0
je 0x1801d7f02
cmp byte [rax + 0x40c0], 0
jne 0x1801d7f02
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x1801d7f02
call fcn.1801a84a0
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x1801d7eee
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x216
mov rcx, rax
call fcn.1801a3ac0
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
cmp byte [rbp + 0x50], 0
je 0x1801d7f0f
mov eax, 0xffffffff
jmp 0x1801d7f1c
mov rax, qword [0x180ae6e00]
mov eax, dword [rax + 0x4c38]
cmp dword [rdi + 0x28], eax
je 0x1801d7f29
mov dword [rdi + 0x28], eax
call fcn.1801d7480
call fcn.1801d7600
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret