Disassembler

I heard that to decompile an 'exe' file, you need to disassemble it. What is a disassembler? I have a program called SoftICE. Is this one?

Oh yes, do you need to be a good programmer to disassemble an 'exe' file?

All I want to do is decompile NOTEPAD, change a bit, and then recompile it!

Thanks
Richard Gebbie
LKudrowFanAsked:
Who is Participating?
 
yonatCommented:
A decompiler is a program the reads binary code and produces a
corresponding high-level-language code (C, for example). This
code is usually unreadable and you can't do much with it. See for
example question 39 on the alt.2600 FAQ at
http://www.defcon.org/FAQ/hack.faq .

There is a C decompiler at
http://www.cs.uq.edu.au/groups/csm/dcc.html, if you want to see
for your self.

> do you need to be a good programmer to disassemble an 'exe'

This is an under-statement. You need a lot of effort and a lot of
time. This is not trivial.

> All I want to do is decompile NOTEPAD, change a bit, and then
> recompile it!

It would be much easier just to re-write it.

Good luck!
0
 
LKudrowFanAuthor Commented:
 Actually your task much easier then it looks to be!

  First you have to have a decent hex editor, I'd suggest
Hex Workshop by BreakPoint Software, Inc. Find them
at http://www.bpsoft.com. They have shareware versions
for both 16 bit and 32 bit Windows. Then:
1. install it;
2. Start it;
3. Open the "Notepad.exe";
4. In the "Edit" menu choose "Replace" command;
5. Find what = *.txt; Replace with = *.htm; Value = ASCII;
   Options = Unicode and push "Replace All" button;
6. In the "File" menu choose "Save as..." command;
7. Type in a new name, i.e. NP.exe.

That's all.

Start new np.exe and try to open file :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.