[TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

Post your working scripts, libraries and tools
AHKtreasureland
Posts: 9
Joined: 12 Mar 2018, 10:30

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

23 Jun 2018, 15:21

I'm amazed at the way it works. truly amazed. have one question, Don. Would it work with AHK_H? I kinda need that multithread power of H. Thank you again, Don.
DigiDon
Posts: 178
Joined: 19 May 2014, 04:55
Contact:

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

25 Jun 2018, 10:47

HI, thanks for the feedback.

I didn't use ahk_h for now but I would say that normally the obfuscator should work without problem on AHK_H.

Nevertheless I think it would not work with AHK v2 or AHK_H v2 because there are major syntax changes the obfuscator will probably not recognize.
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation :thumbup:
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
DDook

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

28 Jul 2018, 15:30

Obfuscation is very good. There is one problem.
Gui's Glabel is obfuscated just like label:.
This is obfuscation of the source in my example.

Code: Select all

gui, add, button, xm y+20 G[b]k#[email protected]#[email protected]@@[email protected]#[email protected]@@fkkk##[email protected][/b], Test gui submit
	gui, add, button, x+20 yp G#fkkfkfkkfkkfff#[email protected]@[email protected]@, Cancel program
	gui, show
}


;LABEL ORIGINAL NAME: testguisubmit
[b]k#[email protected]#[email protected]@@[email protected]#[email protected]@@fkkk##[email protected][/b]:
	gui, submit, nohide
	msgbox, TESTING OBF OF Vvariablename IN 'gui, add':`n`nyou entered "%kfk#kfff%%f#kff#@[email protected]%%[email protected]#kk##f%"
return
This is a source already obfuscated to the example.

Code: Select all

gui, add, button, xm y+20 G[b]fkfk%[email protected]%%[email protected]%%[email protected]%[email protected]%k#[email protected]#k#[email protected]#kfkfk#fkfffk%f%fkk#ffk#ffffk#[email protected]%fk#fkkfffk#ff[/b], Test gui submit
	gui, add, button, x+20 yp G%[email protected]@k#fkffffffffk#[email protected]@k#k#%%k#[email protected]#fk%%[email protected]%, Cancel program
	gui, show
}


;LABEL ORIGINAL NAME: testguisubmit
[b][email protected]#fkkfffk#ff[/b]:
	gui, submit, nohide
	msgbox, TESTING OBF OF Vvariablename IN 'gui, add':`n`nyou entered "%[email protected]#k#%%kfkfk#kfk#%%[email protected]#fk%"
return
What is the solution to this?
What am I doing wrong?
DigiDon
Posts: 178
Joined: 19 May 2014, 04:55
Contact:

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

29 Jul 2018, 08:46

Hello DDook,

I'm not sure to understand.
It seems you provide two obfuscated script parts. Where is the unobfuscated original source code?

Which example exactly are you using? I had to search for it, there are several : "min-straight-obfuscation"?
If yes then if you create the TransMap for "straightobf.ahk", then run the obfuscation, you will see that gLabels are obfuscated correclty.
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation :thumbup:
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
DDook

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

29 Jul 2018, 15:09

Thank you for your reply.
This is part of the code in your example (mindynobf_obfuscated.ahk).

Code: Select all

k#kfk#ffk#[email protected]#() { 
	global
	local [email protected]@k#kffkff, [email protected]@k#[email protected]#k#k#kf, fkk#fffkk#fkfkkfff, [email protected]#kffffk
;$OBFUSCATOR: $DEFLOSVARS: ff%[email protected]%f%[email protected]@fk%@k%[email protected]@[email protected]#[email protected]#k#%ff%ffk#ff%[email protected]#kffkff, [email protected]%ffk#ffk#%%k#k#[email protected]%k#[email protected]%k#[email protected]%#k#k#kf, fkk#ff%[email protected]#k#fkfffkffk#[email protected]%%kfff%%[email protected]%kk#fkfkkfff, [email protected]%ffkfkfkf%ff%fkk#k#%f%k#[email protected]#fkkffkk#[email protected]@kffffk%k#%[email protected]#kf%%fffk%ffffk

	[email protected]%k#[email protected]@[email protected]%ffkff%ffkf%@k#kf%k#[email protected]#k#fkffkffk%kff 		= % "s22"
	ff%k#[email protected]#k#fkffkffk%@[email protected]%fffk%k#f%k#k#fffk%@%[email protected]%k#k#k#kf 		= % "s18"	
	%ffk#%%k#ffffk#fkk#ffk#kfff%%[email protected]% 	= % "s14"
	[email protected]%[email protected]%ffkk%fffkff%#%[email protected]%ffffk := "from Dynamic Obfuscator"

	gui 2:default
	gui, destroy
	gui, margin, 20, 20
	
	;the h1font variable below should be obfuscated
	gui, font, %kfffk#%%[email protected]@k#kffkff%%k#kfkf% bold
	gui, add, text, xm ym, Obfuscator Test GUI
	
	gui, font, %[email protected]#k#kf%%fkk#fffkk#fkfkkfff%%[email protected]#ff% norm underline
	;the gosub label below should be obfuscated
	gui, add, text, xm y+12 cblue G%fffkk#fkfkfkfkk#fkk#k#fkk#ff%%k#k#fkkf%%[email protected]%, test gosub obfuscation in gui statement ;point3
	
	gui, font, %fkk#fffkk#fkfkkfff%%kfffff%%fkfffkff% norm
	gui, add, text, xm y+12 G%[email protected]@fkfk%[email protected]%k#[email protected]#k#[email protected]#kfkfk#fkfffk%f%fffk%k#[email protected]#%k#[email protected]#fkkffkk#[email protected]@kffffk%#k#fkfffffffkfkffk#, ;point3
(
hello world

TESTING LITERAL STRING :
"%[email protected]#kffffk%%[email protected]@fkfk%%k#ffff%"

-press home key to test hotkeys-
)
	gui, add, text, xm y+12, enter something here to test`nvariable obfuscation
;$OBFUSCATOR: $DEFGLOBVARS: %k#[email protected]%kf%k#[email protected]%k%kfk#[email protected]@[email protected]%k#%[email protected]@k#[email protected]@fkk#%fk#
	gui, add, edit, xm y+2 V%fkk#ffk#ffffk#[email protected]%f%[email protected]#%kf%[email protected]@ffk#k#k#kfk#[email protected]#k#%%fkkf%#kfk# r4, 
		
	gui, add, button, xm y+20 Gfkfk%[email protected]%%[email protected]%%[email protected]%[email protected]%k#[email protected]#k#[email protected]#kfkfk#fkfffk%f%fkk#ffk#ffffk#[email protected]%fk#fkkfffk#ff, Test gui submit ;point1
	gui, add, button, x+20 yp G%[email protected]@k#fkffffffffk#[email protected]@k#k#%%k#[email protected]#fk%%[email protected]%, Cancel program ;point2
	gui, show
}


;LABEL ORIGINAL NAME: testguisubmit
[email protected]#fkkfffk#ff: ;point1
	gui, submit, nohide
	msgbox, TESTING OBF OF Vvariablename IN 'gui, add':`n`nyou entered "%[email protected]#k#%%kfkfk#kfk#%%[email protected]#fk%"
return


;LABEL ORIGINAL NAME: cancelprog
[email protected]#[email protected]#k#[email protected]#[email protected]: ;point2
	exitapp
return


;LABEL ORIGINAL NAME: guigosub
[email protected]#[email protected]#k#k#fkfffffffkfkffk#: ;point3
	msgbox, inside _guigosub_
return

This code is what I did (mindynobf.ahk).

Code: Select all

ff#ffkfkf#[email protected]() { 
	global
	local @[email protected]#fk##fkk#ff#ff, f##[email protected]#kf##k, #[email protected]@[email protected]@kf#ffkk, k#fkkf#kkkkfk#@[email protected]
;$OBFUSCATOR: $DEFLOSVARS: @%@[email protected]#[email protected]@kfk#[email protected]%@%ffkf#f%kkk#fk##fkk#ff#ff, f#%[email protected]#k%#fkf%[email protected]@[email protected]@[email protected]#kffk#%f#kf##k, #f%f#[email protected]#[email protected]##kk#%@kf%#[email protected]@fk#[email protected]%@k%fff#%@@%#[email protected]%kf#ffkk, k#f%f#@[email protected]%kkf#%[email protected]@fkff#@[email protected]#k#[email protected]#k%%#[email protected]##ff#k#%kkfk#@[email protected]

	%f##k%%@[email protected]@kff#kff#[email protected]#@f%%k#kkkfff% 		= % "s22"
	%@[email protected]%%#k#[email protected]@ff#f#k#[email protected]#%%[email protected]#k#% 		= % "s18"	
	%k#[email protected]%%k#@f%%@[email protected]@[email protected]#k% 	= % "s14"
	k#fkk%@[email protected]#[email protected]@kfk#[email protected]%#kkkkfk%@[email protected]%#@[email protected] := "from Dynamic Obfuscator"

	gui 2:default
	gui, destroy
	gui, margin, 20, 20
	
	;the h1font variable below should be obfuscated
	gui, font, %[email protected]%%@[email protected]#fk##fkk#ff#ff%%@[email protected]#% bold
	gui, add, text, xm ym, Obfuscator Test GUI
	
	gui, font, %k##[email protected]%%#[email protected]@[email protected]@kf#ffkk%%k##fk#% norm underline
	;the gosub label below should be obfuscated
	gui, add, text, xm y+12 cblue Gf#k#[email protected]@kfkffkfff#@[email protected]@[email protected], test gosub obfuscation in gui statement ;point3
	
	gui, font, %#[email protected]@[email protected]@kf#ffkk%%#kkffkff%%#k#k% norm
	gui, add, text, xm y+12 Gf#k#[email protected]@kfkffkfff#@[email protected]@[email protected], ;point3
(
hello world

TESTING LITERAL STRING :
"%fkff#k%%k#fkkf#kkkkfk#@[email protected]%%kkkffk#f%"

-press home key to test hotkeys-
)
	gui, add, text, xm y+12, enter something here to test`nvariable obfuscation
;$OBFUSCATOR: $DEFGLOBVARS: f#%[email protected]%%[email protected]@[email protected]#kkk#%f%#ffk%f#@[email protected]
	gui, add, edit, xm y+2 Vf#kff#@[email protected] r4, 
		
	gui, add, button, xm y+20 Gk#[email protected]#[email protected]@@[email protected]#[email protected]@@fkkk##[email protected], Test gui submit ;point1
	gui, add, button, x+20 yp G#fkkfkfkkfkkfff#[email protected]@[email protected]@, Cancel program ;point2
	gui, show
}


;LABEL ORIGINAL NAME: testguisubmit
k#[email protected]#[email protected]@@[email protected]#[email protected]@@fkkk##[email protected]: ;point1
	gui, submit, nohide
	msgbox, TESTING OBF OF Vvariablename IN 'gui, add':`n`nyou entered "%kfk#kfff%%f#kff#@[email protected]%%[email protected]#kk##f%"
return


;LABEL ORIGINAL NAME: cancelprog
#fkkfkfkkfkkfff#[email protected]@[email protected]@: ;point2
	exitapp
return


;LABEL ORIGINAL NAME: guigosub
f#k#[email protected]@kfkffkfff#@[email protected]@[email protected]: ;point3
	msgbox, inside _guigosub_
return
This code is from line 135 to line 193 of mindynobf_obfuscated.ahk.
Do you know the difference?
Look at the "point1","point2","point3" in the code.

The mindynobf_obfuscated.ahk originally in the example
Label: and Glabel do not match.
But my code is the same as Label: and Glabel.

What is the solution for this?
DigiDon
Posts: 178
Joined: 19 May 2014, 04:55
Contact:

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

30 Jul 2018, 13:48

Hi DDook,

Alright I see now.
I've run some tests and it seems that there are indeed no %'s straight or dynamic vars introduced inside the names for gLabels or vVars no more.
It means I must have changed it at some point because it used to be obfuscated this way.

So that's an undocumented regression and that's on my side, not yours. Thanks for pointing that out.

To correct it would need a bunch of testing from my side but I currently do not have the ressources to do so (donations have been unfortunately non-existent...).
Maybe I'll be able to fix it in the future, I will update the post if I do.
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation :thumbup:
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
Kmeaha

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

20 Aug 2018, 03:19

Dear Mr. DigiDon

thanks a lot for your project it is working great as i tried with straight and dynamic mode, perfect and smoothly
but when i tried the ihidestr() option it didn't work properly, i use your example (hidestring_example.ahk) and after testing to obfuscated with the gui it didn't give me the same result of your file (hidestring_example_obfuscated.ahk), the string 12 and text still showing after obfuscated
this is a part of your example:
;test obfuscation of parameters
;msgbox will show 12 if obfuscation of parameters works
msgbox, % "parameter: " . test_parameters(ihidestr("12"))

msgbox % "obfuscated text = " ihidestr("TEXT")

RETURN


and this is the result after obfuscated:
;test obfuscation of parameters
;msgbox will show 12 if obfuscation of parameters works
msgbox, % "parameter: " . #fkff%ffkkff%[email protected]@k#[email protected](fkf%@ff#f#%[email protected]#[email protected]#("12"))

msgbox % "obfuscated text = " fkfk%@k#k%[email protected]#[email protected]#("TEXT")

RETURN


thanks again
DigiDon
Posts: 178
Joined: 19 May 2014, 04:55
Contact:

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

20 Aug 2018, 08:34

Hello Kmeaha,

You're right: The function should be named "hidestr" and not "ihidestr".

I forgot to modify the internal example. The online doc is OK though.

Thanks for pointing it out.
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation :thumbup:
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
Kmeaha

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

21 Aug 2018, 09:00

Thanks for the reply Mr. DigiDon
now i tested and the obfuscated option working but giving me an error
the original script working fine but after obfuscated it is giving me an error
her is my full testing script:

Code: Select all

#SingleInstance force
#NoEnv

;$OBFUSCATOR: $STRAIGHT_MODE:

;$OBFUSCATOR: $DEFGLOBVARS: startdate,enddate,pcname

