Lightweight Win32 Shortcuts in NASM

launch.asm
Copy and paste the code from the text area below to launch.asm

I compile the above program with a batch file called CC.BAT ( cc launch ). The batch file CC.BAT consists of the following:
nasm -l %1.lst -f win32 %1.asm
link %1 /defaultlib:kernel32.lib user32.lib

( I use the Microsoft VC++ 5.0 linker and libraries to create the EXE. )

The code in its existing form simply invokes NOTEPAD.EXE. Any program can be executed.

I've used variations of this EXE that define the child area as an empty buffer filled with zeroes. Then, I can fill the buffer with the name of any program I want by stamping it in with a secondary program.


Back to Jimbo's Demented Software

Back to Jimbo's Home Page