Reverse Engineer a .exe file | Sololearn: Learn to code for FREE!


Reverse Engineer a .exe file

Is there any way to decompile or reverse engineer a .exe file and get its source code? like if I make a simple hello world! program in c++ and compile it which will give a .exe executable file. Now if I just have that .exe file and I want to get its original source code, is there any way?

3 Answers

New Answer


Nope it's not. Simply because there are ton of ways to perform same task. It's similar to finding the recipie of a perticular dish by just looking at the dish, you may find some similar way to make it but finding exactly the same way that was used is impossible.


Arsenic well yes ofcourse I'm not asking about guessing it by our self because obviously as you said. But as we compile a code, high end language is converted to binary/ machine readable language. So I'm asking if there is any software or method that can decompile a code that is converted to machine readable language back to its original form?


The .EXE file formats, there are several, are all well documented. You can even load an executable into a debugger and examine the instructions. Though this will not result in being able to reproduce the source code. If you are a knowledgeable developer you can often examine an executable in a hex viewer and take an educated guess at the language it was programmed in due to text contained within the program, especially error messages embedded in standard library code, resource information, and calls to dynamic libraries.