Be certain the battery is switched off. If you can unplug the wire from the battery, do so.
Something might be learned from a study of the plugs and sockets already attached to the wires. After all the different ones which can be plugged together have been plugged together, check them one by one and unplug those which are precisely alike (pins, size, shape, gender, locks) as possibly in error. Now see if you can match wire color. A hint can often be found in wiring coming out of the controller in several bundles; mostly those in a bundle belong to a single function. Now you should have fewer wires left, even, if you're lucky, none.
Go back to the pages from which you bought these items and search them for a link to a diagram, normally one or two pages that tells you the colours of the wires and what they link to. Also try the page for the controller, because that almost always has a very explicit diagram and text. If you cannot find these information sheets on the pages, or on the seller's download site, or by a general search of the net, ask for them.