Observation of flat bands and Dirac-like bands in a weakly correlated semimetal YRu2Si2