Amateur wiring by previous owners is just the worst! I don't envy you! :p
And as for loom - if it where me, I'd take pictures of everything before I unplug it, and make note of the order. But depending on the condition of the loom pulled out, it might be worth getting a new one... I'd even...