Function at 0x18019cd80
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 [0x180717100]
xor rax, rsp
mov qword [rsp + 0x40], rax
call fcn.180174590
xor ebx, ebx
mov rbp, rax
cmp qword [0x180722dc8], rbx
je 0x18019cdc4
call fcn.180174590
mov rdi, qword [rax + 0x88]
jmp 0x18019cdc7
mov rdi, rbx
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movdqu xmmword [rsp + 0x30], xmm0
mov rcx, qword [rdi]
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], rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x28]
xorps xmm1, xmm1
sub rax, qword [rdi + 0x18]
xorps xmm0, xmm0
cmp qword [0x180722dc8], rbx
cvtsi2ss xmm0, qword [rdi + 0x20]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbp + 0x10], xmm1
mov rax, qword [rsp + 0x28]
mov qword [rdi + 0x18], rax
je 0x18019ce57
call fcn.180174590
mov rbx, qword [rax + 0x88]
call fcn.180174590
mov rsi, rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [rbx]
cmp rax, rcx
jne 0x18019ceab
cmp byte [rsi + 0xcb], 0
je 0x18019ceab
cvttss2si edx, dword [rsi + 0xdf8]
cvttss2si eax, dword [rsi + 0xdfc]
mov dword [rsp + 0x20], edx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x18019ceab
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov rax, qword [0x180722dc8]
cmp byte [rax + 0x2f24], 0
je 0x18019cf0e
cmp byte [rax + 0x4078], 0
jne 0x18019cf0e
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18019cf0e
call fcn.180174590
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x18019cefa
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x210
mov rcx, rax
call fcn.180170010
mov dword [rbx + 0x370], 0x210
mov dword [rbx + 0x930], 0xa0
mov rax, qword [0x180722dc8]
cmp byte [rax + 0x2f64], 0
je 0x18019cf71
cmp byte [rax + 0x40a8], 0
jne 0x18019cf71
mov ecx, 0xa1
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18019cf71
call fcn.180174590
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x18019cf5d
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x214
mov rcx, rax
call fcn.180170010
mov dword [rbx + 0x374], 0x214
mov dword [rbx + 0x940], 0xa1
mov rax, qword [0x180722dc8]
cmp byte [rax + 0x2f44], 0
je 0x18019cfd4
cmp byte [rax + 0x4090], 0
jne 0x18019cfd4
mov ecx, 0x5b
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18019cfd4
call fcn.180174590
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x18019cfc0
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x212
mov rcx, rax
call fcn.180170010
mov dword [rbx + 0x25c], 0x212
mov dword [rbx + 0x938], 0x5b
mov rax, qword [0x180722dc8]
cmp byte [rax + 0x2f84], 0
je 0x18019d037
cmp byte [rax + 0x40c0], 0
jne 0x18019d037
mov ecx, 0x5c
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
test al, 1
jne 0x18019d037
call fcn.180174590
mov rbx, rax
cmp byte [rax + 0x37a9], 0
je 0x18019d023
xorps xmm3, xmm3
xor r8d, r8d
mov edx, 0x216
mov rcx, rax
call fcn.180170010
mov dword [rbx + 0x260], 0x216
mov dword [rbx + 0x948], 0x5c
cmp byte [rbp + 0x50], 0
je 0x18019d044
mov eax, 0xffffffff
jmp 0x18019d051
mov rax, qword [0x180722dc8]
mov eax, dword [rax + 0x4c38]
cmp dword [rdi + 0x28], eax
je 0x18019d05e
mov dword [rdi + 0x28], eax
call fcn.18019c590
call fcn.18019c710
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18027f010
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret