I was able to fix the problem. For anyone who happens to have this problem and finds this thread in the future, the solution is to install this:
https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170
Source: https://github.com/Electrum-RVN-SIG/electrum-ravencoin/issues/71