Function at 0x4e5978
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
call fcn.00405a20
lea eax, [ebp - 0xc]
call fcn.00405a20
lea eax, [ebp + 0xc]
call fcn.00405a20
lea eax, [ebp - 0x20]
mov edx, dword [0x4dc4f8]
call fcn.00405a40
xor eax, eax
push ebp
push 0x4e60bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x24], 0xffffffff
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
call fcn.00409df4
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 4]
call fcn.004054e4
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.00409df4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0xc]
call fcn.004054e4
lea edx, [ebp - 0x70]
mov eax, dword [ebp + 0xc]
call fcn.00409df4
mov edx, dword [ebp - 0x70]
lea eax, [ebp + 0xc]
call fcn.004054e4
mov eax, dword [ebp - 4]
mov edx, 0x4e60d4
call fcn.00405790
jne 0x4e5a3c
call sub.user32.dll_GetForegroundWindow
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
jmp 0x4e607a
mov eax, dword [ebp - 4]
mov edx, 0x4e60f8
call fcn.00405790
jne 0x4e5aaa
lea eax, [ebp - 0x50]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call sub.user32.dll_WindowFromPoint
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x28], eax
push ebp
mov eax, dword [ebp - 0x54]
call fcn.004e5900
pop ecx
test al, al
jne 0x4e5a97
mov eax, dword [ebp - 0x54]
push eax
call sub.user32.dll_GetParent
test eax, eax
je 0x4e5a97
mov eax, dword [ebp - 0x54]
push eax
call sub.user32.dll_GetParent
mov dword [ebp - 0x54], eax
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0x64
jne 0x4e5a67
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
jmp 0x4e607a
mov eax, dword [ebp - 4]
mov edx, 0x4e6120
call fcn.00405790
jne 0x4e5ae3
lea eax, [ebp - 0x50]
push eax
call sub.user32.dll_GetCursorPos
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call sub.user32.dll_WindowFromPoint
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
jmp 0x4e607a
mov eax, dword [ebp - 4]
mov edx, 0x4e6150
call fcn.00405790
jne 0x4e5b0c
mov eax, dword [ebp - 8]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
jmp 0x4e607a
mov eax, dword [ebp - 4]
mov edx, 0x4e6180
call fcn.00405790
jne 0x4e5b39
mov eax, dword [0x550240]
mov eax, dword [eax]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
jmp 0x4e607a
mov eax, dword [ebp - 4]
mov edx, 0x4e61b0
call fcn.00405790
jne 0x4e5d14
xor eax, eax
push ebp
push 0x4e5d05
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.kernel32.dll_GetCurrentThreadId_1
mov edx, dword [ebp - 8]
cmp eax, dword [edx + 0x7f8]
je 0x4e5b76
mov eax, dword [ebp - 8]
cmp byte [eax + 0x8b9], 0
je 0x4e5bae
mov eax, dword [ebp - 8]
cmp dword [eax + 0x7f4], 0
je 0x4e5c40
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x7f4]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e607a
mov eax, dword [ebp - 8]
lea edx, [eax + 0x500]
xor ecx, ecx
mov eax, dword [ebp - 8]
call fcn.00503b74
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x4e5c40
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e5bd7
call fcn.00403be4
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x7fc], 0
je 0x4e5c40
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e5bf1
call fcn.00403be4
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x7fc]
cmp dword [eax + 0x30c], 0
je 0x4e5c40
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e5c11
call fcn.00403be4
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x7fc]
mov eax, dword [eax + 0x30c]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e607a
mov eax, dword [ebp - 8]
cmp dword [eax + 0x7f4], 0
je 0x4e5c74
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x7f4]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e607a
xor eax, eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e5c86
call fcn.00403be4
mov edx, dword [ebp - 8]
cmp dword [edx + eax*4 + 0x7fc], 0
je 0x4e5cef
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e5ca0
call fcn.00403be4
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x7fc]
cmp dword [eax + 0x30c], 0
je 0x4e5cef
mov eax, dword [ebp - 0x28]
cmp eax, 0xf
jbe 0x4e5cc0
call fcn.00403be4
mov edx, dword [ebp - 8]
mov eax, dword [edx + eax*4 + 0x7fc]
mov eax, dword [eax + 0x30c]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e607a
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0x10
jne 0x4e5c79
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e607a
mov eax, dword [ebp - 4]
mov edx, 0x4e61e0
call fcn.00405790
jne 0x4e5d4f
mov eax, dword [0x550568]
cmp dword [eax], 0
je 0x4e607a
mov eax, dword [0x550568]
mov eax, dword [eax]
call fcn.0045f5d4
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
jmp 0x4e607a
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405790
jne 0x4e5d7d
xor eax, eax
mov dword [ebp - 0x28], eax
push 0xa
call sub.kernel32.dll_Sleep_2
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.00520b78
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jne 0x4e5d60
cmp dword [ebp + 0x10], 0
jge 0x4e5d93
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x30], 0x64
jmp 0x4e5e0b
cmp dword [ebp + 0x10], 0
jle 0x4e5da8
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
jmp 0x4e5e0b
mov dword [ebp - 0x2c], 0xa
mov dword [ebp - 0x30], 0x64
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x37c]
mov edx, dword [ebp - 4]
call fcn.00405790
je 0x4e5e0b
mov eax, dword [ebp - 8]
add eax, 0x37c
mov edx, dword [ebp - 4]
call fcn.004054bc
mov dword [ebp - 0x2c], 0x28
mov dword [ebp - 0x30], 0x1f4
mov eax, dword [ebp - 8]
cmp byte [eax + 0x379], 0
je 0x4e5e01
mov dword [ebp - 0x2c], 0xc8
mov dword [ebp - 0x30], 0x2710
mov eax, dword [ebp - 8]
mov byte [eax + 0x379], 0
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x64], edx
mov ecx, 0x3e8
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x60], edx
mov ecx, 0x3c
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x3c
cdq
idiv ecx
mov dword [ebp - 0x5c], edx
mov ecx, 0x3c
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, 0x18
cdq
idiv ecx
mov dword [ebp - 0x58], edx
mov ecx, 0x18
mov eax, dword [ebp - 0x30]
cdq
idiv ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x64]
cmp eax, 0xffff
jbe 0x4e5e90
call fcn.00403be4
push eax
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xffff
jbe 0x4e5ea1
call fcn.00403be4
mov edx, dword [ebp - 0x5c]
cmp edx, 0xffff
jbe 0x4e5eb1
call fcn.00403be4
mov eax, dword [ebp - 0x58]
cmp eax, 0xffff
jbe 0x4e5ec0
call fcn.00403be4
call fcn.0040c474
fstp qword [ebp - 0x48]
wait
cmp dword [ebp - 0x30], 0
jle 0x4e5eee
push 0
mov cx, 0x3b
mov dx, 0x3b
mov ax, 0x17
call fcn.0040c474
fild dword [ebp - 0x30]
fmulp st(1)
fadd qword [ebp - 0x48]
fstp qword [ebp - 0x48]
wait
call fcn.0040c8b8
fstp qword [ebp - 0x40]
wait
xor eax, eax
mov dword [ebp - 0x54], eax
xor eax, eax
mov dword [ebp - 0x38], eax
jmp 0x4e5fc6
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004e45dc
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4e5f3c
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00405790
je 0x4e5f3c
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004e5048
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4e5ff1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x8a4], 0
jg 0x4e5ff1
cmp dword [ebp - 0x2c], 1
jne 0x4e5f66
cmp dword [ebp - 0x34], 0xa
jle 0x4e5ff1
xor eax, eax
mov dword [ebp - 0x28], eax
push 0xa
call sub.kernel32.dll_Sleep_2
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.00520b78
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 2
jne 0x4e5f6b
add dword [ebp - 0x38], 1
jno 0x4e5f93
call fcn.00403bec
mov eax, dword [ebp - 0x38]
mov ecx, 0x64
cdq
idiv ecx
test edx, edx
jne 0x4e5fb2
push ebp
call fcn.004e5630
pop ecx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jne 0x4e5ff1
cmp dword [ebp + 0x10], 0
jge 0x4e5fc6
cmp dword [ebp - 0x38], 0x186a0
jl 0x4e5fc6
xor eax, eax
mov dword [ebp - 0x38], eax
cmp dword [ebp + 0x10], 0
jl 0x4e5f06
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x2c]
jl 0x4e5f06
call fcn.0040c8b8
fsub qword [ebp - 0x40]
fcomp qword [ebp - 0x48]
wait
fnstsw ax
sahf
jb 0x4e5f06
cmp dword [ebp - 0x54], 0
jne 0x4e6001
push ebp
call fcn.004e5630
pop ecx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x4e606c
cmp dword [ebp - 0x38], 0
jg 0x4e6019
mov eax, dword [ebp - 8]
cmp byte [eax + 0x379], 0
je 0x4e603d
push 0xa
call sub.kernel32.dll_Sleep_2
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.00520b78
mov ecx, 0x3e8
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004f2694
cmp dword [ebp + 0x10], 0
jl 0x4e6058
cmp dword [ebp + 0x10], 0xa
jg 0x4e6058
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00520b78
jmp 0x4e606c
push 2
call sub.kernel32.dll_Sleep_2
mov edx, 4
mov eax, dword [ebp - 8]
call fcn.00520b78
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.004e6204
mov dword [ebp - 0x24], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e60c2
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.00405498
lea eax, [ebp - 0x20]
mov edx, dword [0x4dc4f8]
call fcn.00405b10
lea eax, [ebp - 0xc]
call fcn.00405480
lea eax, [ebp - 4]
call fcn.00405480
lea eax, [ebp + 0xc]
call fcn.00405480
ret