Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

How Unpack Themida 2.x.x (WXP)

Featured Replies

  • Author
  • Localization

hamducbuon, posted Sun Aug 21, 2016 2:55 am (16717)


Image

Please show me fix it..
Error "Text: bc eip"
Thank you !
  • Replies 133
  • Views 34
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

aluigi, posted Thu Sep 01, 2016 5:59 pm (17145)


The following are some posts that were posted as "topics" so I collect them here (and delete the wrongly open topics):

DoctorVx wrote:
Please help unpack library packed Themida 1.8.x.x -> Oreans Technologies *


TetraMan wrote:
I see - only after clicking Submit - that I created a new thread rather than adding to existing topic:
viewtopic.php?t=1051 (oops!)

I have applied the lessons of the thread above. I am working with OllyDbg 110, Windows XP 32bit, and have all the proper plugins.

I have completed the entire process and the Themida script ran without error.

When launching the dumped file, I get ACCESS VIOLATIONs memory reads.
I can click through these, and the application initializes properly.
Some application functions work perfectly. Others throw ACCESS VIOLATION.

I found a post by LCF-AT https://forum.tuts4you.com/topic/21043- ... hemida-24/ which seems to talk about access violation hook and other things. That post is brief and provides insufficient detail to guide me.

Can anybody offer any guidance? If you have a PayPal account, I will pay 50USD for a complete process to solve this.


oziel235 wrote:
I need help to do unpack in this file.

http://www.mediafire.com/download/9ehv3ckb1dmvhw6/rhclient.exe

Thanks


erikeleria wrote:
Since I'm on a x64 system and Themida/Winlicense script only works on x86 system, I had to get a XP x86. Well, I tried Windows XP Mode which worked fine until I had to open the file I'm gonna work on and viola, an error, "Unable to start file C:\blahblah.exe" .. Anyone here got this problem also?

stAct3.zip

  • Author
  • Localization

ZilexSeryth, posted Mon Sep 12, 2016 10:34 am (17430)


HI, First of all sorry for bad english

does this work on
Quote:
Talisman Online
Client.exe

I'm wondering cuz Client.exe can't ran without a launcher.
the launcher can only be a .Bat File

the GM's of the game has made a launcher (naming Launcher.exe). they made this for an automatic patcher of the game.

Launcher.exe and Client.exe are themida packed.

my goal would be to know what is inside the Client.exe so I can know what is happening and what is it doing running to run the game.

so I can Create my Own Client.exe

Don't Worry about Me cracking the game, That Game has many of private servers, therefor it is accessible to many already.
  • Author
  • Localization

kdn, posted Thu Sep 15, 2016 4:13 am (17454)


Hi all, this tutorial worked well for me, I unpacked my file using a winxp virtual machine, one thing I have noticed though, I can excute the unpacked file on my xp machine with no issues, however copying to my win7 machine, the file wont open. Anyone else noticed this?

Also if you want to hear something funny, after I executed my unpacked file, it threw an error "the size of this file is not correct, please redownload it" im sure I can bypass that now its all clear code!
  • Author
  • Localization

CriticalError, posted Thu Sep 15, 2016 7:03 pm (17472)


ofc this is dumped in XP no in 7, for make it work, you need make changes in the code of the dumped file to run into Win7, thats simple the kernel is different in XP than 7.
  • Author
  • Localization

aluigi, posted Thu Sep 15, 2016 11:29 pm (17477)


@CriticalError
Maybe you can provide a zip containing the whole ollydbg folder already setup and with all the necessary plugins and modifications so that the users can just unzip and use it without looking for dead links and editing stuff.
  • Author
  • Localization

kdn, posted Fri Sep 16, 2016 1:26 am (17481)


CriticalError wrote:
ofc this is dumped in XP no in 7, for make it work, you need make changes in the code of the dumped file to run into Win7, thats simple the kernel is different in XP than 7.



ok thanks that makes sense I guess, if anyone else has done this would be keen to learn the method.
  • Author
  • Localization

