do you use a firewall (other then windows) with outbound protection? … if so, try delete all avast rules and reboot, then create new rules when firewall ask

is any previous used AV (other then avast) fully removed using that vendors removal tool

If not it tries to download a certain file from any site I try to access.
you mean avast is trying to download a file? ... post a screenshot