not sure if it's a match, but...
I have a couple of Asko 12004 machines and a spare motor or two.
I have no idea if they use the same motor as your model or not. Tomorrow I can check the part number on the motor if you like.
How could the wiring of the motor be faulty? They aren't really a serviceable motor. (If it the same as mine.)
It could be that the motor brushes are worn out, and on my machines the brushes are not accessible from outside like most, they are buried inside the motor housing. I have never had one apart yet.
As I have a couple of spares, believed OK but not sure, I would be happy to open one up and learn about its innards and pass on what I find if you would like.
I know the motors are made by Siemens, and unusually for a brush motor machine, there is no electronic module. I still don't really understand how they did it, so I'd be more than happy to open one up and solve the mystery for myself.
Of course your machine and mine may have completely different motors, too.