pcname := hidestr("hb1it014")
startdate := hidestr("20180801")
enddate := hidestr("20200801")

#r::
heckExpiry:
FormatTime, Today,, yyyyMMdd
Start  = %startdate%
Expiry = %enddate%
If (Today > Expiry or Today < Start)
{
		MsgBox % "PROGRAM trial version expired`nContact author for a full version ."
		ExitApp
}

If A_ComputerName != %pcname%
{
	MsgBox % "This is not the authorized computer: hb1it014."
	ExitApp
}

MsgBox % "Everything is running fine."
ExitApp

;$OBFUSCATOR: $END_AUTOEXECUTE: 
;******************************************
;	PUT THESE FUNCTIONS IN YOUR ACTUAL AUTOHOTKEY SCRIPT FILE

hidestr(thisstr)
{
	return thisstr
}


decode_ihidestr(startstr) 
{
	global	
;$OBFUSCATOR: $DEFGLOBVARS: hexdigits
	
	static newstr, startstrlen, charnum, hinibble, lownibble, mybinary
;$OBFUSCATOR: $DEFLOSVARS: newstr, startstrlen, charnum, hinibble, lownibble, mybinary

	hexdigits = % "0123456789abcdef"
		
	decode_hexshiftkeys(startstr)
	
	startstr = % substr(startstr, 1, 1) . substr(startstr, 6)
	startstrlen = % strlen(startstr)
		
	newstr = 
	loop, % strlen(startstr) 
		newstr = % substr(startstr, a_index, 1) . newstr
	
	startstr = % newstr
	newstr = 
	charnum = 1
	while true
	{
		if (charnum >startstrlen)
			break
			
		hinibble = % substr(startstr, charnum, 1)
		hinibble = % instr(hexdigits, hinibble) - 1
		
		lownibble = % substr(startstr, charnum + 1, 1)
		lownibble = % instr(hexdigits, lownibble) - 1
		
		hinibble := decode_shifthexdigit(hinibble)
		lownibble := decode_shifthexdigit(lownibble)
		
		mybinary = % hinibble * 16 + lownibble
		newstr .= chr(mybinary)
		
		charnum += 2		
	}
		
	newstr = % fixescapes(newstr)
		
	return, newstr	
}
decode_hexshiftkeys(startstr)
{
	global
;$OBFUSCATOR: $DEFGLOBVARS: decodekey, ishexchar, useshiftkey
	
	decodekey := "[email protected]#[email protected]#@[email protected]#kk"
	ishexchar := "[email protected]@kffkk#f1fffffkf"
	
	%decodekey%%ishexchar%1 = % substr(startstr, 2, 1)
	%decodekey%%ishexchar%2 = % substr(startstr, 3, 1)
	%decodekey%%ishexchar%3 = % substr(startstr, 4, 1)
	%decodekey%%ishexchar%4 = % substr(startstr, 5, 1)
	
	loop, 4
		%decodekey%%a_index% = % instr(hexdigits, %decodekey%%ishexchar%%a_index%) - 1
			
	useshiftkey = 0
}	

decode_shifthexdigit(hexvalue)
{
	global
	
	useshiftkey++
	if (useshiftkey > 4)
		useshiftkey = 1	
	
	hexvalue -= %decodekey%%useshiftkey%
	
	if (hexvalue < 0) 
		hexvalue += 16
		
	return hexvalue	
}

fixescapes(forstr)
{
	global
	
	StringReplace, forstr, forstr, % "````", % "``", all
	StringReplace, forstr, forstr, % "``n", % "`n", all
	StringReplace, forstr, forstr, % "``r", % "`r", all
	StringReplace, forstr, forstr, % "``,", % "`,", all
	StringReplace, forstr, forstr, % "``%", % "`%", all	
	StringReplace, forstr, forstr, % "``;", % "`;", all	
	StringReplace, forstr, forstr, % "``t", % "`t", all
	StringReplace, forstr, forstr, % "``b", % "`b", all
	StringReplace, forstr, forstr, % "``v", % "`v", all
	StringReplace, forstr, forstr, % "``a", % "`a", all
	
	StringReplace, forstr, forstr, % """""", % """", all
	
	return forstr
}
Kmeaha

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

21 Aug 2018, 09:15

thanks it is already solved

the problem was in line of decode as i forgot to change it to hidestr instead of ihidestr:
decode_ihidestr(startstr)
{
Bluscream
Posts: 8
Joined: 10 Jan 2017, 23:12
GitHub: Bluscream

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

14 Oct 2018, 02:28

I don't get it, why can't i just click one button and the whole script becomes obfuscated? I mean with java i can even do it online (https://javascriptobfuscator.com/Javasc ... cator.aspx)
guest3456
Posts: 2661
Joined: 09 Oct 2013, 10:31

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

14 Oct 2018, 09:31

Bluscream wrote:I don't get it, why can't i just click one button and the whole script becomes obfuscated? I mean with java i can even do it online (https://javascriptobfuscator.com/Javasc ... cator.aspx)
go ahead and update this script for us, so we all can click one button and have the script obfuscated. once you attempt to do that, either 1. you'll have your answer as to why, or 2. you'll have been a better coder than those who have attempted it, and you will have achieved it for us.

Alibaba
Posts: 479
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

09 Nov 2018, 02:26

Bluscream wrote:
14 Oct 2018, 02:28
I don't get it, why can't i just click one button and the whole script becomes obfuscated? I mean with java i can even do it online (https://javascriptobfuscator.com/Javasc ... cator.aspx)
Good luck obfuscating Java with a JavaScript Obfuscator... :roll:
"Nothing is quieter than a loaded gun." - Heinrich Heine
DRocks
Posts: 517
Joined: 08 May 2018, 10:20

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

26 Jan 2019, 22:41

This seems very nice will have a look at it when reaching end of my current project

Thank you
kyuuuri
Posts: 213
Joined: 09 Jan 2016, 19:20

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

27 Jan 2019, 11:07

Any plans to update this for ahk v2? I would do it if could but I'm still trying to figure out what I have to change in the source.
murataygun
Posts: 21
Joined: 07 Aug 2015, 15:53

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

17 Feb 2019, 13:13

Hi Digidon,
Thanks for your efforts about this. I've read allmost all the docs but didnt quite understand how included files would obfuscated. I didn find any example about that allso. One simple example should be enough. Thanks.
DigiDon
Posts: 178
Joined: 19 May 2014, 04:55
Contact:

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

19 Feb 2019, 15:27

Hi all, Sorry for having not posted any news for a while.

I had to undergo some personal changes and took a new hard-working job in a company.
I kept convincing myself the past months that I would find time to get back at my projects but truth is right now I can't.
So I will try to check messages once in a while but I can't commit on any delay especially on any update.

Now some quick answers:
@kyuuuri: no not planned for v2 sorry
@murataygun : take a look at : https://www.everfastaccess.com/AHK-Obfuscator/includefiles.htm
Cheers
EverFastAccess : Take Notes on anything the Fast way: Attach notes, Set reminders & Speed up research in 1 gesture - AHK topic
AHK Dynamic Obfuscator L - Protect your AHK code by Obfuscation - AHK topic
QuickModules for Outlook : Sort Outlook emails very quickly to multiple folders - AHK topic
Coding takes lots of time and efforts. If I have helped you or if you enjoy one of my free projects, please consider a small donation :thumbup:
Sorry I am working hard at the moment at a new job and can't commit on delays of answers & updates
freespacing
Posts: 97
Joined: 28 Sep 2016, 11:14
Contact:

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

22 Apr 2019, 10:02

@DigiDon

Hi there,
I realize you're busy with real life. Got to keep the fridge full. ;)
Thought I'd post this question for if you ever have a chance to look at the project again.

I find the goal this program is trying to achieve mind-blowing. I love that the documentation goes into so much detail about creating specific directives in the forms of comments and can see how that can help someone have everything ready in the source code for whenever they want to build an obfuscated file to release.

To get started, testing the obfuscator in Static mode on a large file without #Includes.

It reports success creating the map, then the obfuscated file.
When I try to run the obfuscated file, this pops up:
The following variable name contains an illegal character:
"#k%#fkffkkk%#[email protected]#[email protected]"
The program will exit.

Perhaps a hint, so will ask: Can the opening { of a function definition (after the list of arguments) live on a different line? I ask because some of my functions have many args so I've broken the definition over two lines.

Some troubleshooting info:
  • My text editor does not find this variable #k%#fkffkkk%#[email protected]#[email protected] in the code
  • The program's first line is ;$OBFUSCATOR: $STRAIGHT_MODE:
  • ;$OBFUSCATOR: $END_AUTOEXECUTE: is at the end of the auto-execute part, after ExitApp and before all function definitions.
  • All Column 1 } close a function, as confirmed by regex search for (?m)^}
  • There is not a single label in the file
  • Just in case it's a hint, there is one anonymous function call in the form of my_callback := Func(callback_function_name) followed by callback_result := my_callback.Call(
  • Haven't yet tried Dynamic mode because assume-global will cause a lot of work to declare all variables as local inside functions. Would prefer to get success with Static first before going that way.
Would appreciate any insights… But only if and when you can spare the time.

Hope you have a great week.
User avatar
manehscripts
Posts: 102
Joined: 03 May 2019, 16:10

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

29 May 2019, 21:25

Hello guys!

@DigiDon I'm have a problem while trying to obfuscate this code below:

Code: Select all

;$OBFUSCATOR: $DYNAMIC_MODE:

; --------------------
obf_dumpcommonobjfrags()
obf_dumpunclassed()
obf_dumpunsecclasses()
obf_dumpall()

;$OBFUSCATOR: $DEFGLOBVARS: COUNT,Variable

Gui, +AlwaysOnTop
Gui, Add, Edit, r1 ReadOnly w200 vAlert, Stopped!
Gui, Add, Button, vStartScript gStartG, START!
Gui, Show,
return
;$OBFUSCATOR: $END_AUTOEXECUTE: 

toggle := 0
StartG:
    toggle := !toggle
    if (toggle) {
        GuiControl,,StartScript, STOP!
        GuiControl,,Alert, Running!
        COUNT := hidestr("Couuuuunt: ")
		CritObj := CriticalObject({Variable: COUNT})
		
       script:="
        ("
            Loop {
                CritObj := CriticalObject(A_Args[1])
				variable1 = `% CritObj.Variable
				var1++
				ToolTip, %variable1%%var1%
			}
        )"

		DllOn:=AhkThread(script,&CritObj)
    } else {
        DllOn.ahkTerminate.1
        GuiControl,,Alert, Stopped!
        GuiControl,,StartScript, START!
    }
return

Esc::ExitApp
GuiClose:
ExitApp

;*******************************************************************************
;                        O B F   D U M P   F U C T I O N S
;*******************************************************************************
;$OBFUSCATOR: $FUNCS_CHANGE_DEFAULTS: ,, -1
obf_dumpcommonobjfrags() 
{
    global
;$OBFUSCATOR: $DUMP_SECFRAGS_FORCLASSES: common
;$OBFUSCATOR: $DUMP_TMESSFRAGS_FORCLASSES: common
} 
;$OBFUSCATOR: $FUNCS_RESTORE_DEFAULTS:

;$OBFUSCATOR: $FUNCS_CHANGE_DEFAULTS: ,, -1

obf_dumpunclassed()
{
    global
;$OBFUSCATOR: $FUNCFRAGS_DUMPCLASS: unclassed
;$OBFUSCATOR: $LABELFRAGS_DUMPCLASS: unclassed
}

obf_dumpunsecclasses()
{
    global
;$OBFUSCATOR: $FUNCFRAGS_DUMPCLASS: unsecclasses
;$OBFUSCATOR: $LABELFRAGS_DUMPCLASS: unsecclasses 
}
;$OBFUSCATOR: $FUNCS_RESTORE_DEFAULTS:

obf_dumpall() 
{
    global
;$OBFUSCATOR: $GLOBVARFRAGS_DUMPALL:
;$OBFUSCATOR: $GLOBPARTIALVARSFRAGS_DUMPALL:
;$OBFUSCATOR: $SYSVARFRAGS_DUMPALL:
;$OBFUSCATOR: $LOSVARFRAGS_DUMPALL:
;$OBFUSCATOR: $PARAMFRAGS_DUMPALL:
;$OBFUSCATOR: $SYSFUNCFRAGS_DUMPALL:
;$OBFUSCATOR: $SYSPROPERTIESFRAGS_DUMPALL:
;$OBFUSCATOR: $SYSMETHODSFRAGS_DUMPALL:
}

encode_hidestr(startstr)
{
	global
	static onechar, newstr, secstartstr, hexdigits 
	
	hexdigits = 0123456789abcdef

	createhexshiftkeys()
		
	newstr = 
	;convert to hexidecimal
	loop, % strlen(startstr)
	{
		strascii = % asc(substr(startstr, a_index, 1))
		hinibble = % strascii // 16
		lownibble = % strascii - (hinibble * 16)
		
		;shift the hex digits in order to encrypt them
		hinibble := encode_shifthexdigit(hinibble)
		lownibble := encode_shifthexdigit(lownibble)
		
		newstr .= substr(hexdigits, hinibble + 1, 1) . substr(hexdigits, lownibble + 1, 1)
	}
	
	startstr := newstr
	;now i'll reverse the hex string
	newstr = 
	loop, % strlen(startstr) 
		newstr = % substr(startstr, a_index, 1) . newstr
	
	;convert key values to hex values. i can convert directly to
	;single hex digits because my keys only range from 1-15
	allhexkeys =
	loop, 4
		allhexkeys .=  substr(hexdigits, key%a_index% + 1, 1)
	
	;stuff the key values into the string starting at character 2
	newstr := substr(newstr, 1, 1) . allhexkeys . substr(newstr, 2)
	
	return, newstr
}

encode_shifthexdigit(hexvalue)
{
	global
	
	;each time i enter this routine i will use the next key value
	;to shift the hexvalue
	useshiftkey++
	if (useshiftkey > 4)
		useshiftkey = 1	
	
	;add the shift key to the hexvalue 
	hexvalue += key%useshiftkey%
	
	;if i go over, just substract 16 to simulate a circle of hex
	if (hexvalue > 15) 
		hexvalue -= 16
		
	return hexvalue
	
}

createhexshiftkeys()
{
	global
	
	;create random 4 entry 'encrypt' key, each entry can be 1-15
	loop, 4
		random, key%a_index%, 1, 15
		
	useshiftkey = 0
}

;******************************************
;	PUT THESE FUNCTIONS IN YOUR ACTUAL AUTOHOTKEY SCRIPT FILE

hidestr(thisstr)
{
	return thisstr
}

decode_hidestr(startstr) 
{
	global	
;$OBFUSCATOR: $DEFGLOBVARS: hexdigits
	critical
	static newstr, startstrlen, charnum, hinibble, lownibble, mybinary
;$OBFUSCATOR: $DEFLOSVARS: newstr, startstrlen, charnum, hinibble, lownibble, mybinary

	hexdigits = % "0123456789abcdef"
		
	decode_hexshiftkeys(startstr)
	
	startstr = % substr(startstr, 1, 1) . substr(startstr, 6)
	startstrlen = % strlen(startstr)
		
	newstr = 
	loop, % strlen(startstr) 
		newstr = % substr(startstr, a_index, 1) . newstr
	
	startstr = % newstr
	newstr = 
	charnum = 1
	loop
	{
		if (charnum >startstrlen)
			break
			
		hinibble = % substr(startstr, charnum, 1)
		hinibble = % instr(hexdigits, hinibble) - 1
		
		lownibble = % substr(startstr, charnum + 1, 1)
		lownibble = % instr(hexdigits, lownibble) - 1
		
		hinibble := decode_shifthexdigit(hinibble)
		lownibble := decode_shifthexdigit(lownibble)
		
		mybinary = % hinibble * 16 + lownibble
		newstr .= chr(mybinary)
		
		charnum += 2		
	}
		
	newstr = % fixescapes(newstr)
		
	return, newstr	
}
decode_hexshiftkeys(startstr)
{
	global
;$OBFUSCATOR: $DEFGLOBVARS: decodekey, ishexchar, useshiftkey
	
	decodekey := "[email protected]#[email protected]#@[email protected]#kk"
	ishexchar := "[email protected]@kffkk#f1fffffkf"
	
	%decodekey%%ishexchar%1 = % substr(startstr, 2, 1)
	%decodekey%%ishexchar%2 = % substr(startstr, 3, 1)
	%decodekey%%ishexchar%3 = % substr(startstr, 4, 1)
	%decodekey%%ishexchar%4 = % substr(startstr, 5, 1)
	
	loop, 4
		%decodekey%%a_index% = % instr(hexdigits, %decodekey%%ishexchar%%a_index%) - 1
			
	useshiftkey = 0
}	

decode_shifthexdigit(hexvalue)
{
	global
	
	useshiftkey++
	if (useshiftkey > 4)
		useshiftkey = 1	
	
	hexvalue -= %decodekey%%useshiftkey%
	
	if (hexvalue < 0) 
		hexvalue += 16
		
	return hexvalue	
}

fixescapes(forstr)
{
	global
	
	StringReplace, forstr, forstr, % "````", % "``", all
	StringReplace, forstr, forstr, % "``n", % "`n", all
	StringReplace, forstr, forstr, % "``r", % "`r", all
	StringReplace, forstr, forstr, % "``,", % "`,", all
	StringReplace, forstr, forstr, % "``%", % "`%", all	
	StringReplace, forstr, forstr, % "``;", % "`;", all	
	StringReplace, forstr, forstr, % "``t", % "`t", all
	StringReplace, forstr, forstr, % "``b", % "`b", all
	StringReplace, forstr, forstr, % "``v", % "`v", all
	StringReplace, forstr, forstr, % "``a", % "`a", all
	
	StringReplace, forstr, forstr, % """""", % """", all
	
	return forstr
}
What happens is that the variable Variable that is inside the CriticalObject is not being obfuscated. I need to obfuscate the variables and information that are inside the script:="(")" and I can't. Does anyone know how to make it work?

