@echo off if not exist rsrc.rc goto over1 \masm32\bin\rc /v rsrc.rc \masm32\bin\cvtres /machine:ix86 rsrc.res :over1 if exist "%1.obj" del "%1.obj" if exist "%1.exe" del "%1.exe" \masm32\bin\ml /c /coff "CrackMe#5_by_ReWolf.asm" if errorlevel 1 goto errasm if not exist rsrc.obj goto nores \masm32\bin\Link /SUBSYSTEM:WINDOWS /OPT:NOREF "CrackMe#5_by_ReWolf.obj" rsrc.obj if errorlevel 1 goto errlink dir "CrackMe#5_by_ReWolf.*" goto TheEnd :nores \masm32\bin\Link /SUBSYSTEM:WINDOWS /OPT:NOREF "%1.obj" if errorlevel 1 goto errlink dir "CrackMe#5_by_ReWolf.*" goto TheEnd :errlink echo _ echo Link error goto TheEnd :errasm echo _ echo Assembly Error goto TheEnd :TheEnd pause