Function at 0x7ff7e15060b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rsi
call fcn.7ff7e14e3440
mov rcx, qword [0x7ff7e17b4100]
lea rdx, [rsp + 0x20]
mov rsi, rax
call qword [sym.imp.user32.dll_GetClientRect]
mov ecx, dword [rsp + 0x28]
sub ecx, dword [rsp + 0x20]
movd xmm1, ecx
mov ecx, dword [rsp + 0x2c]
sub ecx, dword [rsp + 0x24]
cmp byte [0x7ff7e1638395], 0
cvtdq2ps xmm1, xmm1
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [rsi + 8], xmm1
movss dword [rsi + 0xc], xmm0
je 0x7ff7e150610e
call fcn.7ff7e1506940
lea rcx, [rsp + 0x60]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x60]
xorps xmm1, xmm1
sub rax, qword [0x7ff7e17b4108]
xorps xmm0, xmm0
cvtsi2ss xmm0, qword [0x7ff7e17b4110]
mov ecx, 0x11
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rsi + 0x10], xmm1
mov rax, qword [rsp + 0x60]
mov qword [0x7ff7e17b4108], rax
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rsi + 0x134], al
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rsi + 0x135], al
call qword [sym.imp.user32.dll_GetKeyState]
shr eax, 0xf
and al, 1
mov byte [rsi + 0x137], 0
mov byte [rsi + 0x136], al
call fcn.7ff7e14e3440
mov rbx, rax
cmp byte [rax + 0x38f], 0
je 0x7ff7e15061e8
test dword [rax], 0x400
cvttss2si ecx, dword [rax + 0x118]
cvttss2si edx, dword [rax + 0x11c]
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], edx
jne 0x7ff7e15061e2
mov rcx, qword [0x7ff7e17b4100]
lea rdx, [rsp + 0x50]
call qword [sym.imp.user32.dll_ClientToScreen]
mov edx, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.user32.dll_SetCursorPos]
lea rcx, [rsp + 0x58]
mov dword [rbx + 0x118], 0xff7fffff
mov dword [rbx + 0x11c], 0xff7fffff
mov dword [rbx + 0x130], 0
call qword [sym.imp.user32.dll_GetCursorPos]
test eax, eax
je 0x7ff7e15062db
mov qword [rsp + 0x30], rdi
call qword [sym.imp.user32.dll_GetForegroundWindow]
mov rdi, rax
test rax, rax
je 0x7ff7e15062ab
mov rdx, qword [0x7ff7e17b4100]
mov rcx, rax
call qword [sym.imp.user32.dll_IsChild]
mov rcx, qword [0x7ff7e17b4100]
test eax, eax
cmovne rdi, rcx
test dword [rbx], 0x400
je 0x7ff7e150626c
mov rcx, rdi
call fcn.7ff7e14e2730
test rax, rax
je 0x7ff7e15062ab
movd xmm0, dword [rsp + 0x58]
movd xmm1, dword [rsp + 0x5c]
jmp 0x7ff7e1506295
cmp rdi, rcx
jne 0x7ff7e15062ab
mov rax, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
mov rcx, rdi
mov qword [rsp + 0x50], rax
call qword [sym.imp.user32.dll_ScreenToClient]
movd xmm0, dword [rsp + 0x50]
movd xmm1, dword [rsp + 0x54]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm1
movss dword [rbx + 0x118], xmm0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.user32.dll_WindowFromPoint]
mov rdi, qword [rsp + 0x30]
test rax, rax
je 0x7ff7e15062db
mov rcx, rax
call fcn.7ff7e14e2730
test rax, rax
je 0x7ff7e15062db
test byte [rax + 4], 0x10
jne 0x7ff7e15062db
mov eax, dword [rax]
mov dword [rbx + 0x130], eax
cmp byte [rsi + 0xc8], 0
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
je 0x7ff7e15062f5
mov eax, 0xffffffff
jmp 0x7ff7e15062fa
call fcn.7ff7e14e3590
cmp dword [0x7ff7e1638390], eax
je 0x7ff7e150630d
mov dword [0x7ff7e1638390], eax
call fcn.7ff7e1506b60
call fcn.7ff7e1506680
add rsp, 0x48
ret