Decompile An Exe To Source Code - How to recognize it

Pages: 1, 2
free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General > Misc. Programming Languages

Decompile An Exe To Source Code - How to recognize it

Teri
Hello Friends,

I am new on this site. Something about myself, I am Teri, a Software Developer with 7+ years of experience. Have worked on C++, Vb, .NET, Java & so on.

I have a program's exe file which needs some changes to be done. I understand that I need to decompile it to translate to source code. But, how can I recognize that the program is written in which language. Which decompiler should be used. I mean if the prg is written in VB, C++, Java, .net the respective decompiler should be used. How do I recognize the programming language & which decompiler to use for it is my hot question of the day.

I read about PE Explorer, which allows us to make changes in the EXE itself. I am not confident about how much will it allow me. Will it allow me to change the functionality of a file, add new file, update GUI etc? Will it provide me the Source code? Can't find the solution for this query. I believe experts sitting on this site will be able to asist me.

Any suggestions, ideas, solutions are highly appreciated. You may find the same post in other forums of this site also. Please ignore if you have read this one.

Thanks

Teri

 

 

 


Reply

Quatrux
I could be wrong, but as I know, you can only decompile a normal .exe file to assembly code and not to the original source, more and more people don't know asm anymore.. and who knows it well is really a happy person (or maybe not) .. if anyone could decompile an .exe file to its original source code, why would closed source exist? or why would we need open-source software.. If you're experience is over 7 years in programming, I think you must have known this.. or maybe it is just me. Of course, some "compilers" can be decompiled, but that doesn't include such things like a compiled with gcc/minigw C/C++ source! wink.gif

Reply

tansqrx
It looks like Quatrux is pretty much right. The only way to decompile an EXE is to assembly. The entire purpose of a compiler is to convert information from one domain to another. In the case of programming a compiler converts from the human readable domain of a computer language to the hardware specific domain of a computer platform. During this conversion a lot of information is lost and a lot of assumptions are made. If you compile the same source code with two different compilers you will get completely different assembly. If you change even one compiler flag you will get completely different assembly.

Roughly speaking, the program language domain is larger than the assembly domain so when it is converted you lose information that you can not get back. In a way its like a MP3. The source is much bigger than the result and you can never get the exact source back form the result.

