Solved

exe file decompiler

Posted on 2004-09-03
7
26,196 Views
Last Modified: 2007-10-18
is there any decompiler that converd exe file into source file
0
Comment
Question by:rehman_job
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Hide vba in gp 7 115
Filename to be appended with DateTimeof Download 3 69
Advice in Xamarin 21 109
Java List 4 40
This article will show, step by step, how to integrate R code into a R Sweave document
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
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 …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

749 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