Do you know the tool “XP Key” from the blue List Group? Well this tool gen­er­ates Keys for Microsoft Win­dows XP, Visio and Office XP. As the Keys are gen­er­ated in real-Time, not every Key is a valid one.. so you can enter “Num. of Searches” and “Max. Keys to find”. So far so good, the only draw­back is, you can enter max­i­mal 999 Keys to search:
xp key recover image 1
But I want my Com­puter to search the whole night for Keys, so I tried to debug this Tool. I use Olly­dbg (http://www.ollydbg.de/).. I started the debug­ger and loaded XPKey.exe. Obvi­ous the num­ber 999 is to search, so I searched for “all constants”:

Tataaa.. 2 times a Push 3E7 (=999 as dec­i­mal) before a “CALL” com­mand means, this 999 is used as a para­me­ter for a func­tion, so lets change this 0x3E7 to 0x7EFF (=32511 as dec­i­mal). Press CTRL+E on the old func­tion and update both. The result should look like this:

changed values

Now select the Menu point “Copy to exe­cutable” / “All mod­i­fi­ca­tions”, a new Win­dow should appear. Close this Win­dow and the debug­ger ask you to save this file. I think you should say yes here, so save it and run it.

Damn I still can­not enter the num­bers directly to the text field big­ger than 999, but with the Spin Con­trol (up/down arrows) I can increase it. But this sucks.. as I don’t want to wait, until the num­bers are up to 30000. Lets use Resource Hacker (http://www.angusj.com/resourcehacker/) and check out our new File..

Select the Spin Con­trol and edit this con­trol (CTRL + O).
Ressource Hacker

You can see, the Style UDS_WRAP is not selected by default. What is UDS_Wrap?

Causes the posi­tion to wrap if it is incre­mented or decre­mented beyond the end or begin­ning of the range.”

This should solve our Prob­lem. Instead of enter­ing a Big Value, enter 0, then decrease the Counter -> it will Wrap the counter to the biggest number.

So Select “Action” / “Update all Resources” and Save the new File.

Now my Com­puter has a lot to do..