Exetools  

Go Back   Exetools > General > General Discussion

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 08-13-2005, 00:10
straylight
 
Posts: n/a
Is this possible?

Ok, I'm pretty new at this so please be patient

Here is my situation:
====================

I have created a simple .exe file (coded in vc++ 6) simply for the purpose of reversing it.

I have packed it w/ upx 1.25


What i know i can do:
====================

I can obviously unpack the exe.
I can then open it w/ ollydbg.


What i would like to know:
====================

Is it possible to take that ollydbg output and rebuild the vc++ source? If so could someone point me in the right direction? Like i said, i'm new to world of reversing and figured this would be a nice place to start.

Best regards,

straylight
Reply With Quote
  #2  
Old 08-13-2005, 10:27
bgrimm bgrimm is offline
Friend
 
Join Date: Jan 2004
Location: South of The North Pole
Posts: 66
Rept. Given: 0
Rept. Rcvd 0 Times in 0 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
bgrimm Reputation: 0
This topic has been touched on several times before, but it is a bit tricky to phrase correctly in a search box.

Quote:
Can assembly code be decompiled back into <insert language here>.
Basically no.

In an advanced level of consciousness you could examine the code, determine how it structures its calls (__STD, etc...), parameters and
cleans up itself, and then write VC code that duplicates how it works.

But, with many different compiler optimizations, options, etc. You'd never get back to it's original code. Even writing something functionally equivalent would likely end up compiling to a different code structure.


-bg
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT +8. The time now is 23:51.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )