Strip a bit of the insulation away from the lead side of the end that you cut and expose the internal Wire, Shield and it's Insulation.
Then strip a small amount of the Colored Insulation off the internal wires and with the Ohm Meter test one Pin at a time with the other probe held against one of the Colored Leads that you do not know what it is used for. When you get either a Noise or the needle swing tot he end of the scale or if it is a Digital Readout the readout shown a very low number as apposed to all zero's you have that wire and which pin it goes to.
Make a note of this Pin Number and then move onto another wire that you don't know where it goes and repeat the process, The Shield should be attached tot he outside of the D15 Socket the metal Part that goes around the outside of the Pins and this is a Common Earth/Neutral.
If you already have the RGB Wires Isolated there should then be the Vertical Sync a Positive and Negative a Horizontal Sync again a Positive and negative and a Pair of Wires used to switch the Monitor into Power Saving Mode. You should have 6 Wires that you need to attach tot he plug and don't worry not all of the pins are actually used. ;)
Col