While it fixes the DRM issue, you may still need the opengl32.dll fix or Compatibility Mode (Windows XP SP3) to handle graphics crashes on modern GPUs.

While finding a standalone "fixed EXE" was common in the early 2000s, community-driven projects now provide more stable and secure ways to play without a CD: Compatibility Issues Regarding MOHAA with Windows 10

medal of honor allied assault no cd fixed exe