Im not sure im following you, from the looks of everything nothing seems to be damaged or stripped. Nothing screws in/onto the threaded part of the shaft. The pulley screw clamps down on the part before the threading.
Maybe im just being niave but it has got to be simpler than replacing the whole motor....,