CriticalError, posted Sun Oct 16, 2016 5:02 pm (18090)


aluigi wrote:
@CriticalError
Maybe you can provide a zip containing the whole ollydbg folder already setup and with all the necessary plugins and modifications so that the users can just unzip and use it without looking for dead links and editing stuff.

done mate, here is the ollydbg folder I use before I think all is there but maybe not xD long time ago doing it and leave it so well it still there and hope it works.

*edit by aluigi*
http:// REMOVED_VIRUS http://www.mediafire.com REMOVED_VIRUS /file/1xvqcqguxfci99i/odbg110.7z
  • Author
  • Localization

TetraMan, posted Sat Dec 24, 2016 1:02 pm (19764)


BUMP - just want to know if anybody has successfully used against any Themida 2.4 target.

TetraMan wrote:
Has anybody used this method against Themida 2.4?

I successfully unpacked an app protected by earlier Themida.

Now I am attempting unpacking of app protected by Themida 2.4

Some of the script popups are not appearing as expected (specifically, the very first popup during the first run - it does not appear... the application simply continues to run as normal), however, the script does produce a dump (unpacked) executable.

Upon running the unpacked version, however, it crashes with "... instruction at... referenced memory... The memory could not be read."

If anybody has successfully unpacked an app protected by Themida 2.4, did you use this method? Did the process go as outlined in the instructions? Did you do anything differently?
  • Author
  • Localization

TetraMan, posted Wed Jan 11, 2017 1:21 pm (20077)


Chung -

What version of Themida is your target protected by?
If it is Themida v2.4 or later, I have found these techniques may not work.

I have successfully used these techniques on targets protected by Themida v2.3 and earlier. However, my latest target is protected by Themida v2.4 and these techniques do not seem to work properly. The unpacked application throws errors. Also, the normal screens/windows did not appear during the unpacking process.
  • Author
  • Localization

natibong, posted Sun Jan 15, 2017 6:20 pm (20204)


Hi. My tool protected by Themida v2.3 and earlier. Can you help me?
  • Author
  • Localization

natibong, posted Mon Jan 16, 2017 10:15 am (20214)


Hi TetraMan! I used Protection ID V0.6.6.7 December check vesion. The Tools is protecting by Themida v2.0.1.0 - v2.1.8.0. Can you help me unpack it. Thanks!
  • Author
  • Localization

TetraMan, posted Mon Jan 16, 2017 4:14 pm (20224)


While this "How Unpack Themida 2.x.x" approach does not seem to work with targets protected by Themida > v2.4, you should find the process will work for you in unpacking your older target.

You will need the tools listed in earlier posts, eg: Olly and others. I use VMware workstation to host a clean installation of Windows XP (32bit). I am certain you can find both of those things available on the web. You can then easily follow the excellent instructions in earlier posts to this thread and unpack your target!
  • Author
  • Localization

FrankRizzo, posted Fri Mar 17, 2017 4:31 am (21547)


Hi guys. I have the same issue as a previous poster, and I didn't see it answered, so I'll ask for us both again.

I'm using a 32-bit Windows 7 VM. (ESXi). I have Olly 1.10, and all the plug-ins. I have my ollydbg.ini configured correctly, and I get to the step right after "Disable Noppers" and my target pops up a message box.

In the script window, I see this:

Code:
If WL doesen't use a MessageBoxExA API to show you the HWID Nag 
or other messages then it used a custom code.In this case just pause
the script if you see the message then pause Olly open call stack and
set a soft BP from where it was called from = after message loop.Now
remove BP again and set the script eip on the label......

CUSTOM_HWID_NO_MESSAGEBOX_SET_SCRIPT_EP_HERE

and then just resume the script. ;)



This is good advice, but seems to be missing a key component.

I pause the script, then pause olly, ALT-K to bring up the call stack, find the correct place, set the BP. Then what?

Set it
Unset it
adjust the script EIP to the CUSTOM_HWID_ label, and resume?

If so, what's the point of the BP?
  • Author
  • Localization

