Dual-booting UEFI, what fun.
I suggest reinstalling Windows... well, no duh

, but specifically, because you can
reinstall it in legacy BIOS mode (assuming the PC has legacy BIOS mode).
Alternatively, dual-boot a linux distro that has the appropriate UEFI shim and follow extensive directions similar to the ones
here when things go wrong... on second thought, gag me.