Electronic correlations and flattened band in magnetic Weyl semimetal candidate Co3Sn2S2