getdstring DUMMY 260 getdstring SIGN 32 math PKG_OLD = -1 get FULLSIZE asize do get INDEX long get OFFSET long get SECSTART long get ZSIZE long get SOME_32BIT_CRC longlong get FLAGS longlong get CREATED longlong get ACCESSED longlong get MODIFIED longlong get SIZE long getdstring FILENAME 260 getdstring PATH 260 get DUMMY long get PKG long get DUMMY long if PKG != PKG_OLD string PKG_NAME p= "pkg%03d.pkg" PKG open FDSE PKG_NAME 1 EXISTS # just for working even if packages are missing... math PKG_OLD = PKG endif string NAME = PATH string NAME += FILENAME
if EXISTS != 0 if ZSIZE == SIZE log NAME OFFSET SIZE 1 else clog NAME OFFSET ZSIZE SIZE 1 endif endif savepos CURR while CURR < FULLSIZE
I mean I get its reading the idx file but I don't see how its extracting or what it should use to extract the file from the above, what would be an actual pseudo code of the whole process?
OK, so I figured it out but, ini files seem to be either encrypted/xor'ed or are not compressed like the rest of the files.
What quickbms does with the list of files the script get? Does it run each file against some sort of encryption or packing test and then tries to break it or what?