I have an existing EXE that I'd like to protect with a command line password (command argument). What I need: 1) A program that modifies the PE header of an existing EXE, so that it checks the password in the command line argument and runs or exits accordingly. (use MASM!) 2) The program should let me choose the password. 3) Password should not be visible when opening the file with an HEX editor. 4) If possible, the contained EXE should be encrypted. 5) The EXE should NOT be written to a temp location in order to be run, this is why I need an assembler solution! 6) The assembler header should check the command line (argument) password agains the encrypted password it contains, if it's correct just JMP to the right location and continue the execution of the EXE, otherwise end. The file should NOT be written to a temp folder (or anywhere else) and Password should be accepted through the command line. Example calling of the protected file [login to view URL] (password is 1234): c:\[login to view URL] 1234 (this should run [login to view URL] normally) c:\[login to view URL] (should do nothing, just exit, no error msg) [login to view URL] is a win32 application, not a dos application.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
## Platform
Windows 2000/XP