I was able to get back into windows by restoring a recovery point that was before I installed the corsair driver. I unplugged my corsair keyboard and disconnected Internet while I did this.
Then I immediately uninstalled the Corsair drivers from Windows and rebooted.
After reboot, I reconnected Internet and downloaded the corsair driver for my keyboard from the corsair website directly and rebooted.
It seems fine now except for the fact that Windows update seems broken because it's searching for updates forever without results.