home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Quantico / km / password.c.txt < prev    next >
Encoding:
Text File  |  2000-05-25  |  2.1 KB  |  99 lines

  1.  
  2.  
  3. #include <stdio.h>
  4. #include <string.h>
  5. #include <conio.h>
  6.  
  7. int main(void)
  8. {
  9. char name[50]={0};
  10.  
  11. int count=0, length=0;
  12. signed long int temp=0, temp2=0, temp4=0, eax=0, edi=0, edx=0, ecx=0;
  13. signed long int part1=0, part2=0;
  14.  
  15.  
  16. printf("            ▄▄▄▄▄ \n");
  17. printf("            █ ▄ █ \n");
  18. printf("    █▀▀▀▀▀▀▀▀ ▄ ▀▀▀▀▀ ▀ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█  █▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ ▀ ▀▀▀▀█ \n");
  19. printf("    █ │░███████  │▓███████▀ │░███▀█▀▀▀▀▀▀▀ ▀ ▀▀▀▀ │░███▀█▀▀▀▀▀▓████▓▄  █ \n");
  20. printf("    █ │▒███████  │▓███████  │▒███████  │▓███████▀ │▒███████  │▓███████ █ \n");
  21. printf("    █ │▓███████  │▓███████  │▓███████  │▓███████  │▓███████  │▓███████ █ \n");
  22. printf("    ▀ │▓███████  │▓███████  │▓███████  │▓███████  │▓███████  │▓███████ █▄▄▄ \n");
  23. printf("    ▀ │▓███████  │▓███████  │▓███████  │▓███████  │▓███████  │▓███████▄ ▄ █ \n");
  24. printf("    █ │▓███████  │▓███████  │▓███████  │▓███████  │▓███████               █ \n");
  25. printf("    █ │▓███████▄▄▄▄▄█▄█▓▀   │▓███████▄▄▄▄▄█▄████  │▓███████▀▀ ▀    ▀      █ \n");
  26. printf("    █▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▄ ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ▀ █▀▀▀▀▀▀▀▀▀ ▀ ▀▀ \n");
  27. printf("    .::[ u n i t e d · c r æ c k i n g · f o r c e ]::. █ ▀ █ Antibody<SAC> \n");
  28. printf("                                                        ▀▀▀▀▀ \n");
  29. printf(" \n");
  30. printf("\n            Password Tracker Deluxe v3.56 - Keygen by Quantico.            \n\n");
  31.  
  32. printf("Enter a name please          : ");
  33. gets(name);
  34.  
  35. length = strlen(name);
  36.  
  37. edi=0xd;
  38.  
  39. for(count=0;count<length;count++)
  40. {
  41. ecx=eax+1;
  42. eax=name[count];
  43. eax*=ecx;
  44. edi+=eax;
  45. eax=ecx;
  46. }
  47.  
  48. // 48 lines here
  49.  
  50. ecx=edi;
  51. edx=ecx*3;
  52. edx=edx*4+ecx;
  53. edx=edx<<4;
  54. edx+=ecx;
  55. edx=edx<<8;
  56. edx-=ecx;
  57. ecx=edx*4+ecx+2531011;
  58. temp=ecx;
  59. eax=ecx;
  60. eax=eax>>0x10;
  61. eax=eax&32767;
  62. temp2=eax;
  63.  
  64. ecx=temp;
  65. edx=ecx*2+ecx;
  66. edx=edx*4+ecx;
  67. edx=edx<<4;
  68. edx+=ecx;
  69. edx=edx<<8;
  70. edx-=ecx;
  71. ecx=edx*4+ecx+2531011;
  72. // temp3=ecx; not needed
  73. eax=ecx;
  74. eax=eax>>16;
  75. eax= eax&32767;
  76. temp4=eax;
  77.  
  78. eax=temp2;
  79. eax=0-eax;
  80. edx=eax%1000;
  81. part1=edx;
  82.  
  83. ecx=temp4;
  84. edx=ecx;
  85. edx=edx<<3;
  86. edx-=ecx;
  87. edx=edx<<1;
  88. edx-=ecx;
  89. edx=0-edx;
  90. part2=edx;
  91.  
  92.  
  93.  
  94.  
  95.  
  96.    printf("Your Registration Code Is    : PT%.3ld%.6ld\n",part1,part2);
  97.  
  98.    return 0;
  99. }