Function at 0x4681d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x5d6024]
xor eax, esp
mov dword [esp + 0x44], eax
cmp dword [ebp + 0x1c], 0
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, ecx
mov dword [esp + 0xc], esi
mov ecx, dword [ebp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x18], ecx
jne 0x4685b0
mov esi, dword [ebp + 0xc]
cmp esi, 0x200
jne 0x4682ee
mov eax, dword [edi + 0x1b4]
lea ecx, [edi + 0x1b4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x46846c
cmp byte [edi + 0x210], al
je 0x4682d8
lea eax, [esp + 0x30]
xorps xmm0, xmm0
push eax
push dword [edi + 4]
movaps xmmword [esp + 0x38], xmm0
movlpd qword [esp + 0x18], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x14]
lea eax, [esp + 0x34]
push dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x46846c
mov eax, dword [edi + 4]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x10
mov dword [esp + 0x28], 2
mov dword [esp + 0x30], 0xffffffff
call dword [sym.imp.USER32.dll_TrackMouseEvent]
cmp byte [edi + 0x211], 0
jne 0x4682c2
push 0x401
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0xc]
mov byte [edi + 0x211], 1
mov dword [ecx], 0
jmp 0x468584
mov ecx, dword [esp + 0xc]
mov byte [edi + 0x210], 1
mov dword [ecx], 0
jmp 0x468584
cmp esi, 0x2a3
jne 0x46837e
mov eax, dword [edi + 0x1b4]
lea ecx, [edi + 0x1b4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x46846c
cmp byte [edi + 0x212], al
jne 0x46846c
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x14], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ScreenToClient]
push 0x401
push 0
push 0
push dword [edi + 4]
mov word [edi + 0x210], 0
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [ecx], 0
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00521461
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x31a
jne 0x4683ae
sub esp, 0x10
mov ecx, edi
call fcn.00468990
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00521461
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 0x85
jne 0x4683e0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
sub esp, 0xc
mov ecx, edi
call fcn.00468be0
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
je 0x468584
jmp 0x468396
cmp esi, 0x83
jne 0x468455
mov eax, dword [edi + 0x1b4]
lea ecx, [edi + 0x1b4]
mov eax, dword [eax + 4]
call eax
test al, al
jne 0x46846c
xor esi, esi
cmp dword [ebp + 0x10], esi
je 0x468437
mov eax, dword [edi + 0x18]
test eax, eax
je 0x468422
push dword [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push dword [edi + 4]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_CallWindowProcW]
mov esi, eax
push dword [esp + 0x18]
mov ecx, edi
call fcn.00468fe0
test al, al
mov ecx, 0x300
cmovne esi, ecx
mov ecx, dword [esp + 0xc]
mov eax, 1
mov dword [ecx], esi
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00521461
mov esp, ebp
pop ebp
ret 0x18
cmp esi, 8
jne 0x46847b
push 0x401
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ecx, dword [esp + 0xc]
mov dword [ecx], 0
jmp 0x468584
cmp esi, 7
je 0x46845a
cmp esi, 0x115
je 0x4684d7
cmp esi, 0x20a
jne 0x4684bf
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push ecx
push dword [ebp + 0x10]
push ecx
mov ecx, edi
call fcn.004695c0
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
je 0x468584
jmp 0x468396
cmp esi, 0x100
je 0x4684d7
cmp esi, 0x101
je 0x4684d7
cmp esi, 0x102
jne 0x468504
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
sub esp, 0xc
mov ecx, edi
call fcn.00469360
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
je 0x468584
jmp 0x468396
cmp esi, 0x201
jne 0x468515
mov byte [edi + 0x212], 1
jmp 0x468524
cmp esi, 0x202
jne 0x468546
mov byte [edi + 0x212], 0
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x1fc], 0
mov dword [ecx], 0
cmp dword [edi + 0x1fc], 0
je 0x468584
jmp 0x468396
cmp esi, 0x204e
jne 0x468580
cmp dword [ecx + 8], 0x701
jne 0x468580
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 1
push eax
push ecx
push ecx
mov ecx, edi
call fcn.00469850
cmp dword [esp + 0x10], 0
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
jne 0x468396
jmp 0x468584
mov ecx, dword [esp + 0xc]
mov esi, dword [edi + 0x148]
push 0
push ecx
push dword [esp + 0x20]
mov ecx, edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esp + 0x30]
call fcn.00427ba0
mov dword [edi + 0x148], esi
test eax, eax
jne 0x468396
mov ecx, dword [esp + 0x4c]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.00521461
mov esp, ebp
pop ebp
ret 0x18