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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rdi
push r15
lea rbp, [r11 - 0x5f]
sub rsp, 0xd0
movaps xmmword [r11 - 0x28], xmm6
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rbp + 0x27], rax
movss xmm6, dword [0x140042020]
xorps xmm0, xmm0
mov qword [r11 + 8], rsi
xor r15d, r15d
movups xmmword [0x1400d1d28], xmm0
mov qword [r11 + 0x10], r14
movups xmmword [0x1400d1d38], xmm0
movups xmmword [0x1400d1d48], xmm0
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [0x1400d1d58]
lea rcx, [0x1400d1d28]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x1400366f0
lea rcx, [0x1400d1d28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [0x1400d1d28]
call qword [sym.imp.USER32.dll_DispatchMessageA]
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rcx, qword [0x1400d1d10]
cmp rax, rcx
jne 0x14003673f
mov edx, 3
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindow]
mov rcx, qword [0x1400d1d58]
xor r9d, r9d
mov dword [rsp + 0x30], 3
mov rdx, rax
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400d1d10]
xorps xmm0, xmm0
mov qword [rbp - 9], r15
lea rdx, [rbp + 7]
movups xmmword [rbp + 7], xmm0
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [0x1400d1d10]
lea rdx, [rbp - 9]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [rbp - 9]
lea rcx, [rbp + 0x17]
mov rbx, qword [0x1400d1ce0]
mov dword [rbp + 7], eax
mov eax, dword [rbp - 5]
mov dword [rbp + 0xb], eax
mov rax, qword [0x1400d1d10]
mov qword [rbx + 0x108], rax
mov dword [rbx + 0x18], 0x3c888889
call qword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [rbp + 0x17]
mov ecx, 1
sub eax, dword [rbp - 9]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x118], xmm0
mov eax, dword [rbp + 0x1b]
sub eax, dword [rbp - 5]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rbx + 0x11c], xmm0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1400367ed
mov byte [rbx + 0x120], 1
mov eax, dword [rbx + 0x11c]
mov dword [rbx + 0x3dc], eax
mov byte [rbx + 0x430], 1
jmp 0x1400367f4
mov byte [rbx + 0x120], r15b
mov eax, dword [0x1400d2340]
mov ecx, dword [rbp + 0x13]
mov edx, dword [rbp + 0xf]
cmp dword [rbp + 7], eax
jne 0x140036820
cmp edx, dword [0x1400d2348]
jne 0x140036820
mov eax, dword [0x1400d2344]
cmp dword [rbp + 0xb], eax
jne 0x140036820
cmp ecx, dword [0x1400d234c]
je 0x140036881
movups xmm0, xmmword [rbp + 7]
mov r9d, dword [rbp - 5]
mov r8d, dword [rbp - 9]
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], edx
mov dword [0x1400d1e04], edx
mov dword [0x1400d1e00], ecx
mov dword [0x1400d1db0], edx
xor edx, edx
mov dword [0x1400d1db4], ecx
mov rcx, qword [0x1400d1d58]
movups xmmword [0x1400d2340], xmm0
call qword [sym.imp.USER32.dll_SetWindowPos]
mov rcx, qword [0x1400d1df0]
lea rdx, [0x1400d1db0]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp qword [0x1400d1e28], r15
jne 0x14003688f
call fcn.1400236d0
mov rcx, qword [0x1400d1e48]
lea rdx, [rbp - 0x19]
mov rdi, qword [0x1400d1ce0]
call qword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [rbp - 0x11]
lea rcx, [rbp + 0x1f]
sub eax, dword [rbp - 0x19]
movd xmm1, eax
mov eax, dword [rbp - 0xd]
sub eax, dword [rbp - 0x15]
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 + 0x1f]
xorps xmm1, xmm1
mov rax, rcx
xorps xmm0, xmm0
sub rax, qword [0x1400d1e50]
cvtsi2ss xmm0, qword [0x1400d1e58]
cvtsi2ss xmm1, rax
divss xmm1, xmm0
movss dword [rdi + 0x18], xmm1
mov qword [0x1400d1e50], 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 [0x1400d1ce0]
shr eax, 0xf
and al, 1
mov byte [rdi + 0x133], r15b
mov byte [rdi + 0x132], al
lea rbx, [rcx + 0x118]
cmp byte [rcx + 0x3af], r15b
je 0x140036996
cvttss2si eax, dword [rbx]
lea rdx, [rbp - 1]
mov dword [rbp - 1], eax
cvttss2si eax, dword [rcx + 0x11c]
mov rcx, qword [0x1400d1e48]
mov dword [rbp + 3], eax
call qword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [rbp + 3]
mov ecx, dword [rbp - 1]
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 [0x1400d1e48]
jne 0x1400369ee
lea rcx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1400369ee
mov rcx, qword [0x1400d1e48]
lea rdx, [rbp - 0x21]
call qword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1400369ee
movd xmm0, dword [rbp - 0x21]
movd xmm1, dword [rbp - 0x1d]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [rbx], xmm0
movss dword [rbx + 4], xmm1
cmp byte [rdi + 0xd0], r15b
je 0x1400369fe
mov eax, 0xffffffff
jmp 0x140036a0b
mov rax, qword [0x1400d1ce0]
mov eax, dword [rax + 0x1d70]
cmp dword [0x1400d1018], eax
je 0x140036a1e
mov dword [0x1400d1018], eax
call fcn.140023840
call fcn.140005f50
call fcn.140033200
mov ecx, dword [0x1400d1404]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036a80
cmp byte [0x1400d2357], r15b
je 0x140036a80
mov eax, dword [0x1400d1e84]
test eax, eax
jne 0x140036a5c
mov ecx, 0x6e
call fcn.140032d90
mov eax, dword [0x1400d1e84]
cmp eax, 1
jne 0x140036a71
mov ecx, 0x43
call fcn.140032d90
mov eax, dword [0x1400d1e84]
cmp eax, 2
jne 0x140036a80
mov ecx, 0x25
call fcn.140032d90
mov ecx, dword [0x1400d1400]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140036bc1
cmp byte [0x1400d2353], r15b
je 0x140036bc1
mov r8, qword [0x1400d1da0]
lea rdx, [rbp - 0x41]
mov r14, qword [0x1400d1d78]
call fcn.1400319d0
mov rbx, rax
mov rsi, rbx
mov rax, qword [rax + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x140036acd
mov rsi, qword [rbx]
cmp rax, 7
jb 0x140036b78
lea rdi, [rsi + rax]
mov edx, 0x53
lea r8, [rdi - 6]
mov rcx, rsi
sub r8, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140036b78
cmp dword [rax], 0x746f6853
jne 0x140036b0e
cmp word [rax + 4], 0x7567
jne 0x140036b0e
cmp byte [rax + 6], 0x6e
je 0x140036b2c
inc rax
lea r8, [rdi - 6]
sub r8, rax
mov rcx, rax
mov edx, 0x53
call sub.VCRUNTIME140.dll_memchr
test rax, rax
jne 0x140036af8
jmp 0x140036b78
sub rax, rsi
cmp rax, 0xffffffffffffffff
je 0x140036b78
lea rcx, [r14 + 0x1898]
call fcn.140039230
test rax, rax
je 0x140036b78
mov r9d, 2
mov qword [rsp + 0x20], r15
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov r9d, 4
mov qword [rsp + 0x20], r15
mov ecx, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_mouse_event]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140036bb2
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140036bad
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140036e8c
mov rcx, r8
call fcn.14003aaf4
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r15b
call fcn.140032650
call fcn.140007050
mov rcx, qword [0x1400d1df0]
xor r8d, r8d
mov edx, 7
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d1df0]
xor r8d, r8d
mov edx, 0x1b
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d1df0]
xor r8d, r8d
mov edx, 0xae
mov rax, qword [rcx]
call qword [rax + 0x1c8]
mov rcx, qword [0x1400d1df0]
mov r9d, 1
mov dword [rsp + 0x30], r15d
xor r8d, r8d
movss dword [rsp + 0x28], xmm6
xor edx, edx
mov dword [rsp + 0x20], r15d
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1400d1df0]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140036c82
call fcn.140007500
mov rax, qword [0x1400d1ce0]
mov rcx, r15
add rax, 0x1c70
cmp byte [rax], cl
cmovne rcx, rax
call fcn.140022dd0
mov rcx, qword [0x1400d1df0]
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400d1df0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], r15
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140036d44
mov rcx, qword [0x1400d1df0]
mov rax, qword [rcx]
call qword [rax + 0x18]
cmp eax, 0x88760869
jne 0x140036d44
cmp qword [0x1400d1e38], r15
je 0x140036d28
mov rcx, qword [0x1400d1e40]
test rcx, rcx
je 0x140036ce4
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d1e40], r15
mov rcx, qword [0x1400d1e30]
test rcx, rcx
je 0x140036cfd
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d1e30], r15
mov rcx, qword [0x1400d1e28]
mov rbx, qword [0x1400d1ce0]
test rcx, rcx
je 0x140036d16
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d1e28], r15
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r15
mov rcx, qword [0x1400d1df0]
lea rdx, [0x1400d1db0]
mov rax, qword [rcx]
call qword [rax + 0x80]
call fcn.1400236d0
cmp dword [0x1400d1d30], 0x12
jne 0x1400366b0
cmp qword [0x1400d1e38], r15
je 0x140036db7
mov rcx, qword [0x1400d1e40]
test rcx, rcx
je 0x140036d73
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d1e40], r15
mov rcx, qword [0x1400d1e30]
test rcx, rcx
je 0x140036d8c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d1e30], r15
mov rcx, qword [0x1400d1e28]
mov rbx, qword [0x1400d1ce0]
test rcx, rcx
je 0x140036da5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [0x1400d1e28], r15
mov rax, qword [rbx + 0xa0]
mov qword [rax + 8], r15
mov rbx, qword [0x1400d1ce0]
mov rcx, rbx
mov qword [0x1400d1e38], r15
mov qword [0x1400d1e48], r15
call fcn.1400067e0
cmp qword [0x1400d1ce0], rbx
jne 0x140036de4
mov qword [0x1400d1ce0], r15
test rbx, rbx
je 0x140036e0c
mov rcx, rbx
call fcn.140013a50
mov rax, qword [0x1400d1ce0]
test rax, rax
je 0x140036e03
dec dword [rax + 0x3c8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x1400d1df0]
test rcx, rcx
je 0x140036e2e
mov rax, qword [rcx]
call qword [rax + 0x150]
mov rcx, qword [0x1400d1df0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400d1d60]
test rcx, rcx
je 0x140036e40
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x1400d1d58]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rax, qword [0x1400d1d38]
mov r14, qword [rsp + 0xf8]
mov rsi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14003a6e0
mov rbx, qword [rsp + 0x100]
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd0
pop r15
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3