Are you sure you downloaded it from the ACTUAL avast company? Normally, that message appears if you download a cracked version (if you downloaded it from PirateBay or something) and if you didn't crack it, did you download it through the avast app itself/real website? It would also be helpful if you give us the domain where you downloaded avast from.