Why does this keep happening e... Note

Why does this keep happening even after a factory reset?

Why did this happen again just four hours after I turned my PC off, especially when I already factory reset it last night? I spent two weeks trying to fix it before that, and the reset didn't solve anything. I really don't want to reset again if it's just going to come back. Is there something I'm missing that could be causing this loop? Could the cracked version of After Effects be the culprit, or is it more likely a hardware or driver issue? I built this PC about a year ago, it's been rarely used for the past 6–8 months, and the CPU sits around 31–33°C. I don't have McAfee installed. My specs are an ASRock X870 Pro RS WiFi motherboard, Ryzen 7 7700X, ASRock Steel Legend RX 9070 XT, Corsair iCUE Link Titan 360 RX LCD cooler, 32GB TeamGroup T-Force Delta RGB DDR5, Crucial P3 Plus 2TB NVMe, and a Corsair RM850x Shift PSU. Has anyone else dealt with something like this and actually fixed it for good?