Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2024, 18:53
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 387
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 65 Times in 34 Posts
jonwil Reputation: 21
How to unpack dos lzexe packed exe?

I have an exe file (16 bit dos) that seems to be packed with lzexe.
When I run unlzexe on it I get this:
Quote:
UNLZEXE Ver. 0.81
Detected size of File is 27837 bytes
file 'mbucks2.exe' is compressed by LZEXE Ver. 0.90
but all I get as output is a zero byte file named the same as my exe but called .exeNEW instead of .exe

How can I unpack this exe (which btw does work just fine in DosBOXs)? (I want to throw it into IDA to reverse engineer some things)
Reply With Quote
  #2  
Old 01-16-2024, 20:22
CodeCracker CodeCracker is offline
VIP
 
Join Date: Jun 2011
Posts: 466
Rept. Given: 27
Rept. Rcvd 407 Times in 134 Posts
Thanks Given: 21
Thanks Rcvd at 1,891 Times in 359 Posts
CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499 CodeCracker Reputation: 400-499
Try this:
https://www.classicdosgames.com/utilities/dos.html
UnLZEXE
https://www.classicdosgames.com/files/utilities/unlzexe.zip
Reply With Quote
  #3  
Old 01-16-2024, 21:31
jonwil jonwil is offline
VIP
 
Join Date: Feb 2004
Posts: 387
Rept. Given: 2
Rept. Rcvd 21 Times in 9 Posts
Thanks Given: 2
Thanks Rcvd at 65 Times in 34 Posts
jonwil Reputation: 21
Ok the exe unpacks and the unpacked exe runs but when I throw it into IDA, it doesn't disassemble into anything that makes sense.
Reply With Quote
  #4  
Old 01-16-2024, 22:02
sendersu sendersu is online now
VIP
 
Join Date: Oct 2010
Posts: 1,067
Rept. Given: 332
Rept. Rcvd 223 Times in 115 Posts
Thanks Given: 236
Thanks Rcvd at 513 Times in 288 Posts
sendersu Reputation: 200-299 sendersu Reputation: 200-299 sendersu Reputation: 200-299
try Ghidra
it knows 16 bit old binaries for sure
Reply With Quote
  #5  
Old 01-18-2024, 02:13
BlackWhite BlackWhite is offline
Friend
 
Join Date: Apr 2013
Posts: 80
Rept. Given: 4
Rept. Rcvd 14 Times in 6 Posts
Thanks Given: 12
Thanks Rcvd at 48 Times in 21 Posts
BlackWhite Reputation: 14
Quote:
Originally Posted by jonwil View Post
I have an exe file (16 bit dos) that seems to be packed with lzexe.
When I run unlzexe on it I get this:

but all I get as output is a zero byte file named the same as my exe but called .exeNEW instead of .exe

How can I unpack this exe (which btw does work just fine in DosBOXs)? (I want to throw it into IDA to reverse engineer some things)
There is an old tool called CUP386 which can be used to decompress
your exe automatically.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 17:17.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( 1998 - 2024 )