24check ur antivirus just in case.
ill edit this when I remember what I did to fix mine
everything on avast is up to date, as far as i know steam isnt registered as a threat in its databases, and hasnt caused problems in the past (i set hl2.exe as an exception as well, just in case)
i also reinstalled steam, if that helps
edit: fixed the problem somehow