Hello Spencer Shonk.
Welcome to Microsoft Community.
Regarding to your information I assume that you get an error message "The system detected an overrun of a stack-based buffer in this application"
when you close apps.
This is a warning message, it's not mean that your computer has a virus or be hacked. You can try to uninstall the Samsung Magician first.
After that try to run these commands in CMD run as administrator.
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /CheckHealthDISM /Online /Cleanup-Image /RestoreHealthSFC /Scannow
Reboot your computer.
If still have this error message and you are worried about it you can try performing an in-place install or in-place upgrade which will refresh
your Windows files and operating system without removing files or applications. That being said, we always recommend that if you have
important data, you should back it up before making large system changes. If you want to back up your data first, please do so.
Once you are done backing up, you can follow the steps in the following guides:
If there is anything not clear, please do not hesitate to let me know.
Best Regards,
Tommy-MSFT | Microsoft Community Support Specialist