Here the code ofuscated:

Code: Select all

obf_copyright := " Date: 23:23 quarta-feira, 29 de maio de 2019   "
obf_copyright := "                                                "
obf_copyright := " THE FOLLOWING AUTOHOTKEY SCRIPT WAS OBFUSCATED "
obf_copyright := " BY DYNAMIC OBFUSCATOR L FOR AUTOHOTKEY         "
obf_copyright := " By DigiDon                                     "
obf_copyright := "                                                "
obf_copyright := " Based on DYNAMIC OBFUSCATOR                    "
obf_copyright := " Copyright (C) 2011-2013  David Malia           "
obf_copyright := " DYNAMIC OBFUSCATOR is released under           "
obf_copyright := " the Open Source GPL License                    "


;AUTOEXECUTE ORIGINAL NAME: autoexecute
;autoexecute
;$OBFUSCATOR: $DYNAMIC_MODE:

; --------------------
@kkff%[email protected]%[email protected]@kkfkf()
kf%[email protected]#[email protected]%@f#f#k#kfffk#f()
k%kf#f#f%#@f#%k##[email protected]%[email protected]@#[email protected]()
kkk%kkk#fkkfk#kkkfff%kk#%#[email protected]%f#[email protected]%[email protected]#f#fff##[email protected]%#fkf()

;$OBFUSCATOR: $DEFGLOBVARS: f%[email protected]%[email protected]%@f#f#f#[email protected]@[email protected]#@f%@#%[email protected]#[email protected]%[email protected]@,%#kf#[email protected]@%%#[email protected]##fff#k%%[email protected]@f%

Gui, +AlwaysOnTop
Gui, Add, Edit, r1 ReadOnly w200 vAlert, Stopped!
Gui, Add, Button, vStartScript gf##f#f#k#[email protected]#kkkk#f#[email protected], START!
Gui, Show,
return

