@echo off
echo off
goto start
n GOC.EXE
l
g29e5
t
gfce
> reggoc.txt
da es:di es:di+cx-1
q

:start
if "%1" == "now" goto doit
if "%1" == "Now" goto doit
if "%1" == "nOw" goto doit
if "%1" == "noW" goto doit
if "%1" == "NOw" goto doit
if "%1" == "nOW" goto doit
if "%1" == "NoW" goto doit
if "%1" == "NOW" goto doit
cls
echo ˙
echo                        The SiN OLG Divison Presents
echo          ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
echo             GOD Father of Crime v1.21 Serial Number Replicator
echo ˙
echo This program will replicate your registration code using this
echo this particular version of God Father Of Crime.
echo ˙
echo Here's what you have to do:
echo 1.) Edit the key file 'KEY.DAT' and enter your registration information.
echo 2.) Make sure SNR program and enclosed "DOOR.SYS" are in game directory.
echo 3.) Run this registration program by typing 'REGGOC NOW'!
echo 4.) Your key number will be given to you upon compeltion, enter the
echo     number into the 'KEY.DAT' file.
goto exit

:doit
if not exist reggoc.bat goto noexe
if not exist regfnd.exe goto noexe
if not exist door.sys   goto noexe
if not exist goc.exe    goto noexe
regfnd < reggoc.bat > nul
goto end

:noexe
cls
echo ˙
echo Argggggggggggggggggggggggg!
echo Try Again....  This registration procedure requires:  regfnd.exe,
echo reggoc.bat, door.sys, and goc.exe
echo to be in the current directory.  The first three can be removed to
echo save space once the replicator is complete.
echo
goto exit

:noregno
cls
echo ˙
echo H o L y    S H i T !!!!
echo Something didn't go as expected!!!!!!!!!!!!!!!!!!!!!!!!!!
echo    1.)  Has the program been setup and tested yet?
echo         If the answer is no, then go do it!
echo    2.)  Does this version of 'reggoc' match the version of the program??
echo         If the answer is no, then get the correct version!
echo    3.)  Try running 'reggoc' one more time! If this message appears again,
echo         then this version of 'reggoc' will not work with this version of
echo         the program!!!
goto exit

:end
cls
if not exist reggoc.txt goto noregno
echo We did it!!!!!  All Done
echo One reverse engineered serial number coming up!
echo ˙
type reggoc.txt
echo            #####
echo The registration number is the 5+ character alphanumeric string ABOVE those
echo pound signs. Edit KEY.DAT and enter that serial number.
echo ˙
echo Your REGISTRATION serial number is stored in reggoc.txt!!
echo Remember one last thing: This code will probably work for future versions
echo so don't lose it!!!!!!!


:exit
echo ˙
echo Scorpion ¯ / SiN
echo ˙
