home *** CD-ROM | disk | FTP | other *** search
- #include<stdio.h>
- #include<conio.h>
- #include<string.h>
- #include<stdlib.h>
- main()
- {
- int i,j=0,digit ;
- char username[50]="Offline Explorer 1",temp[25] ;
- unsigned long eax,ebx=0x6d363c1,esi,reg,edx ;
- clrscr() ;
- printf("Key Generator Offline Explorer 1.0 by flag eRRatum\n") ;
- printf("Visit our Page at http:\\\\all.at\\ekh\n") ;
- printf("Enter User Name : ") ;
- gets(temp) ;
- strcat(username,temp) ;
- strcat(username,"Single") ;
- for (i=0;i<strlen(username);i++)
- {
- ebx<<=4 ;
- eax=username[i]+ebx ;
- ebx=eax ; eax=ebx ; eax&=0xf0000000 ;
- if (eax!=0)
- {
- esi=eax ; ebx^=(esi >> 0x18) ;
- }
- eax=~eax ;
- ebx&=eax ;
- }
- edx=ebx ;
- esi=ebx % 0x1b9 ;
- ebx<<=16 ; ebx>>=16 ;
- i=0 ;
- eax=ebx ;
- printf("Your Registration Key is : ") ;
- do
- {
- i++ ;
- eax/=7 ;
- } while (eax != 0) ;
- digit=i ;
- do
- {
- gotoxy(digit,5) ; printf("%lu",(ebx%7)+2) ; ebx/=7 ; digit-- ;
- } while (ebx != 0) ;
- ebx=edx ; gotoxy(i+1,5) ; printf("-") ;
- do
- {
- j++ ;
- edx/=9 ;
- } while (edx != 0) ;
- digit=j ;
- do
- {
- gotoxy(digit+i+1,5) ; printf("%lu",(ebx%9)+1) ; ebx/=9 ; digit-- ;
- } while (ebx != 0) ;
- gotoxy(i+j+2,5) ; printf("-") ;
- ebx=1 ;
- (char) eax ;
- do
- {
- gotoxy(i+j+2+ebx,5) ;
- eax=(esi % 0x15) + 0x41 ;
- esi=esi/0x15 ;
- if (eax>=0x49) eax++ ;
- if (eax>=0x4f) eax++ ;
- if (eax>=0x55) eax+=2 ;
- printf("%c",eax) ;
- ebx++ ;
- } while (ebx<3) ;
- printf("\n") ;
- textcolor(LIGHTRED) ;
- cprintf("Please Visit our page for more cracks.") ;
- return (0) ;
- }
-