4.25.3 source failing to build

When I attempt to build and run the engine from source, I get the following error:

"UE4Editor.exe - Bad Image

C:(path)\UE4Editor-Engine.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f."

After clicking OK it displays the same error, but with U$4Editor-UnrealEd.dll instead, and then with Engine two more times after that. In addition, DatasmithSDK is failing to build. Trying to build exclusively DatasmithSDK gives me this:

“1>------ Build started: Project: DatasmithSDK, Configuration: Development_Program x64 ------
1>Using ‘git status’ to determine working set for adaptive non-unity build (C:\Not Porn\Unreal\Engine\UnrealEngine).
1>Building DatasmithSDK…
1>Using Visual Studio 2019 14.27.29111 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.27.29110) and Windows 10.0.18362.0 SDK (C:\Program Files (x86)\Windows Kits\10).
1>Building 1 action with 4 processes…
1> [1/1] Executing post build script (PostBuild-1.bat)
1> Copying C:\Not Porn\Unreal\Engine\UnrealEngine\Engine\Source\Programs\Enterprise\Datasmith\DatasmithSDK\Documentation*.* to C:\Not Porn\Unreal\Engine\UnrealEngine\Engine\Binaries\Win64\DatasmithSDK\Documentation
1> Invalid number of parameters
1> Copying C:\Not Porn\Unreal\Engine\UnrealEngine\Engine\Source\Runtime\Datasmith\DatasmithCore\Public*.h to C:\Not Porn\Unreal\Engine\UnrealEngine\Engine\Binaries\Win64\DatasmithSDK\Public
1> Invalid number of parameters
1> Copying C:\Not Porn\Unreal\Engine\UnrealEngine\Engine\Source\Developer\Datasmith\DatasmithExporter\Public*.h to C:\Not Porn\Unreal\Engine\UnrealEngine\Engine\Binaries\Win64\DatasmithSDK\Public
1> Invalid number of parameters
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3073: The command “…..\Build\BatchFiles\Build.bat DatasmithSDK Win64 Development -WaitMutex -FromMsBuild” exited with code 6.
1>Done building project “DatasmithSDK.vcxproj” – FAILED.
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========”

How can I fix this?