Your interface is far too heavy every single click in the UI sends the CPU straight to 100%.
The framework you’re using for the interface isn’t optimized for this kind of application.
If you want something lightweight and stable, build your UI in .NET, like Kaspersky, Malwarebytes, and other professional AVs do and keep your protection modules in C++.
Thank you, I'll do that.