If one is applying directly from undergrad, there is the expectation that one has been a strong student all along with a high GPA. There are some schools and some adcomms that will give a some slack for less than perfect freshman grades or dip in GPA during sophomore ochem. But nothing is guaranteed, and practices vary from school to school and adcomm member to adcomm member.
There are about a dozen or so med schools that I know of that recalculate the AMCAS GPA of applicants to lessen the impact of freshman grades. And there is at least one med school that claims to consider mostly the applicant’s most recent 30 science credits.
The OP’s chance are not dim, but they are a great deal less than ideal because of their dismal grades at the CC. However, they overcame those and demonstrated excellence during their retakes and UL electives at an academically more challenging university. This could be their saving grace (together with an above average MCAT score–which I wouldn’t call high since the average matriculant had a 512 last year…)
It’s insanely hard to get into ANY med school, even with a perfect record. But admission committees consider applicants on a holistic basis. It’s not just about stats. It’s about everything else too. (And adcomms are, like everyone else, suckers for underdog-come from behind stories.)