Actually, it was just C:\ProgramData\ESET folder. Somehow I didn't notice it was supposed to be C:\ProgramData\ESET\ESET Security.
Anyway, no, I didn't delete that folder. But after reinstalling ESET, it became inaccessible. Then I checked the properties of the folder and fiddled with the security settings and got it working.