You may also be experiencing some some compatability problems with an older version of Mach. The machipc.dll is in the Modules directory. It HAS to be the same version that the rest of LUA is. For instance, if your machipc.dll is the older one that is compiled for LUA 5.2, then the newer executable with LUA 5.3 in them will not load it.
I would start out with a fresh install of Mach and see if the problems go away.
There is no telling what is what since some DLLs were manually copied, unfortunately. 64 bit where a 32 bit DLL should be, etc... Or vice versa. So I would manually delete them all (System32 and SysWOW64) directory and reinstall the redistributable package. Do not rely on the reditributable package to overwrite a bad DLL. It may just check for the existence of the DLL and skip it. Then check that a NEW msvcp140.dll files is in the System32 and SysWOW64 directories. You may need to reboot the machine after all of this so that its' DLL cache is up to date.
Steve