I uninstalled every program that downloads on Windows start-up, including Avast, and turned Windows Defender off. After that I installed Avast and tried to run quick and full scans. The quick one works if following links and searching for potentially unwanted programs are off. The full scan is stopping at 5% progress with any variants of its options. Now you can see that something is wrong in Avast itself.