Function at 0x520515
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd8
mov eax, 0x67698f
call fcn.006267e9
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x520730
xor edi, edi
mov byte [ebx + 0x4bc], 1
push edi
push dword [ebx + 4]
lea ecx, [ebx + 0x14]
call fcn.00517e7f
push 0x6c0
call fcn.00625640
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
mov dword [esp], 0x6c0
push edi
push esi
call fcn.0063e3a0
add esp, 0xc
mov ecx, esi
call fcn.0054334f
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.0051c85b
test eax, eax
je 0x5205b0
mov ecx, dword [ebx + 0x6b8]
push eax
call fcn.00515375
movaps xmm0, xmmword [0x6e2800]
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.00513588
mov ecx, dword [ebx + 0x6b8]
mov eax, 0xffc6c7d2
cmp dword [ecx + 0x4f8], eax
je 0x520600
mov dword [ecx + 0x4f8], eax
call fcn.00513e76
mov ecx, dword [ebx + 0x6b8]
xor esi, esi
inc esi
cmp dword [ecx + 0x504], esi
je 0x52061c
mov dword [ecx + 0x504], esi
call fcn.00513e76
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.005215ab
mov dword [ebp - 4], esi
push dword [eax]
mov ecx, dword [ebx + 0x6b8]
call fcn.00515375
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0041b542
mov ecx, dword [ebx + 0x6b4]
xor edi, edi
add ecx, 0x550
mov eax, dword [ecx]
call dword [eax + 0xc]
test eax, eax
jle 0x5206c8
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 0x520685
mov ecx, dword [ebx + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
add ecx, 0x5c8
je 0x520704
cmp dword [ebx + 0x6b4], 0
je 0x520704
lea eax, [ebx + 0x5dc]
push eax
call fcn.0053a4dc
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.0051abc2
mov ecx, ebx
lea eax, [ebx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x3fc]
call fcn.005161a0
xor eax, eax
jmp 0x5209ad
cmp esi, 0x10
jne 0x5207f8
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 0x5207bf
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 0x52077d
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.00518504
test al, al
je 0x5209a1
mov eax, dword [ebp - 0x14]
jmp 0x5209ad
cmp esi, 0x201
jne 0x520837
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.005204c5
mov byte [ebx + 0x6c0], al
jmp 0x5207d0
cmp esi, 0x202
jne 0x520896
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 0x52088a
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.005204c5
test al, al
je 0x52088a
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebx + 0x6c0], 0
jmp 0x5207d0
cmp esi, 0x100
jne 0x52091a
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x520906
mov ecx, dword [ebx + 0x6b4]
cmp eax, 0x1b
je 0x5208e6
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.005209b5
jmp 0x520729
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.005209b5
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5207d0
cmp esi, 0x20a
jne 0x520978
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 0x5208c0
mov ecx, dword [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x520729
cmp esi, 8
jne 0x5207d0
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 4], edi
je 0x5207d3
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x5207d3
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.0051f0e8
call fcn.00626793
ret 0xc