Jump to content
Sign in to follow this  

Load A3X to memory and execute

Recommended Posts


I have read through trancexx's post (and successfully used it in the past) for loading an EXE file into memory to execute.

Is there a way to load an A3X file (not an EXE, I know that won't work) into memory and execute it?

I have been asked if it is possible for me to create a script that will perform as described below. I have the basic mechanics of it, and have functions to handle most all of it. I know I can call an A3X file from a compiled script, but I am just not sure about the A3X from memory part. Does anyone know if this is possible?

This is what I have been asked to do.

- Attach an encrypted script (as a resource?) to the EXE compiled script at compile time.

- Decrypt the attached script to memory (not to a temp file for obvious security reasons) based on a unique hardware ID and user provided password

- If able to decrypt, then execute the decrypted script

- Clear memory and terminate

Share this post

Link to post
Share on other sites

Hello willichan,

If this were possible in the way you described, it would have been done years ago.

Certain types of softarmor can achieve something close, but no cigar on that front.

Best to wait for the developers since the a3x component from the resource table is the next logical step.

And if you are the type to use softarmor at least that would provide a third (albeit fragile) obstacle to overcome.



Share this post

Link to post
Share on other sites

That is what I suspected.I was hoping one of the Devs might have some trickery I could use to repoint the interpreter to the A3X in memory rather than the one in the exe.

I'll probably just tell the client its a no-go.

Share this post

Link to post
Share on other sites

Mobius pretty much hit the nail on the head there, I too once pondered the idea of this but reached the conclusion that there is good reason the devs will not add this kind of functionality. And I don't blame them either.

Things that I've done..

Icon Resource Editor: icon resource editor 

AutoIt Piano: a piano

AutoIt Unlocker: unlocks files when you want to delete them

Colorful tooltips: a wrapper for the tool tips UDF

Rouge GoogleBot: a full screen animation

ASciTE text editor: a text editor written in autoit

Warning: Posts by this user are subject to change or may disappear without notice.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this