A new determination of the charm mass from the non-analytic reconstruction of the heavy quark correlator