Haha,it's easy to keygen...
One available serial likes /22222-111111-333333
The format of the serial is 123456-ABCDEF-abcdef, as blueapplez said above.
use three BYTE arrays s1[6],s2[6],s3[6] to represent three part of the serial, as s1-s2-s3.
use i to represent the index of an array.
use flag to represent whether the serial is legal.
flag = 1;
for (i = 1; i <= 5; i++)
{
if (((s1[i] - '0') * (s1[i] - '0') * (s1[0] - '0') + (s2[i] - '0') * (s2[0] - '0') + (s3[i-1] - '0')) != 0)
flag = 0;
}
if flag doesn't equal 0, OK.
No check to s3[5], so any char here is ok.
But there's one point confuse me that are these instructions useful?
00401155 |. 80FB 56 |cmp bl, 56
00401158 |. 74 02 |je short 0040115C
Apologize for my poor English, I hope I could make you understand.