I'm a little concerned about the splayed out wires below and between the blue and black wires.

Regardless, take it to a motor repair shop where they can check it over and install a cord for you. ...