What if my desktop wallet gets hacked and the hacker transfers all my funds from my desktop wallet?

We are not responsible for the funds in your desktop wallet. The funds sitting in your desktop wallet are your private property and you are responsible for the security of these funds.