Function at 0x520694
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push 0xd8
mov eax, 0x676b1f
call fcn.00626979
mov ebx, ecx
mov esi, dword [ebp + 8]
cmp esi, 1
jne 0x5208af
xor edi, edi
mov byte [ebx + 0x4bc], 1
push edi
push dword [ebx + 4]
lea ecx, [ebx + 0x14]
call fcn.00517ffc
push 0x6c0
call fcn.006257ca
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
mov dword [esp], 0x6c0
push edi
push esi
call fcn.0063e4e0
add esp, 0xc
mov ecx, esi
call fcn.005434cf
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.0051c9d8
test eax, eax
je 0x52072f
mov ecx, dword [ebx + 0x6b8]
push eax
call fcn.005154f2
movaps xmm0, xmmword [0x6e3820]
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.00513708
mov ecx, dword [ebx + 0x6b8]
mov eax, 0xffc6c7d2
cmp dword [ecx + 0x4f8], eax
je 0x52077f
mov dword [ecx + 0x4f8], eax
call fcn.00513ff6
mov ecx, dword [ebx + 0x6b8]
xor esi, esi
inc esi
cmp dword [ecx + 0x504], esi
je 0x52079b
mov dword [ecx + 0x504], esi
call fcn.00513ff6
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.0052172b
mov dword [ebp - 4], esi
push dword [eax]
mov ecx, dword [ebx + 0x6b8]
call fcn.005154f2
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 0x520847
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 0x520804
mov ecx, dword [ebx + 0x6b4]
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, eax
add ecx, 0x5c8
je 0x520883
cmp dword [ebx + 0x6b4], 0
je 0x520883
lea eax, [ebx + 0x5dc]
push eax
call fcn.0053a65c
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.0051ad3f
mov ecx, ebx
lea eax, [ebx + 0x10]
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
lea ecx, [ebx + 0x3fc]
call fcn.0051631d
xor eax, eax
jmp 0x520b2c
cmp esi, 0x10
jne 0x520977
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 0x52093e
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 0x5208fc
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.00518681
test al, al
je 0x520b20
mov eax, dword [ebp - 0x14]
jmp 0x520b2c
cmp esi, 0x201
jne 0x5209b6
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.00520644
mov byte [ebx + 0x6c0], al
jmp 0x52094f
cmp esi, 0x202
jne 0x520a15
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 0x520a09
push dword [ebp - 0x14]
mov ecx, ebx
push dword [ebp - 0x18]
call fcn.00520644
test al, al
je 0x520a09
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov byte [ebx + 0x6c0], 0
jmp 0x52094f
cmp esi, 0x100
jne 0x520a99
mov eax, dword [ebp + 0xc]
cmp eax, 0xd
je 0x520a85
mov ecx, dword [ebx + 0x6b4]
cmp eax, 0x1b
je 0x520a65
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.00520b34
jmp 0x5208a8
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.00520b34
push 0
push 0
push 8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x52094f
cmp esi, 0x20a
jne 0x520af7
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 0x520a3f
mov ecx, dword [ebx + 0x6b8]
mov eax, dword [ecx]
call dword [eax + 0x138]
jmp 0x5208a8
cmp esi, 8
jne 0x52094f
mov edi, dword [ebp + 0xc]
cmp dword [ebx + 4], edi
je 0x520952
push 0
push 0
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x520952
push dword [ebp + 0x10]
mov ecx, ebx
push edi
push esi
call fcn.0051f267
call fcn.00626923
ret 0xc