Function at 0x498458
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x50c720], 0
jne 0x498494
cmp dword [0x50c710], 0
jne 0x498494
push esi
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, ebx
mov eax, edi
call fcn.0049fed0
mov dword [ebp - 4], eax
cmp esi, 0xfff2
jne 0x4985c9
cmp byte [edi + 0x7c], 0
jne 0x49868f
lea eax, [ebp - 0xc]
push eax
call fcn.004074b4
lea edx, [ebp - 0xc]
mov eax, 0x50e0f4
call fcn.00406b80
test al, al
jne 0x49850e
mov eax, dword [0x50c710]
push eax
push ebx
call fcn.00407684
xor eax, eax
mov dword [0x50c710], eax
mov dword [0x50c714], 0xffffffff
mov dword [0x50c704], 0xffffffff
mov dword [0x50c718], 0xffffffff
push 0
push 0xffffffffffffffff
push 0
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.004949e0
jmp 0x49868f
cmp dword [0x50c714], 0
jne 0x498538
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [edi + 0x74]
mov ecx, 0x50e0f4
mov edx, ebx
call fcn.004977e0
mov dword [0x50c718], eax
mov esi, dword [edi + 0x74]
jmp 0x498557
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [edi + 0x78]
mov ecx, 0x50e0f4
mov edx, ebx
call fcn.00497824
mov dword [0x50c718], eax
mov esi, dword [edi + 0x78]
mov eax, dword [0x50c704]
cmp eax, dword [0x50c718]
je 0x4985ba
push esi
mov esi, 0x50e0f4
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea edx, [ebp - 0x1c]
mov eax, esi
call fcn.00497cb0
lea eax, [ebp - 0x2c]
push eax
push ebx
call fcn.004075e4
mov ecx, dword [ebp - 0x28]
neg ecx
mov edx, dword [ebp - 0x2c]
neg edx
lea eax, [ebp - 0x1c]
call fcn.00406c1c
push ebx
call fcn.004075cc
mov edi, eax
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.00496840
push edi
push ebx
call fcn.0040774c
mov eax, dword [0x50c718]
mov dword [0x50c704], eax
jmp 0x49868f
cmp esi, 0xfffd
jne 0x4985fb
mov eax, dword [0x50c720]
push eax
push ebx
call fcn.00407684
push 0
push 0x37
push 0xfffe
push ebx
call fcn.004077f4
mov dword [0x50c720], eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x49868f
cmp esi, 0xfffe
jne 0x498675
lea eax, [ebp - 0xc]
push eax
call fcn.004074b4
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.00407764
cmp dword [ebp - 0xc], 0
jge 0x498621
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jge 0x49862c
xor eax, eax
mov dword [ebp - 8], eax
mov dx, word [ebp - 8]
mov ax, word [ebp - 0xc]
call fcn.00407988
push eax
mov ecx, 1
mov edx, ebx
mov eax, edi
call fcn.004973bc
cmp dword [0x50c700], 0xffffffff
je 0x49866e
mov byte [edi + 0x58], 1
push 0
mov ecx, dword [0x50c700]
mov edx, dword [0x50c70c]
mov eax, ebx
call fcn.00497ccc
mov byte [edi + 0x58], 0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x49868f
push 0x113
lea eax, [ebp + 8]
push eax
mov ecx, 0x113
mov edx, ebx
mov eax, edi
call fcn.0049fed0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4