Function at 0x51a305
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd8
mov eax, 0x67063b
call fcn.00621369
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x51a520
xor edi, edi
mov byte [ebx + 0x4bc], 1
push edi
push dword [ebx + 4]
lea ecx, [ebx + 0x14]
call fcn.0050f03f
push 0x6c0
call fcn.006201c3
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
mov dword [esp], 0x6c0
push edi
push esi
call fcn.00638f20
add esp, 0xc
mov ecx, esi
call fcn.0053d000
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.00513a18
test eax, eax
je 0x51a3a0
mov ecx, dword [ebx + 0x6b8]
push eax
call fcn.0050c5d2
movaps xmm0, xmmword [0x6dbfa0]
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.0050a7e8
mov ecx, dword [ebx + 0x6b8]
mov eax, 0xffc6c7d2
cmp dword [ecx + 0x4f8], eax
je 0x51a3f0
mov dword [ecx + 0x4f8], eax
call fcn.0050b0d6
mov ecx, dword [ebx + 0x6b8]
xor esi, esi
inc esi
cmp dword [ecx + 0x504], esi
je 0x51a40c
mov dword [ecx + 0x504], esi
call fcn.0050b0d6
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.0051b39b
mov dword [ebp - 4], esi
push dword [eax]
mov ecx, dword [ebx + 0x6b8]
call fcn.0050c5d2
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 0x51a4b8
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 0x51a475
mov ecx, dword [ebx + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
add ecx, 0x5c8
je 0x51a4f4
cmp dword [ebx + 0x6b4], 0
je 0x51a4f4
lea eax, [ebx + 0x5dc]
push eax
call fcn.00535005
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.00511d82
mov ecx, ebx
lea eax, [ebx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x3fc]
call fcn.0050d3fd
xor eax, eax
jmp 0x51a79d
cmp esi, 0x10
jne 0x51a5e8
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 0x51a5af
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 0x51a56d
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.0050f6c4
test al, al
je 0x51a791
mov eax, dword [ebp - 0x14]
jmp 0x51a79d
cmp esi, 0x201
jne 0x51a627
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.0051a2b5
mov byte [ebx + 0x6c0], al
jmp 0x51a5c0
cmp esi, 0x202
jne 0x51a686
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 0x51a67a
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.0051a2b5
test al, al
je 0x51a67a
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebx + 0x6c0], 0
jmp 0x51a5c0
cmp esi, 0x100
jne 0x51a70a
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x51a6f6
mov ecx, dword [ebx + 0x6b4]
cmp eax, 0x1b
je 0x51a6d6
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.0051a7a5
jmp 0x51a519
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.0051a7a5
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x51a5c0
cmp esi, 0x20a
jne 0x51a768
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 0x51a6b0
mov ecx, dword [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x51a519
cmp esi, 8
jne 0x51a5c0
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 4], edi
je 0x51a5c3
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x51a5c3
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.005162a4
call fcn.00621313
ret 0xc