473,396 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Decompiler

Hi guys,

I've got a game someone has written here - it's a Windows .EXE file, and
from the contents it is obviously written in some variant of C++. Can anyome
reccomend a decompiler? I'm just interested in a single routine from the
exe - a checksum generation routine. I already know that the .exe has enough
debug info to name the checksum generation routine for me. I'm not looking
for compilable C++, or even pure C... Half C and half assembler is fine with
me. I'm just looking for something more readable than assembler (because I
don't know assembler very well).

Cheers,
Nicholas Sherlock
Jul 22 '05 #1
13 2830

"Nicholas Sherlock" <n_********@hotmail.com> schrieb im Newsbeitrag
news:c6**********@lust.ihug.co.nz...
Hi guys,

I've got a game someone has written here - it's a Windows .EXE file, and from the contents it is obviously written in some variant of C++. Can anyome reccomend a decompiler? I'm just interested in a single routine from the exe - a checksum generation routine. I already know that the .exe has enough debug info to name the checksum generation routine for me. I'm not looking for compilable C++, or even pure C... Half C and half assembler is fine with me. I'm just looking for something more readable than assembler (because I don't know assembler very well).

Cheers,
Nicholas Sherlock

What good would that be, other than cracking the software protection?
Write you're own game instead of wasting your time with illegal stuff.
Reverse engineering and decompiling is usually not allowed - otherwise
the program would be open source, wouldn't it?
Jul 22 '05 #2

"Nicholas Sherlock" <n_********@hotmail.com> wrote in message
news:c6**********@lust.ihug.co.nz...
Hi guys,

I've got a game someone has written here - it's a Windows .EXE file, and
from the contents it is obviously written in some variant of C++. Can anyome reccomend a decompiler? I'm just interested in a single routine from the
exe - a checksum generation routine. I already know that the .exe has enough debug info to name the checksum generation routine for me. I'm not looking
for compilable C++, or even pure C... Half C and half assembler is fine with me. I'm just looking for something more readable than assembler (because I
don't know assembler very well).

Cheers,
Nicholas Sherlock


Try SoftIce.

And learn assembly. You can't do reverse engineering without it.
Jul 22 '05 #3
"Nicholas Sherlock" <n_********@hotmail.com> wrote in
news:c6**********@lust.ihug.co.nz:
I've got a game someone has written here - it's a Windows .EXE file,
and from the contents it is obviously written in some variant of C++.
Can anyome reccomend a decompiler? I'm just interested in a single
routine from the exe - a checksum generation routine. I already know
that the .exe has enough debug info to name the checksum generation
routine for me. I'm not looking for compilable C++, or even pure C...
Half C and half assembler is fine with me. I'm just looking for
something more readable than assembler (because I don't know assembler
very well).


How about turning a hamburger back into a cow?

<love that phrase! lol>

cheers!
b
Jul 22 '05 #4
bartek wrote:
"Nicholas Sherlock" <n_********@hotmail.com> wrote in
news:c6**********@lust.ihug.co.nz:

I've got a game someone has written here - it's a Windows .EXE file,
and from the contents it is obviously written in some variant of C++.
Can anyome reccomend a decompiler? I'm just interested in a single
routine from the exe - a checksum generation routine. I already know
that the .exe has enough debug info to name the checksum generation
routine for me. I'm not looking for compilable C++, or even pure C...
Half C and half assembler is fine with me. I'm just looking for
something more readable than assembler (because I don't know assembler
very well).

How about turning a hamburger back into a cow?

<love that phrase! lol>

cheers!
b


Yes, but that is not describing the situation.
A binary executable program _can_ be turned into source
but the probability of it looking like the original is
very low.
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #5
Nicholas Sherlock wrote:
Hi guys,

I've got a game someone has written here - it's a Windows .EXE file, and
from the contents it is obviously written in some variant of C++. Can anyome
reccomend a decompiler? I'm just interested in a single routine from the
exe - a checksum generation routine. I already know that the .exe has enough
debug info to name the checksum generation routine for me. I'm not looking
for compilable C++, or even pure C... Half C and half assembler is fine with
me. I'm just looking for something more readable than assembler (because I
don't know assembler very well).

Cheers,
Nicholas Sherlock

Search the newsgroup for the terms "decompiler" and
"reverse engineering". I've answered this issue
too many times.
--
Thomas Matthews

C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book

Jul 22 '05 #6
Thomas Matthews <Th****************************@sbcglobal.net> wrote in
news:Op**************@newssvr15.news.prodigy.com:

(...)

How about turning a hamburger back into a cow?

<love that phrase! lol>


Yes, but that is not describing the situation.
A binary executable program _can_ be turned into source
but the probability of it looking like the original is
very low.


Same for the cow. Except, maybe the probability is a little bit lower.
Though, if you've had the time... and appropriate tools...

cheers!
b
Jul 22 '05 #7
bartek wrote:
Thomas Matthews <Th****************************@sbcglobal.net> wrote in
news:Op**************@newssvr15.news.prodigy.com:

(...)

How about turning a hamburger back into a cow?

<love that phrase! lol>

Yes, but that is not describing the situation.
A binary executable program _can_ be turned into source
but the probability of it looking like the original is
very low.

Same for the cow. Except, maybe the probability is a little bit lower.
Though, if you've had the time... and appropriate tools...


Given cloning your chances of getting something back from the hamburger
that looks like the original cow is perhaps better than decompiling!
Jul 22 '05 #8
Gernot Frisch wrote:
"Nicholas Sherlock" <n_********@hotmail.com> schrieb im Newsbeitrag
news:c6**********@lust.ihug.co.nz...
Hi guys,

