Function at 0x180031080
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1801b8a28]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.180013f70
mov rcx, qword [0x1801b94a8]
lea rdx, [rsp + 0x28]
mov rdi, rax
call qword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [rsp + 0x30]
sub ecx, dword [rsp + 0x28]
movd xmm1, ecx
mov ecx, dword [rsp + 0x34]
sub ecx, dword [rsp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
lea rcx, [rsp + 0x40]
cvtdq2ps xmm0, xmm0
movss dword [rdi + 8], xmm1
movss dword [rdi + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x40]
xorps xmm1, xmm1
sub rax, qword [0x1801b94b0]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x1801b94b8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x10], xmm1
mov rax, qword [rsp + 0x40]
mov qword [0x1801b94b0], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x140], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x141], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x143], 0
mov byte [rdi + 0x142], al
call fcn.180013f70
cmp byte [rax + 0x39b], 0
lea rbx, [rax + 0x128]
je 0x1800311ad
cvttss2si ecx, dword [rbx]
lea rdx, [rsp + 0x38]
cvttss2si eax, dword [rax + 0x12c]
mov dword [rsp + 0x38], ecx
mov rcx, qword [0x1801b94a8]
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetForegroundWindow]
test rax, rax
je 0x18003121e
mov rdx, qword [0x1801b94a8]
cmp rax, rdx
je 0x1800311de
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18003121e
lea rcx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18003121e
mov rcx, qword [0x1801b94a8]
lea rdx, [rsp + 0x20]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18003121e
movd xmm0, dword [rsp + 0x20]
movd xmm1, dword [rsp + 0x24]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc0], 0
je 0x18003122e
mov eax, 0xffffffff
jmp 0x180031233
call fcn.180013f80
cmp dword [0x1801b8900], eax
je 0x180031330
mov dword [0x1801b8900], eax
call fcn.180013f70
mov rbx, rax
test byte [rax], 0x20
jne 0x180031330
call fcn.180013f80
cmp eax, 0xffffffff
je 0x180031328
cmp byte [rbx + 0xc0], 0
jne 0x180031328
mov edx, 0x7f00
cmp eax, 8
ja case.0x180031293.0
lea r8, [0x180000000]
cdqe
mov ecx, dword [r8 + rax*4 + 0x31350]
add rcx, r8
jmp rcx
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f86
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f84
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f85
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f83
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f82
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
mov edx, 0x7f88
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18003132a
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.180031380
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180049c80
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret