Function at 0x504a46
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
push edi
call fcn.00455870
push eax
push 0x5a2ff4
call fcn.00438bac
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x504a85
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x184]
test eax, eax
jne 0x504a85
cmp esi, edi
je 0x504a85
xor eax, eax
jmp 0x504cbf
mov eax, dword [ebp + 0x10]
cmp eax, 4
jne 0x504a93
cmp dword [ebp + 0xc], 0
je 0x504a7e
mov byte [edi + 0x2c8], 0
push ebx
cmp eax, 2
je 0x504b81
cmp eax, 3
je 0x504b81
xor ebx, ebx
xor ecx, ecx
xor edx, edx
mov dword [ebp - 0xc], ecx
inc ebx
mov dword [ebp - 8], edx
cmp eax, ebx
je 0x504ac3
cmp eax, 5
jne 0x504ad6
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 0x10]
and dword [ebp - 4], 0
test esi, esi
jne 0x504b2b
mov dword [ebp + 0xc], esi
cmp eax, ebx
je 0x504aee
cmp eax, 5
jne 0x504c8a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.0047500e
test eax, eax
je 0x504c8a
push dword [ebp + 0xc]
push 0xffffffffffffffff
push esi
push ebx
push esi
push dword [ebp - 4]
jmp 0x504cb4
cmp eax, ebx
je 0x504b44
cmp eax, 5
je 0x504b44
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x504c8a
push ecx
push 0
jmp 0x504b71
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push 0xf000
push eax
push ebx
push ebx
push dword [0x5e5980]
push esi
push edx
push ecx
mov ecx, 0x5e5b50
call fcn.004eb953
test eax, eax
je 0x504c8a
push ebx
push dword [ebp - 4]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x354]
jmp 0x504cbe
xor ebx, ebx
lea ecx, [edi + 0x1e4]
inc ebx
push ebx
call fcn.004ef89c
push 0
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.004241ce
push dword [ebp + 0x10]
mov esi, dword [edi]
push edi
call fcn.00455870
pop ecx
push eax
mov ecx, edi
call dword [esi + 0x308]
mov eax, dword [edi]
mov ecx, edi
push dword [edi + 0x1f8]
call dword [eax + 0x1e0]
lea ecx, [edi + 0x1e4]
call fcn.004ef82d
mov esi, eax
test esi, esi
je 0x504bdc
push dword [esi + 0x20]
mov ecx, edi
call fcn.00507af4
cmp dword [ebp + 8], 0
je 0x504c2b
push ebx
lea ecx, [edi + 0x1e4]
call fcn.004ef914
test eax, eax
mov eax, dword [ebp + 8]
je 0x504bfa
mov ecx, dword [eax + 4]
jmp 0x504bfd
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x504c2b
mov eax, dword [edi]
push 0
push ebx
push 2
push ecx
mov ecx, edi
call dword [eax + 0x34c]
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x504c6c
mov edx, dword [edi]
mov ecx, edi
push ebx
push 0
push ebx
call dword [edx + 0x224]
jmp 0x504c6c
mov ecx, edi
test esi, esi
je 0x504c8e
mov eax, dword [edi]
push ebx
call dword [eax + 0x1f0]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x384]
push 0
push esi
push edi
mov ecx, edi
call fcn.00474eb3
push 5
mov ecx, edi
call fcn.004241ce
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x274]
mov ecx, eax
cmp ecx, edi
jne 0x504c7c
mov esi, ebx
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x268]
mov eax, esi
jmp 0x504cbe
test ecx, ecx
je 0x504c8a
mov eax, dword [ecx]
push 0
call dword [eax + 0x268]
xor eax, eax
jmp 0x504cbe
push 5
call fcn.004241ce
cmp dword [ebp + 0xc], 0
jne 0x504ca4
lea eax, [edi + 0x218]
mov dword [ebp + 0xc], eax
push 0
push 0xffffffffffffffff
push 0
push ebx
push dword [ebp + 0xc]
push dword [edi + 0x1f8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x200]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc