                        ActiveMARK V6 generic loader

IMPORTANT:
1. Designed exclusively for ActiveMARK v6.X.
2. If running winxp or greater, the program will detach from
the running process via DebugActiveProcessStop API, otherwise, the
program will run silently in the background and consume
little resources and exit upon termination of the target.
3. Due to the new AM v6.x Active memory code scanning feature, all modifications to the target executable are temporary (just-in-time).
This means the loader must remain active to perform all memory
patches.
4. All (3) function address override fields are in the logical order in which they are processed. Make sure the address fields entered for each are correct.
5. This program may only work with winxp or greater due to the invasive anti-debug features employed. Make sure you are running with Administrative privilidges before using.
6. The amloadv6.bin loader template file must reside in the same folder as this (AMLOADV6) program.

Usage:
1. Open ActiveMARK v6.X specific target (executable).
This sets the target executable's name and active working directory

2. Enter the 8 digit virtual memory address for each category indicated.
NOTE: You can leave an address field blank in Test mode. The program will assume that you don't want to test this function. (i.e. you can test each function individually if so desired).

3. Optional for winxp or greater, check the detach process checkbox. The program will detach from the target process AFTER the final condition (TIMER / TIMEOUT function) has been processed. 
NOTE: If The TIMER / TIMEOUT function's address is blank or incorrect, the detach feature will not work.

4. Press the Test button. The program will load and run the target via the CreateProcess API(debug only this process). The program will
set a hardware breakpoint (HWBP) for each named address and take
the appropriate actions.

If the named addresses were correct, the target program should
behave accordingly for each function.

NOTE: When the application exits, so does the program. It will be
necessary to reinput all information again before proceeding to the
next step.

5. Press the Generate button. The program will process all inputs, along with the supplied loader.bin template file, and create a custom loader specific to the target. The subsequent Save dialog box will allow you to choose an unique name for your new loader and save the resultant *.exe file to the target executables' folder. It is this saved loader file that you should execute instead of the original target executable.

NOTE: If you choose detach, the loader will exit and allow the target executable to continue running. There is one important caveat to doing this, however. The final browser nag screen will pop up after the target application exits. This is by design do to the nature of ActiveMark's active memory scanning while the application is running. Hence all patches are temporary [just-in-time] and not permanent.

IMPORTANT NOTE: IT IS NOT ADVISABLE TO EDIT THE LOADER.BIN TEMPLATE FILE!! DOING SO CAN PRODUCE UNPREDICTABLE RESULTS!! KEEP THE LOADER.BIN TEMPLATE FILE IN THE SAME DIRECTORY AS THIS PROGRAM.

That's it...