AutoIT programm decompile

01/25/2016 16:41 bangujunwa#1
I want to decompile the program "Seven knight Script"
but it looks like its somehow protected.

OllyDbg can't find useful text strings, "myAutToExe" and "Exe2Aut" can't decompile it correctly.

OllyDbg says it's an AutoIT script.


myAutToExe
[Only registered and activated users can see links. Click Here To Register...]


PE Expoler
[Only registered and activated users can see links. Click Here To Register...]
01/25/2016 16:50 Deverixz#2
I'd say its obfuscated. Try using a de-obfuscater and share the result if it worked :)
01/25/2016 16:58 bangujunwa#3
Quote:
Originally Posted by Deverixz View Post
I'd say its obfuscated. Try using a de-obfuscater and share the result if it worked :)
what de-obfuscater tool ?
01/25/2016 17:08 Deverixz#4
Quote:
Originally Posted by bangujunwa View Post
what de-obfuscater tool ?
You could try [Only registered and activated users can see links. Click Here To Register...].
Otherwise search on the forum for an autoit deobfuscator ;)
01/26/2016 09:43 bangujunwa#5
Quote:
Originally Posted by Deverixz View Post
You could try [Only registered and activated users can see links. Click Here To Register...].
Otherwise search on the forum for an autoit deobfuscator ;)

I try it. But not work.
03/09/2017 02:40 cw2k#6
I recently made an excurse in decompiling the '7 Knights' script:
[Only registered and activated users can see links. Click Here To Register...]
//board.deioncube.in/showthread.php?tid=29&pid=14113#pid14113


Quote:
Originally Posted by from board.deioncube.in
Quote:
Originally Posted by makawanw' pid='14097' dateline='1481472957
can you have me to decompiler this file
Wow interesting example. It uses build in AutoITfunction & keyword tokens.
I wonder how ya compiled this?
So far I saw the normal Aut2Exe compiler includes keyword as strings like this:
0x30 "GLOBAL"; 0x30 "CONST"

But in this example it's like this:
0x00 KEYWORDS[29]; 0x00 KEYWORDS[30]

The detokeniser of the decompiler is not prepared to that and so just decompile it like this:
2930 $OPT_...
instead of
GLOBAL CONST $OPT_...

Well I fixed that. (...and added the 0x00-CommandToken.) There are only about 46 keywords as well as the AutoITfunction table ( the 0x01-CommandToken) that has about 400 entries.

Well however I'm not getting what that script is good for. It's called '7Kscript' and targets some Android Game called '7 Knights'.
After removing string obfuscation most message are still gibberish since they are in thai. How the script targets 'BlueStacks App Player' or 'Nox App Player' and emulator to run android stuff on Windows.
There is even a video about:
[video=youtube]https://youtu.be/NedTdWyIWJc[/video]

But yes it still feels a little weird to bot a game inside some emulator.
What about directly targeting/patching the APK?
These *.dex java files are often good target to decompile and modify them directly.


[size=large][Only registered and activated users can see links. Click Here To Register...][/size]


UPDATE:
Latest Version will be available at this
[Only registered and activated users can see links. Click Here To Register...]
[attachment=4241]
this also includes a special version of MATE decompiler (currently feb 2017 - Version2.15.209) to deal with its homemade obfuscation

@bangujunwa
The topic of this thread is not well chosen.
Please change AutoIT programm decompile to
Decompiling/Deobfu the AutoIT Script '7Knights'
or something more suitable.