I am in doubt in this.
There might be malware sitting in BIOS.
If your BIOS is infected, then buy a new motherboard or if you think any part of your computer is infected, buy a new computer. But also keep in mind that doesn't matter whatever device you buy, they might still be backdoored. What do you think about the idea that every computer manufactured recently is actually backdoored? But I think you are overthinking.
I have responded to Charles-Tim's statement which is not entirely correct. Infected BIOS is capable to deliver malicious payload to OS after boot no matter in what way the system was installed.
Thus "formatting and reinstalling" the computer OS doesn't grantee "that your device is 100% not having malware".
The question of "whether it can influence the sensitive wallets parts" is a matter of research rather than believe. IMO.