Solved

exe file decompiler

Posted on 2004-09-03
7
26,187 Views
Last Modified: 2007-10-18
is there any decompiler that converd exe file into source file
0
Comment
Question by:rehman_job
7 Comments
 
LVL 2

Accepted Solution

by:
kouroshparsa earned 25 total points
ID: 11978687
The short answer is no.
"exe" is only an extension. There are many different "types" of files with "exe" extension. If you know the type of the file, egardless of the extension, it is possible to make something similar to a human readable source but only some parts of it.
If you rename a text file from "new.txt" to "new.exe", then you know that the type is a text file and you can easily convert it back.
==================
http://www.filext.com/detaillist.php?extdetail=EXE

"An executable file is basically another name for a program. Virtually all programs that run under Windows or DOS are in the .EXE format. All of these files start with ASCII MZ but often those produced by different compilers have further identification. The TrID program has a number of these in its database if you need to know what compiler was used on the .EXE you have."
0
 
LVL 22

Assisted Solution

by:cookre
cookre earned 25 total points
ID: 11978697
In general, no.  At least, not back to, say, C source.

There are, however, quite a few disassemblers that will give you assembly code, but you will still have no symbolic information except, posswibly, the names of external DLL entry points referenced.

Also, I believe some exes created by an old version of VB (VB5?) can be partially reconstructed with a particular utility.
0
 

Expert Comment

by:arekwasi
ID: 11979473
It depends on which programming language it was written.

You may try to search for programs for decompiling, but it is very hard to decompile EXE to a source file. I think it's rather impossible if it's a EXE compiled with new compilers from advanced languages (newest VB, C++, Delphi). Program like that could decompile EXE at most to  sth that only looks like source code of it. If you know assembler - you can decompile programs to AS - but it is a very hard way to do sth with it in this case.
0
 

Expert Comment

by:arekwasi
ID: 11979474
Don't forget that decompiling copyrighted programs is ILLEGAL.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 11982773
Some versions of VB come with a decompiler and can be converted directly back to source code.  I forget if it is ver 3 or 4 and before.

In general the exe file doesn't have enough information to get you back to the source code.  You can get back to the assembly language version but many constructs will compile into similar if not identical code.  For instance a SELECT or CASE statement and the equivalent IF-THEN-ELSE.

mlmcc
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now