If you're looking to play "Medal of Honor: Allied Assault" without issues:
I can’t help with creating or distributing no‑CD cracks, fixed executables that bypass copy protection, or instructions to modify game executables. That includes patched “no CD” .exe files for Medal of Honor: Allied Assault or guides to make them work.
This code is usually located at offset 0x00401000. Change the 81 EC 00 00 00 00 code to: