home *** CD-ROM | disk | FTP | other *** search
/ Shareware 1 2 the Maxx / sw_1.zip / sw_1 / COMMGAME / STACKERW.ZIP / STACKER.TXT
Text File  |  1992-02-15  |  3KB  |  58 lines

  1.         HOW TO REMOVE THE REGISTRATION INFORMATION FROM STACKER 2.00
  2.  
  3. This will work on the stacker.com file dated 10-23-91 and is 40667 bytes long.
  4. It may or may not work on other versions. You may adapt it and try it on 
  5. other versions of the stacker.com file (see DISCUSSION for info). 
  6.  
  7. 1) Use Norton Utility or a similar hex/text editor and go to file offset
  8.    99C7 hex.
  9.         It should be: 32 24 46 E2 F9 0A E4 C3
  10.         Change to   : B4 00
  11.  
  12. 2)  Go to file offset 3CF4 hex
  13.         It should be: A5 98 9A 9C A6 A7 ..........ETC.
  14.         Change to   : 53 53 53 53 53 53 ...........
  15.  
  16.     The number of "53"'s you add here is important.  18+(total # characters in 
  17.     the encoded name).  For example if the registrants name is
  18.     Gomer Q. Pyle you should add 18+13=31 "53"'s at this location.  Adding
  19.     more may overwrite code and adding less will not completely erase the 
  20.     name. If you are not sure, add less, check the results, then adjust.
  21.  
  22.  
  23.            DISCUSSION OF ABOVE FOR C AND ASSEMBLY LANGUAGE PROGRAMMERS
  24.  
  25. Stepping through the COM file and changing the call (CALL 4A2E) to display the
  26. registration information does not work.  Depending on how you do it (with NOP
  27. versus call redirection) you will get no effect or a file checkum error on
  28. execution.  What happened to me (not necessarily all the time I tried it)
  29. was that the com file rewrote my NOP's back to CALL 4A2E when stacker was run.  
  30. No, I didn't screw up the write and Yes, I'm sure it was the same stacker.com
  31. that I just modified.  If you trace through you will discover that: 
  32.  
  33.         1) File checkum=true involves having 00h in AH at the end of 
  34.            decoding. Inserting B4 00 (translates to MOV AH,00) at offset 99C7
  35.            gets rid of that problem.
  36.         
  37.         2) The name (as well as the rest of the program) is encoded by adding  
  38.            CDh to each byte stored past the decode call (I forget what the
  39.            CALL is, sorry).  Therefore a space (20h) is encoded as 53h if you
  40.            drop the preceding F's after the calculation. Obviously this is 
  41.            why the name is not visible with a hex editor (neither is any 
  42.            other prompt, such as "Registered to:" for that matter). 
  43.            The "Registered to: XXXXXXXX" is stored at file offset 3CF4.  
  44.            Writing 53h over this data in effect writes 20h (or an empty space) 
  45.            over the registrants name.
  46.  
  47.  
  48.                                         Enjoy,
  49.  
  50.                                         ╔══════════════════════════╗
  51.                                         ║        ⌠                 ║
  52.                                         ║  ░▒▓»  │HADOWHAWK  «▓▒░  ║
  53.                                         ║        ⌡                 ║
  54.                                         ╚══════════════════════════╝                         
  55.                                                      and
  56.                                                  _        _
  57.                                                   Mephisto
  58.