Security system screw up

Hi what does the security system power?on my 94 xj40? my security box let go and ive lost engine start gearstick lock interior lights central locking this is with it on or off. Secondly if i replace box how do i program it to the car?

What part number is the Security ECU for your car?
I have one from my 94 XJS donor that I can sell you.

PM me if interested.

I dont remember asking for parts just info on it