I think the chainring teeth look fine. It shouldn't cost more than $15-20 to replace the front derailleur if it's not holding the cable. That shift cable should probably be replaced too. I've ridden a shredded one like that, got poked a lot and the decreased diameter meant it kept slipping/shredding.