They are both for the alarm. One links to the ECU/immobiliser and the other goes to the indicator circuit. One of the pins in the square block can be used as a switched 12V supply for accessories (with a suitable inline fuse) if no alarm is fitted...