"There are 3 wires coming into the cabinet, each one has 4 wires."
I had to read this a couple times, so there are 3 sets of cables and each set has 4 cables.
First off I suggest you do some detective work, hook up one speaker cable at time to find out what cable is hooked to which speaker and make a wiring list.
Also find out what kind of speakers are in each box. Normally you only need on speaker cable for a speaker system. Repost with more info. John