Frankly, you might have found it easier/cheaper just to buy replacement mast at dealer or complete unit at wrecker.
Here's the wire functions at the connector to the antenna module:
Black, - Ground
Blue with red stripe, - Radio
Purple with blue stripe, - Ignition (hot in run)
Blue with white stripe, - power (hot in acc and run)
Orange with blue stripe. - power (hot at all times)
There is also the W/BL (-up,+dn) and Y/BL (+up,-dn) that go to the antenna motor.
Your after market replacement should have come with instructions on how to connect.