Function at 0x4ec97f
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
push edi
call fcn.004504e9
push eax
push 0x56a7fc
call fcn.00429ca4
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x4ec9be
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x184]
test eax, eax
jne 0x4ec9be
cmp esi, edi
je 0x4ec9be
xor eax, eax
jmp 0x4ecbf8
mov eax, dword [ebp + 0x10]
cmp eax, 4
jne 0x4ec9cc
cmp dword [ebp + 0xc], 0
je 0x4ec9b7
mov byte [edi + 0x2c8], 0
push ebx
cmp eax, 2
je 0x4ecaba
cmp eax, 3
je 0x4ecaba
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0xc], ecx
inc ebx
mov dword [ebp - 8], edx
cmp eax, ebx
je 0x4ec9fc
cmp eax, 5
jne 0x4eca0f
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
test esi, esi
jne 0x4eca64
mov dword [ebp + 0xc], esi
cmp eax, ebx
je 0x4eca27
cmp eax, 5
jne 0x4ecbc3
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00452b50
test eax, eax
je 0x4ecbc3
push dword [ebp + 0xc]
push 0xffffffffffffffff
push esi
push ebx
push esi
push dword [ebp - 4]
jmp 0x4ecbed
cmp eax, ebx
je 0x4eca7d
cmp eax, 5
je 0x4eca7d
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4ecbc3
push ecx
push 0
jmp 0x4ecaaa
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push 0xf000
push eax
push ebx
push ebx
push dword [0x5b67a4]
push esi
push edx
push ecx
mov ecx, 0x5b67e4
call fcn.004be67f
test eax, eax
je 0x4ecbc3
push ebx
push dword [ebp - 4]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x354]
jmp 0x4ecbf7
xor ebx, ebx
lea ecx, [edi + 0x1e4]
inc ebx
push ebx
call fcn.004c25c8
push 0
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.00417328
push dword [ebp + 0x10]
mov esi, dword [edi]
push edi
call fcn.004504e9
pop ecx
push eax
mov ecx, edi
call dword [esi + 0x308]
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x1f8]
call dword [eax + 0x1e0]
lea ecx, [edi + 0x1e4]
call fcn.004c2559
mov esi, eax
test esi, esi
je 0x4ecb15
push dword [esi + 0x20]
mov ecx, edi
call fcn.004efa32
cmp dword [ebp + 8], 0
je 0x4ecb64
push ebx
lea ecx, [edi + 0x1e4]
call fcn.004c2640
test eax, eax
mov eax, dword [ebp + 8]
je 0x4ecb33
mov ecx, dword [eax + 4]
jmp 0x4ecb36
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4ecb64
mov eax, dword [edi]
push 0
push ebx
push 2
push ecx
mov ecx, edi
call dword [eax + 0x34c]
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x4ecba5
mov edx, dword [edi]
mov ecx, edi
push ebx
push 0
push ebx
call dword [edx + 0x224]
jmp 0x4ecba5
mov ecx, edi
test esi, esi
je 0x4ecbc7
mov eax, dword [edi]
push ebx
call dword [eax + 0x1f0]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x384]
push 0
push esi
push edi
mov ecx, edi
call fcn.004529f5
push 5
mov ecx, edi
call fcn.00417328
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x274]
mov ecx, eax
cmp ecx, edi
jne 0x4ecbb5
mov esi, ebx
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x268]
mov eax, esi
jmp 0x4ecbf7
test ecx, ecx
je 0x4ecbc3
mov eax, dword [ecx]
push 0
call dword [eax + 0x268]
xor eax, eax
jmp 0x4ecbf7
push 5
call fcn.00417328
cmp dword [ebp + 0xc], 0
jne 0x4ecbdd
lea eax, [edi + 0x218]
mov dword [ebp + 0xc], eax
push 0
push 0xffffffffffffffff
push 0
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x1f8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x200]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc