Function at 0x51c405
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd8
mov eax, 0x672aab
call fcn.006233d9
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x51c620
xor edi, edi
mov byte [ebx + 0x4bc], 1
push edi
push dword [ebx + 4]
lea ecx, [ebx + 0x14]
call fcn.0051113f
push 0x6c0
call fcn.00622230
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
mov dword [esp], 0x6c0
push edi
push esi
call fcn.0063af90
add esp, 0xc
mov ecx, esi
call fcn.0053f100
or dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0x14]
push 1
mov dword [ebx + 0x6b8], eax
mov edx, dword [eax]
push edi
push ecx
mov ecx, eax
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x6b4]
push str.VerticalLayout
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00515b18
test eax, eax
je 0x51c4a0
mov ecx, dword [ebx + 0x6b8]
push eax
call fcn.0050e6d2
movaps xmm0, xmmword [0x6df550]
lea esi, [ebp - 0x20]
mov ecx, dword [ebx + 0x6b8]
sub esp, 0x10
mov edi, esp
movups xmmword [ebp - 0x20], xmm0
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x170]
mov ecx, dword [ebx + 0x6b8]
push 0xffffffffffffffff
call fcn.0050c8e8
mov ecx, dword [ebx + 0x6b8]
mov eax, 0xffc6c7d2
cmp dword [ecx + 0x4f8], eax
je 0x51c4f0
mov dword [ecx + 0x4f8], eax
call fcn.0050d1d6
mov ecx, dword [ebx + 0x6b8]
xor esi, esi
inc esi
cmp dword [ecx + 0x504], esi
je 0x51c50c
mov dword [ecx + 0x504], esi
call fcn.0050d1d6
mov ecx, dword [ebx + 0x6b8]
push 0
mov eax, dword [ecx]
call dword [eax + 0x190]
mov ecx, dword [ebx + 0x6b8]
push 0
push esi
mov eax, dword [ecx]
call dword [eax + 0x1ec]
mov ecx, dword [ebx + 0x6b4]
lea eax, [ebp - 0xe4]
push eax
call fcn.0051d49b
mov dword [ebp - 4], esi
push dword [eax]
mov ecx, dword [ebx + 0x6b8]
call fcn.0050e6d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0041b502
mov ecx, dword [ebx + 0x6b4]
xor edi, edi
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x51c5b8
mov eax, dword [ebx + 0x6b8]
mov ecx, dword [ebx + 0x6b4]
add ecx, 0x550
push edi
mov esi, dword [eax + 0x550]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebx + 0x6b8]
push eax
add ecx, 0x550
call dword [esi + 0x10]
mov ecx, dword [ebx + 0x6b4]
inc edi
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp edi, eax
jl 0x51c575
mov ecx, dword [ebx + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
add ecx, 0x5c8
je 0x51c5f4
cmp dword [ebx + 0x6b4], 0
je 0x51c5f4
lea eax, [ebx + 0x5dc]
push eax
call fcn.00537105
mov eax, dword [ebx + 0x6b4]
mov al, byte [eax + 0x6c5]
mov byte [ebx + 0x5ee], al
push dword [ebx + 0x6b8]
lea ecx, [ebx + 0x14]
call fcn.00513e82
mov ecx, ebx
lea eax, [ebx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x3fc]
call fcn.0050f4fd
xor eax, eax
jmp 0x51c89d
cmp esi, 0x10
jne 0x51c6e8
mov eax, dword [ebx + 0x6b4]
mov esi, eax
push 0
mov ecx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, dword [ebx + 0x6b4]
push eax
call dword [edi + 0x20]
mov ecx, dword [ebx + 0x6b4]
xorps xmm0, xmm0
add ecx, 0x550
xor esi, esi
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x14], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x51c6af
mov ecx, dword [ebx + 0x6b4]
add ecx, 0x550
push esi
mov eax, dword [ecx]
call dword [eax]
push 1
sub esp, 0x10
lea esi, [ebp - 0x50]
mov edi, esp
mov ecx, eax
mov edx, dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [edx + 0x54]
mov ecx, dword [ebx + 0x6b4]
mov esi, dword [ebp - 0x14]
add ecx, 0x550
inc esi
mov dword [ebp - 0x14], esi
mov eax, dword [ecx]
call dword [eax + 0xc]
cmp esi, eax
jl 0x51c66d
mov ecx, dword [ebx + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
lea ecx, [ebx + 0x14]
push edi
push esi
call fcn.005117c4
test al, al
je 0x51c891
mov eax, dword [ebp - 0x14]
jmp 0x51c89d
cmp esi, 0x201
jne 0x51c727
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
and dword [ebp - 0x14], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xbc]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0051c3b5
mov byte [ebx + 0x6c0], al
jmp 0x51c6c0
cmp esi, 0x202
jne 0x51c786
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
and dword [ebp - 0x14], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0xbc]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp byte [ebx + 0x6c0], 0
je 0x51c77a
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0051c3b5
test al, al
je 0x51c77a
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebx + 0x6c0], 0
jmp 0x51c6c0
cmp esi, 0x100
jne 0x51c80a
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x51c7f6
mov ecx, dword [ebx + 0x6b4]
cmp eax, 0x1b
je 0x51c7d6
lea edx, [ebp - 0x60]
mov dword [ebp - 0x60], 3
mov word [ebp - 0x4c], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x138]
mov ecx, dword [ebx + 0x6b4]
add ecx, 0x698
mov eax, dword [ecx]
call dword [eax + 8]
push eax
mov ecx, ebx
call fcn.0051c8a5
jmp 0x51c619
add ecx, 0x698
push 1
push dword [ebx + 0x6bc]
mov eax, dword [ecx]
call dword [eax + 0xc]
push dword [ebx + 0x6bc]
mov ecx, ebx
call fcn.0051c8a5
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x51c6c0
cmp esi, 0x20a
jne 0x51c868
xor eax, eax
lea edi, [ebp - 0x3c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
shr eax, 0x10
shr eax, 0xf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0x15
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x6b4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
cmp byte [ecx + 0x9ec], 0
jne 0x51c7b0
mov ecx, dword [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x51c619
cmp esi, 8
jne 0x51c6c0
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 4], edi
je 0x51c6c3
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x51c6c3
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.005183a4
call fcn.00623383
ret 0xc