supervirus5, posted Tue Jun 27, 2017 10:48 am (24321)


Don't download : odbg110.7z from the Mediafire link

The file is INFECTED With Trojan.Win32.Swisyn.bner

And it infects .exe files if you have downloaded it i suggest downloading Kaspersky Antivirus Removal Tool and run a full scan on the system.


@Mods @Moderators Request Delete the link
  • Author
  • Localization

aluigi, posted Tue Jun 27, 2017 12:49 pm (24323)


@supervirus5
I guess you are a newbie in this field, so:
1) you do NOT need that file, read viewtopic.php?p=18090#p18090
2) new to reverse engineering and advanced tools? welcome to false positives!
3) CriticalError is a well respected and trusted user
4) don't worry, it's not your fault, as I said that's normal if you are new to this stuff. Enjoy reverse engineering and learn
  • Author
  • Localization

Mwyann, posted Sat Sep 02, 2017 1:38 pm (26170)


Hi,

I don't know if I can ask here, but I tried this method on some unmaintained software that can't run on Win10 because of Winlicense ("internal exception occured (Address: 0x0)"). The script returned an .exe that looks like it's unpacked, but it won't run (exception 0xc0000005), so maybe I didn't unpack everything.

Protection ID 0.6.8.5 says this:
Code:
[!] Themida v2.0.1.0 - v2.1.8.0 (or newer) detected !
[i] Hide PE Scanner Option used
[!] VM Protect  detected !

After unpacking :
Code:
[!] VM Protect (* unknown *) detected !

Can someone give me a hand on this, or could maybe do it for me? Thanks in advance :-)
  • Author
  • Localization

CriticalError, posted Sat Sep 02, 2017 7:46 pm (26182)


first as say before you need do via virtual machine XP , after unpack exe is not only run and is all, you need debug it and fix problems to run properly.
  • Author
  • Localization

Mwyann, posted Sat Sep 02, 2017 8:23 pm (26184)


I did unpack in a WinXP virtual machine. Unfortunately, I don't have the required knowledge to debug and fix the problems, that's why I'm asking here if someone could help me out on this :-)
  • Author
  • Localization

Mwyann, posted Fri Sep 08, 2017 1:23 pm (26363)


EDIT: I managed to unpack a slightly different version, and it works now! But it broke the registration algorithm, so I have to patch it.
  • Author
  • Localization

seedkey2005, posted Sun Sep 17, 2017 7:47 pm (26580)


Hi guys!

I used this script many times succesfully ... now on this target I get a message "An internal exception occurred .... Please, contact support@o*****.com. Thank you!". It pop out after the Log Window says "IAT WAS MANUALLY PATCHED!" and an Hardware BP was handled and 2 more modules loaded.

I'm running Olly on WXP on Vmware

Thanks for any advice

best regards

S
  • Author
  • Localization

qwertyu131, posted Mon Oct 02, 2017 10:14 pm (26991)


Themida unpack error help pls.
I use script Themida - Winlicense Ultra Unpacker 1.4

https://imgur.com/vgI6cov

https://www.mediafire.com/file/60pex26k6kc566y/KnightOnLine.rar
Code:
Log data
Address    Message
           Themida - Winlicense Ultra Unpacker 1.4
           - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

019B0A0F   Breakpoint at 019B0A0F
019B0A10   Breakpoint at 019B0A10
019C0054   Breakpoint at 019C0054

           OS=x86 32-Bit
019C0056   Breakpoint at 019C0056
019F0021   Breakpoint at 019F0021
019F0028   Breakpoint at 019F0028

           5.772 MB /-

           16.064 MB /-

           Your target is a >>> Executable <<< file!


           PE HEADER:   400000 | 1000
           CODESECTION: 401000 | A53000
           PE HEADER till CODESECTION Distance: 1000 || Value of 1000 = Normal!
           Your Target seems to be a normal file!

           Unpacking of NET targets is diffrent!
           Dump running process with WinHex and then fix the whole PE and NET struct!

