Egypt rallied from a goal down at half-time to turn the game on its head and strengthen their case for the knockouts.