I solved it. Here is how I fixed it:
Remove libcurl4-openssl-dev: sudo apt-get remove --auto-remove libcurl4-openssl-dev
Then install the previous version of libcurl: sudo apt-get install libcurl3 -y
Launch the game: ./TheCurseOfYendor64