Since I can't stand having mysterious problems like the one described,
I've been fiddling around to see if I could produce the system freeze
intentionally, and I did manage.
If I start the predefined fast scan from the Avast interface, Avast scans
with no problem. However, if I turn on the PUP option, the system freezes
after a few seconds. And it is reproducable, PUP off - scan's fine,
PUP on - system freezes. Tried it at least 6 times to see whether
it's any particular file causing it, but the freeze happens with different
files although its always one of the .sys files in windows\system32\drivers.
I hope this info sheds some light on the issue.