I'd have to guess that you're totally lost. Neither the disassembly nor your proposed Linux code make a lot of sense, and they are not equivalent.
We're not going to discuss "reversing" here! This isn't because we're a bunch of wussies, but because this stuff is illegal in some jurisdictions, and we don't want to expose the Forum to legal liabilities. So don't.
However, if you describe what you want to do, we may be able to help you do it in Linux. (or maybe we won't have the expertise) I don't think we care whether MickeySoft has done it or not. What do YOU want to do? (you'll learn more assembly and have more fun doing it this way, too... besides not being banned from the Forum)
Best,
Frank
Even that you guys dont like me, I do like you.
Thanks for the reply.
Here is what I want to do.
I have an .obj file that I use for long time now in some of my windows programs. It is about 4 or 5 years old now. I had the source for it but I lost it while ago.
Around 3 years ago, I started to migrate from win to linux (ubuntu distro), and I admit it: I really am happier now.
I develop for linux now (most times, whenever it is up to me) and this obj file have some functions that I use a lot.
I tought it would be easy to disassemble the .obj file and recompile it into a .so file instead re-write everything again. Just as simple as that. However, turns out it is not that easy.
Do you see? I dont want to "reverse". I just want my lib so I can use it in linux....
Well... I dont see how that could be illegal, but... What do I know, right?
I think it is time to open a new project and rewrite every thing again.
The code is not big. I can do it.
Thanks again for the tips.
Best regards,
Bruno