So for some reason on these generation legacys when you get abs codes, especially on automatics it causes them to run terrible and they kick the fans on too. Now on subarus there's 2 terminating resistors for the can network. One in the ecm and one in the vdc. You can use pins 6 and 14 of the dlc connector to.check the can network. You should get 60 ohms with everything plugged in, if you ger 120 ohms youve lost a terminating resistor. My guess by the symptoms your having is the vdc module took a dump and is messing with the can network. This is where I would start.