013AF000   Hardware breakpoint 1 at KnightOn.
01A0064B   Breakpoint at 01A0064B

           Overlay found & dumped to disk!

           Disasembling Syntax: MASM (Microsoft)     <=> OK

           Show default segments:               Enabled
           Always show size of memory operands: Enabled
           Extra space between arguments:       Disabled

           StrongOD Found!
           ----------------------------------------------
           HidePEB=1          Enabled   = OK
           KernelMode=1       Enabled   = OK
           KillPEBug=1        Enabled   = OK
           SkipExpection=1    Enabled   = OK
           Custom Exceptions  Enabled   = 00000000-FFFFFFFF
           DriverName=Critical

           DRX=1              Enabled   = OK

           ----------------------------------------------


           Basic Olly & Plugin Settings seems to be ok!
           No InfoBox to User to show now!

013AF009   Breakpoint at KnightOn.013AF009
013AF00B   Breakpoint at KnightOn.013AF00B

           XP System found - Very good choice!


           Newer SetEvent & Kernel32 ADs Redirecting in Realtime is disabled by user!


           Kernel Ex Table Start: 7C802644
01A4003F   Breakpoint at 01A4003F

           PE DUMPSEC:  VA 1A50000 - VS 30000
           PE ANTISEC:  VA 1A51000
           PE OEPMAKE:  VA 1A51600
           SETEVENT_VM: VA 1A521D0
           PE I-Table:  VA 1A53000
           VP - STORE:  VA 1A52F00
           and or...
           API JUMP-T:  VA 1A53000
01A4003F   Breakpoint at 01A4003F

           RISC VM Store Section VA is: 1A80000 - VS 200000
01A40041   Breakpoint at 01A40041
00F1FC72   Hardware breakpoint 1 at KnightOn.00F1FC72

           Found WL Intern Export API Access at: F20122

           Use this address to get all intern access WL APIs!
76B30000   Module C:\WINDOWS\system32\winmm.dll
7C809AF1   Hardware breakpoint 2 at kernel32.VirtualAlloc

           ---------- Loaded File Infos ----------

           Target    Base: 400000

           Kernel32  Base: 7C800000

           Kernel32  SORD: 7C8001F8 | 84000
           Kernel32  SORD: 7C800200

           User32    Base: 7E360000
           Advapi32  Base: 77DC0000
           ---------------------------------------

           WL Section: F1C000   |  2CC000

           WL Align:   EC55C014 |  EBP Pointer Value


           XBundler Prepair Sign not found!
           CISC VM is located in the Themida - Winlicense section F1C000 | 2CC000.


           VMWare Address: F1EBE8 | 0


           VMWare Checks are not Used & Disabled by Script!


           Auto XBundler Checker & Dumper is enabled!
           If XBunlder Files are found in auto-modus then they will dumped by script!
           If the auto XBunlder Dumper does fail etc then disable it next time!


           Anti Access Stop on Code Section was Set!

           Normal IAT Patch Scan Was Written!
01E60306   Hardware breakpoint 3 at 01E60306
7C810729   New thread with ID 000005C0 created
7C810729   New thread with ID 000001D4 created
7C810729   New thread with ID 000006B8 created
7C810729   New thread with ID 000003EC created
7C810729   New thread with ID 00000668 created
7C810729   New thread with ID 000006E0 created
7C810729   New thread with ID 00000104 created
7C810729   New thread with ID 00000524 created
7C810729   New thread with ID 00000100 created
7C810729   New thread with ID 000005BC created
7C810729   New thread with ID 000003A0 created
7C810729   New thread with ID 00000724 created
7C810729   New thread with ID 0000050C created
7C810729   New thread with ID 00000508 created
7C810729   New thread with ID 00000708 created
7C810729   New thread with ID 000001F4 created
7C810729   New thread with ID 000003F8 created
7C810729   New thread with ID 00000314 created
7C810729   New thread with ID 00000400 created
7C810729   New thread with ID 000003E0 created
7C810729   New thread with ID 000003F0 created
7C810729   New thread with ID 000006D8 created
7C810729   New thread with ID 000003F4 created
7C810729   New thread with ID 00000600 created
01E50033   Hardware breakpoint 1 at 01E50033
7C9001DB   Hardware breakpoint 3 at ntdll.7C9001DB

           Heap Prot was redirected!
