Sorry to say so, but those are what look to me at least like fried windings. Epoxy coating seems like it is burned up. I would say it needs to get redone, pull out old windings and insulation, put in new insulation and windings, solder connections, seal insulation, epoxy spray it, oven baking...