Function at 0x51a798
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd8
mov eax, 0x670b7b
call fcn.00621869
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x51a9b3
xor edi, edi
mov byte [ebx + 0x4bc], 1
push edi
push dword [ebx + 4]
lea ecx, [ebx + 0x14]
call fcn.0050f4cf
push 0x6c0
call fcn.006206b8
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
mov dword [esp], 0x6c0
push edi
push esi
call fcn.00639410
add esp, 0xc
mov ecx, esi
call fcn.0053d48f
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.00513eab
test eax, eax
je 0x51a833
mov ecx, dword [ebx + 0x6b8]
push eax
call fcn.0050ca62
movaps xmm0, xmmword [0x6dd020]
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.0050ac78
mov ecx, dword [ebx + 0x6b8]
mov eax, 0xffc6c7d2
cmp dword [ecx + 0x4f8], eax
je 0x51a883
mov dword [ecx + 0x4f8], eax
call fcn.0050b566
mov ecx, dword [ebx + 0x6b8]
xor esi, esi
inc esi
cmp dword [ecx + 0x504], esi
je 0x51a89f
mov dword [ecx + 0x504], esi
call fcn.0050b566
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.0051b82b
mov dword [ebp - 4], esi
push dword [eax]
mov ecx, dword [ebx + 0x6b8]
call fcn.0050ca62
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 0x51a94b
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 0x51a908
mov ecx, dword [ebx + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
add ecx, 0x5c8
je 0x51a987
cmp dword [ebx + 0x6b4], 0
je 0x51a987
lea eax, [ebx + 0x5dc]
push eax
call fcn.00535495
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.00512212
mov ecx, ebx
lea eax, [ebx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x3fc]
call fcn.0050d88d
xor eax, eax
jmp 0x51ac30
cmp esi, 0x10
jne 0x51aa7b
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 0x51aa42
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 0x51aa00
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.0050fb54
test al, al
je 0x51ac24
mov eax, dword [ebp - 0x14]
jmp 0x51ac30
cmp esi, 0x201
jne 0x51aaba
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.0051a748
mov byte [ebx + 0x6c0], al
jmp 0x51aa53
cmp esi, 0x202
jne 0x51ab19
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 0x51ab0d
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0051a748
test al, al
je 0x51ab0d
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebx + 0x6c0], 0
jmp 0x51aa53
cmp esi, 0x100
jne 0x51ab9d
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x51ab89
mov ecx, dword [ebx + 0x6b4]
cmp eax, 0x1b
je 0x51ab69
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.0051ac38
jmp 0x51a9ac
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.0051ac38
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x51aa53
cmp esi, 0x20a
jne 0x51abfb
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 0x51ab43
mov ecx, dword [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x51a9ac
cmp esi, 8
jne 0x51aa53
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 4], edi
je 0x51aa56
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x51aa56
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.00516737
call fcn.00621813
ret 0xc