as I said, MPTools.exe already does all of that for you. If you want to do it yourself, you'll ahve to do like I did: spend two weeks in a room, looking at your computer screen, with an hex editor and notepad to write some notes of what you find
.
To start, you should know that the uib files have a proper header and a couple of separated sections referenced from the header. Teh first sections define data used by the last one to reconstitute the decoded text file.