Your firewall was running? Isn’t that the point in having a firewall?
Which version of avast, free, Pro, AIS or Premier?
Try a clean install…
Download and save aswclear
Download and save your choice…
Free
Pro
AIS
Premier
Run aswclear from above. You will be directed to reboot into safe mode, click “yes”.
Reboot
Install avast choice from above
Reboot and register 