Function at 0x18000c7b0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rax, qword [0x1800843d0]
xor rax, rsp
mov qword [rbp - 0x20], rax
cmp qword [0x18008af60], 0
jne 0x18000c7e4
call fcn.1800319e0
mov rcx, qword [0x18008af70]
lea rdx, [rbp - 0x50]
mov rbx, qword [0x180084ff0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x48]
lea rcx, [rbp - 0x28]
sub eax, dword [rbp - 0x50]
movd xmm1, eax
mov eax, dword [rbp - 0x44]
sub eax, dword [rbp - 0x4c]
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 - 0x28]
xorps xmm1, xmm1
sub rax, qword [0x18008af80]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x18008af90]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x28]
mov qword [0x18008af80], 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 0x18000c8e2
cvttss2si eax, dword [rbx + 0x110]
mov rcx, qword [0x18008af70]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], eax
cvttss2si eax, dword [rbx + 0x114]
mov dword [rbp - 0x3c], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp - 0x3c]
mov ecx, dword [rbp - 0x40]
call qword [sym.imp.USER32.dll_SetCursorPos]
cmp byte [rbx + 0x124], 0
je 0x18000c8f3
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.1800123f0
mov rbx, qword [0x180084ff0]
lea rdx, [rbp - 0x40]
mov dword [rbp - 0x40], 3
movss xmm0, dword [rbx + 0x1438]
lea rcx, [rbx + 0x18d0]
movss dword [rbp - 0x3c], xmm0
call fcn.180021f50
xor edi, edi
mov dword [rbp - 0x40], 1
mov dword [rbx + 0x1438], edi
lea rdx, [rbp - 0x40]
mov rbx, qword [0x180084ff0]
movss xmm1, dword [rbx + 0x142c]
lea rcx, [rbx + 0x18d0]
movss xmm0, dword [rbx + 0x1430]
movss dword [rbp - 0x3c], xmm1
movss dword [rbp - 0x38], xmm0
call fcn.180021f50
mov qword [rbx + 0x142c], rdi
lea rdx, [rbp - 0x40]
mov rbx, qword [0x180084ff0]
xorps xmm6, xmm6
mov dword [rbp - 0x40], 2
movups xmm0, xmmword [rbx + 0x14dc]
lea rcx, [rbx + 0x18c0]
movups xmmword [rbp - 0x3c], xmm0
call fcn.180022040
xor edx, edx
lea rcx, str.createscene
mov r8d, 0x201
movups xmmword [rbx + 0x14dc], xmm6
call fcn.1800171a0
mov r9, qword [0x180084ff0]
lea r8d, [rdi + 1]
xorps xmm5, xmm5
mov qword [rbp - 0x28], rdi
lea rdx, [rbp - 0x28]
mov rcx, qword [r9 + 0x1860]
call fcn.18001a6a0
mov rax, qword [r9 + 0x1860]
movss xmm4, dword [r9 + 8]
movss xmm0, dword [r9 + 0xc]
mov ecx, dword [rax + 0xc4]
test r8b, cl
je 0x18000ca3d
and ecx, 0xfffffff1
comiss xmm4, xmm5
mov dword [rax + 0xc4], ecx
jbe 0x18000ca08
movss dword [rax + 0x28], xmm4
mov ecx, edi
jmp 0x18000ca14
mov byte [rax + 0xb0], dil
mov ecx, 2
comiss xmm0, xmm5
mov dword [rax + 0xa8], ecx
jbe 0x18000ca2c
movss dword [rax + 0x2c], xmm0
mov dword [rax + 0xac], edi
jmp 0x18000ca3d
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 - 0x20]
xor rcx, rsp
call fcn.18003a5b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rbp
ret