It is likely that the black and red wires are for power and the blue wires are part of a position or speed indication. If the motor is not geared then it's almost certain to be used for determining speed with a pulse (or something) once per revolution.
That's just a guess though.