Function at 0x50ea68
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [0x5a5f44], 0
jne 0x50eaab
cmp dword [0x5a5f34], 0
jne 0x50eaab
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00516e88
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xfff2
jne 0x50ec0c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x7c], 0
jne 0x50ece8
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebp - 0x18]
mov eax, 0x5a8298
call fcn.0040771c
test al, al
jne 0x50eb2e
mov eax, dword [0x5a5f34]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_KillTimer
xor eax, eax
mov dword [0x5a5f34], eax
mov dword [0x5a5f38], 0xffffffff
mov dword [0x5a5f28], 0xffffffff
mov dword [0x5a5f3c], 0xffffffff
push 0
push 0xffffffffffffffff
push 0
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050a81c
jmp 0x50ece8
cmp dword [0x5a5f38], 0
jne 0x50eb62
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov ecx, 0x5a8298
mov edx, dword [ebp - 8]
call fcn.0050dc4c
mov dword [0x5a5f3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov dword [ebp - 0x20], eax
jmp 0x50eb8b
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov ecx, 0x5a8298
mov edx, dword [ebp - 8]
call fcn.0050dcac
mov dword [0x5a5f3c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5a5f28]
cmp eax, dword [0x5a5f3c]
je 0x50ebfd
mov esi, 0x5a8298
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
call fcn.0050e244
lea eax, [ebp - 0x40]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowRect
mov ecx, dword [ebp - 0x3c]
neg ecx
mov edx, dword [ebp - 0x40]
neg edx
lea eax, [ebp - 0x30]
call fcn.00407758
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowDC
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
call fcn.0050c978
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_ReleaseDC
mov eax, dword [0x5a5f3c]
mov dword [0x5a5f28], eax
jmp 0x50ece8
cmp dword [ebp - 0xc], 0xfffd
jne 0x50ec45
mov eax, dword [0x5a5f44]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_KillTimer
push 0
push 0x37
push 0xfffe
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetTimer
mov dword [0x5a5f44], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x50ece8
cmp dword [ebp - 0xc], 0xfffe
jne 0x50eccc
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_GetCursorPos
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_ScreenToClient
cmp dword [ebp - 0x18], 0
jge 0x50ec6f
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
jge 0x50ec7a
xor eax, eax
mov dword [ebp - 0x14], eax
mov dx, word [ebp - 0x14]
mov ax, word [ebp - 0x18]
call fcn.004087bc
push eax
mov ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0050d734
cmp dword [0x5a5f24], 0xffffffff
je 0x50ecc5
mov eax, dword [ebp - 4]
mov byte [eax + 0x58], 1
push 0
mov ecx, dword [0x5a5f24]
mov edx, dword [0x5a5f30]
mov eax, dword [ebp - 8]
call fcn.0050e280
mov eax, dword [ebp - 4]
mov byte [eax + 0x58], 0
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x50ece8
push 0x113
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00516e88
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4