UltraProtect ---- Dynamic code en/decrypt

Dynamic code en/decrypt
ACProtect allow the user to dynamic decrypt/encrypt some code during runtime,if there are some codes you don't want other to dump and analysis ,then this character will fit your need. See the below figure: ACProtect allow the user to dynamic decrypt/encrypt some code during runtime,if there are some codes you don't want other to dump and analysis ,then this character will fit your need. See the below figure:
During run time,when the program run to the dynamic code encrypt position,the decrypt will run and decrypt the encrypted exe code,after that the decrypted exe code run,after the decrypted code finished running, the dynamic encryption will run and encrypt the decrypted exe code again. See the figure below:

Example for Delphi
procedure TForm1.Button1Click(Sender: TObject);
begin
//example of dynamic code lock
//the code between the dynamic lock begin and end flag will be crypt,when running,the code will be decrypted first,then run,after the running ,
//it will be encrypted again to prevent dumping and static analysis.
{$I ..\..\include\critic_begin.inc} //dynamic lock begin
showmessage('dynamic lock code example:'+char($0d)+char($0a)+'first decrypt this code,then run ,it will be encrypted again after run!');
{$I ..\..\include\critic_end.inc} //dynamic lock end
end;
Example for C/C++
#include "windows.h"
#include "..\..\include\ACProtect.h"
int main(int argc, char* argv[])
{
//example of dynamic code lock
//the code between the dynamic lock begin and end flag will be crypt,when running,the code will be decrypted first,then run,after the running ,
//it will be encrypted again to prevent dumping and static analysis.
DYNAMIC_BEGIN; //u must include this line before the code protected
MessageBox(NULL,"First decrypt this code,then run ,it will be encrypted again after run!","Dynamic En/Decryption of codes example",MB_OK);
DYNAMIC_END; //u must include this line after the code protected
return 0;
}
|