I've got a game someone has written here - it's a Windows .EXE file,
and from the contents it is obviously written in some variant of
C++. Can anyome reccomend a decompiler? I'm just interested in a
single routine from the exe - a checksum generation routine. I
already know that the .exe has enough debug info to name the
checksum generation routine for me. I'm not looking for compilable
C++, or even pure C... Half C and half assembler is fine with me.
I'm just looking for something more readable than assembler (because
I don't know assembler very well).

Cheers,
Nicholas Sherlock

What good would that be, other than cracking the software protection?


How would a checksum be involved in software protection? This game does not
have any copy protection. I'm trying to generate files to be used by the
game (In this case, allowing the user to generate "dog" characters to insert
into their game).

Cheers,
Nicholas Sherlock
Jul 22 '05 #9
predator wrote:
"Nicholas Sherlock" <n_********@hotmail.com> wrote in message
news:c6**********@lust.ihug.co.nz...
Hi guys,

I've got a game someone has written here - it's a Windows .EXE file,
and from the contents it is obviously written in some variant of
C++. Can anyome reccomend a decompiler? I'm just interested in a
single routine from the exe - a checksum generation routine. I
already know that the .exe has enough debug info to name the
checksum generation routine for me. I'm not looking for compilable
C++, or even pure C... Half C and half assembler is fine with me.
I'm just looking for something more readable than assembler (because
I don't know assembler very well).

Cheers,
Nicholas Sherlock


Try SoftIce.

And learn assembly. You can't do reverse engineering without it.


Thanks, looks like I'll be learning assembler.. :)

Cheers,
Nicholas Sherlock
Jul 22 '05 #10

"Nicholas Sherlock" <n_********@hotmail.com> wrote in message
news:c6**********@lust.ihug.co.nz...
Gernot Frisch wrote:
"Nicholas Sherlock" <n_********@hotmail.com> schrieb im Newsbeitrag
news:c6**********@lust.ihug.co.nz...
Hi guys,

What good would that be, other than cracking the software protection?


How would a checksum be involved in software protection? This game does

not have any copy protection. I'm trying to generate files to be used by the
game (In this case, allowing the user to generate "dog" characters to insert into their game).


It was a likely guess. I think that most people who want to reverse
engineer something are not trying to fiddle with their personal copies of
games, but rather trying to steal. You should see the number of posts in
the hacker newsgroups! And a checksum is a common method used internally by
copy protectin software to tell if the program's been hacked.

-Howard
Jul 22 '05 #11
I got lazy with attributions. Sue me.
How about turning a hamburger back into a cow?

<love that phrase! lol>

Yes, but that is not describing the situation.
A binary executable program _can_ be turned into source
but the probability of it looking like the original is
very low.

Same for the cow. Except, maybe the probability is a little bit lower.
Though, if you've had the time... and appropriate tools...


Given cloning your chances of getting something back from the hamburger
that looks like the original cow is perhaps better than decompiling!


It's probably closer to turning *cooked* hamburger back into cow.
See, an optimizer is free to do a ton of things. Combine things,
move things around (such as outside loops), recognize a "multiply
by 2" can be implemented as a bit shift, etc. etc. This is in addition
to stripping out things like names, macro defintions, templates
being turned into code then compiled, etc. Just picture the case
where an inheritance chain exists, and some nodes on the chain are
never actually instantiated. Getting anything even remotely like
the original source code would be a grubby painful process, if it
was possible at all.
Socks
Jul 22 '05 #12
pu*********@hotmail.com wrote in
news:c7**************************@posting.google.c om:
I got lazy with attributions. Sue me.
>>>How about turning a hamburger back into a cow?
>>>
>>><love that phrase! lol>
>>>
>>Yes, but that is not describing the situation.
>>A binary executable program _can_ be turned into source
>>but the probability of it looking like the original is
>>very low.
>
>
> Same for the cow. Except, maybe the probability is a little bit
> lower. Though, if you've had the time... and appropriate tools...


Given cloning your chances of getting something back from the
hamburger that looks like the original cow is perhaps better than
decompiling!


It's probably closer to turning *cooked* hamburger back into cow.
See, an optimizer is free to do a ton of things. Combine things,
move things around (such as outside loops), recognize a "multiply
by 2" can be implemented as a bit shift, etc. etc. This is in addition
to stripping out things like names, macro defintions, templates
being turned into code then compiled, etc. Just picture the case
where an inheritance chain exists, and some nodes on the chain are
never actually instantiated. Getting anything even remotely like
the original source code would be a grubby painful process, if it
was possible at all.


That would be a cooked and already digested hamburger w/ fries and
ketchup.

Jul 22 '05 #13
I'm trying to generate files to be used by the
game (In this case, allowing the user to generate "dog" characters to insert into their game).


Well, if you want to write a mod for the game, the original coders
will be interested, since mods always lead to higher sale rates of the
original game (if it's required for the mod).
Send him/her an email and you will get an answwer. I did this a few
times and always got satisfied.
--
-Gernot

Post here, don't email. If you feel you have to mail, revert my
forename from:
to******************************@invalid.com
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
Jul 22 '05 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

28
by: gmcdanie | last post by:
I am looking for a Java Decompiler... preferably free. Any suggestions. Ease of use isn't a problem as long as it does a fair job.
13
by: gregory_may | last post by:
Is there a more econimical way to stop people from decompiling my .Net product? I dont have $1900 to spend on the .Net Decompiler Protector. Anyone have any thoughts/experiences with these or...
192
by: Vortex Soft | last post by:
http://www.junglecreatures.com/ Try it and tell me what's happenning in the Microsoft Corporation. Notes: VB, C# are CLS compliant
3
by: Roberto Rasto | last post by:
I'm looking for a C Decompiler. I don't looking for a perfect C decompiler, beacuse I only need to understand the logic of the program do decompile, but the program is not so little. I tried...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.