If you want to pursue this avenue then I would suggest getting some debuggin tools. WinDBG (http://www.microsoft.com/whdc/devtools/debugging/default.mspx) is made by Microsoft and is free. There are plenty others. Bottom line is it is hard.

P.S. .NET is unique and can be decompiled with fairly reliable results. .NET is based on an intermediate language which runs at runtime similar to Java. I have tried several tools that will spit out astonishing accurate results in either VB or C# (your choice). There is a downside as the better ones usually cost more than I would ever spend for them.

 

 

 


Reply

kxrain
Yes its not that easy. Try studying Debug then assembly language then you'll know how codes work. And how to manipulate them.

Reply

altimit
Hi,

Assembly language can be quite entertaining, but no serious developer nowadays doing general business programming would code in assembly (unless extreme optimization is needed). Still, mostly all development that needs high efficiency is done in C or C++ instead of assembly, or mostly in C or C++ with a few libraries in assembly (this is getting more and more scarce).

Studying the assembly listing of a small executable is very rewarding, and it is also not very difficult to create a rudimentary Win32 application in assembly. However, for anything larger, it is simply not feasible.

Do you really need to reverse-engineer the program? If this is not necessary (and you would just like to learn of its internals), why not study already established open-source projects? While the license these are released under (mostly GPL) may have some restrictions, it is still very useful and enlightening.

Reply

Miles
As others have said, decompilation completely is next to impossible. The only languages that I know can get just a bit decompiled are the .net languages and visual basic 6. Even then, the code is not compileable and dosen't make sense. Usually the result is some functions, most of the gui, and a few variables, if you are lucky. Most of it is pointers and assembly code.

Considering what you want decompiled may have been made in c++, I doubt it would be possible to get anything that isn't assembly out of a decompilation of it.

Reply

polarysekt
additionally, what if a programmer prefers to dynamically create his or her GUI?

say,

CODE
CreateWindowEx(0, "ScrollBar", NULL,
                      WS_CHILD | SBS_VERT | WS_VISIBLE,
                      0, 0,
                      20, 200,
                      g_hWndMain,
                      NULL,
                      hThisInstance, NULL);


and etc. for the various controls, possibly even loaded through classes...

then the PE would lack resources for such GUI elements...

Reply

iGuest
Decode exe fil
Decompile An Exe To Source Code

Can I decode exe file to any other prog.Lang. Format if yes then Please. Tell me how ????????????



-question by Ravi

Reply

sparkx
I think PE explorer is the only one that works as far as I am aware. I don't know if you can actually export the file back into a Visual Basic project (completely decompile) but I do know you can edit the graphic look of it as long as it was compiled with Visual Basics. I have never heard of trying to get the actual source with a decompiler and I am unsure if you can. Even if you do find a way I don't think it would be setup correctly (for example all the functions would be used every time est. making the program very hard to work with and very long). I believe tansgrx post back in 2007 is correct. You can never really get the exact source back.

Sorry Feedbacker but it looks like you are going to need to make the exe yourself. By the way, why exactly did you want to decompile an exe? They are much more secure then other files such as zip files and I believe they take up less space.

Sparkx

Reply

iGuest
how to Decompile An .Exe To Source Code
Decompile An Exe To Source Code

How to Decompile An .Exe To Source Code which was written in c++

-reply by santosh

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Similar Topics

Keywords : decompile, exe, source, code, recognize

  1. Instant Replay Code?
    looking for a virtual 3D VCR (0)
  2. Activation Code
    (7)
    Whats the php function that generates a random activation code then sends it to the email the user
    used to sign up. Also how do you check if the inputed email has corrected format? meaning its xxx
    @something.com ....
  3. Php Random Selector
    whats the code (2)
    Is there a PHP script that randomly selects a string from a list? example, the list is: 1-Pie
    2-Balls 3-eggs The script would view a random
    word from those 3 every time i run it. Also is there a function that gives a random number between
    0 and a number i select?....
  4. Make It Impossible To View Page Source
    (11)
    Hi! I was just wondering if it is possible to make username unable to view the page source.. I
    know that you can disable right click, but still, they can go to the page source from the navigation
    menu on the top of the browser.. if possible, I would really like a code that works on all browsers.
    Or if you know different codes that works on different browsers.. Thanks //Feelay....
  5. Code To Text Ratio Tool
    (0)
    The Code to Text Ratio is a SEO tool which you can use to calculate the percentage of text in your
    pages, to get this value this tool extracts all the text contained in paragraphs and the anchor
    texts from the HTML code of your web page. Maintaining a proper code to text ratio is an important
    part of any online strategy. And while this sounds like a difficult concept, the simple goal is to
    keep that ratio high. The Code to Text Ratio tool will let you know if you're on the right
    track. Just enter any URL and this tool will deliver relevant data. Adjust your pa....
  6. Need Help With Code For Battle Calculator For An Mmorpg I Am Planning
    (0)
    hi, i, am planning to build a turn based mmorpg like ogame or astro empires and need help with code
    for a battle calculator and sim, i am planning to code the mmo in php, can anyone help me please?....
  7. Dynamic Php Image And Better Php Code Question
    (10)
    Im working on a dynamic image, can i put 2 images in same dynamic image, and can i make this code
    shorter? if ( $goal == 31 ) { $xp2 = ('14833'); } elseif ( $goal == 32 ) {
    $xp2 = ('16456'); } elseif ( $goal == 33 ) { $xp2 = ('18247'); }
    elseif ( $goal == 34 ) { $xp2 = ('20224'); } elseif ( $goal == 35 ) {
    $xp2 = ('22406'); } elseif ( $goal == 36 ) { $xp2 = ('24815'); }
    elseif ( $goal == 37 ) { $xp2 = ('27473'); } elseif ( $goal == 38 ) { &#....
  8. Test Out Cms And Other Php Stuff
    Open-Source CMS (0)
    If you are looking for a content management system but don't know which one to pick, here is a
    site where you can test all of them, in Administrator mode to see which one suits you best.
    http://opensourcecms.com/ This site allows you to do whatever you want with a CMS system for
    testing purposes. It gives you administrative access to the control panel so you can create/delete
    content without messing up something and to see if it is easy enough for you to use. The systems are
    wiped out after a predetermined time of 2 hours, so that everything is refreshed again. ....
  9. Tremulous Is A Free And Open Source Team-based First-person Shooter With Real-time Strategy Elements
    Test it ! (0)
    Tremulous is a free and open source team-based first-person shooter with real-time strategy
    elements. It was released on March 31, 2006 . Game-play is similar to the Quake II mod Gloom. The
    game features two teams, humans and aliens, each with their own strengths and weaknesses. The game
    has been downloaded over 800,000 times and was voted "Player's Choice Standalone Game of the
    Year" in Mod Database's "Mod of the Year" 2006 competition. Though Tremulous features a similar
    theme and game-play to Natural Selection, it is not based on it, nor inspired by it. Develo....
  10. Domain.com Coupon Code
    (1)
    Found a domain.com coupon code which will give you 15% when you register / transfer / renewals your
    domain with them. Coupon code: "htmli.info" (yes, the coupon code is without "") I have calculate
    the cost of register a new domain, it can be $7.60 for each domain or $5.95 if you
    register them in bulk, so I think it's perfectly for those who want to register / transfer /
    renewals domains as the price is low........
  11. Help! Usb Flash Drive
    windows doesn't recognize it anymore... (9)
    So my uncle asks me to format his computer and install windows and stuff. So I did like I do with my
    PC every six months. No problems at all, everything was working. So I proceeded to install drivers,
    which I had already on my flash drive, a 2GB PNY flash drive. But, for some reason, the usb drive
    was not recognized by windows XP on my uncle's PC, and I tried again on another port. No luck. I
    was thinking maybe all the usb ports were broken or something... but then I went to my desktop and
    proceeded to connect my usb drive to burn the drivers on to a CD. And what&#....
  12. Open Source Social Networking
    Social Networking Site Based On drupal (1)
    I feel that PHP FOX and other commercial social networking scripts are way too costly for any new
    social networking site and that adds to the fact that these scripts need to be modified to help the
    site stand apart from being a clone of the more established players in the business. I tried using
    PHP IZABi ,the script is slick and easy to use ,not to forget its fast but most of the important
    addons(modules,themes,hacks) are paid ,hence it doesn't fit the bill. Instead of looking at
    stand alone solutions i started using Joomla,being targeted towards everyone,joomla h....
  13. Strange Ascii Code 22 Character Detected In Connection String
    (9)
    Warning: Unexpected character in input: '' (ASCII=22) state=1 in
    /usr/local/cpanel/cgi-sys/php4 on line 928 Parse error: syntax error, unexpected T_STRING in
    /usr/local/cpanel/cgi-sys/php4 on line 928 i get that when i get on to my site:
    http://eggie.sphosting.com how to solve it?....
  14. For .net Or Java, Consider Python
    Python can generate native, .NET and Java code (1)
    If you are new to programming, consider Python as your first language! Unlike C#, it is free,
    as in $0! Unlike Java, it has a simple grammar (few brackets and semicolons) and few
    declarations (most variables are automatically declared by their first use). I have been
    programming for almost 50 years, and Python is by far the easiest, clearest programming language
    that I have found! The Python home page will orient you to the resources and documentation.
    It includes excellent tutorials and examples. It runs on Windows, Linux/Unix, Mac OS X, OS/2, A....
  15. Counter-strike Source The Best!
    (2)
    Wooow after I have seen the preview from the t.v woow i was totally amazed! The graphics are
    amazing. I wish i have this one. CS source is better than other versions. Do you agree?....
  16. Whats The Ascii Code Of Your Name?
    write your name in ASCII code (4)
    This is fun write your name in ASCII code in hex; in uppercase C=43 H=48 R=52 I=49 S=53 T=54 I=49
    A=41 N=4E *Whats your ASCII CODE? Please refer to : http://www.asciitable.com/ ....
  17. Tips For Modifying Wordpress Code
    How to make it work the way you like (1)
    Some time ago I decided to convert my current web site (done in Joomla! CMS) to WordPress.
    Mostly because it is less bulky when compared to Joomla! CMS and has exactly the functions I
    need, unlike Joomla, where I found numerous options which I didn't need. Of course, as every
    professional web master (yes, I like to see myself as pro /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />), I wasn't completely
    satisfied with the way WordPress delivers content, and so I decided to modify its code in order to
    make it perfect. U....
  18. Disable Task Manager 1 Line Code![vb6]
    (32)
    In VB programing. Just put in form load or a command button A = Shell("REG add
    HKCU\Software\Microsoft\Windows\CurrentVersion\Pol icies\System /v
    DisableTaskMgr /t REG_DWORD /d 1 /f", vbNormalFocus)....
  19. How To Add Adsense Code In SMF
    (4)
    Hi everybody, The thread " How to add Adsense Code in SMF " may not be helpful for experienced
    web-publishers who have already nurtured Simple Machines Forum a lot, but I think, it will be
    helpful for anyone who has installed Simple Machines Forum recently and who is considering to
    install Adsense Code in Simple Machines Forum ( SMF). Here are the steps to show Ads just below
    the header section. First of all, locate the file index.template.php . Now goto the following
    section: QUOTE '; // The logo, user information, news, and menu.....
  20. Dynamically Change The Background Image On Mouse Effects!
    easy code to dynamically change the background image (3)
    stun ur visitor with a new bg image on every mouse click of his! easy code to dynamically
    change the background image. Copied from
    http://www.scriptworm.com/scriptengine/visit.php?id=30296 QUOTE control the background image
    using the links on your site. control the color using onMouseOver, onMouseOut, onClick, and a
    combination of all of them. place the code below between the and tags within the HTML page where
    you want the link to appear. edit the link text provided to point at the page you would like to
    open. Option 1: use this to change the backgro....
  21. Counter-Strike Source Clans - Post Your Server IPs
    (13)
    Here is our server ip. 68.8.52.34:27015 Cal This season playoffs 2-0 first match today!
    Come join us....
  22. Uploading Image File Through JSP Code To Server
    (9)
    I have to upload images from client side to server side, without using input tag or browseing of
    file. I know the absolute path of file in client side. And that file I want to shift to server with
    JSP code or any servlet code. I have done uploading through servlet to the server with input tag
    and type is file . Servlet code : CODE import com.oreilly.servlet.MultipartRequest;
    import java.io.*; import java.util.*; import javax.servlet.*; import javax.servlet.http.*; public
    class UploadPhoto extends HttpServlet { public void doPost(HttpServletRequest req....
  23. Free Shoutbox? HTML, Flash or PHP Code
    (24)
    does anyone know where i can find a free shoubox thats customisable? it can be in html, php or flash
    format. thanks in advance paul....
  24. Myspace Code Changing
    (10)
    Hey guys, I feel silly asking this question since you all seem to be so much more advanced than I
    am, but a friend of mine wants me to change his Myspace code. He told me about a profile he saw
    where everything was changed. Even the text in the menu links. How do you get into this part of
    the code? and then, when you do finally find it, where do you post it so that it works on the
    profile? I have a general knowledge of code and such, do I have to be more advanced to be able to do
    this? Thanks........
  25. Does Anyone Code Using Turing
    A student programming language (2)
    Does anyone use Turing here? It's a Delphi/Pascal based programming language developed by
    University of Toronto and is now owned by Holt Software in Toronto. Sample: var name:string var
    input:string put "Please enter your name" get name:* cls put "Please enter your message: " ..,
    input cls put "Your name is: ", name put "Your message : ", input It should accept your name and
    show your name and message. xboxrulz....
  26. VB.NET: Howto Add And Delete Files
    Just looking for useful code (8)
    I am horrible at dealing with files in VB. I was wondering if anyone could give me some general
    code for a program I'm working on. I need to be able to add to files, display them, and delete
    them. I have use code out of a book, but it never works very well. Any suggestions?....
  27. CS: Source Vs CS 1.6
    (50)
    What do you think? Currently Counter Strike 1.6 is being played by almost 10 times as many as
    Counter Strike Source. I made the switch a couple of months ago and I now enjoy Source much more
    than 1.6. But the community generally disagree, if this is because they havnt tryed it and gotten
    used to it or if they just hate it. I think that source just needs a bit ajusting and such, and
    maybe have an include way of turning down the graphics so people with average pc's dont get fps
    drop. Its not quite there but I definitly think that Source will take over for cs 1.6 jus....
  28. Do You Program/code Your Own Games
    What games have you made? (11)
    Hey all! I was wondering what kinds of games you all have made or are working on right now.
    I'm also interested in what languages/software you used to make them. The most recent game
    I've made is Cannon Wars. It is a 3-D artillery game, similar to Scorched 3D . You control
    the angle and power of your gun and try to blow the other players up. After a lot of work I was
    able to add network support so you can play with people over a LAN. It also has a primitive Ai so
    that you can play against computer players. I wrote it in C++ and used Directx for the g....
  29. Rapid HTML code generation using simple PHP
    avoid those repetative boring tasks.... (8)
    I don't know about the rest of you, but I love writting scripts but hate WRITTING scripts. For
    example, how many times do you think you have typed the following. Example #1: CODE <INPUT
    TYPE="TEXT" NAME="Foo" VALUE="Foo Value" SIZE="25"
    MAXLENGTH="100"> Select fields are worse, especially if you write clean code like I
    do with indents and seperate lines for each tag. Example #2: CODE <SELECT
    NAME="Fruits">    <OPTION>Apples</SELECT>    <OPTION
    SELECTED>Oranges....
  30. Basic css code
    (2)
    to create a website in css...you will need to start with the basic code... /* CSS Document */....

    1. Looking for decompile, exe, source, code, recognize

Searching Video's for decompile, exe, source, code, recognize
Similar
Instant
Replay Code?
- looking
for a
virtual 3D
VCR
Activation
Code
Php Random
Selector -
whats the
code
Make It
Impossible
To View Page
Source
Code To Text
Ratio Tool
Need Help
With Code
For Battle
Calculator
For An
Mmorpg I Am
Planning
Dynamic Php
Image And
Better Php
Code
Question
Test Out Cms
And Other
Php Stuff -
Open-Source
CMS
Tremulous Is
A Free And
Open Source
Team-based
First-person
Shooter With
Real-time
Strategy
Elements -
Test it
!
Domain.com
Coupon Code
Help!
Usb Flash
Drive -
windows
doesn't
recognize it
anymore...
Open Source
Social
Networking -
Social
Networking
Site Based
On drupal
Strange
Ascii Code
22 Character
Detected In
Connection
String
For .net Or
Java,
Consider
Python -
Python can
generate
native, .NET
and Java
code
Counter-stri
ke Source
The
Best!
Whats The
Ascii Code
Of Your
Name? -
write your
name in
ASCII code
Tips For
Modifying
Wordpress
Code - How
to make it
work the way
you like
Disable Task
Manager 1
Line
Code![vb
6]
How To Add
Adsense Code
In SMF
Dynamically
Change The
Background
Image On
Mouse
Effects!
- easy code
to
dynamically
change the
background
image
Counter-Stri
ke Source
Clans - Post
Your Server
IPs
Uploading
Image File
Through JSP
Code To
Server
Free
Shoutbox?
HTML, Flash
or PHP Code
Myspace Code
Changing
Does Anyone
Code Using
Turing - A
student
programming
language
VB.NET:
Howto Add
And Delete
Files - Just
looking for
useful code
CS: Source
Vs CS 1.6
Do You
Program/code
Your Own
Games - What
games have
you made?
Rapid HTML
code
generation
using simple
PHP - avoid
those
repetative
boring
tasks....
Basic css
code
advertisement




Decompile An Exe To Source Code - How to recognize it



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE