Function at 0x140035550
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140049040]
xor rax, rsp
mov qword [rbp + 0x37], rax
movss xmm6, dword [0x140042610]
xorps xmm0, xmm0
movups xmmword [0x140049e50], xmm0
xor esi, esi
movups xmmword [0x140049e60], xmm0
movups xmmword [0x140049e70], xmm0
nop
mov rdx, qword [0x140049e80]
lea rcx, [0x140049e50]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400355e0
lea rcx, [0x140049e50]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140049e50]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140049e38]
cmp rax, rcx
jne 0x14003562d
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140049e80]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], esi
xor r8d, r8d
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140049e38]
xorps xmm0, xmm0
mov qword [rbp + 7], rsi
lea rdx, [rbp + 0x17]
movups xmmword [rbp + 0x17], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140049e38]
lea rdx, [rbp + 7]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 7]
lea rcx, [rbp + 0x27]
mov rbx, qword [0x140049e10]
mov dword [rbp + 0x17], eax
mov eax, dword [rbp + 0xb]
mov dword [rbp + 0x1b], eax
mov rax, qword [0x140049e38]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x27]
mov ecx, 1
sub eax, dword [rbp + 7]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp + 0x2b]
sub eax, dword [rbp + 0xb]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400356db
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x1400356e2
mov byte [rbx + 0x120], sil
mov eax, dword [0x14004a460]
mov ecx, dword [rbp + 0x23]
mov edx, dword [rbp + 0x1f]
cmp dword [rbp + 0x17], eax
jne 0x14003570e
cmp edx, dword [0x14004a468]
jne 0x14003570e
mov eax, dword [0x14004a464]
cmp dword [rbp + 0x1b], eax
jne 0x14003570e
cmp ecx, dword [0x14004a46c]
je 0x14003576f
movups xmm0, xmmword [rbp + 0x17]
mov r9d, dword [rbp + 0xb]
mov r8d, dword [rbp + 7]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x140049f3c], edx
mov dword [0x140049f38], ecx
mov dword [0x140049ee0], edx
xor edx, edx
mov dword [0x140049ee4], ecx
mov rcx, qword [0x140049e80]
movups xmmword [0x14004a460], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140049f28]
lea rdx, [0x140049ee0]
mov rax, qword [rcx]
call qword [rax + 0x80]
mov rbx, qword [0x140049e10]
movzx eax, byte [0x140049e09]
cmp byte [rbx + 0x15e9], al
jne 0x14003578d
cmp byte [rbx + 0x15e8], al
je 0x1400357a0
mov byte [rbx + 0x15e9], al
movzx eax, byte [0x140049e09]
mov byte [rbx + 0x15e8], al
movzx eax, byte [0x140049f23]
cmp dword [0x140049f1c], eax
je 0x1400357b5
mov dword [0x140049f1c], eax
cmp qword [0x140049f60], rsi
jne 0x1400357ca
call fcn.140022910
mov rbx, qword [0x140049e10]
mov rcx, qword [0x140049f80]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 1]
lea rcx, [rbp + 0x2f]
sub eax, dword [rbp - 9]
movd xmm1, eax
mov eax, dword [rbp + 3]
sub eax, dword [rbp - 5]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x10], xmm1
movss dword [rbx + 0x14], xmm0
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rbp + 0x2f]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x140049f88]
cvtsi2ss xmm0, qword [0x140049f90]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rbx + 0x18], xmm1
mov qword [0x140049f88], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rbx + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rbx + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140049e10]
shr eax, 0xf
and al, 1
mov byte [rbx + 0x133], sil
mov byte [rbx + 0x132], al
lea rdi, [rcx + 0x118]
cmp byte [rcx + 0x3af], sil
je 0x1400358ca
cvttss2si eax, dword [rdi]
lea rdx, [rbp + 0xf]
mov dword [rbp + 0xf], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x140049f80]
mov dword [rbp + 0x13], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x13]
mov ecx, dword [rbp + 0xf]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rdi], 0xff7fffff
mov dword [rdi + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x140049f80]
jne 0x140035922
lea rcx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x140035922
mov rcx, qword [0x140049f80]
lea rdx, [rbp - 0x11]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x140035922
movd xmm0, dword [rbp - 0x11]
movd xmm1, dword [rbp - 0xd]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rdi], xmm0
movss dword [rdi + 4], xmm1
cmp byte [rbx + 0xd0], sil
je 0x140035932
mov eax, 0xffffffff
jmp 0x14003593f
mov rax, qword [0x140049e10]
mov eax, dword [rax + 0x1d70]
cmp dword [0x140049200], eax
je 0x140035952
mov dword [0x140049200], eax
call fcn.140022a80
call fcn.140005df0
call fcn.140031b20
mov ecx, dword [0x1400490c4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400359ae
cmp byte [0x140049e97], sil
jne 0x14003597f
cmp byte [0x140049f24], sil
je 0x1400359ae
mov eax, dword [0x140049e90]
test eax, eax
jne 0x140035994
call fcn.140031150
mov eax, dword [0x140049e90]
cmp eax, 1
jne 0x1400359a4
call fcn.140031150
mov eax, dword [0x140049e90]
cmp eax, 2
jne 0x1400359ae
call fcn.140031150
mov ecx, 2
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400359e9
cmp byte [0x140049e0d], sil
je 0x1400359e9
mov r8, qword [0x140049ed0]
lea rdx, [rbp - 0x31]
mov rbx, qword [0x140049ea8]
call fcn.14002ce00
mov rdx, rbx
mov rcx, rax
call fcn.140031830
call fcn.14002def0
call fcn.140006ef0
mov rcx, qword [0x140049f28]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140049f28]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140049f28]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140049f28]
mov r9d, 1
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140049f28]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140035aa8
call fcn.1400073a0
mov rax, qword [0x140049e10]
mov rcx, rsi
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140022010
mov rcx, qword [0x140049f28]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140049f28]
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 0x140035ae5
mov rcx, qword [0x140049f28]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
je 0x140035af0
jmp 0x140035b72
cmp eax, 0x88760870
jne 0x140035b72
cmp qword [0x140049f70], rsi
je 0x140035b56
mov rcx, qword [0x140049f78]
test rcx, rcx
je 0x140035b12
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140049f78], rsi
mov rcx, qword [0x140049f68]
test rcx, rcx
je 0x140035b2b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140049f68], rsi
mov rcx, qword [0x140049f60]
mov rbx, qword [0x140049e10]
test rcx, rcx
je 0x140035b44
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140049f60], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rcx, qword [0x140049f28]
lea rdx, [0x140049ee0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.140022910
cmp dword [0x140049e58], 0x12
jne 0x1400355a0
cmp qword [0x140049f70], rsi
je 0x140035be5
mov rcx, qword [0x140049f78]
test rcx, rcx
je 0x140035ba1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140049f78], rsi
mov rcx, qword [0x140049f68]
test rcx, rcx
je 0x140035bba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140049f68], rsi
mov rcx, qword [0x140049f60]
mov rbx, qword [0x140049e10]
test rcx, rcx
je 0x140035bd3
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140049f60], rsi
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], rsi
mov rbx, qword [0x140049e10]
mov rcx, rbx
mov qword [0x140049f70], rsi
mov qword [0x140049f80], rsi
call fcn.140006680
cmp qword [0x140049e10], rbx
jne 0x140035c12
mov qword [0x140049e10], rsi
test rbx, rbx
je 0x140035c3a
mov rcx, rbx
call fcn.140013210
mov rax, qword [0x140049e10]
test rax, rax
je 0x140035c31
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140049f28]
test rcx, rcx
je 0x140035c5c
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140049f28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140049e88]
test rcx, rcx
je 0x140035c6e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140049e80]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140049e60]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14003a850
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret