Function at 0x1014177
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
mov ecx, dword [0x103ecfc]
test ecx, ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_IntersectRect]
push esi
mov esi, dword [sym.imp.USER32.dll_GetCursorPos]
push edi
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x1014272
mov eax, dword [ecx + 0x40]
mov edx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
and dword [ebp - 0x20], 0
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x14], edx
call fcn.010194e8
lea eax, [ebp - 0x30]
push eax
mov eax, dword [0x103ecfc]
push dword [eax + 0x20]
call edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
push eax
call ebx
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x103ecfc]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.010127a0
cmp eax, dword [0x103ecfc]
jne 0x1014226
push dword [ebp - 0xc]
lea eax, [ebp - 0x30]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x1014272
mov ecx, dword [0x103d74c]
mov eax, dword [ecx]
push 0x103edc8
push dword [0x103ecfc]
call dword [eax + 0x20]
and dword [0x103ecfc], 0
cmp dword [0x103e904], 0
jne 0x1014272
mov eax, dword [0x103ee28]
push dword [eax + 0xf8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1014272
mov ecx, dword [0x103ee28]
add ecx, 0xd8
call fcn.01009634
cmp dword [0x103e874], 0
je 0x1014374
lea eax, [ebp - 0x10]
push eax
call esi
mov esi, dword [0x103ed00]
test esi, esi
je 0x1014374
mov eax, dword [esi + 0x40]
mov ecx, dword [eax + 0x30]
mov eax, dword [eax + 0x2c]
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x24], ecx
push eax
mov ecx, esi
call fcn.010194e8
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x20]
call edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
push eax
call ebx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.010127a0
cmp eax, esi
jne 0x1014352
push dword [ebp - 4]
lea eax, [ebp - 0x40]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1014352
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x1014374
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.01018c98
xor eax, eax
cmp dword [0x103e8fc], eax
jne 0x1014374
cmp dword [0x103e874], eax
je 0x1014374
mov ecx, dword [0x103d74c]
cmp dword [ecx + 8], eax
je 0x1014374
push dword [ebp - 0x14]
mov ecx, esi
push dword [ebp - 0x18]
call fcn.0101a1dd
jmp 0x1014374
cmp dword [0x103e874], 0
je 0x1014369
cmp dword [0x103e804], 0
jne 0x1014369
call fcn.010129fb
or ecx, 0xffffffff
mov eax, ecx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ecx
pop edi
pop esi
pop ebx
leave
ret