4FE30000   Module C:\WINDOWS\system32\d3d9.dll
6DF30000   Module C:\WINDOWS\system32\d3d8thk.dll
77BF0000   Module C:\WINDOWS\system32\version.dll
73EE0000   Module C:\WINDOWS\system32\dsound.dll
71AC0000   Module C:\WINDOWS\system32\wsock32.dll
71AA0000   Module C:\WINDOWS\system32\ws2_32.dll
71A90000   Module C:\WINDOWS\system32\ws2help.dll
6D3B0000   Module C:\WINDOWS\system32\dinput8.dll
3FA50000   Module C:\WINDOWS\system32\wininet.dll
77F60000   Module C:\WINDOWS\system32\shlwapi.dll
03840000   Module C:\WINDOWS\system32\normaliz.dll
45300000   Module C:\WINDOWS\system32\urlmon.dll
400F0000   Module C:\WINDOWS\system32\iertutil.dll
773C0000   Module C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
7C810729   New thread with ID 000007E0 created
73B20000   Module C:\WINDOWS\system32\avifil32.dll
77BD0000   Module C:\WINDOWS\system32\msacm32.dll
75E20000   Module C:\WINDOWS\system32\msvfw32.dll
7C9B0000   Module C:\WINDOWS\system32\shell32.dll
10000000   Module C:\Mgame\KnightOnline\OpenAL32.dll
03AC0000   Module C:\Mgame\KnightOnline\libvorbisfile.dll
76C80000   Module C:\WINDOWS\system32\imagehlp.dll
76C80000   Unload C:\WINDOWS\system32\imagehlp.dll
011ADE75   Memory breakpoint when writing to [00401000]

           11ADE75 - REP MOVS BYTE PTR ES:[EDI],BYTE PTR DS:[ESI]
011ADE77   Breakpoint at KnightOn.011ADE77
01E602AF   Breakpoint at 01E602AF

           First Found 4 Magic Jumps!
           ------------------------------
           MJ_1: 011C237F
           MJ_2: 011C23C5
           MJ_3: 011C23E5
           MJ_4: 011C2404
           ------------------------------

           Modern TM WL Version Found!


           --------  IAT RD DATA  ---------

           11092AE - CMP R32, 10000

           11C18C4 - Prevent Crasher

           11C237F - Prevent IAT RD
           11C23C5 - Prevent IAT RD
           11C23E5 - Prevent IAT RD
           11C2404 - Prevent IAT RD
           --------------------------------

5B2A0000   Module C:\WINDOWS\system32\uxtheme.dll
746F0000   Module C:\WINDOWS\system32\MSCTF.dll
75470000   Module C:\WINDOWS\system32\MSCTFIME.IME
  • Author
  • Localization

CriticalError, posted Fri Oct 06, 2017 2:06 pm (27090)


Please stop make post about errors, read carefully all thread, I won't give support for unpack it, i'm not a programmer and I do it few times and lucky no get errors, depend versions of themida you get different errors and need be fixed, the script won't do all, for run it you need make modifications for make it work exe,dll, so please stop bump topic asking for help, I can't do it, thanks for all and hope understand.
  • Author
  • Localization

jamilod, posted Sat Jan 13, 2018 11:00 pm (31521)


Thanks for your step by step tutorial .
I have A few exe files packed by winlicence.

but unfortunately i can go until step 10 and in that step i have an error message :
Problem!WL section not in stack to read - wrong irtualAlloc Call From!
and cant go further.
you can check my exe file here :
https://mega.nz/#F!jI0xxSAI!Su9WvMCDCINUuF5RslbmHg


any help will be appreciated
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.