Function at 0x4e8940
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x1395c], edi
je 0x4e8999
cmp dword [esi + 0x13968], edi
je 0x4e8999
mov eax, dword [esi + 0x13964]
mov dword [esi + 0x1396c], 1
push eax
call dword [0x56cd94]
mov ecx, dword [esi + 0x1395c]
push 0xbb8
push ecx
call dword [0x56ccd4]
cmp eax, 0x102
jne 0x4e8993
push 0x40
call dword [0x56dcd8]
mov dword [esi + 0x13968], edi
mov eax, dword [esi + 0x1395c]
cmp eax, edi
je 0x4e89b0
push eax
call dword [0x56ce34]
mov dword [esi + 0x1395c], edi
mov ebx, dword [esp + 0x20]
mov edi, dword [esi + 0x30]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
test bl, 8
je 0x4e89e1
push 0
mov ecx, ebp
call fcn.004e0fc0
mov ecx, ebp
call fcn.004e02a0
test eax, eax
je 0x4e89e1
push 0
mov ecx, ebp
call fcn.004e1280
cmp ebp, edi
jne 0x4e89fd
shr ebx, 2
and ebx, 1
pop edi
mov dword [esi + 0x34], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0xc
test edi, edi
je 0x4e8a47
mov edx, dword [esi + 0x13918]
mov ecx, edi
push edx
call fcn.004e07c0
test eax, eax
je 0x4e8a47
mov eax, dword [esi + 0x50]
push eax
call dword [0x56de64]
push 0
push 0xf
mov edi, eax
call dword [0x56cc00]
push eax
push edi
call dword [0x56cbd0]
push edi
call dword [0x56cbe8]
mov ecx, dword [esi + 0x50]
push edi
push ecx
call dword [0x56df10]
mov edi, dword [esp + 0x10]
lea edx, [esi + 0x13940]
mov dword [esi + 0x30], ebp
push edx
call dword [0x56de80]
mov ecx, 0x7fff
xor eax, eax
mov dword [esi + 0x1393c], ecx
mov dword [esi + 0x13938], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x13934], eax
cmp ecx, eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x1390c], eax
mov dword [esi + 0x13918], eax
je 0x4e8aa5
mov edx, dword [esp + 0x24]
cmp edx, eax
jl 0x4e8a97
push edx
call fcn.004e1280
mov ecx, dword [esi + 0x30]
call fcn.004e1480
mov dword [esi + 0x13918], eax
call dword [0x56df1c]
cmp eax, dword [esi + 0x50]
jne 0x4e8ab6
call dword [0x56de5c]
mov eax, dword [esi + 0x50]
push 1
push eax
call dword [0x56ded8]
test eax, eax
je 0x4e8ad3
test edi, edi
je 0x4e8ad3
push 0
mov ecx, edi
call fcn.004e1280
mov eax, ebx
and eax, 2
mov dword [esp + 0x20], eax
jne 0x4e8aec
mov ecx, dword [esi + 0x50]
push 1
push 0
push ecx
call dword [0x56de7c]
test ebp, ebp
je 0x4e8b08
mov ecx, ebp
call fcn.004dfde0
test eax, eax
jne 0x4e8b08
push 0xffffffffffffffff
mov ecx, ebp
call fcn.004e0f80
test eax, eax
je 0x4e8b2a
mov ecx, esi
call fcn.004e9460
lea edx, [esp + 0x10]
push edx
call dword [0x56df14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [0x56df18]
xor ebp, ebp
cmp edi, ebp
je 0x4e8b3d
test bl, 1
jne 0x4e8b3d
push ebp
mov ecx, edi
call fcn.004e0fc0
cmp dword [esi + 0x34], ebp
je 0x4e8b56
cmp edi, ebp
je 0x4e8b56
mov ecx, edi
call fcn.004df1c0
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
shr ebx, 2
lea edx, [esp + 0x10]
and ebx, 1
push edx
mov dword [esi + 0x34], ebx
call dword [0x56df14]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [0x56df18]
cmp dword [esp + 0x20], ebp
jne 0x4e8b8a
mov edx, dword [esi + 0x50]
push edx
call dword [0x56df0c]
cmp dword [esi + 0x13910], ebp
je 0x4e8bd5
mov ecx, dword [esi + 0x30]
cmp ecx, ebp
je 0x4e8bd5
call fcn.004e02a0
test eax, eax
je 0x4e8bd5
mov ecx, dword [esi + 0x30]
push ebp
call fcn.004e0320
cmp eax, ebp
je 0x4e8bd5
mov dword [esi + 0x13918], ebp
mov eax, dword [eax + 0x3c]
cmp eax, ebp
jne 0x4e8bc1
mov eax, 0x64
push ebp
push eax
mov eax, dword [esi + 0x50]
push 1
push eax
mov dword [esi + 0x1390c], ebp
call dword [0x56defc]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret 0xc