• Welcome to Valhalla Legends Archive.
 

WarCraft 3 CDKey Codevalues.

Started by l)ragon, June 17, 2004, 10:15 PM

Previous topic - Next topic

l)ragon

BYTE W3CodeValues[256] = {
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0x00, 0xFF, 0x01, 0xFF, 0x02, 0x03,
         0x04, 0x05, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
         0x0C, 0xFF, 0x0D, 0x0E, 0xFF, 0x0F, 0x10, 0xFF,
         0x11, 0xFF, 0x12, 0xFF, 0x13, 0xFF, 0x14, 0x15,
         0x16, 0x17, 0x18, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0x06, 0x07, 0x08, 0x09, 0x0A, 0x0B,
         0x0C, 0xFF, 0x0D, 0x0E, 0xFF, 0x0F, 0x10, 0xFF,
         0x11, 0xFF, 0x12, 0xFF, 0x13, 0xFF, 0x14, 0x15,
         0x16, 0x17, 0x18, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF,
         0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF
};

Second set of values.
BYTE W3CodeValues2[480] {
      0x09, 0x04, 0x07, 0x0F, 0x0D, 0x0A, 0x03, 0x0B,
      0x01, 0x02, 0x0C, 0x08, 0x06, 0x0E, 0x05, 0x00,
      0x09, 0x0B, 0x05, 0x04, 0x08, 0x0F, 0x01, 0x0E,
      0x07, 0x00, 0x03, 0x02, 0x0A, 0x06, 0x0D, 0x0C,
      0x0C, 0x0E, 0x01, 0x04, 0x09, 0x0F, 0x0A, 0x0B,
      0x0D, 0x06, 0x00, 0x08, 0x07, 0x02, 0x05, 0x03,
      0x0B, 0x02, 0x05, 0x0E, 0x0D, 0x03, 0x09, 0x00,
      0x01, 0x0F, 0x07, 0x0C, 0x0A, 0x06, 0x04, 0x08,
      0x06, 0x02, 0x04, 0x05, 0x0B, 0x08, 0x0C, 0x0E,
      0x0D, 0x0F, 0x07, 0x01, 0x0A, 0x00, 0x03, 0x09,
      0x05, 0x04, 0x0E, 0x0C, 0x07, 0x06, 0x0D, 0x0A,
      0x0f, 0x02, 0x09, 0x01, 0x00, 0x0B, 0x08, 0x03,
      0x0C, 0x07, 0x08, 0x0F, 0x0B, 0x00, 0x05, 0x09,
      0x0D, 0x0A, 0x06, 0x0E, 0x02, 0x04, 0x03, 0x01,
      0x03, 0x0A, 0x0E, 0x08, 0x01, 0x0B, 0x05, 0x04,
      0x02, 0x0F, 0x0D, 0x0C, 0x06, 0x07, 0x09, 0x00,
      0x0C, 0x0D, 0x01, 0x0F, 0x08, 0x0E, 0x05, 0x0B,
      0x03, 0x0A, 0x09, 0x00, 0x07, 0x02, 0x04, 0x06,
      0x0D, 0x0A, 0x07, 0x0E, 0x01, 0x06, 0x0B, 0x08,
      0x0F, 0x0C, 0x05, 0x02, 0x03, 0x00, 0x04, 0x09,
      0x03, 0x0E, 0x07, 0x05, 0x0B, 0x0F, 0x08, 0x0C,
      0x01, 0x0A, 0x04, 0x0D, 0x00, 0x06, 0x09, 0x02,
      0x0B, 0x06, 0x09, 0x04, 0x01, 0x08, 0x0A, 0x0D,
      0x07, 0x0E, 0x00, 0x0C, 0x0F, 0x02, 0x03, 0x05,
      0x0C, 0x07, 0x08, 0x0D, 0x03, 0x0B, 0x00, 0x0E,
      0x06, 0x0F, 0x09, 0x04, 0x0A, 0x01, 0x05, 0x02,
      0x0C, 0x06, 0x0D, 0x09, 0x0B, 0x00, 0x01, 0x02,
      0x0F, 0x07, 0x03, 0x04, 0x0A, 0x0E, 0x08, 0x05,
      0x03, 0x06, 0x01, 0x05, 0x0B, 0x0C, 0x08, 0x00,
      0x0F, 0x0E, 0x09, 0x04, 0x07, 0x0A, 0x0D, 0x02,
      0x0A, 0x07, 0x0B, 0x0F, 0x02, 0x08, 0x00, 0x0D,
      0x0E, 0x0C, 0x01, 0x06, 0x09, 0x03, 0x05, 0x04,
      0x0A, 0x0B, 0x0D, 0x04, 0x03, 0x08, 0x05, 0x09,
      0x01, 0x00, 0x0F, 0x0C, 0x07, 0x0E, 0x02, 0x06,
      0x0B, 0x04, 0x0D, 0x0F, 0x01, 0x06, 0x03, 0x0E,
      0x07, 0x0A, 0x0C, 0x08, 0x09, 0x02, 0x05, 0x00,
      0x09, 0x06, 0x07, 0x00, 0x01, 0x0A, 0x0D, 0x02,
      0x03, 0x0E, 0x0F, 0x0C, 0x05, 0x0B, 0x04, 0x08,
      0x0D, 0x0E, 0x05, 0x06, 0x01, 0x09, 0x08, 0x0C,
      0x02, 0x0F, 0x03, 0x07, 0x0B, 0x04, 0x00, 0x0A,
      0x09, 0x0F, 0x04, 0x00, 0x01, 0x06, 0x0A, 0x0E,
      0x02, 0x03, 0x07, 0x0D, 0x05, 0x0B, 0x08, 0x0C,
      0x03, 0x0E, 0x01, 0x0A, 0x02, 0x0C, 0x08, 0x04,
      0x0B, 0x07, 0x0D, 0x00, 0x0F, 0x06, 0x09, 0x05,
      0x07, 0x02, 0x0C, 0x06, 0x0A, 0x08, 0x0B, 0x00,
      0x0F, 0x04, 0x03, 0x0E, 0x09, 0x01, 0x0D, 0x05,
      0x0C, 0x04, 0x05, 0x09, 0x0A, 0x02, 0x08, 0x0D,
      0x03, 0x0F, 0x01, 0x0E, 0x06, 0x07, 0x0B, 0x00,
      0x0A, 0x08, 0x0E, 0x0D, 0x09, 0x0F, 0x03, 0x00,
      0x04, 0x06, 0x01, 0x0C, 0x07, 0x0B, 0x02, 0x05,
      0x03, 0x0C, 0x04, 0x0A, 0x02, 0x0F, 0x0D, 0x0E,
      0x07, 0x00, 0x05, 0x08, 0x01, 0x06, 0x0B, 0x09,
      0x0A, 0x0C, 0x01, 0x00, 0x09, 0x0E, 0x0D, 0x0B,
      0x03, 0x07, 0x0F, 0x08, 0x05, 0x02, 0x04, 0x06,
      0x0e, 0x0A, 0x01, 0x08, 0x07, 0x06, 0x05, 0x0C,
      0x02, 0x0F, 0x00, 0x0D, 0x03, 0x0B, 0x04, 0x09,
      0x03, 0x08, 0x0E, 0x00, 0x07, 0x09, 0x0F, 0x0C,
      0x01, 0x06, 0x0D, 0x02, 0x05, 0x0A, 0x0B, 0x04,
      0x03, 0x0A, 0x0C, 0x04, 0x0D, 0x0B, 0x09, 0x0E,
      0x0F, 0x06, 0x01, 0x07, 0x02, 0x00, 0x05, 0x08
};
*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*ˆ¨¯¯¨ˆ*^~·.,l)ragon,.-·~^*ˆ¨¯¯¨ˆ*^~·.,¸¸,.·´¯`·.,¸¸,.-·~^*

Eric

#1
Those have pretty much no use to those lacking the War3 CD-Key decoding functions, and those that already have the functions most likely already have the code values as well.

Maddox

Yes, that is one of 2 tables...
asdf.

GoSuGaMING

Quote from: dRAgoN on June 18, 2004, 12:24 AM
Added the second set of code values.

if you keep this up people will have war3 hashed in no time

UserLoser.

Quote from: GoSuGaMING on June 18, 2004, 12:26 AM
Quote from: dRAgoN on June 18, 2004, 12:24 AM
Added the second set of code values.

if you keep this up people will have war3 hashed in no time

It's quite easy to convert a table from what you've disassembled into a different language

BaDDBLooD

Cool, i didn't know that it was easy to convert a dissasembled table to let's say, vb.

What exactly is a dissasembled table? Where does it come from? What is it's purpose?
There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.

UserLoser.

Quote from: BaDDBLooD on June 18, 2004, 09:42 AM
Cool, i didn't know that it was easy to convert a dissasembled table to let's say, vb.

What exactly is a dissasembled table? Where does it come from? What is it's purpose?

A table that's disassembled from a file.  From a file such as Install.exe.   In this case, used in Warcraft III CDKey decoding.

Example: (Part of the table, not going to post all of it)


.rdata:00431CA0 TableOne        db 0FFh                 ; DATA XREF: FunctionOne+3Ar
.rdata:00431CA1                 db 0FFh ;  
.rdata:00431CA2                 db 0FFh ;  
.rdata:00431CA3                 db 0FFh ;  
.rdata:00431CA4                 db 0FFh ;  
.rdata:00431CA5                 db 0FFh ;  
.rdata:00431CA6                 db 0FFh ;  
.rdata:00431CA7                 db 0FFh ;  
.rdata:00431CA8                 db 0FFh ;  
.rdata:00431CA9                 db 0FFh ;  
.rdata:00431CAA                 db 0FFh ;  
.rdata:00431CAB                 db 0FFh ;  
.rdata:00431CAC                 db 0FFh ;  
.rdata:00431CAD                 db 0FFh ;  
.rdata:00431CAE                 db 0FFh ;  
.rdata:00431CAF                 db 0FFh ;  
.rdata:00431CB0                 db 0FFh ;  
.rdata:00431CB1                 db 0FFh ;  
.rdata:00431CB2                 db 0FFh ;  
.rdata:00431CB3                 db 0FFh ;  
.rdata:00431CB4                 db 0FFh ;  
.rdata:00431CB5                 db 0FFh ;  
.rdata:00431CB6                 db 0FFh ;  
.rdata:00431CB7                 db 0FFh ;  
.rdata:00431CB8                 db 0FFh ;  
.rdata:00431CB9                 db 0FFh ;  
.rdata:00431CBA                 db 0FFh ;  
.rdata:00431CBB                 db 0FFh ;  
.rdata:00431CBC                 db 0FFh ;  
.rdata:00431CBD                 db 0FFh ;  
.rdata:00431CBE                 db 0FFh ;  
.rdata:00431CBF                 db 0FFh ;  
.rdata:00431CC0                 db 0FFh ;  
.rdata:00431CC1                 db 0FFh ;  
.rdata:00431CC2                 db 0FFh ;  
.rdata:00431CC3                 db 0FFh ;  
.rdata:00431CC4                 db 0FFh ;  
.rdata:00431CC5                 db 0FFh ;  
.rdata:00431CC6                 db 0FFh ;  
.rdata:00431CC7                 db 0FFh ;  
.rdata:00431CC8                 db 0FFh ;  
.rdata:00431CC9                 db 0FFh ;  
.rdata:00431CCA                 db 0FFh ;  
.rdata:00431CCB                 db 0FFh ;  
.rdata:00431CCC                 db 0FFh ;  
.rdata:00431CCD                 db 0FFh ;  
.rdata:00431CCE                 db 0FFh ;  
.rdata:00431CCF                 db 0FFh ;  
.rdata:00431CD0                 db 0FFh ;  
.rdata:00431CD1                 db 0FFh ;  
.rdata:00431CD2                 db    0 ;  
.rdata:00431CD3                 db 0FFh ;  
.rdata:00431CD4                 db    1 ;  
.rdata:00431CD5                 db 0FFh ;  
.rdata:00431CD6                 db    2 ;  
.rdata:00431CD7                 db    3 ;  
.rdata:00431CD8                 db    4 ;  
.rdata:00431CD9                 db    5 ;  
.rdata:00431CDA                 db 0FFh ;  
.rdata:00431CDB                 db 0FFh ;  
.rdata:00431CDC                 db 0FFh ;  
.rdata:00431CDD                 db 0FFh ;  
.rdata:00431CDE                 db 0FFh ;  
.rdata:00431CDF                 db 0FFh ;  
.rdata:00431CE0                 db 0FFh ;  
.rdata:00431CE1                 db 0FFh ;  
.rdata:00431CE2                 db    6 ;  
.rdata:00431CE3                 db    7 ;  
.rdata:00431CE4                 db    8 ;  
.rdata:00431CE5                 db    9 ;  
.rdata:00431CE6                 db  0Ah ;  
.rdata:00431CE7                 db  0Bh ;  
.rdata:00431CE8                 db  0Ch ;  
.rdata:00431CE9                 db 0FFh ;

...



Basically, all dragon did was take each byte of the table and write his own table in C++.

BaDDBLooD

There are only two kinds of people who are really fascinating: people who know absolutely everything, and people who know absolutely nothing.

TheNewOne

What file are Cd Key decodes stored in? Or how would one find this Information?

UserLoser.

Quote from: TheNewOne on June 18, 2004, 06:19 PM
What file are Cd Key decodes stored in? Or how would one find this Information?

Like stated above, Install.exe and through the disassembly of Install.exe

Eibro

Quote from: TheNewOne on June 18, 2004, 06:19 PM
What file are Cd Key decodes stored in? Or how would one find this Information?
See .text:0041D100 in install.exe.
Eibro of Yeti Lovers.

UserLoser.

#11
Or .text:0041D290 in Frozen Throne's install.exe

GoSuGaMING

Quote from: UserLoser. on June 18, 2004, 08:45 PM
Or .text:0041D290 in Frozen Throne's install.exe

now all people have to do is Convert the tables to VB and they got part of War3 Code :)

MyndFyre

Quote from: GoSuGaMING on June 19, 2004, 10:31 AM
Quote from: UserLoser. on June 18, 2004, 08:45 PM
Or .text:0041D290 in Frozen Throne's install.exe

now all people have to do is Convert the tables to VB and they got part of War3 Code :)

omg!  tehy'll b3 s00 1337!  h4x0rz!  0mg!
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

GoSuGaMING

Quote from: Myndfyre on June 19, 2004, 05:25 PM
Quote from: GoSuGaMING on June 19, 2004, 10:31 AM
Quote from: UserLoser. on June 18, 2004, 08:45 PM
Or .text:0041D290 in Frozen Throne's install.exe

now all people have to do is Convert the tables to VB and they got part of War3 Code :)

omg!  tehy'll b3 s00 1337!  h4x0rz!  0mg!

Indeed.