Function at 0x5ecaa0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
cmp edi, 1
jne 0x5ecacb
push dword [ebx + 4]
call fcn.005eb8ab
mov dword [ebx + 0x2ac], eax
xor eax, eax
jmp 0x5ecd70
cmp edi, 0x10
jne 0x5ecb61
mov eax, dword [ebx + 0x2a8]
mov esi, eax
push 0
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0x20]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
mov ecx, dword [ebx + 0x2a8]
push eax
call dword [edi + 0x1c]
mov ecx, dword [ebx + 0x2a8]
mov ebx, dword [ecx]
call dword [ebx + 0xc4]
mov ecx, dword [ebp - 4]
sub esp, 0x10
mov esi, eax
mov edi, esp
mov ecx, dword [ecx + 0x2a8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebx + 0xc8]
mov ebx, dword [ebp - 4]
push 0
mov ecx, dword [ebx + 0x2a8]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, eax
call fcn.005d36f8
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x18]
push esi
push edi
call fcn.005d0813
test al, al
je 0x5ecd62
mov eax, dword [ebp - 0xc]
jmp 0x5ecd70
cmp edi, 0x200
jne 0x5ecc1d
cmp byte [ebx + 0x2c8], 0
je 0x5ecb39
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0x18]
call fcn.005d0433
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 4]
lea ecx, [ebx + 0x18]
push dword [ebp - 8]
call fcn.005cfcb3
mov esi, eax
test esi, esi
je 0x5ecb39
mov edx, dword [esi]
mov ecx, esi
push str.UIButton
call dword [edx + 8]
push eax
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x5ecb39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x398]
test al, al
je 0x5ecb39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
cmp eax, 1
je 0x5ecc0e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
cmp eax, 2
je 0x5ecc0e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
cmp eax, 3
jne 0x5ecb39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1a8]
jmp 0x5ecb39
cmp edi, 0x202
jne 0x5ecceb
cmp byte [ebx + 0x2c8], 0
je 0x5ecb39
and dword [ebp - 8], 0
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
mov byte [ebx + 0x2c8], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0x18]
call fcn.005d0433
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 4]
lea ecx, [ebx + 0x18]
push dword [ebp - 8]
call fcn.005cfcb3
mov esi, eax
test esi, esi
je 0x5ecb39
mov edx, dword [esi]
mov ecx, esi
push str.UIButton
call dword [edx + 8]
push eax
call fcn.0063cf0b
pop ecx
pop ecx
test eax, eax
jne 0x5ecb39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x398]
test al, al
je 0x5ecb39
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
cmp eax, 1
je 0x5eccd9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
cmp eax, 2
je 0x5eccd9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x174]
cmp eax, 3
jne 0x5ecb39
push 0
push 0
push 8
mov ecx, ebx
call fcn.005c1d01
jmp 0x5ecb39
cmp edi, 0x20a
jne 0x5ecd3d
xor eax, eax
mov byte [ebp - 0x30], 0
push 8
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
shr eax, 0xf
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2c], 0x18
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x2ac]
lea edx, [ebp - 0x30]
add ecx, 8
mov dword [ebp - 0x24], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x1e0]
jmp 0x5ecac4
cmp edi, 8
jne 0x5ecb39
mov esi, dword [ebp + 0xc]
cmp dword [ebx + 4], esi
je 0x5ecb3c
push 0
push 0
push 0x10
call fcn.005c1d01
jmp 0x5ecb3c
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push edi
call fcn.005c195a
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc