Function at 0x5ea005
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
lea edi, [esi + 0x50]
lea edx, [esp + 0x10]
mov ecx, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.00648da0
test al, al
jne 0x5ea073
mov ecx, dword [esi + 0x3c]
lea eax, [esp + 0x20]
push eax
call fcn.005dc9f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
call fcn.00416100
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x30]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
xor eax, eax
xor ecx, ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov al, byte [esi + 0x60]
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
cmp al, bl
je 0x5ea1e2
call dword [sym.imp.USER32.dll_GetCapture]
push eax
call fcn.006bf52d
cmp eax, dword [esi + 0x20]
je 0x5ea1e2
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call fcn.006bf52d
mov ecx, dword [esi + 0x20]
cmp eax, ecx
je 0x5ea12d
mov ecx, esi
mov byte [esi + 0x60], bl
call fcn.005c6530
mov al, byte [0x83ecc9]
test al, 1
jne 0x5ea0e5
or al, 1
mov byte [0x83ecc9], al
call fcn.005e7430
mov dword [0x84750c], eax
mov eax, dword [0x80f2b0]
mov ecx, dword [0x84750c]
push eax
call fcn.0052b6d0
test al, al
je 0x5ea101
mov ecx, esi
call fcn.005eb5e0
cmp dword [0x80f2b0], ebx
jne 0x5ea110
mov ecx, esi
call fcn.005e65c0
cmp byte [esi + 0xcc], bl
je 0x5ea1e2
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x5ea1e2
mov eax, dword [ecx + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call ebp
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 0x20]
call fcn.006c7159
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x5ea1e2
mov ecx, esi
mov byte [esi + 0x60], bl
call fcn.005c6530
mov al, byte [0x83ecc9]
test al, 1
jne 0x5ea186
or al, 1
mov byte [0x83ecc9], al
call fcn.005e7430
mov dword [0x84750c], eax
mov eax, dword [0x80f2b0]
mov ecx, dword [0x84750c]
push eax
call fcn.0052b6d0
test al, al
je 0x5ea1a2
mov ecx, esi
call fcn.005eb5e0
cmp dword [0x80f2b0], ebx
jne 0x5ea1ce
mov eax, dword [esi + 0xc8]
or edi, 0xffffffff
cmp eax, edi
je 0x5ea1ce
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0xc4]
push 1
push edx
call fcn.006bcc8d
mov dword [esi + 0xc8], edi
cmp byte [esi + 0xcc], bl
je 0x5ea1e2
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x20]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [esi + 0x60], bl
je 0x5ea25c
cmp dword [0x80f2b0], ebx
jne 0x5ea25c
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x20]
push ecx
mov eax, dword [edx + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x5ea25c
mov eax, dword [esi + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x3c]
push eax
mov dword [esp + 0x24], edx
call fcn.005f0400
push eax
mov ecx, esi
call fcn.005ea7a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret