The bad grades won’t help, that’s for sure. But schools, and professional schools in particular, are often open reconsidering a candidate who has a good, believable story. Especially one where you had problems and surmounted them. If I were you, when I send in the materials, include a couple of paragraphs – not more than that – in a cover letter that says what you wrote above. Go big on the “I had problems but I conquered them” story. That doesn’t guarantee success, of course, but it will help.