Function at 0x140036580
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
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140047040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
movss xmm6, dword [0x14003fb90]
xorps xmm0, xmm0
movups xmmword [0x140047f78], xmm0
xor r14d, r14d
movups xmmword [0x140047f88], xmm0
movups xmmword [0x140047f98], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x140047fa8]
lea rcx, [0x140047f78]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140036620
lea rcx, [0x140047f78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x140047f78]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x140047f60]
cmp rax, rcx
jne 0x14003666f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x140047fa8]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140047f60]
xorps xmm0, xmm0
mov qword [rbp + 0xf], r14
lea rdx, [rbp + 0x1f]
movups xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x140047f60]
lea rdx, [rbp + 0xf]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp + 0xf]
lea rcx, [rbp + 0x2f]
mov rbx, qword [0x140047f30]
mov dword [rbp + 0x1f], eax
mov eax, dword [rbp + 0x13]
mov dword [rbp + 0x23], eax
mov rax, qword [0x140047f60]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x2f]
mov ecx, 1
sub eax, dword [rbp + 0xf]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp + 0x33]
sub eax, dword [rbp + 0x13]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14003671d
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x140036724
mov byte [rbx + 0x120], r14b
mov eax, dword [0x140048580]
mov ecx, dword [rbp + 0x2b]
mov edx, dword [rbp + 0x27]
cmp dword [rbp + 0x1f], eax
jne 0x140036750
cmp edx, dword [0x140048588]
jne 0x140036750
mov eax, dword [0x140048584]
cmp dword [rbp + 0x23], eax
jne 0x140036750
cmp ecx, dword [0x14004858c]
je 0x1400367b1
movups xmm0, xmmword [rbp + 0x1f]
mov r9d, dword [rbp + 0x13]
mov r8d, dword [rbp + 0xf]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x14004805c], edx
mov dword [0x140048058], ecx
mov dword [0x140048010], edx
xor edx, edx
mov dword [0x140048014], ecx
mov rcx, qword [0x140047fa8]
movups xmmword [0x140048580], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x140048008]
lea rdx, [0x140048010]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x140048080], r14
jne 0x1400367bf
call fcn.1400236c0
mov rcx, qword [0x1400480a0]
lea rdx, [rbp - 1]
mov rdi, qword [0x140047f30]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp + 7]
lea rcx, [rbp + 0x37]
sub eax, dword [rbp - 1]
movd xmm1, eax
mov eax, dword [rbp + 0xb]
sub eax, dword [rbp + 3]
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 [rbp + 0x37]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400480a8]
cvtsi2ss xmm0, qword [0x1400480b0]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400480a8], rcx
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x10
and al, 1
mov byte [rdi + 0x130], al
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
mov ecx, 0x12
and al, 1
mov byte [rdi + 0x131], al
call qword [sym.imp.USER32.dll_GetKeyState]
mov rcx, qword [0x140047f30]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], r14b
mov byte [rdi + 0x132], al
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], r14b
je 0x1400368c6
cvttss2si eax, dword [rbx]
lea rdx, [rbp + 0x17]
mov dword [rbp + 0x17], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1400480a0]
mov dword [rbp + 0x1b], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 0x1b]
mov ecx, dword [rbp + 0x17]
call qword [sym.imp.USER32.dll_SetCursorPos]
mov dword [rbx], 0xff7fffff
mov dword [rbx + 4], 0xff7fffff
call qword [sym.imp.USER32.dll_GetActiveWindow]
cmp rax, qword [0x1400480a0]
jne 0x14003691e
lea rcx, [rbp - 9]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x14003691e
mov rcx, qword [0x1400480a0]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x14003691e
movd xmm0, dword [rbp - 9]
movd xmm1, dword [rbp - 5]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], r14b
je 0x14003692e
mov eax, 0xffffffff
jmp 0x14003693b
mov rax, qword [0x140047f30]
mov eax, dword [rax + 0x1d70]
cmp dword [0x140047208], eax
je 0x14003694e
mov dword [0x140047208], eax
call fcn.140023830
call fcn.140005f40
call fcn.140033130
mov ecx, dword [0x1400475f4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400369b0
cmp byte [0x14004859b], r14b
je 0x1400369b0
mov eax, dword [0x1400480dc]
test eax, eax
jne 0x14003698c
mov ecx, 0x6e
call fcn.140032cc0
mov eax, dword [0x1400480dc]
cmp eax, 1
jne 0x1400369a1
mov ecx, 0x43
call fcn.140032cc0
mov eax, dword [0x1400480dc]
cmp eax, 2
jne 0x1400369b0
mov ecx, 0x25
call fcn.140032cc0
mov ecx, dword [0x1400475f0]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036aeb
cmp byte [0x140048597], r14b
je 0x140036aeb
mov r8, qword [0x140047ff0]
lea rdx, [rbp - 0x29]
call fcn.140031900
mov rdi, rax
mov rax, qword [rax + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x1400369f3
mov rdi, qword [rdi]
cmp rax, 7
jb 0x140036a59
lea rsi, [rax + rdi]
mov edx, 0x53
lea r8, [rsi - 6]
mov rcx, rdi
sub r8, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x140036a59
nop dword [rax]
cmp dword [rbx], 0x746f6853
jne 0x140036a3a
cmp word [rbx + 4], 0x7567
jne 0x140036a3a
cmp byte [rbx + 6], 0x6e
je 0x140036dac
inc rbx
lea r8, [rsi - 6]
sub r8, rbx
mov rcx, rbx
mov edx, 0x53
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x140036a20
mov rbx, 0xffffffffffffffff
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x140036a9b
mov rcx, qword [rbp - 0x29]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140036a96
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140036db4
call fcn.140038e74
cmp rbx, 0xffffffffffffffff
je 0x140036aeb
mov rcx, qword [0x140047fc8]
add rcx, 0x1898
call fcn.140037a70
test rax, rax
je 0x140036aeb
mov r9d, 2
mov qword [rsp + 0x20], r14
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov r9d, 4
mov qword [rsp + 0x20], r14
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.140032580
call fcn.140007040
mov rcx, qword [0x140048008]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140048008]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140048008]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x140048008]
mov r9d, 1
mov dword [rsp + 0x30], r14d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x140048008]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140036bac
call fcn.1400074f0
mov rax, qword [0x140047f30]
mov rcx, r14
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140022dc0
mov rcx, qword [0x140048008]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140048008]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r14
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140036c6e
mov rcx, qword [0x140048008]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140036c6e
cmp qword [0x140048090], r14
je 0x140036c52
mov rcx, qword [0x140048098]
test rcx, rcx
je 0x140036c0e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140048098], r14
mov rcx, qword [0x140048088]
test rcx, rcx
je 0x140036c27
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140048088], r14
mov rcx, qword [0x140048080]
mov rbx, qword [0x140047f30]
test rcx, rcx
je 0x140036c40
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140048080], r14
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r14
mov rcx, qword [0x140048008]
lea rdx, [0x140048010]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400236c0
cmp dword [0x140047f80], 0x12
jne 0x1400365e0
cmp qword [0x140048090], r14
je 0x140036ce1
mov rcx, qword [0x140048098]
test rcx, rcx
je 0x140036c9d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140048098], r14
mov rcx, qword [0x140048088]
test rcx, rcx
je 0x140036cb6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140048088], r14
mov rcx, qword [0x140048080]
mov rbx, qword [0x140047f30]
test rcx, rcx
je 0x140036ccf
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x140048080], r14
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r14
mov rbx, qword [0x140047f30]
mov rcx, rbx
mov qword [0x140048090], r14
mov qword [0x1400480a0], r14
call fcn.1400067d0
cmp qword [0x140047f30], rbx
jne 0x140036d0e
mov qword [0x140047f30], r14
test rbx, rbx
je 0x140036d36
mov rcx, rbx
call fcn.140013a40
mov rax, qword [0x140047f30]
test rax, rax
je 0x140036d2d
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140048008]
test rcx, rcx
je 0x140036d58
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x140048008]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140047fb0]
test rcx, rcx
je 0x140036d6a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140047fa8]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x140047f88]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140038a60
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
sub rbx, rdi
jmp 0x140036a60
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3