toggle := 0
;LABEL ORIGINAL NAME: StartG
f##f#f#k#[email protected]#kkkk#f#[email protected]:
    toggle := !toggle
    if (toggle) {
        GuiControl,,StartScript, STOP!
        GuiControl,,Alert, Running!
        f%kf#f#f%f%fkk##[email protected]@ff##ff#%%fkf#%%@[email protected]#@[email protected]@ff%[email protected]#[email protected]@ := kfkfk%[email protected]#f#fff##[email protected]%k#@k%#[email protected]@%f#f#@f("cbcf6d02024512b612b61255ff")
		CritObj := CriticalObject({Variable: fff%k##kk#@[email protected]@ffkf##kf#%[email protected]#f%[email protected]#kff%@[email protected]})
		
       script:="
        ("
            Loop {
                CritObj := CriticalObject(A_Args[1])
				variable1 = `% CritObj.Variable
				var1++
				ToolTip, %variable1%%var1%
			}
        )"

		DllOn:=AhkThread(script,&CritObj)
    } else {
        DllOn.ahkTerminate.1
        GuiControl,,Alert, Stopped!
        GuiControl,,StartScript, START!
    }
return


;HOTKEY ORIGINAL NAME: Esc
Esc::ExitApp
GuiClose:
ExitApp

;*******************************************************************************
;                        O B F   D U M P   F U C T I O N S
;*******************************************************************************
;$OBFUSCATOR: $FUNCS_CHANGE_DEFAULTS: ,, -1
;FUNCTION ORIGINAL NAME: obf_dumpcommonobjfrags
@[email protected]@kkfkf() {  
    global
	;SECURITY CLASS FRAG: for class: COMMON for char: f
	fkk#%kfk#fkf#%@%#kfkff%k#f%#k#[email protected]%@ffffk#k=%#[email protected]@f%f%k##[email protected]%
	;SECURITY CLASS FRAG: for class: COMMON for char: k
	k#f%kfkfk##k%%f#[email protected]@ff#%@#k#%#k#k%k%#[email protected]#k%#[email protected]@ffkk#k#=%[email protected]##k%k%[email protected]%
	;SECURITY CLASS FRAG: for class: COMMON for char: @
	kfkff%@[email protected]@f%@f%fkk#kf%@ff%#kffkk%ffkf%#kkfk#%[email protected]#[email protected]@kk=%[email protected]%@%[email protected]#kfk#%
	;SECURITY CLASS FRAG: for class: COMMON for char: #
	kkk%#k#[email protected]%#[email protected]%[email protected]@%@ff%@fkfk#%[email protected]@k=%[email protected]#[email protected]%#%[email protected]@@f%

;TRIPLE MESS FRAGMENTS FOR: f
	#%#kf#f#%k%kkk#[email protected]@[email protected]@k%%fkk#@k#[email protected]#k%#[email protected]@[email protected]#kkfk:=f%k#[email protected]#k#k#[email protected]@ffkk#k#%k#%[email protected]@[email protected]#[email protected]@kk%k#f%k#[email protected]@%@f%fkk#@k#[email protected]#k%ffk#k
	[email protected]%fkk#@k#[email protected]#k%k%@ff#ffkf%k%k#[email protected]#k#k#[email protected]@ffkk#k#%f%kkk#[email protected]@[email protected]@k%%kfkfk##k%[email protected]@@[email protected]:=f%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%@%[email protected]@@f%k#%@[email protected]#f%[email protected]#k
	kk#%k#[email protected]#k#k#[email protected]@ffkk#k#%ff#%[email protected]#@f%k%[email protected]@[email protected]#[email protected]@kk%%fkk#@k#[email protected]#k%[email protected]@[email protected]#:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%@%k#[email protected]#k#k#[email protected]@ffkk#k#%#[email protected]%[email protected]%ffffk#k
	#kk%kfk#fkf#%%#k#[email protected]%%kkk#[email protected]@[email protected]@k%kkk%k#[email protected]#k#k#[email protected]@ffkk#k#%@k%k#[email protected]#k#k#[email protected]@ffkk#k#%#[email protected]@@f#[email protected]#k:=fk%@[email protected]#f%%k#[email protected]#k#k#[email protected]@ffkk#k#%%fff#k#ff%#@%k#[email protected]#k#k#[email protected]@ffkk#k#%#%fkk#@k#[email protected]#k%@ffffk#k
	@%#k#k%[email protected]%[email protected]@[email protected]#[email protected]@kk%k#[email protected]%kkk#[email protected]@[email protected]@k%[email protected]#k#kffk:=fkk%kkk#[email protected]@[email protected]@k%@k%[email protected]#[email protected]%%kkk#[email protected]@[email protected]@k%%fkk#@k#[email protected]#k%@ffffk#k
	kkf%@f#[email protected]%@#f%kkk#[email protected]@[email protected]@k%ff%k#[email protected]#k#k#[email protected]@ffkk#k#%f%[email protected]@[email protected]#[email protected]@kk%kfk##f:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%@%[email protected]@[email protected]%%k#[email protected]#k#k#[email protected]@ffkk#k#%#f%[email protected]%@ffffk#k
	@f#f%[email protected]%#f%kkk#[email protected]@[email protected]@k%kk%[email protected]@[email protected]#[email protected]@kk%@[email protected]#@f:=fkk%kkk#[email protected]@[email protected]@k%@k#%fkff#kfk%[email protected]%fkk#@k#[email protected]#k%ffk#k
	#k%#kffkk%@f%fkk#@k#[email protected]#k%@[email protected]%#k#[email protected]%kfk%fkk#@k#[email protected]#k%@[email protected]#k:=fkk%ff#kfk%%kkk#[email protected]@[email protected]@k%@%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%[email protected]#k
	#fffk%@[email protected]#f%%k#[email protected]#k#k#[email protected]@ffkk#k#%fff%[email protected]@[email protected]#[email protected]@kk%f#k#[email protected]:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%#%[email protected]@[email protected]#[email protected]@kk%%[email protected]%%#[email protected]%k%kkk#[email protected]@[email protected]@k%[email protected]#k
	fkk%#fkfff%f#%#kkk%f%fkk#@k#[email protected]#k%%fkk#@k#[email protected]#k%ffkffff#k#:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%#@%k#[email protected]#k#k#[email protected]@ffkk#k#%#f%kf#kkk%%[email protected]%@ffffk#k
	ff%@f#[email protected]%k%[email protected]@f%#%fkk#@k#[email protected]#k%%fkk#@k#[email protected]#k%[email protected]#ff#f#fffff:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%@k#%[email protected]@%[email protected]#k
	kfk%fkk#@k#[email protected]#k%ff#%[email protected]%kf#k%[email protected]%#k%fkk#@k#[email protected]#k%#kff#fkfkk:=fk%k#kf%k%kkk#[email protected]@[email protected]@k%%[email protected]@[email protected]#[email protected]@kk%k#%@fk##kkf%f%[email protected]@[email protected]#[email protected]@kk%ffffk#k
	k#f%fkk#@k#[email protected]#k%@k%k#[email protected]#k#k#[email protected]@ffkk#k#%%[email protected]%#k%fkk##f%#[email protected]#@f:=fk%#[email protected]@%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%@%k#[email protected]#k#k#[email protected]@ffkk#k#%#[email protected]#k
	@[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%f%k#[email protected]#k#k#[email protected]@ffkk#k#%@%k#kf%%ff#f#fkf%#[email protected]@k#:=fkk%kkk#[email protected]@[email protected]@k%%fkk#kf%@k%kkk#[email protected]@[email protected]@k%%fkk#@k#[email protected]#k%@ffffk#k
	k##f%@kfkff%[email protected]%[email protected]@[email protected]#[email protected]@kk%[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%##kk#:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%#%[email protected]@[email protected]#[email protected]@kk%k#f%[email protected]@[email protected]#[email protected]@kk%ff%@fkfk#%ffk#k
	@fk##%k##[email protected]%kkk#%fkk#@k#[email protected]#k%#k#[email protected]#%fkk#@k#[email protected]#k%[email protected]#ff:=f%[email protected]%%f##kkf%kk%kkk#[email protected]@[email protected]@k%@k%kkk#[email protected]@[email protected]@k%[email protected]#k
	fkk#%kkk#[email protected]@[email protected]@k%[email protected]%kkffkfkk%@f%fkk#@k#[email protected]#k%##ff#:=f%k#[email protected]#k#k#[email protected]@ffkk#k#%k%kkk#[email protected]@[email protected]@k%@k%kkk#[email protected]@[email protected]@k%[email protected]%@[email protected]@%ffffk#k
	[email protected]%#k#k%%[email protected]@[email protected]#[email protected]@kk%[email protected]%kkk#[email protected]@[email protected]@k%[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#[email protected]:=fk%fff#@[email protected]%k#%[email protected]@ffffkff@#[email protected]@kk%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%[email protected]#k
	k%fff##ffk%[email protected]@k%fkk#@k#[email protected]#k%%fkk#@k#[email protected]#k%f#@%fkk#@k#[email protected]#k%[email protected]@#k:=fk%k#[email protected]#k#k#[email protected]@ffkk#k#%#@k%[email protected]@[email protected]%#f%[email protected]@[email protected]#[email protected]@kk%ff%fkk#@k#[email protected]#k%fk#k
	kkk%#k#k%%kkk#[email protected]@[email protected]@k%fkk%fkk#@k#[email protected]#k%%k#[email protected]#k#k#[email protected]@ffkk#k#%#kkkfff:=f%k#[email protected]#k#k#[email protected]@ffkk#k#%k#%[email protected]@[email protected]#[email protected]@kk%k#[email protected]%[email protected]@fkf%ffffk#k
;TRIPLE MESS FRAGMENTS FOR: k
	kf#%[email protected]#[email protected]%%fkk#@k#[email protected]#k%@fkkf%kkk#[email protected]@[email protected]@k%f#[email protected]@f:=k%[email protected]%#f%[email protected]@[email protected]#[email protected]@kk%#k%kkk#[email protected]@[email protected]@k%k#[email protected]@ffkk#k#
	fk%#k#k%f#%[email protected]%f%[email protected]@[email protected]#[email protected]@kk%[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%%fkk#@k#[email protected]#k%f#f#[email protected]#[email protected]:=k#[email protected]#%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%k%kfk#fkf#%#[email protected]@ffkk#k#
	kfk%kkk#[email protected]@[email protected]@k%@f%fkk#@k#[email protected]#k%%kkk#[email protected]@[email protected]@k%%#ff#%%#kffkk%#ff#[email protected]:=k#%ff#f#fkf%[email protected]#%k#[email protected]#k#k#[email protected]@ffkk#k#%%f##kkf%%kkk#[email protected]@[email protected]@k%k#[email protected]@ffkk#k#
	@f#%k#[email protected]#k#k#[email protected]@ffkk#k#%@f#[email protected]%fk#kfffk%#kff%fkk#@k#[email protected]#k%[email protected]#:=k#%@[email protected]#f%[email protected]%f##kkf%#k#%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%[email protected]@ffkk#k#
	f%fkk#@k#[email protected]#k%%#kkfk#%#kkkk##%fkk#@k#[email protected]#k%[email protected]#[email protected]@f:=k%[email protected]#[email protected]%%kkk#[email protected]@[email protected]@k%%[email protected]#%%fkk#@k#[email protected]#k%@#k%kkk#[email protected]@[email protected]@k%k#[email protected]@ffkk#k#
	f%fkk#@k#[email protected]#k%f#@f%kkk#[email protected]@[email protected]@k%[email protected]#%@kfkff%k#f%#[email protected]@f%@[email protected]@#f:=k#f%[email protected]@[email protected]#[email protected]@kk%%[email protected]@fk#ff%#%k#[email protected]#k#k#[email protected]@ffkk#k#%#k%kkk#[email protected]@[email protected]@k%[email protected]@ffkk#k#
	[email protected]%f#f#kkfk%@[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%k#%fkk#@k#[email protected]#k%[email protected]%f#kkk#@k%[email protected]@[email protected]@ff:=k%kkk#[email protected]@[email protected]@k%f%[email protected]%@%kkk#[email protected]@[email protected]@k%k%fkff#kfk%#k#[email protected]@ffkk#k#
	[email protected]%fk#kfffk%%[email protected]@@f%@k%fkk#@k#[email protected]#k%%kkk#[email protected]@[email protected]@k%k%kkk#[email protected]@[email protected]@k%[email protected]@[email protected]#[email protected]:=k%kkk#[email protected]@[email protected]@k%%fkk#@k#[email protected]#k%@#k#%[email protected]#[email protected]%k#%fkk#@k#[email protected]#k%@[email protected]#k#
	@%[email protected]#@f%ff%[email protected]#kk#f#%k%kkk#[email protected]@[email protected]@k%k%[email protected]@[email protected]#[email protected]@kk%kk#@fkf#[email protected]#:=k#[email protected]%#k#k%%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%#%k#[email protected]#k#k#[email protected]@ffkk#k#%#[email protected]@ffkk#k#
	[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%k%ff#kfk%f#kkk%[email protected]@[email protected]#[email protected]@kk%[email protected]:=k#%#[email protected]%%fkk#@k#[email protected]#k%@#k%[email protected]@@f%#%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%[email protected]@ffkk#k#
	k%k#[email protected]#k#k#[email protected]@ffkk#k#%#%kkk##f%fk%[email protected]@[email protected]#[email protected]@kk%k%fkk#@k#[email protected]#k%%[email protected]%#k#[email protected]:=k%#fff%#[email protected]%[email protected]%%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%k#[email protected]@ffkk#k#
	@kf%fkk#@k#[email protected]#k%ff#%#[email protected]%%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#[email protected]:=k%kkk#[email protected]@[email protected]@k%[email protected]%f#[email protected]@kkf%#k%kkk#[email protected]@[email protected]@k%k#%fkk#@k#[email protected]#k%@[email protected]%#fkfff%ffkk#k#
	k#%f#[email protected]@kkf%%fff#@[email protected]%%[email protected]@[email protected]#[email protected]@kk%fkk%[email protected]@[email protected]#[email protected]@kk%k#[email protected]#:=k#%[email protected]#[email protected]%[email protected]%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%#k#[email protected]@ffkk#k#
	f%[email protected]@[email protected]%%k#[email protected]#k#k#[email protected]@ffkk#k#%@k#k%[email protected]@[email protected]#[email protected]@kk%[email protected]#[email protected]@:=k#%fkk#@k#[email protected]#k%@#k#k%kkk#[email protected]@[email protected]@k%f%#[email protected]@%@[email protected]#k#
	[email protected]%fkk#@k#[email protected]#k%fk#@fk%[email protected]%ff##k%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]@k:=k#[email protected]%kkk#[email protected]@[email protected]@k%k#k%kkk#[email protected]@[email protected]@k%[email protected]@%[email protected]@f%%[email protected]%ffkk#k#
	k#%kkk#[email protected]@[email protected]@k%fk#%kkk#[email protected]@[email protected]@k%kf#ffk%#[email protected]@%#[email protected]#@kkf:=k%kkk#[email protected]@[email protected]@k%f%[email protected]@[email protected]#[email protected]@kk%#k#%#fkfff%k#%@[email protected]%[email protected]@ffkk#k#
	k#%fkk#@k#[email protected]#k%#@%fkff#kfk%[email protected]%kkk#[email protected]@[email protected]@k%f%[email protected]@[email protected]#[email protected]@kk%@[email protected]#kk#[email protected]:=k%kkk#[email protected]@[email protected]@k%%fkk#@k#[email protected]#k%@#k%kkk#[email protected]@[email protected]@k%k%f##kkf%#f%kfk#fkf#%@[email protected]#k#
	@%fkk#@k#[email protected]#k%kf%#k#k%[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%k#[email protected]#f#kf#:=k#[email protected]%kf#f#f%#k#%@kfkkf%k#[email protected]%fkk#@k#[email protected]#k%@ff%k#[email protected]#k#k#[email protected]@ffkk#k#%k#k#
	fk%#fkfff%f%fkk#@k#[email protected]#k%@%f#kfkk%k%k#[email protected]#k#k#[email protected]@ffkk#k#%@[email protected]#k:=k#[email protected]%#kkfk#%#k%kkk#[email protected]@[email protected]@k%k#[email protected]%ff#f#fkf%[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%k#k#
	[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%%[email protected]#%k%kkk#[email protected]@[email protected]@k%f#fff##[email protected]:=k#[email protected]%kkk#[email protected]@[email protected]@k%k%[email protected]#%#k#%fkk#@k#[email protected]#k%@[email protected]%#fkfff%ffkk#k#
;TRIPLE MESS FRAGMENTS FOR: @
	fk#%f#kkk#@k%%fkk#@k#[email protected]#k%%kkk#[email protected]@[email protected]@k%k#fkf%[email protected]@[email protected]#[email protected]@kk%[email protected]@[email protected]@:=kf%k#[email protected]#k#k#[email protected]@ffkk#k#%%f#kfkk%ff%@[email protected]#f%%[email protected]@[email protected]#[email protected]@kk%%fkk#@k#[email protected]#k%@[email protected]#[email protected]@kk
	@[email protected]#%kkk##f%[email protected]%kkk#[email protected]@[email protected]@k%k#f#%fkk#@k#[email protected]#k%fk:=k%fkk#@k#[email protected]#k%[email protected]%#fkfff%f%[email protected]@[email protected]#[email protected]@kk%%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	@[email protected]%fkk#@k#[email protected]#k%k#k%kkk#[email protected]@[email protected]@k%k#kf%kkk##f%[email protected]%[email protected]#kff%kfkk:=kf%[email protected]##k%kff%[email protected]%@f%[email protected]@[email protected]#[email protected]@kk%f%fkk#@k#[email protected]#k%ff%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#[email protected][email protected]
	#%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]#k#k#[email protected]@ffkk#k#%kkkf%kf#kkk%[email protected]:=kfk%fkk#@k#[email protected]#k%[email protected]@fff%@fff%[email protected]%kkk#[email protected]@[email protected]@k%[email protected]@kk
	@%k#[email protected]#k#k#[email protected]@ffkk#k#%kf#f%kkk#[email protected]@[email protected]@k%fk%#[email protected]%f#%[email protected]@@f%[email protected]@#k:=kfk%fkk#@k#[email protected]#k%%fkk#@k#[email protected]#k%@f%#fff%@f%@kfkkf%[email protected]#[email protected]@kk
	fk%f#kkk#@k%#kkk%fkk#@k#[email protected]#k%%fkk#@k#[email protected]#k%k%[email protected]#@f%kkkff#k#f#f:=kfk%fkk#@k#[email protected]#k%[email protected]%f#[email protected]@ff#%[email protected]%fkk#@k#[email protected]#k%kf%[email protected]#kk#f#%[email protected]#[email protected]@kk
	f%kkk#[email protected]@[email protected]@k%f%[email protected]#%#%fff##ffk%#k%fkk#@k#[email protected]#k%f%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#kf#@[email protected]@k:=kfk%[email protected]##k%%#ff#%ff%[email protected]@[email protected]#[email protected]@kk%[email protected]%fkk#@k#[email protected]#k%ff%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	#kf%@f#[email protected]%%@[email protected]#f%%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]%fkk#@k#[email protected]#k%%[email protected]@[email protected]#[email protected]@kk%f#[email protected]#kfffff:=kfkf%fkk#@k#[email protected]#k%@f%#kkfk#%@f%fkk#@k#[email protected]#k%ffk%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	f#k#%fk#kfffk%[email protected]@fk%k#[email protected]#k#k#[email protected]@ffkk#k#%%[email protected]%k%fkk#@k#[email protected]#k%@k#[email protected]@fffff:=k%f#kfkk%f%@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]%fkk#@k#[email protected]#k%@ff%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	k##kk%fkk##f%#%[email protected]@[email protected]#[email protected]@kk%[email protected]%fkk#@k#[email protected]#k%@ffkf##kf#:=k%f#kkk#@k%fk%fkk#@k#[email protected]#k%%fkk#@k#[email protected]#k%@[email protected]%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	#kff#%k#[email protected]#k#k#[email protected]@ffkk#k#%@[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#%fkk#kf%kkfk%#[email protected]@%fffkk:=k%k#kf%f%f#f#kkfk%[email protected]%[email protected]@[email protected]#[email protected]@kk%%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	ff%k#[email protected]#k#k#[email protected]@ffkk#k#%kf%[email protected]%#k%fkk#@k#[email protected]#k%kf%[email protected]%#kf#k##k:=kfk%@[email protected]@k%[email protected]%f#[email protected]@kkf%[email protected]%fkk#@k#[email protected]#k%f%fkk#@k#[email protected]#k%%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#[email protected]@kk
	#k#%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]%[email protected]%#[email protected]@f%fkk#@k#[email protected]#k%kfff#ff#[email protected]:=kfkf%kkk#f#ff%[email protected]@%fkk#@k#[email protected]#k%f%[email protected]%f%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	@f%k#[email protected]#k#k#[email protected]@ffkk#k#%#k%k#[email protected]#k#k#[email protected]@ffkk#k#%@%f#kk%f#[email protected]#kff:=kfkf%fkk#@k#[email protected]#k%@[email protected]%@k#k#k%f%fkk#@k#[email protected]#k%fkf%fkk#@k#[email protected]#k%@#[email protected]@kk
	fk#f%fkk#@k#[email protected]#k%[email protected]%kkk##f%k%k#[email protected]#k#k#[email protected]@ffkk#k#%kk%[email protected]@[email protected]#[email protected]@kk%@kfkf##k:=kfkf%[email protected]%[email protected]@%fkk#@k#[email protected]#k%fffk%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	#fk#f%k#[email protected]#k#k#[email protected]@ffkk#k#%kff%#[email protected]%k#ff%[email protected]@[email protected]#[email protected]@kk%[email protected]#[email protected]:=kfk%[email protected]@f%[email protected]%fkk#@k#[email protected]#k%@ff%fkk#@k#[email protected]#k%fk%[email protected]#kfk#%ff%[email protected]@[email protected]#[email protected]@kk%#[email protected]@kk
	@[email protected]%f#[email protected]#%%k#kf%k%fkk#@k#[email protected]#k%k%fkk#@k#[email protected]#k%ffk#@[email protected]@ff:=kfk%@fkfk#%%ff#f#fkf%[email protected]%fkk#@k#[email protected]#k%@f%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	f%[email protected]#[email protected]%%k#[email protected]#k#k#[email protected]@ffkk#k#%fk%@ff#ffkf%kff%[email protected]@[email protected]#[email protected]@kk%k%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]#ffk#f#:=k%fkk#@k#[email protected]#k%kf%[email protected]%%fkk#@k#[email protected]#k%@%fkk#@k#[email protected]#k%@f%#[email protected]%[email protected]#[email protected]@kk
	#f%[email protected]#kfk#%kk%fkk#@k#[email protected]#k%ff%k#[email protected]#k#k#[email protected]@ffkk#k#%kfk%[email protected]#f%@#ffkk#:=kfkf%fkk#@k#[email protected]#k%@[email protected]%fkk#@k#[email protected]#k%f%#kkkf#ff%%fkk#@k#[email protected]#k%[email protected]#[email protected]@kk
	fff%kkk#[email protected]@[email protected]@k%f#@%[email protected]%ff%[email protected]%%fkk#@k#[email protected]#k%f#%[email protected]@[email protected]#[email protected]@kk%[email protected]:=kfkff%#kfkff%%[email protected]@[email protected]#[email protected]@kk%f%[email protected]@[email protected]%%[email protected]@[email protected]#[email protected]@kk%[email protected]#[email protected]@kk
;TRIPLE MESS FRAGMENTS FOR: #
	f%#[email protected]@%#%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]#k#k#[email protected]@ffkk#k#%kf#%k#[email protected]#k#k#[email protected]@ffkk#k#%f#kfffkkf#:=k%[email protected]%kk%kkk#[email protected]@[email protected]@k%k%[email protected]%@%[email protected]@[email protected]#[email protected]@kk%[email protected]@k
	k%k#[email protected]#k#k#[email protected]@ffkk#k#%%fkk#@k#[email protected]#k%#%k#[email protected]#k#k#[email protected]@ffkk#k#%f%@[email protected]@k%[email protected]:=kk%k#[email protected]#k#k#[email protected]@ffkk#k#%#%@[email protected]#f%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk##f%@@[email protected]@k
	fk#f%k#[email protected]#k#k#[email protected]@ffkk#k#%k#ff#%fkk##f%[email protected]#%fkk#@k#[email protected]#k%k%[email protected]%@kk#kkk#f:=k%[email protected]%k%k#[email protected]#k#k#[email protected]@ffkk#k#%#%k#[email protected]#k#k#[email protected]@ffkk#k#%%[email protected]@[email protected]#[email protected]@kk%@[email protected]@k
	#k%#[email protected]%%@fff%f%kkk#[email protected]@[email protected]@k%[email protected]#%k#[email protected]#k#k#[email protected]@ffkk#k#%#ff##kfk:=kkk%ff#f#fkf%%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k
	f%fkk#@k#[email protected]#k%#fk%[email protected]#kk#f#%fk%kkk#[email protected]@[email protected]@k%@%[email protected]@f%[email protected]#kff:=kk%@kfkkf%%k#[email protected]#k#k#[email protected]@ffkk#k#%#k%[email protected]@[email protected]#[email protected]@kk%@[email protected]@k
	k%kf#f#f%%[email protected]@[email protected]#[email protected]@kk%%fkk#@k#[email protected]#k%%k#kf%fkkf#@fk#fk:=k%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]#k#k#[email protected]@ffkk#k#%#k%f#[email protected]#%@@%fkk#@k#[email protected]#k%[email protected]@k
	#f%[email protected]@fk#ff%k%f#[email protected]@kkf%%kkk#[email protected]@[email protected]@k%f%[email protected]@[email protected]#[email protected]@kk%%kkk#[email protected]@[email protected]@k%ff##[email protected]:=kk%#ff#%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k
	#%@fk##kkf%k%k#[email protected]#k#k#[email protected]@ffkk#k#%k%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%%[email protected]#f%@kf#[email protected]:=k%fkf#%%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%[email protected]@[email protected]@k
	@fk%[email protected]#kk#f#%fkk%[email protected]##k%%kkk#[email protected]@[email protected]@k%fkf%k#[email protected]#k#k#[email protected]@ffkk#k#%##fk#:=k%k#[email protected]#k#k#[email protected]@ffkk#k#%%#kkk%k#%k#[email protected]#k#k#[email protected]@ffkk#k#%@%[email protected]%@[email protected]@k
	k#%#k#[email protected]%k#%fkk#@k#[email protected]#k%@ff%k#[email protected]#k#k#[email protected]@ffkk#k#%k%k#[email protected]#k#k#[email protected]@ffkk#k#%[email protected]:=k%f#kk%k%k#[email protected]#k#k#[email protected]@ffkk#k#%%[email protected]%%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k
	@kk%kkk#[email protected]@[email protected]@k%%#kffkk%[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%#%fkk#@k#[email protected]#k%@[email protected]@k##[email protected]:=k%[email protected]#f%%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]#k#k#[email protected]@ffkk#k#%%kkk#[email protected]@[email protected]@k%[email protected]@[email protected]@k
	#kf%kkk#[email protected]@[email protected]@k%@f%[email protected]@[email protected]#[email protected]@kk%k%fkk#@k#[email protected]#k%%@fk##kkf%#@fkkkk:=k%k#[email protected]#k#k#[email protected]@ffkk#k#%k#%#kkkf#ff%%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k
	@%[email protected]#kff%k%fff##ffk%ffk%[email protected]@[email protected]#[email protected]@kk%[email protected]%[email protected]@[email protected]#[email protected]@kk%[email protected]@@kk#[email protected]:=kk%@ff#%k%kkk#[email protected]@[email protected]@k%k%[email protected]@[email protected]#[email protected]@kk%@f%fkk#@k#[email protected]#k%[email protected]@k
	[email protected]%fkk#@k#[email protected]#k%ff%kkk#[email protected]@[email protected]@k%@%#[email protected]%f%[email protected]@[email protected]#[email protected]@kk%[email protected]#[email protected]@f:=k%fff##ffk%%k#[email protected]#k#k#[email protected]@ffkk#k#%k#%k#[email protected]#k#k#[email protected]@ffkk#k#%@%[email protected]@[email protected]#[email protected]@kk%[email protected]@k
	k%f#f#kkfk%k%#k#[email protected]%f%[email protected]@[email protected]#[email protected]@kk%%k#[email protected]#k#k#[email protected]@ffkk#k#%k%fkk#@k#[email protected]#k%k#k#f#k:=kkk%kkk#[email protected]@[email protected]@k%[email protected]@%fkff#kfk%ffk%[email protected]@[email protected]#[email protected]@kk%[email protected]
	k#%[email protected]%k%kkk#[email protected]@[email protected]@k%kf%[email protected]#%#%k#[email protected]#k#k#[email protected]@ffkk#k#%k%[email protected]@[email protected]#[email protected]@kk%ffkfff:=k%#[email protected]%k%k#[email protected]#k#k#[email protected]@ffkk#k#%#k%[email protected]@[email protected]#[email protected]@kk%@%fkk#@k#[email protected]#k%[email protected]@k
	f%k#[email protected]#k#k#[email protected]@ffkk#k#%%kf#f#f%#k#%fkk#@k#[email protected]#k%%kkk#[email protected]@[email protected]@k%ff#@[email protected]#f#:=k%k#[email protected]#kfk%%k#[email protected]#k#k#[email protected]@ffkk#k#%k#%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k
	kk%kkk#[email protected]@[email protected]@k%ff%kkk#[email protected]@[email protected]@k%f%[email protected]#[email protected]%f%[email protected]%k#f#k#:=k%k#[email protected]#k#k#[email protected]@ffkk#k#%k%@ff#%%[email protected]#%%kkk#[email protected]@[email protected]@k%%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k
	fkk%kkk#[email protected]@[email protected]@k%kk#kf%kf#f#f%##%k#[email protected]#k#k#[email protected]@ffkk#k#%fk#[email protected]%k#[email protected]#k#k#[email protected]@ffkk#k#%@f#[email protected]:=kk%#k#k%k%kkk#[email protected]@[email protected]@k%[email protected]%[email protected]%%[email protected]@[email protected]#[email protected]@kk%[email protected]@k
	f%fkk#@k#[email protected]#k%%[email protected]@[email protected]#[email protected]@kk%%#[email protected]%kkkk#f#kf#fk#:=k%k#[email protected]#k#k#[email protected]@ffkk#k#%%k#[email protected]@%k#%k#[email protected]#k#k#[email protected]@ffkk#k#%@@[email protected]@k

} 

;$OBFUSCATOR: $FUNCS_RESTORE_DEFAULTS:

;$OBFUSCATOR: $FUNCS_CHANGE_DEFAULTS: ,, -1

;FUNCTION ORIGINAL NAME: obf_dumpunclassed
[email protected]#f#k#kfffk#f() { 
    global
;OBF_FUNC name: obf_dumpcommonobjfrags
;OBF_FUNC name: obf_dumpunclassed
;OBF_FUNC name: obf_dumpunsecclasses
;OBF_FUNC name: obf_dumpall
	k%f#kkk#@k%%#[email protected]%k%k#[email protected]#k#[email protected]#@f%#%ff#kkkk##[email protected]#[email protected]@f%@%fkf#[email protected]@kff#f#[email protected]#[email protected]%@[email protected]@=k%[email protected]#[email protected]@kk%kfk%fkf#[email protected]@kff#f#[email protected]#[email protected]%#f%@[email protected]@%#%f##kkf%[email protected]#fkf
	#k%#fkfff%@f%k##fk##kf#ffk#[email protected]#@kkf%k%kfk#@ff##ff#[email protected]%k#%#[email protected]@[email protected]@[email protected]#k%ffk##k=kk%@ffk#[email protected]#@fkf#[email protected]#%fk%ff#kkkk##[email protected]#[email protected]@f%#f#%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%@%#[email protected]%k#fkf
;OBF_FUNC name: encode_hidestr
	#f%[email protected]#f#kf#fk#%%[email protected]@kfff#@[email protected]@#k%f%#[email protected]#k#[email protected]%%fkk##f%[email protected]@fkk=f%#[email protected]@%f%k#f#@[email protected]#[email protected]@[email protected]#kk#[email protected]%#%[email protected]#f%f%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%f%[email protected]#[email protected]@fkk#[email protected]@%[email protected]
	@%@kfkkf%fk%[email protected]#@fk#fk%%@[email protected]@@[email protected]@@kk#[email protected]%%[email protected]#%f#ff#k#=ff%k#@[email protected]#[email protected]#%#fk%#[email protected]#k%fkk%#k#[email protected]#[email protected]@ffkfff#ff#[email protected]%kk
;OBF_FUNC name: encode_shifthexdigit
	k%@f#[email protected]#[email protected]#[email protected]#%%@[email protected]#@[email protected]@ff%f%@f#f#f#[email protected]@[email protected]#@f%f%[email protected]#[email protected]%%#[email protected]%[email protected]@[email protected]=f%[email protected]#@[email protected]@#[email protected]@f%%#kk#[email protected]#[email protected]@@f#[email protected]#k%%#k#f#[email protected]@[email protected]#kkfk%f%[email protected]%ffkf#kff#
	@k%kf#kkk%f%#k#f#[email protected]@[email protected]#kkfk%[email protected]%#[email protected]@[email protected]@[email protected]#k%f%[email protected]@fk#ff%fk#ffk=f%[email protected]@f%#%[email protected]#[email protected]@@[email protected]%%#[email protected]@[email protected]@[email protected]#k%ff%ffk#[email protected]#ff#f#fffff%kf#kff#
;OBF_FUNC name: createhexshiftkeys
	kk%[email protected]%%fk#f#k#[email protected]@[email protected]@[email protected]%%#[email protected]#k#[email protected]%[email protected]@k=kk%@[email protected]#k#k#[email protected]%%[email protected]%%@[email protected]#[email protected]#f#kf#%@%[email protected]@[email protected]#[email protected]@k#[email protected]%f#kk#[email protected]
	k%[email protected]@[email protected]#k%[email protected]%kkk##f%#%[email protected]%[email protected]%fkk##[email protected]@ff##ff#%k%kkf#[email protected]%fff#kf=kk%#fk#fkkffk#[email protected]@#[email protected]%k%@fk#[email protected]#[email protected]#kff%ff%#kkkf#ff%%@[email protected]#f%#kk#[email protected]
;OBF_FUNC name: hidestr
	k%@kk#[email protected]#[email protected]@[email protected]##[email protected]%%f#[email protected]@ff#%k#%[email protected]@[email protected]#k%%fkkf#fffffkffff#k#%%#k#[email protected]%[email protected]@@k#[email protected]%@f#[email protected]#[email protected]#[email protected]#%#%@fk##kkk#f#k#[email protected]#[email protected]#ff%[email protected]%#[email protected]%[email protected]@[email protected]
	#f%fff#@[email protected]%%fk#fkk#ff#[email protected]#[email protected]#kkk#f%fk%fff#f#@ffff#@[email protected]%f%f#kkkf#kf#kfffkkf#%[email protected]#[email protected][email protected]%#k#[email protected]%k%#[email protected]#k%%f#kkkf#kf#kfffkkf#%%ffk#[email protected]f#ff#f#fffff%[email protected]@[email protected]@
;OBF_FUNC name: decode_hidestr
	f#@%k#@[email protected]#[email protected]#%#f%f##kkf%[email protected]%#kf#@[email protected]#@fkkkk%[email protected]%fkf#[email protected]@kff#f#[email protected]#[email protected]%[email protected]@=kfk%fkk##[email protected]@ff##ff#%%k##fk##kf#ffk#[email protected]#@kkf%%@fk##kkf%kk#%[email protected]%@kf#f#@f
	f#%kkk#f#ff%#%@fk##kkk#f#k#[email protected]#[email protected]#ff%@%[email protected]@[email protected]#k%#f%k##fk##kf#ffk#[email protected]#@kkf%@fk=kfkf%f#kk%%k#f#@[email protected]#[email protected]@[email protected]#kk#[email protected]%kk#@%@ffk#[email protected]#@fkf#[email protected]#%f#f#@f
;OBF_FUNC name: decode_hexshiftkeys
	f%[email protected]%#f%fkk#kk#kf##kfk#[email protected]@f#[email protected]%k#%[email protected]##k%@k%@ffk#[email protected]#@fkf#[email protected]#%%#[email protected]@[email protected]@[email protected]#k%kk#[email protected]=f%@kk#[email protected]#[email protected]@[email protected]##[email protected]%k#%[email protected]#kfk#%%[email protected]##k%%k#k#[email protected]@kk%kk#f#f#
	[email protected]#%#[email protected]#k%ff%k#[email protected]#k#[email protected]#@f%fk%#kk#[email protected]#[email protected]@@f#[email protected]#k%ff#kf#k=f%#[email protected]%#k#%ff#fkfk#@[email protected]#kff%kk%#fk#[email protected]#ff##[email protected]%f#f#
;OBF_FUNC name: decode_shifthexdigit
	#%kfk#@ff##ff#[email protected]%%#[email protected]@f%#f%[email protected]#[email protected]@@[email protected]%@%#[email protected]@%#f#[email protected]#[email protected]%[email protected]#[email protected]@kk%%#kfk#[email protected]%%ff#kkkk##[email protected]#[email protected]@f%%#fk#fkkffk#[email protected]@#[email protected]%[email protected]@kff
	k#%[email protected]@[email protected]#[email protected]@k#[email protected]%%fff#@f#[email protected]#k#[email protected]@[email protected]#f%k#%[email protected]@f%#f#%kkk##f%ff#f#[email protected][email protected]%[email protected]#[email protected]%%fff#k#ff%k%@kffff#[email protected]#[email protected]%%#kff#[email protected]@[email protected]#kkfkfffkk%%k#[email protected]#k#[email protected]#@f%[email protected]@kff
;OBF_FUNC name: fixescapes
	k%[email protected]%fkf%@[email protected]#f%k%#[email protected]@f#[email protected]#kfffff%f#%ffk#[email protected]#ff#f#fffff%#[email protected]@=k#k#%k#[email protected]#k#[email protected]#@f%k%[email protected]@f%@kf%@[email protected]@k#[email protected]#[email protected]#k#kffk%@kkkkf
	k%k#[email protected]#k#[email protected]#@f%f%#fk#fkkffk#[email protected]@#[email protected]%k%[email protected]%kff%[email protected]##k%@fk#@kkk=k#%k#@[email protected]#[email protected]#%#%#[email protected]%f%fkf#[email protected]@kff#f#[email protected]#[email protected]%@%[email protected]#[email protected]@fkk#[email protected]@%[email protected]

;OBF_LABEL name: StartG
	ffkf#%f#kkk#@k%[email protected]%@[email protected]#[email protected]#k#f#ffk%[email protected]#ffk%#ff#%%@[email protected]@k#[email protected]#[email protected]#k#kffk%kfk##kkk#ff#fk#f=f##f%k#k#kf#[email protected]%%#[email protected]#k#[email protected]%#k%@[email protected]@%#kf%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%[email protected]#kkkk#f#[email protected]
	kk%fkk##f%ffk%#kk#[email protected]#[email protected]@@f#[email protected]#k%%#kf#@[email protected]#@fkkkk%%[email protected]#@f%fk%[email protected]#@fk#fk%@k#[email protected]@#ffkfk#f=f##%fff##ffk%f#f#%ff#kkkk##[email protected]#[email protected]@f%#%#kfkff%kf%@f#[email protected]#[email protected]#[email protected]#%[email protected]%#kf#[email protected]#k#ff##kfk%kkkk#f#[email protected]
;OBF_LABEL name: Esc

}


;FUNCTION ORIGINAL NAME: obf_dumpunsecclasses
k#@f#[email protected]@#[email protected]() { 
    global


}

;$OBFUSCATOR: $FUNCS_RESTORE_DEFAULTS:

;FUNCTION ORIGINAL NAME: obf_dumpall
kkkfkk#f#[email protected]#fkf() {  
    global
;OBF_GLOBVAR name: COUNT
	%fkfk%%@ff#%%[email protected]#@fkff##[email protected]@k%%[email protected]#[email protected]@fkk#[email protected]@%%fkk##[email protected]@ff##ff#%[email protected]@k=fff%@[email protected]#[email protected]#k#f#ffk%f%#kffkk%@#%k##[email protected]@[email protected]##kk#%@[email protected]
	k%@[email protected]@k#[email protected]#[email protected]#k#kffk%k%#[email protected]%f%#[email protected]@f%%[email protected]#@fkff##[email protected]@k%%[email protected]#[email protected]@@[email protected]%@[email protected]#=f%#[email protected]#k%f%kkk#fkkfk#kkkfff%@%@f#f#f#[email protected]@[email protected]#@f%%#kff#[email protected]@[email protected]#kkfkfffkk%#[email protected]@
;OBF_GLOBVAR name: Variable
	#%fkk##f%k%#[email protected]%@%[email protected]#[email protected]@kk%k%[email protected]#@[email protected]@#[email protected]@f%#%k##[email protected]@[email protected]##kk#%ff#[email protected]%[email protected]#@fkff##[email protected]@k%#%[email protected]#%%[email protected]#[email protected]@@[email protected]%%@kfkkf%kkf#
	%[email protected]%%#kf#[email protected]#k#ff##kfk%%k##fk##kf#ffk#[email protected]#@kkf%%kfk#@ff##ff#[email protected]%[email protected]=%[email protected]#[email protected]%%[email protected]@f#ffk#f#%%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%%fkk#kk#kf##kfk#[email protected]@f#[email protected]%%#[email protected]#k%fkkf#
;OBF_GLOBVAR name: hexdigits
	%@f#[email protected]#[email protected]#[email protected]#%%#fk#fkkffk#[email protected]@#[email protected]%%@fkfk#%%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%%k#[email protected]@%@[email protected]=k%#kf#[email protected]#k#ff##kfk%%ffk#[email protected]#ff#f#fffff%%[email protected]%%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%[email protected]
	ff%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%%#[email protected]@[email protected]@[email protected]#k%f%[email protected]#%##fkf=k%@kk#[email protected]#[email protected]@[email protected]##[email protected]%%@f#[email protected]%f%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%%@fk##kkk#f#k#[email protected]#[email protected]#ff%@kf
;OBF_GLOBVAR name: decodekey
	@%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%k%#kkk%k%#k#[email protected]#[email protected]@ffkfff#ff#[email protected]%f%@[email protected]@#[email protected]@k#%@=#%#kffkk%%kk#[email protected]#k#[email protected]%#%[email protected]##k%%[email protected]#@fkff##[email protected]@k%[email protected]
	%@fk##kkk#f#k#[email protected]#[email protected]#ff%%@fkfkk#fkfk##fk#%%#kfkff%%kfkfff#kf#k#kf#kff#fkfkk%f#f=#%#f#k#f%k%#kkkk#@kf#[email protected]%k%[email protected]#[email protected]@fkk#[email protected]@%k%k#f#@[email protected]#[email protected]@[email protected]#kk#[email protected]%@
;OBF_GLOBVAR name: ishexchar
	@%kkk#fkkfk#kkkfff%k%@fk##kkk#f#k#[email protected]#[email protected]#ff%#f%fkk##f%k%fkf#%##k#[email protected]%fkfk%%fkk#kf%%[email protected]#[email protected]@fkk#[email protected]@%%f#kkkf#kf#kfffkkf#%%kkk#fkkfk#kkkfff%[email protected]
	f%@[email protected]#[email protected]#k#f#ffk%%@fk##kkk#f#k#[email protected]#[email protected]#ff%%[email protected]@f%%@[email protected]#k#k#[email protected]%%[email protected]#kfk#%[email protected][email protected]%fff#@[email protected]%%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%#%[email protected]#[email protected]@@[email protected]%[email protected]
;OBF_GLOBVAR name: useshiftkey
	@%fff#k#ff%%[email protected]#@fkff##[email protected]@k%%#k#f#[email protected]@[email protected]#kkfk%%#[email protected]@%[email protected]#k=k%fff#@[email protected]%k%#[email protected]@f%%fk#f#k#[email protected]@[email protected]@[email protected]%f%[email protected]#[email protected]@@[email protected]%f%k#@[email protected]#[email protected]#%kf##k
	f%#k#f#[email protected]@[email protected]#kkfk%#%[email protected]#kk#f#%%ff#kfk%k%fff#f#@ffff#@ff[email protected]%%[email protected]@kfff#@[email protected]@#k%[email protected]#f=k%#kffkk%k%@[email protected]#[email protected]#k#f#ffk%ff%kkk#fkkfk#kkkfff%kkf##k



;LOS vars for function  named: decode_hidestr
;OBF_FUNC_9_LOSVAR name: newstr
	[email protected]%kkk##f%%[email protected]@fkf%#%@[email protected]#[email protected]#f#kf#%@[email protected]%#[email protected]@[email protected]@[email protected]#k%[email protected][email protected]%@[email protected]#@[email protected]@ff%%[email protected]#@fkff##[email protected]@k%%@fk##kkk#f#k#[email protected]#[email protected]#ff%fk%@[email protected]@k%fk#[email protected]@k
	k%[email protected]@kfff#@[email protected]@#k%fk%[email protected]%k#%#kff#[email protected]@[email protected]#kkfkfffkk%kk%@[email protected]@k#[email protected]#[email protected]#k#kffk%%@[email protected]@f%[email protected]@[email protected]%kk#[email protected]%@kf%[email protected]#[email protected]@@[email protected]%kfk%k#k#kf#[email protected]%k%kf#[email protected]#f#[email protected]@f%@@k
;OBF_FUNC_9_LOSVAR name: startstrlen
	@fkkk#k%fff##ffk%f%fk#fkk#ff#[email protected]#[email protected]#kkk#f%f#[email protected]@%kfk#@ff##ff#[email protected]%fffkkfkf#f=fk%#k#[email protected]%%fk#[email protected]@@kfkf##k%%[email protected]@[email protected]#k%[email protected]%fff##ffk%#%k##[email protected]@[email protected]##kk#%f#fffkf##f
	k%#[email protected]%[email protected]@f%@[email protected]#[email protected]#f#kf#%@%[email protected]%[email protected]%#kfk#[email protected]%k#k#fkfkff=fk%#[email protected]#ffkk#%%fff#@[email protected]%k%k#[email protected]#k#[email protected]#@f%%kkk#f#ff%@#%#[email protected]@[email protected]@[email protected]#k%f#fffkf##f
;OBF_FUNC_9_LOSVAR name: charnum
	@[email protected]%ff#kfk%#%kkk#f#ff%k#kf%k##[email protected]@[email protected]##kk#%#%k##fk##kf#ffk#[email protected]#@kkf%k%kk#ff#ffk#f#k#%[email protected]#fkf=k%kfkfff#kf#k#kf#kff#fkfkk%k#%@fkfkk#fkfk##fk#%%[email protected]@@f%ff%@fkfk#%#%fff#@f#[email protected]#k#[email protected]@[email protected]#f%@fff#@ff#
	k#%@[email protected]@%%kf#[email protected]#f#[email protected]@f%@%#k#f#[email protected]@[email protected]#kkfk%kf#@%@kffff#[email protected]#[email protected]%[email protected]@@f#kf#@kkk=kfk%#[email protected]%##%kkk#fkkfk#kkkfff%f%[email protected]#k#f#k%[email protected]%@f#f#f#[email protected]@[email protected]#@f%f#@ff#
;OBF_FUNC_9_LOSVAR name: hinibble
	@%@ffk#[email protected]#@fkf#[email protected]#%%fff#f#@ffff#@[email protected]%%f##kkf%ff%#[email protected]@[email protected]@[email protected]#k%@f#%[email protected]%[email protected]#fkkf#k#=#[email protected]%@[email protected]#f%k%@fkfkk#fkfk##fk#%%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%##%#kk#[email protected]#[email protected]@@f#[email protected]#k%@fk#[email protected]@[email protected]#
	[email protected]%[email protected]#[email protected]%fk%kkk#fkkfk#kkkfff%[email protected]%ff#kkkk##[email protected]#[email protected]@f%%[email protected]@kfff#@[email protected]@#k%ffk#fkffkk#=#%kk#kff#[email protected]@[email protected]@f#%@kk#%@[email protected]@%k#%#kfkff%#[email protected]%fff#@f#[email protected]#k#[email protected]@[email protected]#f%#[email protected]@[email protected]#
;OBF_FUNC_9_LOSVAR name: lownibble
	[email protected]%@kfkff%#[email protected]%fk#kkkffkkkkff#k#f#f%%[email protected]#[email protected]@kk%f#[email protected]%@fkfkk#fkfk##fk#%kfkffff=f%ff#fkfk#@[email protected]#kff%%#k#[email protected]%kf%ffk#[email protected]#ff#f#fffff%[email protected]%k#@[email protected]#[email protected]#%[email protected]@f
	fff%kkffkfkk%k%k#[email protected]@%f%[email protected]#f#[email protected]##f%[email protected]%@[email protected]#[email protected]#f#kf#%k#f#[email protected]@fkk=f#%[email protected]@[email protected]#k%f%[email protected]#[email protected]%%@fk##kkk#f#k#[email protected]#[email protected]#ff%%[email protected]@[email protected]#k%[email protected]@[email protected]
;OBF_FUNC_9_LOSVAR name: mybinary
	#%[email protected]@[email protected]#[email protected]@k#[email protected]%k%kfk#fkf#%%fff##ffk%%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%#%@f#[email protected]#[email protected]#[email protected]#%kf#[email protected][email protected]#%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%%[email protected]%@#%[email protected]#f#[email protected]##f%[email protected]#
	kf%fkfk%f%kf#[email protected]#f#[email protected]@f%kk%[email protected]#[email protected]@@[email protected]%fk%fff#@[email protected]%%kk#kff#[email protected]@[email protected]@f#%[email protected]##[email protected]%@kffff#[email protected]#[email protected]%#[email protected]%ff#fkfk#@[email protected]#kff%f%#k#k%f%fk#kkkffkkkkff#k#f#f%kfkfk#

;PARAMETERS for function  named: encode_hidestr
;OBF_FUNC_5_PARAM name: startstr
	f%#kfkff%%k#kf%@#%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%kf%[email protected]#@fkff##[email protected]@k%%kk#[email protected]#k#[email protected]%f#f#ff#f=fkf%[email protected]@[email protected]#[email protected]@k#[email protected]%@%kk#kff#[email protected]@[email protected]@f#%f%kkk#f#ff%kf#%k#k#kf#[email protected]%ff##f
	[email protected]@%#[email protected]@%f#kk%[email protected]#[email protected]%%k##[email protected]@[email protected]##kk#%%ffk#[email protected]#ff#f#fffff%[email protected]#[email protected]=f%kk#[email protected]#k#[email protected]%%@[email protected]@#[email protected]@k#%[email protected]%@fff%f%[email protected]#f#[email protected]##f%k%[email protected]#kfk#%f##ff##f
;PARAMETERS for function  named: encode_shifthexdigit
;OBF_FUNC_6_PARAM name: hexvalue
	f#k%ff#fkfk#@[email protected]#kff%#fk%[email protected]#k#f#k%@kf%#k#[email protected]%#kf%k#@[email protected]#[email protected]#%@#%f#kfkk%kkkfkk#=#%[email protected]#kk#f#%f%fff#@f#[email protected]#k#[email protected]@[email protected]#f%%fkk#kk#kf##kfk#[email protected]@f#[email protected]%[email protected]@[email protected]@[email protected]
	kkf%[email protected]#[email protected]%f%fkk##[email protected]@ff##ff#%k#k%@fk##kkf%fkk%f#k#[email protected]@[email protected]#[email protected]@fffff%@kkfffff=#f%[email protected]#f%k#%#kk#[email protected]#[email protected]@@f#[email protected]#k%@@%#kk#[email protected]#[email protected]@@f#[email protected]#k%@f%#k#[email protected]#[email protected]@ffkfff#ff#[email protected]%[email protected]
;PARAMETERS for function  named: hidestr
;OBF_FUNC_8_PARAM name: thisstr
	#f%@fff%f%#[email protected]%%@fk##kkf%fk#%fff#@f#[email protected]#k#[email protected]@[email protected]#f%k%k##fk##kf#ffk#[email protected]#@kkf%f#kfk#@[email protected]=#[email protected]%[email protected]#[email protected]%f#%[email protected]#[email protected]@fkk#[email protected]@%%[email protected]#k#f#k%[email protected]%kkk#fkkfk#kkkfff%#k#@f
	@%[email protected]#[email protected]@@[email protected]%%[email protected]#f#fff##[email protected]%@f%@[email protected]@%f%kk#ff#ffk#f#k#%[email protected]#f=#k%f#f#kkfk%%#[email protected]#ffkk#%f%f#kkkf#kf#kfffkkf#%k#%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%@ff#k#@f
;PARAMETERS for function  named: decode_hidestr
;OBF_FUNC_9_PARAM name: startstr
	[email protected]%[email protected]@@f%k%#[email protected]%%#ff#%%@[email protected]@#[email protected]@k#%fk%fff#@f#[email protected]#k#[email protected]@[email protected]#f%f#[email protected]#k#ff#[email protected]%@fk##kkf%f%k##kk#@[email protected]@ffkf##kf#%%@[email protected]@k#[email protected]#[email protected]#k#kffk%[email protected]
	k%@fk#[email protected]#[email protected]#kff%k%[email protected]#@[email protected]@#[email protected]@f%#k#f%[email protected]%ff%@[email protected]@@[email protected]@@kk#[email protected]%[email protected]#[email protected][email protected]%#ff#%[email protected]%@[email protected]@k#[email protected]#[email protected]#k#kffk%k%[email protected]#[email protected]@fkk#[email protected]@%[email protected]
;PARAMETERS for function  named: decode_hexshiftkeys
;OBF_FUNC_10_PARAM name: startstr
	f%f#f#kkfk%f%f#f##[email protected]#kf#@[email protected]@k%[email protected]%#[email protected]@[email protected]@[email protected]#k%@[email protected]##[email protected]@k=#[email protected]%#ff#%%@ffk#[email protected]#@fkf#[email protected]#%kf%[email protected]@[email protected]#k%[email protected]@k
	#f%#[email protected]@[email protected]@[email protected]#k%%[email protected]#[email protected]%@%[email protected]%%kfk#@ff##ff#[email protected]%##f#%[email protected]#f#fff##[email protected]%#[email protected]@ffkffk#f=#%ff#kkkk##[email protected]#[email protected]@f%@%#[email protected]@%%[email protected]#f#fff##[email protected]%k%fkk##[email protected]@ff##ff#%k%[email protected]@[email protected]%[email protected]@k
;PARAMETERS for function  named: decode_shifthexdigit
;OBF_FUNC_11_PARAM name: hexvalue
	kf%[email protected]@@f%%@[email protected]#[email protected]#f#kf#%@k%@[email protected]@@[email protected]@@kk#[email protected]%%fkkf#fffffkffff#k#%[email protected]#[email protected]=#%[email protected]%%fff#@f#[email protected]#k#[email protected]@[email protected]#f%f%#kkkk#@kf#[email protected]%[email protected]%kk#ff#ffk#f#k#%[email protected]
	#f#%[email protected]#@fkff##[email protected]@k%[email protected]%kkk#fkkfk#kkkfff%[email protected]%[email protected]@@f%#[email protected]#=#%ff#f#fkf%%fkf#[email protected]@kff#f#[email protected]#[email protected]%f%@kfkkf%#%kfkfff#kf#k#kf#kff#fkfkk%@%k#k#kf#[email protected]%[email protected]
;PARAMETERS for function  named: fixescapes
;OBF_FUNC_12_PARAM name: forstr
	kf%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%#[email protected]%[email protected]#[email protected]@@[email protected]%%@[email protected]@k%k#f#k#[email protected]=#kf%kf#[email protected]#f#[email protected]@f%@%[email protected]@f%f%fff#@f#[email protected]#k#[email protected]@[email protected]#f%[email protected]
	[email protected]@%@[email protected]#f%kf%fk#[email protected]@@kfkf##k%#k%[email protected]#[email protected]%%[email protected]#[email protected]@fkk#[email protected]@%[email protected]@k#=#kf%[email protected]#kk#f#%[email protected]%[email protected]#f#[email protected]##f%kk%@[email protected]@k#[email protected]#[email protected]#k#kffk%[email protected]




}


;FUNCTION ORIGINAL NAME: encode_hidestr
ffk#[email protected]([email protected]##ff##f) { 
	global
	static onechar, newstr, secstartstr, k#[email protected] 
	
	k%#kkkk#@kf#[email protected]%%[email protected]%f%@ff#ffkf%[email protected] = 0123456789abcdef

	[email protected]@%[email protected]@kfff#@[email protected]@#k%f#kk#k%kkffkfkk%@k()
		
	newstr = 
	;convert to hexidecimal
	loop, % strlen(fk%[email protected]@fkf%f%@[email protected]@#[email protected]@k#%@f%[email protected]@fk#ff%fk%#[email protected]#k#[email protected]%##ff##f)
	{
		strascii = % asc(substr(%[email protected]@f#[email protected]#[email protected]%%#kf#[email protected]@%%kkk##f%, a_index, 1))
		hinibble = % strascii // 16
		lownibble = % strascii - (hinibble * 16)
		
		;shift the hex digits in order to encrypt them
		hinibble := f#%ffk#[email protected]#ff#f#fffff%ff%f#[email protected]@ff#%%fk#kfffk%ffkf#kff#(hinibble)
		lownibble := f%[email protected]#f#kf#fk#%%fk#kfffk%%fkk##[email protected]@ff##ff#%ffffkf#kff#(lownibble)
		
		newstr .= substr(k%fff#@[email protected]%%[email protected]#@[email protected]@#[email protected]@f%%kf#f#f%%@[email protected]@#[email protected]@k#%[email protected], hinibble + 1, 1) . substr(k%fk#k#f#ff#@[email protected]#f#%%ffk#[email protected]#ff#f#fffff%k%k#kf%f%[email protected]@[email protected]%@kf, lownibble + 1, 1)
	}
	
	fk%@f#f#f#[email protected]@[email protected]#@f%[email protected]%[email protected]#kfk#%%[email protected]@fkf%ffkf##ff##f := newstr
	;now i'll reverse the hex string
	newstr = 
	loop, % strlen(f%k#[email protected]@%kf%#[email protected]%[email protected]%[email protected]#[email protected]@kk%f##ff##f) 
		newstr = % substr(fk%f#kfkk%f%[email protected]@[email protected]#[email protected]@k#[email protected]%@ff%[email protected]#[email protected]@fkk#[email protected]@%f##ff##f, a_index, 1) . newstr
	
	;convert key values to hex values. i can convert directly to
	;single hex digits because my keys only range from 1-15
	allhexkeys =
	loop, 4
		allhexkeys .=  substr(k%ff#fkfk#@[email protected]#kff%%[email protected]@[email protected]%f%#[email protected]%[email protected], key%a_index% + 1, 1)
	
	;stuff the key values into the string starting at character 2
	newstr := substr(newstr, 1, 1) . allhexkeys . substr(newstr, 2)
	
	return, newstr
}


;FUNCTION ORIGINAL NAME: encode_shifthexdigit
f#fffffkf#kff#(#fk#[email protected]@[email protected]@[email protected]) { 
	global
	
	;each time i enter this routine i will use the next key value
	;to shift the hexvalue
	%fff#@[email protected]%%[email protected]@fkf%%@[email protected]#k%++
	if (kk%[email protected]#kff%%@fk#[email protected]#[email protected]#kff%%[email protected]#kfk#%fffkkf##k > 4)
		%f#kk%%@[email protected]#k%%kfk#fkf#% = 1	
	
	;add the shift key to the hexvalue 
	#fk#%#[email protected]@[email protected]@[email protected]#k%%kkk#f#ff%@@[email protected]@[email protected] += key%#k#k%%[email protected]##k%%#k#[email protected]%
	
	;if i go over, just substract 16 to simulate a circle of hex
	if (#fk#%#kk#[email protected]#[email protected]@@f#[email protected]#k%@%[email protected]@f%@[email protected]%#[email protected]#k%[email protected]@k > 15) 
		%k#kf%%f#k##fk#@kf#[email protected]#kkkfkk#%%[email protected]% -= 16
		
	return #f%@kffff#[email protected]#[email protected]%#f%@[email protected]@f%@@f%f#f##[email protected]#kf#@[email protected]@k%[email protected]%[email protected]#%[email protected]
	
}


;FUNCTION ORIGINAL NAME: createhexshiftkeys
[email protected]@ff#kk#[email protected]() { 
	global
	
	;create random 4 entry 'encrypt' key, each entry can be 1-15
	loop, 4
		random, key%a_index%, 1, 15
		
	kk%#fff%@%kfkfff#kf#k#kf#kff#fkfkk%%f#kk%f%[email protected]@kfff#@[email protected]@#k%kkf##k = 0
}


;SKIPPED MOVING function: 'hidestr()' to OBF CODE


;FUNCTION ORIGINAL NAME: decode_hidestr
kfkfkkk#@kf#f#@f([email protected]@[email protected]) {  
	global	
;$OBFUSCATOR: $DEFGLOBVARS: %fkk##f%%[email protected]@[email protected]%%f#kk%
	critical
	static @[email protected]#[email protected]@k, [email protected]@#ff#fffkf##f, kfk##ff#[email protected]#@ff#, #[email protected]#k##[email protected]#[email protected]@[email protected]#, f#[email protected]@[email protected], [email protected]#[email protected]#[email protected]#
;$OBFUSCATOR: $DEFLOSVARS: %#[email protected]@%%[email protected]#[email protected]@[email protected]%%#kkk%, %f#[email protected]#%%@fkkk#kf#f#[email protected]@kfffkkfkf#f%%#fff%, kfk##%#kkfk#%ff#k%@[email protected]@%@f%kk#kff#[email protected]@[email protected]@f#%f#@ff#, #[email protected]#%@[email protected]#[email protected]#f#kf#%##f%[email protected]%@%@[email protected]#f%fk#[email protected]@[email protected]#, f#kff%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%%k#[email protected]@%[email protected]%[email protected]%[email protected]@f, [email protected]%@[email protected]#[email protected]#f#kf#%#[email protected]#%k#kf%[email protected]%fff#@f#[email protected]#k#[email protected]@[email protected]#f%fkfk#

	k%k#k#[email protected]@kk%%kf#f#f%f%#[email protected]#k%%kk#[email protected]#k#[email protected]%[email protected] = % "0123456789abcdef"
		
	f#k%#k#[email protected]%%[email protected]#@[email protected]@#[email protected]@f%%@[email protected]@@[email protected]@@kk#[email protected]%kk#f#f#(k%[email protected]#[email protected]%%k##fk##kf#ffk#[email protected]#@kkf%@%[email protected]#f#[email protected]##f%%kkk#f#ff%@[email protected])
	
	k%#kfk#[email protected]%[email protected]%fff#f#@ffff#@[email protected]%%[email protected]#f#[email protected]##f%[email protected] = % substr(kk%f#[email protected]@ff#%@f%f#k#[email protected]@[email protected]#[email protected]@fffff%fkk%fkff#kfk%[email protected], 1, 1) . substr(kk%[email protected]#kfk#%@%kkk#fkkfk#kkkfff%@f%[email protected]#[email protected]@kk%%[email protected]#%[email protected], 6)
	[email protected]%#kffkk%[email protected]%fk#k#f#ff#@[email protected]#f#%f%k#[email protected]#k#[email protected]#@f%#fffkf##f = % strlen(%[email protected]%%[email protected]@@f%%[email protected]@ffkkf#[email protected]#k#ff#%)
		
	@f%@ffk#[email protected]#@fkf#[email protected]#%@kff%[email protected]%kf%@kfkkf%k#[email protected]@k = 
	loop, % strlen([email protected]%f#[email protected]@ff#%%@f#f#f#[email protected]@[email protected]#@f%@f%kf#[email protected]#f#[email protected]@f%[email protected]) 
		@%#[email protected]@%f%#[email protected]@f%k%#[email protected]%kffkfk#[email protected]@k = % substr(kk%#fk#fkkffk#[email protected]@#[email protected]%%kk#[email protected]%%@[email protected]@f%[email protected]@, a_index, 1) . %@fk##kkf%%fff##ffk%%kffkk#@[email protected]@f%
	
	kk%#kff#[email protected]@[email protected]#kkfkfffkk%%kk#[email protected]%[email protected]@ = % @f%fk#kfffk%%fk#kfffk%[email protected]%@fk##kkk#f#k#[email protected]#[email protected]#ff%kfk#[email protected]@k
	@[email protected]%[email protected]%kffk%kk#kff#[email protected]@[email protected]@f#%k#k%k#f#@[email protected]#[email protected]@[email protected]#kk#[email protected]%@@k = 
	k%@fff%fk##f%[email protected]@[email protected]#[email protected]@k#[email protected]%#k%fff#f#@ffff#@[email protected]%fff#@ff# = 1
	loop
	{
		if (kf%#ff#%k##%@[email protected]@#[email protected]@k#%f#%[email protected]#%k%[email protected]@f#ffk#f#%fff#@ff# >f%#kffkk%%fff#@f#[email protected]#k#[email protected]@[email protected]#f%@[email protected]#ff#fffkf##f)
			break
			
		%[email protected]@fkfffk#fkffkk#%%kfkfk##k%%@[email protected]@f% = % substr(k%[email protected]#@f%[email protected]%fkkf#fffffkffff#k#%@[email protected], kfk#%[email protected]#@fk#fk%ff#[email protected]%f#[email protected]#%fff%[email protected]#f#kf#fk#%@ff#, 1)
		%kkk##f%%@[email protected]@f#[email protected]#fkkf#k#%%#kf#f#% = % instr(k%[email protected]#k#f#k%f%#kf#[email protected]@%%[email protected]#@fkff##[email protected]@k%f%f#kfkk%@kf, #[email protected]%[email protected]#f#kf#fk#%k%ff#fkfk#@[email protected]#kff%#[email protected]#%[email protected]@fk#ff%[email protected]@[email protected]#) - 1
		
		f#k%[email protected]@fk#ff%f%[email protected]%fk%kkk#fkkfk#kkkfff%@%[email protected]#@fkff##[email protected]@k%[email protected]@f = % substr([email protected]%@kkf#f#fkf#[email protected]@#k%%@ff#ffkf%[email protected], kfk##%[email protected]#f%f%kfkfff#kf#k#kf#kff#fkfkk%%[email protected]#f#kf#fk#%[email protected]#@ff# + 1, 1)
		f#kffkf%#[email protected]%k%f#[email protected]#%[email protected]@f = % instr(k%[email protected]@@f%%#kf#@[email protected]#@fkkkk%%kk#kff#[email protected]@[email protected]@f#%[email protected], f#kf%[email protected]#%f%k#@[email protected]#[email protected]#%[email protected]%[email protected]#[email protected]@fkk#[email protected]@%[email protected]@f) - 1
		
		%#fff%%@[email protected]@f#[email protected]#fkkf#k#%%@[email protected]#f% := @k%fkf#[email protected]@kff#f#[email protected]#[email protected]%%#kfkff%%[email protected]#kff%%@kkf#f#fkf#[email protected]@#k%[email protected]@kff(#[email protected]#%k##[email protected]%k#%f#kkkf#kf#kfffkkf#%[email protected]#[email protected]@[email protected]#)
		f#kf%kfkfff#kf#k#kf#kff#fkfkk%[email protected]%kkffkfkk%@[email protected] := @kk%fk#kkkffkkkkff#k#f#f%%k##[email protected]@[email protected]##kk#%kk%kfk#fkf#%[email protected]@kff(f#k%[email protected]##k%ff%kf#[email protected]#f#[email protected]@f%[email protected]%k##fk##kf#ffk#[email protected]#@kkf%kfk%[email protected]@f%@[email protected])
		
		[email protected]#[email protected]#%f##kkf%[email protected]%k#@[email protected]#[email protected]#%fkfk# = % #%[email protected]#[email protected]@@[email protected]%@k%ff#f#fkf%k#k#%[email protected]#%#[email protected]#[email protected]@[email protected]# * 16 + f#kffkf%[email protected]#kk#f#%@kkf%[email protected]#f#fff##[email protected]%@[email protected]
		@[email protected]%k#f#@[email protected]#[email protected]@[email protected]#kk#[email protected]%f%fkk##[email protected]@ff##ff#%k%@fkfk#%fk#[email protected]@k .= chr([email protected]%@[email protected]@@[email protected]@@kk#[email protected]%k%f#[email protected]#%%f#[email protected]#%%fk#kkkffkkkkff#k#f#f%#[email protected]#)
		
		%fff#k#ff%%k#[email protected]#@[email protected]@@f#kf#@kkk%%[email protected]#[email protected]% += 2		
	}
		
	%f#kk%%kffkk#@[email protected]@f%%[email protected]#f% = % k#k#%kkk##f%[email protected]%#[email protected]#ffkk#%kkkkf(@fk%[email protected]%@k%#ff#%ff%@ffk#[email protected]#@fkf#[email protected]#%f%fff#@f#[email protected]#k#[email protected]@[email protected]#f%#[email protected]@k)
		
	return, @fk%f#kk%@%k##fk##kf#ffk#[email protected]#@kkf%f%[email protected]@@f%%[email protected]@[email protected]#[email protected]@k#[email protected]%kfk#[email protected]@k	
}


;FUNCTION ORIGINAL NAME: decode_hexshiftkeys
f#k##kk#f#f#(#[email protected]@@k) { 
	global
;$OBFUSCATOR: $DEFGLOBVARS: #%fff#@[email protected]%%[email protected]@kf#k#[email protected]@[email protected]#[email protected]%%[email protected]#f#kf#fk#%k%[email protected]#f%[email protected], @%@kfkff%%fkf#[email protected]@kff#f#[email protected]#[email protected]%#%kf#f#f%%[email protected]@[email protected]#[email protected]@k#[email protected]%[email protected], [email protected]%#ff#%f%kkk#fkkfk#kkkfff%fkk%[email protected]%f##k
	
	#%kkk##f%%kf#[email protected]#f#[email protected]@f%#%[email protected]#f#fff##[email protected]%%[email protected]#%[email protected] := "[email protected]#[email protected]#@[email protected]#kk"
	%[email protected]@[email protected]%%[email protected]@fk#ff%%f#f#kkfk% := "[email protected]@kffkk#f1fffffkf"
	
	%[email protected]#[email protected]%%#k#[email protected]%%kf#f#f%%#[email protected]%%@k#[email protected]%%#kffkk%1 = % substr(#k%f#k#[email protected]@[email protected]#[email protected]@fffff%kkf%[email protected]%kfk%fff#@f#[email protected]#k#[email protected]@[email protected]#f%[email protected]@k, 2, 1)
	%#kfk#[email protected]%%#k#[email protected]%%[email protected]@@f%%@ff#ffkf%%[email protected]%%@k#[email protected]%2 = % substr(#[email protected]%[email protected]%kk%@f#f#f#[email protected]@[email protected]#@f%%[email protected]#@fkff##[email protected]@k%[email protected]@k, 3, 1)
	%fkfk%%fkfk%%#k#[email protected]%%#[email protected]@f%%#k#[email protected]%%@k#[email protected]%3 = % substr(%@kfkff%%[email protected]@[email protected]@f##[email protected]@k%%[email protected]%, 4, 1)
	%[email protected]#kff%%#k#[email protected]%%kf#kkk%%[email protected]#@f%%@k#[email protected]%%fkff#kfk%4 = % substr(#k%[email protected]@@f%@kk%@fk##kkk#f#k#[email protected]#[email protected]#ff%[email protected]@k, 5, 1)
	
	loop, 4
		%k#[email protected]#kfk%%@f#[email protected]%%#k#[email protected]%%a_index% = % instr(k%@[email protected]@f%%#k#[email protected]%%ff#fkfk#@[email protected]#kff%f%[email protected]#@fkff##[email protected]@k%[email protected], %fff##ffk%%#k#[email protected]%%@[email protected]@f%%#[email protected]@%%@k#[email protected]%%fkk##f%%a_index%) - 1
			
	[email protected]%[email protected]#f#[email protected]##f%ff%fkk##f%kkf%#kkk%##k = 0
}	


;FUNCTION ORIGINAL NAME: decode_shifthexdigit
@[email protected]@[email protected](#kf#[email protected]#[email protected]) { 
	global
	
	%f#kkk#@k%%@[email protected]#k%%[email protected]%++
	if (kk%fff#f#@ffff#@[email protected]%f%[email protected]#kk#f#%%fkf#%f%kk#kff#[email protected]@[email protected]@f#%kkf##k > 4)
		%[email protected]#[email protected]%%@[email protected]#k%%#[email protected]% = 1	
	
	#kf%k#k#[email protected]@kk%[email protected]%#kf#@[email protected]#@fkkkk%[email protected]%f#[email protected]@ff#%fffk -= %ff#f#fkf%%#k#[email protected]%%[email protected]%%@kfkkf%%[email protected]##k%%@[email protected]%
	
	if (%#f#[email protected]@kk#[email protected]#%%[email protected]%%[email protected]% < 0) 
		#k%@[email protected]@#[email protected]@k#%#%kf#kkk%[email protected]#[email protected] += 16
		
	return #kf#[email protected]%fk#k#f#ff#@[email protected]#f#%[email protected]%[email protected]#[email protected]%ffk	
}


;FUNCTION ORIGINAL NAME: fixescapes
k#k#[email protected]@kkkkf(#[email protected]@fkk) { 
	global
	
	StringReplace, #[email protected]%ff#kkkk##[email protected]#[email protected]@f%kf%@ff#ffkf%[email protected], #k%[email protected]@[email protected]#[email protected]@k#[email protected]%[email protected]%fkff#kfk%kk%k##[email protected]%[email protected], % "````", % "``", all
	StringReplace, #kf%[email protected]@[email protected]#k%%f#k#[email protected]@[email protected]#[email protected]@fffff%%k#kf%%f#kk%[email protected], #%kf#kkk%kfk%@[email protected]#@[email protected]@ff%f%ff#kkkk##[email protected]#[email protected]@f%[email protected], % "``n", % "`n", all
	StringReplace, #%fff##ffk%kf%[email protected]%k%#[email protected]#ffkk#%fk%[email protected]#f#fff##[email protected]%[email protected], %@fk##kkf%%#kkk%%[email protected]@[email protected]#[email protected]@k#%, % "``r", % "`r", all
	StringReplace, #%ff#kkkk##[email protected]#[email protected]@f%%[email protected]#kff%fk%@fk#[email protected]#[email protected]#kff%[email protected], #kf%[email protected]#[email protected]@kk%@fkk%[email protected]%[email protected], % "``,", % "`,", all
	StringReplace, #k%[email protected]#kk#f#%%#[email protected]@[email protected]@[email protected]#k%k%@kkf#f#fkf#[email protected]@#k%fkk%[email protected]%[email protected], #kfk%@[email protected]#k#k#[email protected]%fk%[email protected]#[email protected]@kk%fkkf%f#kkk#@k%@fkk, % "``%", % "`%", all	
	StringReplace, #k%k##[email protected]%f%[email protected]#f#fff##[email protected]%@f%kf#[email protected]#f#[email protected]@f%[email protected], #[email protected]%ff#kkkk##[email protected]#[email protected]@f%kf%kf#kkk%[email protected], % "``;", % "`;", all	
	StringReplace, #kf%fkf#[email protected]@kff#f#[email protected]#[email protected]%@fkkfk%[email protected]#[email protected]%[email protected], #kfk%@[email protected]#[email protected]#k#f#ffk%fkkf%k#f#@[email protected]#[email protected]@[email protected]#kk#[email protected]%k%[email protected]@f%[email protected], % "``t", % "`t", all
	StringReplace, #kfk%@f#[email protected]%@f%fff#@f#[email protected]#k#[email protected]@[email protected]#f%k%[email protected]#f#[email protected]##f%[email protected], %[email protected]#kff%%[email protected]%%[email protected]@[email protected]#[email protected]@k#%, % "``b", % "`b", all
	StringReplace, %#k#[email protected]%%kfk#[email protected]#f#k#[email protected]%%kf#kkk%, #[email protected]%[email protected]@[email protected]#[email protected]@[email protected]@[email protected]%f%[email protected]#%[email protected], % "``v", % "`v", all
	StringReplace, #kf%[email protected]@fk#ff%[email protected]%[email protected]%kk%[email protected]#[email protected]@@[email protected]%%@ffk#[email protected]#@fkf#[email protected]#%[email protected], #kfk%kk#[email protected]%@f%[email protected]#f#fff##[email protected]%k%#[email protected]%[email protected], % "``a", % "`a", all
	
	StringReplace, #[email protected]%@[email protected]#[email protected]#f#kf#%fkk%k##[email protected]%[email protected], %@kfkkf%%[email protected]@[email protected]#[email protected]@k#%%#kfkff%, % """""", % """", all
	
	return %#[email protected]@f%%kfk#[email protected]#f#k#[email protected]%%[email protected]#[email protected]%
}

-----------------------------------------------------------
Stop to think, shut up to resist, and act to win!
NewberEnerNeeder1
Posts: 19
Joined: 26 Mar 2019, 06:06

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

18 Jul 2019, 21:12

[email protected] i also like that it uses fk so much haha

okay so i got the basic to work and have no idea how to do much more.

how do i obfuscate




"Loop, Read, C:\Program Files (x86)\myfile\myfile.txt"

"If A_loopreadline contains mykeyword"

or at least

"C:\Program Files (x86)\myfile\myfile.txt"
"mykeyword"

from this code below:

Code: Select all

Loop, Read, C:\Program Files (x86)\myfile\myfile.txt
{
	If A_loopreadline contains mykeyword
	{
		WordFound = 1
		break ; no need to continue running it 
	}



}

Return to “Scripts and Functions”

Who is online

Users browsing this forum: No registered users and 20 guests