Function at 0x41bac0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff5fd
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x54c154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x70], esi
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
cmp eax, 4
jne 0x41bb8e
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x68], 0
call fcn.004164c0
push 1
lea ecx, [ebp - 0x68]
push ecx
mov eax, dword [eax + 0xec]
push esi
call eax
push 2
push dword [ebp - 0x68]
call dword [sym.imp.USER32.dll_GetAncestor]
mov ecx, dword [ebp - 0x70]
mov edi, eax
add ecx, 4
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x70]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
call fcn.004164c0
push esi
mov eax, dword [eax + 0xe4]
call eax
mov byte [edi + 0x14], 1
mov dword [ebp - 4], 1
jmp 0x41bebc
cmp eax, 2
jne 0x41bc99
cmp dword [ebp + 0x1c], 1
jne 0x41bece
cmp byte [esi + 0x14], 0
je 0x41bece
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [esi + 8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [esi + 4]
add dword [ebp - 0x68], ecx
add eax, edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], eax
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 2
mov dword [ebp - 0x70], 0
call fcn.004164c0
push 1
lea ecx, [ebp - 0x70]
push ecx
mov eax, dword [eax + 0xec]
push esi
call eax
push 2
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_GetAncestor]
mov esi, eax
mov dword [ebp - 4], 3
mov edi, dword [ebp - 0x6c]
test edi, edi
je 0x41bc46
call fcn.004164c0
push edi
mov ecx, dword [eax + 0x80]
call ecx
test esi, esi
je 0x41bc7a
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
push eax
call dword [sym.imp.dwmapi.dll_DwmIsCompositionEnabled]
test eax, eax
jne 0x41bc65
cmp dword [ebp - 0x6c], 1
je 0x41bc7a
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
mov eax, 0x15
je 0x41bc7f
mov eax, 0x1d
push eax
mov eax, dword [ebp - 0x68]
push 0
push 0
push eax
push dword [ebp - 0x14]
push 0
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x41bece
cmp eax, 3
jne 0x41bece
mov byte [esi + 0x14], 0
call fcn.004164c0
push edi
mov eax, dword [eax + 0x7c]
call eax
xor esi, esi
test eax, eax
cmove esi, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 4
call fcn.004164c0
push esi
mov eax, dword [eax + 0xe8]
call eax
mov dword [ebp - 0x6c], 0
call fcn.004164c0
push 1
lea ecx, [ebp - 0x6c]
push ecx
mov eax, dword [eax + 0xec]
push esi
call eax
push 2
push dword [ebp - 0x6c]
call dword [sym.imp.USER32.dll_GetAncestor]
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x14], eax
push ecx
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_MonitorFromRect]
test eax, eax
je 0x41beb5
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 0x28
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push ecx
push eax
movups xmmword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x41beb5
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov edi, dword [sym.imp.USER32.dll_MonitorFromPoint]
push 0
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call edi
push 0
push dword [ebp - 0x7c]
test eax, eax
push dword [ebp - 0x78]
setne byte [ebp - 0x83]
call edi
push 0
push dword [ebp - 0x74]
test eax, eax
push dword [ebp - 0x80]
setne byte [ebp - 0x82]
call edi
push 0
push dword [ebp - 0x74]
test eax, eax
push dword [ebp - 0x78]
setne byte [ebp - 0x84]
call edi
mov ecx, dword [ebp - 0x74]
test eax, eax
setne dl
sub ecx, dword [ebp - 0x7c]
sub ecx, dword [ebp - 0x74]
xor al, al
mov byte [ebp - 0x81], al
mov eax, dword [ebp - 0x30]
add eax, 0xffffffa0
mov byte [ebp - 0x85], dl
add eax, ecx
mov ecx, dword [sym.imp.USER32.dll_OffsetRect]
mov dword [ebp - 0x68], ecx
jns 0x41bdf3
test dl, dl
jne 0x41bdf3
cmp byte [ebp - 0x84], dl
jne 0x41bdf3
push eax
push 0
lea eax, [ebp - 0x80]
push eax
lfence
call ecx
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 0x81], 1
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x38]
add eax, 0x15
jns 0x41be25
cmp byte [ebp - 0x83], 0
jne 0x41be25
cmp byte [ebp - 0x82], 0
jne 0x41be25
neg eax
push eax
push 0
lea eax, [ebp - 0x80]
push eax
lfence
call ecx
mov byte [ebp - 0x81], 1
mov edx, dword [ebp - 0x78]
mov ecx, edx
mov edi, dword [ebp - 0x80]
sub ecx, edi
mov eax, dword [ebp - 0x34]
sub ecx, edx
add eax, 0xffffffa0
add eax, ecx
jns 0x41be64
cmp byte [ebp - 0x82], 0
jne 0x41be64
cmp byte [ebp - 0x85], 0
jne 0x41be64
push 0
push eax
lea eax, [ebp - 0x80]
push eax
lfence
call dword [ebp - 0x68]
mov edx, dword [ebp - 0x78]
mov cl, 1
mov edi, dword [ebp - 0x80]
jmp 0x41be6a
mov cl, byte [ebp - 0x81]
sub edx, edi
lea eax, [edi - 0x60]
sub edx, dword [ebp - 0x3c]
add eax, edx
jns 0x41be9c
cmp byte [ebp - 0x83], 0
jne 0x41be9c
cmp byte [ebp - 0x84], 0
jne 0x41be9c
push 0
neg eax
push eax
lea eax, [ebp - 0x80]
push eax
lfence
call dword [ebp - 0x68]
mov edi, dword [ebp - 0x80]
jmp 0x41bea0
test cl, cl
je 0x41beb5
push 0x15
push 0
push 0
push dword [ebp - 0x7c]
push edi
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov dword [ebp - 4], 5
test esi, esi
je 0x41bece
call fcn.004164c0
push esi
mov eax, dword [eax + 0x80]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a44cd
mov esp, ebp
pop ebp
ret 0x1c