Function at 0x1400485f0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140065040]
xor rax, rsp
mov qword [rsp + 0x50], rax
xorps xmm0, xmm0
lea rcx, [rsp + 0x48]
movups xmmword [0x1402b6ec0], xmm0
movups xmmword [0x1402b6ed0], xmm0
movups xmmword [0x1402b6ee0], xmm0
call fcn.140042030
cmp dword [0x1402b6ec8], 0x12
je 0x14004894d
mov qword [rsp + 0x90], rbx
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0x98], rsi
xor esi, esi
mov qword [rsp + 0x80], rdi
movaps xmmword [rsp + 0x70], xmm6
movss xmm6, dword [0x14005af40]
movaps xmmword [rsp + 0x60], xmm7
movss xmm7, dword [0x14005b058]
nop
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [0x1402b6ec0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400486ab
lea rcx, [0x1402b6ec0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1402b6ec0]
call qword [sym.imp.USER32.dll_DispatchMessageA]
lea rcx, [rsp + 0x40]
call fcn.140042030
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
mov rdi, qword [0x140074240]
sub rcx, rbx
mov rbx, qword [rsp + 0x40]
movaps xmm0, xmm6
cvtsi2ss xmm1, rcx
lea rcx, [rsp + 0x48]
divss xmm1, xmm7
divss xmm0, xmm1
movss dword [rdi + 0x18], xmm1
movss dword [0x1402b6eb4], xmm0
call qword [sym.imp.USER32.dll_GetCursorPos]
movd xmm0, dword [rsp + 0x48]
mov ecx, 1
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0xe00], xmm0
movd xmm1, dword [rsp + 0x4c]
cvtdq2ps xmm1, xmm1
movss dword [rdi + 0xe04], xmm1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [rdi + 0xe08], al
mov rax, qword [0x140074240]
test rax, rax
je 0x140048742
mov rcx, qword [rax + 0x98]
jmp 0x140048745
mov rcx, rsi
cmp qword [rcx + 0x18], rsi
jne 0x140048766
test rax, rax
je 0x140048766
mov rcx, qword [rax + 0x98]
test rcx, rcx
je 0x140048766
cmp qword [rcx], rsi
je 0x140048766
call fcn.14002c370
call fcn.14002cf20
call fcn.140007550
call fcn.1400478f0
call fcn.140046930
call fcn.1400092b0
mov rcx, qword [0x1402b6e60]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1402b6e60]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1402b6e60]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1402b6e60]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], 0xff000000
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1402b6e60]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140048840
call fcn.1400096c0
mov rax, qword [0x140074240]
mov rcx, qword [rax + 0x48b0]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0x48
cmp byte [rax], cl
cmovne rcx, rax
call fcn.14002bdb0
mov rcx, qword [0x1402b6e60]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1402b6e60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x14004891e
mov rcx, qword [0x1402b6e60]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x14004891e
mov rdi, qword [0x140074240]
test rdi, rdi
je 0x1400488e5
mov rdi, qword [rdi + 0x98]
test rdi, rdi
je 0x1400488e5
cmp qword [rdi], rsi
je 0x1400488e5
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400488b0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 8], rsi
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x1400488c3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rdi + 0x10], rsi
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400488e5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140074240]
mov qword [rdi + 0x18], rsi
mov rcx, qword [rax + 0x38]
mov qword [rcx + 8], rsi
mov rcx, qword [0x1402b6e60]
lea rdx, [0x1402b6e70]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rax, qword [0x140074240]
test rax, rax
je 0x14004891e
mov rax, qword [rax + 0x98]
test rax, rax
je 0x14004891e
cmp qword [rax], rsi
je 0x14004891e
call fcn.14002c370
cmp dword [0x1402b6ec8], 0x12
jne 0x140048670
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0x90]
mov rax, qword [0x1402b6ed0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14004faf0
add rsp, 0x88
ret