Function at 0x4981f0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508d30
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5675c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
cmp edi, 1
jne 0x498462
lea edi, [esi + 0x14]
push 1
mov ecx, edi
mov dword [ebp - 0xb8], edi
call fcn.004561c0
push 0
push dword [esi + 4]
mov ecx, edi
call fcn.0044fe30
push 0x6c0
call fcn.004ff0c5
add esp, 4
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x498272
mov ecx, eax
call fcn.0048d140
mov ecx, eax
jmp 0x498274
xor ecx, ecx
push 1
mov dword [esi + 0x6b8], ecx
mov eax, dword [ecx]
push 0
push edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0x20]
mov ecx, dword [esi + 0x6b4]
push str.VerticalLayout
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0044ebc0
test eax, eax
je 0x4982b4
mov ecx, dword [esi + 0x6b8]
push eax
call fcn.0045a1a0
push 1
push 1
push 1
push 1
lea ecx, [ebp - 0x20]
call fcn.0044acb0
mov edx, dword [esi + 0x6b8]
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
mov edi, dword [edx]
movups xmmword [ecx], xmm0
mov ecx, edx
call dword [edi + 0x170]
mov ecx, dword [esi + 0x6b8]
push 0xffffffffffffffff
call fcn.0045ce30
mov ecx, dword [esi + 0x6b8]
push 0xffc6c7d2
call fcn.0045cea0
mov ecx, dword [esi + 0x6b8]
push 1
call fcn.0045cee0
mov ecx, dword [esi + 0x6b8]
push 0
mov eax, dword [ecx]
call dword [eax + 0x190]
mov ecx, dword [esi + 0x6b8]
push 0
push 1
mov eax, dword [ecx]
call dword [eax + 0x1ec]
mov ecx, dword [esi + 0x6b4]
lea eax, [ebp - 0xb4]
push eax
call fcn.00497f60
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.0044b260
mov ecx, dword [esi + 0x6b8]
push eax
call fcn.0045a1a0
lea ecx, [ebp - 0xb4]
mov dword [ebp - 4], 0xffffffff
call fcn.0044af90
mov ecx, dword [esi + 0x6b4]
add ecx, 0x550
mov dword [ebp - 0xc0], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jle 0x4983e8
nop word [eax + eax]
mov eax, dword [esi + 0x6b8]
mov ecx, dword [esi + 0x6b4]
push dword [ebp - 0xc0]
add ecx, 0x550
mov edi, dword [eax + 0x550]
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov ecx, dword [esi + 0x6b8]
push eax
add ecx, 0x550
call dword [edi + 0x10]
mov ecx, dword [esi + 0x6b4]
mov edi, dword [ebp - 0xc0]
add ecx, 0x550
inc edi
mov dword [ebp - 0xc0], edi
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp edi, eax
jl 0x498390
mov ecx, dword [esi + 0x6b4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, eax
call fcn.0044fd60
mov ecx, dword [ebp - 0xb8]
mov edi, eax
call fcn.0044fd60
push eax
mov ecx, edi
call fcn.004679f0
mov eax, dword [esi + 0x6b4]
mov edi, dword [ebp - 0xb8]
mov ecx, edi
mov al, byte [eax + 0x6c5]
mov byte [ebp - 0xc0], al
push dword [ebp - 0xc0]
call fcn.0044fd60
mov ecx, eax
call fcn.00468d20
push dword [esi + 0x6b8]
mov ecx, edi
call fcn.0044e700
lea eax, [esi + 0x10]
mov ecx, edi
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0044e2c0
xor eax, eax
jmp 0x49876b
cmp edi, 0x10
jne 0x498515
mov eax, dword [esi + 0x6b4]
mov edi, dword [esi + 0x6b4]
mov ecx, edi
push 0
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [eax + 0x24]
call eax
push eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [esi + 0x6b4]
push eax
mov eax, dword [ebp - 0xb8]
call dword [eax + 0x20]
mov ecx, dword [esi + 0x6b4]
xor edi, edi
add ecx, 0x550
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
jle 0x4984ff
nop dword [eax + eax]
mov ecx, dword [esi + 0x6b4]
add ecx, 0x550
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
push 1
sub esp, 0x10
xorps xmm0, xmm0
mov ecx, esp
mov edx, dword [eax]
movups xmmword [ecx], xmm0
mov ecx, eax
call dword [edx + 0x54]
mov ecx, dword [esi + 0x6b4]
inc edi
add ecx, 0x550
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
cmp edi, eax
jl 0x4984c0
mov ecx, dword [esi + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov edi, dword [ebp + 8]
jmp 0x498730
cmp edi, 0x201
jne 0x498572
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push eax
mov dword [ebp - 0xb8], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xbc]
push eax
lea ecx, [esi + 0x14]
call fcn.0044fca0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0xb8]
mov ecx, esi
push dword [ebp - 0xbc]
call fcn.004989f0
mov byte [esi + 0x6c0], al
jmp 0x498730
cmp edi, 0x202
jne 0x4985ea
lea eax, [ebp - 0xbc]
mov dword [ebp - 0xbc], 0
push eax
mov dword [ebp - 0xb8], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xbc]
push eax
lea ecx, [esi + 0x14]
call fcn.0044fca0
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [esi + 0x6c0], 0
je 0x4985de
push dword [ebp - 0xb8]
mov ecx, esi
push dword [ebp - 0xbc]
call fcn.004989f0
test al, al
je 0x4985de
push 0
push 0
push 8
mov ecx, esi
call fcn.00458050
mov byte [esi + 0x6c0], 0
jmp 0x498730
cmp edi, 0x100
jne 0x498673
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x498666
mov ecx, dword [esi + 0x6b4]
cmp eax, 0x1b
je 0x498642
mov dword [ebp - 0x30], 3
lea edx, [ebp - 0x30]
mov word [ebp - 0x1c], ax
mov eax, dword [ecx]
push edx
call dword [eax + 0x138]
mov ecx, dword [esi + 0x6b4]
add ecx, 0x698
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push eax
mov ecx, esi
call fcn.00497d20
xor eax, eax
jmp 0x49876b
mov eax, dword [ecx + 0x698]
add ecx, 0x698
push 1
push dword [esi + 0x6bc]
call dword [eax + 0xc]
push dword [esi + 0x6bc]
mov ecx, esi
call fcn.00497d20
push 0
push 0
push 8
mov ecx, esi
jmp 0x49872b
cmp edi, 0x20a
jne 0x498718
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
shr eax, 0x10
shr eax, 0xf
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe4], 0x15
mov dword [ebp - 0xc8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x6b4]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
cmp byte [ecx + 0x9ec], 0
je 0x498706
mov eax, dword [ecx]
call dword [eax + 0x138]
mov ecx, dword [esi + 0x6b4]
add ecx, 0x698
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
push eax
mov ecx, esi
call fcn.00497d20
xor eax, eax
jmp 0x49876b
mov ecx, dword [esi + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0x138]
xor eax, eax
jmp 0x49876b
cmp edi, 8
jne 0x498730
mov eax, dword [ebp + 0xc]
cmp dword [esi + 4], eax
je 0x498733
push 0
push 0
push 0x10
call fcn.00458050
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], 0
push ecx
push dword [ebp + 0x10]
lea ecx, [esi + 0x14]
push eax
push edi
call fcn.00450390
test al, al
je 0x49875d
mov eax, dword [ebp - 0xc4]
jmp 0x49876b
push dword [ebp + 0x10]
mov ecx, esi
push dword [ebp + 0xc]
push edi
call fcn.00457d40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ff7f3
mov esp, ebp
pop ebp
ret 0xc