How do I make Mario in Unreal?

I thought it was completely legal to modify any games/software you have purchased, including ripping and reverse engineering. It’s not legal to distribute that content or make money from it in any way.