Please open the registry editor using the Run... window (WinKey+R key combination) and entering:
HKEY_CURRENT_USER\Software\Owlcat Games\Pathfinder Kingmaker
Please remove the entire Pathfinder Kingmaker key and then please try to launch the game again.
If you are using GOG Galaxy, you may try to verify/repair your current installation of the game.
- Please launch Galaxy
- Select the game
- Press MORE -> Manage Installation -> Verify/Repair
Please also make sure that the security software which is installed on your computer(antivirus, internet security, etc.) is not interfering with the game.