Function at 0x491d3b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
push esi
call fcn.00421c23
push eax
push 0x540000
call fcn.0041cd8c
mov ebx, dword [ebp + 8]
xor edi, edi
add esp, 0xc
cmp ebx, edi
je 0x491d7f
mov eax, dword [ebx]
push esi
mov ecx, ebx
call dword [eax + 0x15c]
test eax, eax
jne 0x491d7f
cmp ebx, esi
je 0x491d7f
xor eax, eax
jmp 0x491fad
mov ebx, dword [ebp + 0x10]
cmp ebx, 4
jne 0x491d8c
cmp dword [ebp + 0xc], edi
je 0x491d78
mov byte [esi + 0x294], 0
cmp ebx, 2
je 0x491e6e
cmp ebx, 3
je 0x491e6e
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
cmp ebx, 1
je 0x491db5
cmp ebx, 5
jne 0x491dbf
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov dword [ebp - 4], edi
cmp dword [ebp + 8], edi
jne 0x491e12
mov dword [ebp + 8], edi
cmp ebx, 1
je 0x491dd4
cmp ebx, 5
jne 0x491d78
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
mov ecx, esi
push dword [ebp - 0x14]
call fcn.0049bddd
test eax, eax
je 0x491d78
push dword [ebp + 8]
mov eax, dword [esi]
push 0xffffffffffffffff
push edi
push 1
push edi
push dword [ebp - 4]
mov ecx, esi
call dword [eax + 0x1d8]
jmp 0x491fad
cmp ebx, 1
je 0x491e2b
cmp ebx, 5
je 0x491e2b
cmp dword [ebp + 0xc], edi
je 0x491d78
push dword [ebp + 0xc]
push edi
jmp 0x491e5c
push edi
push 0xf000
lea eax, [ebp - 4]
push eax
push edi
push edi
push dword [0x57845c]
mov ecx, 0x579e78
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebp - 0xc]
call fcn.004a8a2e
test eax, eax
je 0x491d78
push edi
push dword [ebp - 4]
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x330]
jmp 0x491fad
lea ebx, [esi + 0x1b4]
push 1
mov ecx, ebx
call fcn.004c6378
push edi
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.00413c2c
push dword [ebp + 0x10]
mov edi, dword [esi]
push esi
call fcn.00421c23
pop ecx
push eax
mov ecx, esi
call dword [edi + 0x2e4]
push dword [esi + 0x1c8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1b8]
mov ecx, ebx
call fcn.004c63f3
mov edi, eax
test edi, edi
je 0x491ec4
push dword [edi + 0x20]
mov ecx, esi
call fcn.00490fd2
cmp dword [ebp + 8], 0
je 0x491f24
push 1
mov ecx, ebx
call fcn.004c63c1
test eax, eax
mov eax, dword [ebp + 8]
je 0x491edf
mov eax, dword [eax + 4]
jmp 0x491ee2
mov eax, dword [eax + 8]
test eax, eax
je 0x491f24
mov edx, dword [esi]
push 0
push 1
push 2
push eax
mov ecx, esi
call dword [edx + 0x328]
mov edi, eax
neg edi
sbb edi, edi
neg edi
je 0x491f11
mov eax, dword [esi]
push 1
push 0
push 1
mov ecx, esi
call dword [eax + 0x1fc]
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x240]
mov eax, edi
jmp 0x491fad
mov ecx, esi
test edi, edi
je 0x491f80
mov eax, dword [esi]
push 1
call dword [eax + 0x1c8]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x364]
push 0
push edi
push esi
mov ecx, esi
call fcn.0049c000
push 5
mov ecx, esi
call fcn.00413c2c
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 0x24c]
cmp eax, esi
jne 0x491f67
xor edi, edi
inc edi
jmp 0x491f11
test eax, eax
je 0x491d78
mov edx, dword [eax]
push 0
mov ecx, eax
call dword [edx + 0x240]
jmp 0x491d78
push 5
call fcn.00413c2c
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x491f94
lea eax, [esi + 0x1e8]
mov edx, dword [esi]
push 0
push 0xffffffffffffffff
push 0
push 1
push eax
push dword [esi + 0x1c8]
mov ecx, esi
call dword [edx + 0x1d8]
pop edi
pop esi
pop ebx
leave
ret 0xc