Function at 0x503a70
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.00454b03
push eax
push 0x5a1f4c
call fcn.004381fe
mov esi, dword [ebp + 8]
add esp, 0xc
test esi, esi
je 0x503aaf
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x184]
test eax, eax
jne 0x503aaf
cmp esi, edi
je 0x503aaf
xor eax, eax
jmp 0x503ce9
mov eax, dword [ebp + 0x10]
cmp eax, 4
jne 0x503abd
cmp dword [ebp + 0xc], 0
je 0x503aa8
mov byte [edi + 0x2c8], 0
push ebx
cmp eax, 2
je 0x503bab
cmp eax, 3
je 0x503bab
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 0x503aed
cmp eax, 5
jne 0x503b00
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 0x503b55
mov dword [ebp + 0xc], esi
cmp eax, ebx
je 0x503b18
cmp eax, 5
jne 0x503cb4
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.00473a48
test eax, eax
je 0x503cb4
push dword [ebp + 0xc]
push 0xffffffffffffffff
push esi
push ebx
push esi
push dword [ebp - 4]
jmp 0x503cde
cmp eax, ebx
je 0x503b6e
cmp eax, 5
je 0x503b6e
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x503cb4
push ecx
push 0
jmp 0x503b9b
xor ebx, ebx
lea eax, [ebp - 4]
push ebx
push 0xf000
push eax
push ebx
push ebx
push dword [0x5e4968]
push esi
push edx
push ecx
mov ecx, 0x5e4b38
call fcn.004ea9c0
test eax, eax
je 0x503cb4
push ebx
push dword [ebp - 4]
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x354]
jmp 0x503ce8
xor ebx, ebx
lea ecx, [edi + 0x1e4]
inc ebx
push ebx
call fcn.004ee909
push 0
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.004238e2
push dword [ebp + 0x10]
mov esi, dword [edi]
push edi
call fcn.00454b03
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.004ee89a
mov esi, eax
test esi, esi
je 0x503c06
push dword [esi + 0x20]
mov ecx, edi
call fcn.00506b42
cmp dword [ebp + 8], 0
je 0x503c55
push ebx
lea ecx, [edi + 0x1e4]
call fcn.004ee981
test eax, eax
mov eax, dword [ebp + 8]
je 0x503c24
mov ecx, dword [eax + 4]
jmp 0x503c27
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x503c55
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 0x503c96
mov edx, dword [edi]
mov ecx, edi
push ebx
push 0
push ebx
call dword [edx + 0x224]
jmp 0x503c96
mov ecx, edi
test esi, esi
je 0x503cb8
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.00473911
push 5
mov ecx, edi
call fcn.004238e2
mov eax, dword [esi]
mov ecx, esi
push edi
call dword [eax + 0x274]
mov ecx, eax
cmp ecx, edi
jne 0x503ca6
mov esi, ebx
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x268]
mov eax, esi
jmp 0x503ce8
test ecx, ecx
je 0x503cb4
mov eax, dword [ecx]
push 0
call dword [eax + 0x268]
xor eax, eax
jmp 0x503ce8
push 5
call fcn.004238e2
cmp dword [ebp + 0xc], 0
jne 0x503cce
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