Thanks for the reply.
What made you think you have a corrupted USB charger connected anyway?
I may have made some assumptions to be fair.
I've had a charger connected to my usb port for a while, and had a problem with a command prompt window appearing for a fraction of a second before disappearing on my screen for a while as well. I may have conflated the two as being connected recently, and may have panicked just a little bit.
I did several full scans for malware with various programs, found some little things that had been dealt with so far. Did some more involved research, and found that the issue was most likely started by, well, bloated autostart routines.
Downloaded a decent program dealing with autostart programs and registry keys, disabled things that were set to run even if I had uninstalled them years ago, and so far had no problems of a command window popping up for an eyeblink doing god knows what.
tl;dr, I thought it was malware doing nefarious things with my system, turns out it was most likely just system bloat fucking things up.
Probably. Hopefully. Will come back to bitch if the problem comes back.
(to be fair, formatting and a clean reinstall would have fixed the issue as well)