Function at 0x18002f3a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x18008b040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x1800cf0b0]
lea rdx, [rsp + 0x38]
mov rdi, qword [0x1800cf010]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rsp + 0x40]
lea rcx, [rsp + 0x30]
sub eax, dword [rsp + 0x38]
movd xmm1, eax
mov eax, dword [rsp + 0x44]
sub eax, dword [rsp + 0x3c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x10], xmm1
movss dword [rdi + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x30]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1800cf0b8]
cvtsi2ss xmm0, qword [0x1800cf0c0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1800cf0b8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x148], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x149], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x1800cf010]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x14b], 0
mov byte [rdi + 0x14a], al
cmp byte [rcx + 0x3a3], 0
lea rbx, [rcx + 0x130]
je 0x18002f4cc
cvttss2si eax, dword [rbx]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], eax
cvttss2si eax, dword [rcx + 0x134]
mov rcx, qword [0x1800cf0b0]
mov dword [rsp + 0x24], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
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 0x18002f53d
mov rdx, qword [0x1800cf0b0]
cmp rax, rdx
je 0x18002f4fd
mov rcx, rax
call qword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x18002f53d
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x18002f53d
mov rcx, qword [0x1800cf0b0]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x18002f53d
movd xmm0, dword [rsp + 0x28]
movd xmm1, dword [rsp + 0x2c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xc8], 0
mov ecx, 0xffffffff
mov rax, qword [0x1800cf010]
jne 0x18002f558
mov ecx, dword [rax + 0x1e90]
cmp dword [0x1800cdacc], ecx
je 0x18002f64e
test byte [rax + 8], 0x20
mov dword [0x1800cdacc], ecx
jne 0x18002f64e
movsxd rcx, dword [rax + 0x1e90]
cmp ecx, 0xffffffff
je 0x18002f646
cmp byte [rax + 0xc8], 0
jne 0x18002f646
mov edx, 0x7f00
cmp ecx, 8
ja case.0x18002f5b1.0
lea r8, [0x180000000]
mov ecx, dword [r8 + rcx*4 + 0x2f668]
add rcx, r8
jmp rcx
mov edx, 0x7f01
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f86
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f84
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f85
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f83
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f82
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f89
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
mov edx, 0x7f88
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov rcx, rax
jmp 0x18002f648
xor ecx, ecx
call qword [sym.imp.USER32.dll_SetCursor]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180045720
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret