Function at 0x18002f3a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x1800773b0]
xor rax, rsp
mov qword [rbp - 0x10], rax
cmp qword [0x18007d2c8], 0
jne 0x18002f3cf
call fcn.18002ecd0
mov rcx, qword [0x18007d2d8]
lea rdx, [rbp - 0x40]
mov rbx, qword [0x180077e20]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x38]
lea rcx, [rbp - 0x18]
sub eax, dword [rbp - 0x40]
movd xmm1, eax
mov eax, dword [rbp - 0x34]
sub eax, dword [rbp - 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 8], xmm1
movss dword [rbx + 0xc], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x18]
xorps xmm1, xmm1
sub rax, qword [0x18007d2e8]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x18007d2f8]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x18]
mov qword [0x18007d2e8], rax
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0x125], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0x126], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x128], 0
cmp byte [rbx + 0x34f], 0
mov byte [rbx + 0x127], al
je 0x18002f4cd
cvttss2si eax, dword [rbx + 0x110]
mov rcx, qword [0x18007d2d8]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], eax
cvttss2si eax, dword [rbx + 0x114]
mov dword [rbp - 0x2c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x2c]
mov ecx, dword [rbp - 0x30]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rbx + 0x124], 0
je 0x18002f4de
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.180005310
mov rbx, qword [0x180077e20]
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 3
movss xmm0, dword [rbx + 0x1438]
lea rcx, [rbx + 0x18d0]
movss dword [rbp - 0x2c], xmm0
call fcn.18001e400
xor edi, edi
mov dword [rbp - 0x30], 1
mov dword [rbx + 0x1438], edi
lea rdx, [rbp - 0x30]
mov rbx, qword [0x180077e20]
movss xmm1, dword [rbx + 0x142c]
lea rcx, [rbx + 0x18d0]
movss xmm0, dword [rbx + 0x1430]
movss dword [rbp - 0x2c], xmm1
movss dword [rbp - 0x28], xmm0
call fcn.18001e400
mov qword [rbx + 0x142c], rdi
lea rdx, [rbp - 0x30]
mov rbx, qword [0x180077e20]
mov dword [rbp - 0x30], 2
movups xmm0, xmmword [rbx + 0x14dc]
lea rcx, [rbx + 0x18c0]
movups xmmword [rbp - 0x2c], xmm0
call fcn.18001e4e0
mov qword [rbx + 0x14dc], rdi
lea rcx, str.scene
xor edx, edx
mov qword [rbx + 0x14e4], rdi
mov r8d, 0x201
call fcn.18000b340
mov r9, qword [0x180077e20]
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x18]
mov qword [rbp - 0x18], rdi
xorps xmm5, xmm5
mov rcx, qword [r9 + 0x1860]
call fcn.18000e900
mov rax, qword [r9 + 0x1860]
movss xmm4, dword [r9 + 8]
movss xmm0, dword [r9 + 0xc]
mov ecx, dword [rax + 0xc4]
test r8b, cl
je 0x18002f62c
and ecx, 0xfffffff1
comiss xmm4, xmm5
mov dword [rax + 0xc4], ecx
jbe 0x18002f5f7
movss dword [rax + 0x28], xmm4
mov ecx, edi
jmp 0x18002f603
mov byte [rax + 0xb0], dil
mov ecx, 2
comiss xmm0, xmm5
mov dword [rax + 0xa8], ecx
jbe 0x18002f61b
movss dword [rax + 0x2c], xmm0
mov dword [rax + 0xac], edi
jmp 0x18002f62c
mov dword [rax + 0xac], 2
mov byte [rax + 0xb0], dil
mov rax, qword [r9 + 0x1860]
mov byte [rax + 0x92], r8b
mov rax, qword [r9 + 0x1860]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180039730
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x60
pop rbp
ret