

Like the difficulty with running this archaic string of bits, I wasn’t able to load this into OllyDbg or 圆4_dbg. Now that we can run it, let’s reverse it. You can then run the program in DOSBox without error. Place them in the same directory as the qcrack.exe executable file. The files it needs are CWSDPMI.EXE, CWSDPRO.EXE, CWDSTUB.EXE, and CWSPARAM.EXE.

I’m not exactly sure what that means, but I think I found it to mean it needs some files since qcrack was built with DJGPP. If you run qcrack at this point, you’ll be met with the error Load error: no DPMI It understands the directory structure of the host machine you’re on. What I did in Ubuntu was Z:\>MOUNT D ~/Documents/qcrack Running that command in DOSBox, switching to the D drive, then I can run the program. Let’s say I have a directory at C:\qcrack with the qcrack.exe file.

That’s as simple as Z:\>MOUNT D C:\qcrack Then you’ll need to mount a directory on your real machine to a drive in DOSBox. I installed DOSBox through the Ubuntu software center. But that also means you can run it on a non-Windows machine. You’ll have to run this with something like DOSBox. I was not able to get this to run on any modern Windows machine. You’d buy the makers of these games a couple of beers, wouldn’t you? And if you’re willing to play these older games, it’s probably for nostalgia purposes which means you’re old enough to afford it. That’s the price of two good microbrews at a pub. I am not reversing this so people can install the game for free. I’m reverse engineering this because I’ve always been interested in how it works, and how Windows executables in general work. The cracking program generates the install key for you. You install the games from the CD by generating a key then call the phone number and give them that key along with payment for the game and they’ll give you the matching key that you can use to install the game. QCRACK is a cracking program for an id Software CD that came with several games including Quake.
