[ASM] Decompiling to VC++ code source

Is this for that MapleStory emulator you've been working on? If it is, are you trying to convert the entire game executable from the running ASM you see to C++? I don't have experience in coding server emulators, but I know that translating the entire client to C++ isn't needed >_>
 
Is this for that MapleStory emulator you've been working on? If it is, are you trying to convert the entire game executable from the running ASM you see to C++? I don't have experience in coding server emulators, but I know that translating the entire client to C++ isn't needed >_>
Even if it's not needed it's still such a great thing to have working client sources to a game. The ability to change anything you want outweighs the effort put into getting the sources.
 
There isnt any program that does what you need, at least not one thats well implemented, why you would want to do something for a large executable is beyond me...Ever heard of inline assembly?

i lol'd at this topic.
 
look some of you wouldn't understand what were getting at...for those who do then they know why, if you don't get it just don't ask, laugh at me all you want but if you don't understand why then your the one who will be laughed at. Look I realize there isn't one single program that does what I need, but there are MULTIPLE programs that can get the task done to a certain extent, whatever your mind set is it's on the wrong thing
 
Listen dude, as allready said it's not possible to decompile binaries back into source.

"Decompilers" now days are more for Java/.NET applications, as such compile to bytecode which is almost plaintext :)

I suggest you spend your time on something more sensitive, like.. making a new version of whatever you're hacking, or ask the author for source.

Emulators for example WoW was written in C# and just sending the packets that was sniffed, they never had their hands on the server source. If a emulator is the subject.
 
Listen dude, as allready said it's not possible to decompile binaries back into source.

"Decompilers" now days are more for Java/.NET applications, as such compile to bytecode which is almost plaintext :)

I suggest you spend your time on something more sensitive, like.. making a new version of whatever you're hacking, or ask the author for source.

Emulators for example WoW was written in C# and just sending the packets that was sniffed, they never had their hands on the server source. If a emulator is the subject.
It is possible to rebuild source from binaries. It won't be an exact replica and can take longer than coding your own version yourself but it will match up quite a bit as you can do half and half. Some of the more basic things you can code yourself and things that are specific to that binary in their methods you can pull from the ASM.

And for those who don't know, there are such things as data recovery services where a team of people can be hired to reconstruct your sources in case of a failure and the originals were lost. Though that costs money, it's possible.
 
sage

WTF, database revert? :eh:

--

1. Near-perfect decompilers exist for C/C++ native code.

2. Go read some of the other threads here for more information, this topic has been discussed several times already. In fact, point #1 above has also been posted already.

There.
 
"Yes, but I would call that reverse engineering, like when we're writing game emulators."......TItle got changed by fragfrog =( decompiling was really set to the wrong term..I lol'd at that anyways I would like to request this thread shows, were all discombobbled and no one really understands what im getting at except for maybe a couple, it's ok I'm getting help through msn and other sources thanks for the help or trying anyways

[close please]
 
Not possible. Partial VB disassemblies are possible because no matter how much you try VB is always partially interpreted.
C++, on the other hand, cannot be converteed back. C++, when compiled, is converted to low-level things like 'make one pixek on screen black'. Even if it could be converetd from a dissassembly, it's just be low-level routines.
 
You also have to keep in mind that this is just the client half, were still working on the server half which is much harder to get. apparently they run linux which sshouldn't be too hard to crawl our way through
 
OK guys, im back with another problem...as you know, i've been working on this thing for a while now and I do have a program that anything I click within the game will be shown with it's encryption and converted into asm! now here's the problem

I have to convert 1.877 million lines of asm into C++/C now of course, that's not possible to do by hand, Oh right, and it may also be encrypted with protection, but is there an actaul program Private or not, that can do such a thing? any ideas:scratch:? it would be of great help thanks
:punch:

Hello,

Some time ago i programmed in Assember abour 8 years, i remmeber i sometimes had crazy ideas like this too, i decompiled not one DOS program (DOS programs are not so difficult like Windows), but when i compiled it again almost times i got not working applications or system crash'es, I just want to say then this is really crazy idea what you try to do and better not waste time on it, better to learn and write own program from 0.

Actually you can try software like IDA or WDASM32 maybye you get some result, but just in any EXE, DLL or other application file not all bytes are code like assember it can be for example some application data, resouces or other stuff and decompiler probably will understand it like assember too, then you don't need to forget then diferent assembler compilers understand different same Assembly instructions, just some instructions possible to write in more then 1 way using other machine codes, i don't beleawe then your decompiled program after compiling it again will have same content, you can check this with command prompt utility "FC" with /B mode, usage example:

FC /B "c:\original.exe" "c:\my_super_exe_after_decompiling.exe"

I think you will get a lot of diferent bytes and diferent EXE sizes ;)
 
You also have to keep in mind that this is just the client half, were still working on the server half which is much harder to get. apparently they run linux which sshouldn't be too hard to crawl our way through


Best way is get admin druked buying him beer and then ask for files :wink2:
 
It really isn't all that hard. With sufficient knowledge of ASM and the language you're making it in you can do it quite easily... it just takes time. Knowing ASM will tell you what the client WANTS to do. Knowing the other language helps you know the way TO do it.

If you can separate the functions within ASM and identify what each piece is trying to do, you don't need to translate line by line. As long as you got a general idea you can clone it.
 
It really isn't all that hard. With sufficient knowledge of ASM and the language you're making it in you can do it quite easily... it just takes time. Knowing ASM will tell you what the client WANTS to do. Knowing the other language helps you know the way TO do it.

If you can separate the functions within ASM and identify what each piece is trying to do, you don't need to translate line by line. As long as you got a general idea you can clone it.

Sure! You can, but how much time will take to analyse all ASM code compiled with some hi lvl programming language, from ASM point of view is enought hight lvl language are & C, or you some day tried to analyse so big program like normal PC game ? to understand not only one part of code, but complete exe with all functionality, you then need to analyse all compiled libraries code, like runtime or other c libraries.

Possible are all, but i think less time will take to write it from 0 then analyse all exe and do something with that and another thing is then bad thing is to steal other people work, like crack some program in this way and modify some parts and write then it your coded one!
 
we'll in short, it's not suppsoed to be a remake using GMK it's supposed to be the real thing.......the only difference is your not advertising for money or gaining any money from it, your just doing it to play so technically it's not a bad thing nor COMPLETELY illegal, just a little bit kinda like people did with wowc private servers. I also must say there's many possibilities and we do have the resources and the ability to do it the way we are now, all were missing is prologix, once we buy/get that somehow we should be good to go, or if theres anything better out there than that one I need a link asap/pronto!
 
we'll in short, it's not suppsoed to be a remake using GMK it's supposed to be the real thing.......the only difference is your not advertising for money or gaining any money from it, your just doing it to play so technically it's not a bad thing nor COMPLETELY illegal, just a little bit kinda like people did with wowc private servers. I also must say there's many possibilities and we do have the resources and the ability to do it the way we are now, all were missing is prologix, once we buy/get that somehow we should be good to go, or if theres anything better out there than that one I need a link asap/pronto!
Completely illegal :P It's illegal in most places except Russia but it's only legal there for informational/educational purposes.
 
Back