The Core Mass Function in the Orion Nebula Cluster Region: What Determines the Final Stellar Masses?