EXETOOLS FORUM  

Go Back   EXETOOLS FORUM > General > x64 OS

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 10-28-2009, 21:58
Enigma Enigma is offline
Developer
 
Join Date: Oct 2009
Posts: 30
Rept. Given: 0
Rept. Rcvd 23 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Enigma Reputation: 23
x64 Disassembler

Guys, could anyone suggest x64 disassembler written in Dephi (pascal)?

Maybe just simple disasm, or at least length disasm.

Engines written in assembler could be also suggested.. one of such I saw in the main thread, BeaEngine...

Thanks!
Reply With Quote
  #2  
Old 10-29-2009, 00:49
Av0id Av0id is offline
VIP
 
Join Date: Jan 2006
Posts: 399
Rept. Given: 112
Rept. Rcvd 111 Times in 69 Posts
Thanks Given: 0
Thanks Rcvd at 3 Times in 3 Posts
Av0id Reputation: 100-199 Av0id Reputation: 100-199
checkout distorm
Reply With Quote
  #3  
Old 10-29-2009, 01:14
Enigma Enigma is offline
Developer
 
Join Date: Oct 2009
Posts: 30
Rept. Given: 0
Rept. Rcvd 23 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Enigma Reputation: 23
Quote:
Originally Posted by Av0id View Post
checkout distorm
It is written on C... I need pascal, or, at least, assembler...
Reply With Quote
  #4  
Old 10-29-2009, 01:59
lena151 lena151 is offline
Friend
 
Join Date: Oct 2005
Posts: 14
Rept. Given: 0
Rept. Rcvd 12 Times in 4 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
lena151 Reputation: 12
There comes one with the fdbg package (in fasm, only for non-commercial use).

Latest version is here:
Quote:
http://fdbg.x86asm.net/fdbg0020.zip
lena151.
Reply With Quote
  #5  
Old 10-29-2009, 17:41
Enigma Enigma is offline
Developer
 
Join Date: Oct 2009
Posts: 30
Rept. Given: 0
Rept. Rcvd 23 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Enigma Reputation: 23
lena151 thanks, it is much closer to the stuff that I want, but it's sources are realy huge.. I wanna something more simple... moreover it is not for commercial use..

Do you use this engine in your Larp?
Reply With Quote
  #6  
Old 10-29-2009, 21:22
metr0 metr0 is offline
Friend
 
Join Date: Apr 2009
Posts: 65
Rept. Given: 19
Rept. Rcvd 11 Times in 5 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
metr0 Reputation: 11
As lARP is a commercial protection system (I can only assume you're referring to lARP64), probably not. Thought she might have done so for x86 lARP, that's up to her to answer.

Where's the problem with C code anyway? It should be pretty easy to convert it to Delphi/Pascal. Hde64 is written in C as well, if you'd like to have a look (which is worth the risk, I guess ).
Reply With Quote
  #7  
Old 10-29-2009, 23:06
lena151 lena151 is offline
Friend
 
Join Date: Oct 2005
Posts: 14
Rept. Given: 0
Rept. Rcvd 12 Times in 4 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
lena151 Reputation: 12
Quote:
Originally Posted by metr0 View Post
As lARP is a commercial protection system (I can only assume you're referring to lARP64), probably not. Thought she might have done so for x86 lARP, that's up to her to answer.
Quote:
Originally Posted by Enigma View Post
Do you use this engine in your Larp?

Like metr0 says, indeed not, for neither version though its sources gave me a few ideas and are recommendable to anybody who wants to venture in 64bit assembler. Feryno took the time to comment them meticulously, maybe they earn a place in Evilcry's webpointers topic (?)

Slightly off-topic but the debugger itself has become pretty neat too since the last updates

lena151.
Reply With Quote
  #8  
Old 10-30-2009, 17:19
Enigma Enigma is offline
Developer
 
Join Date: Oct 2009
Posts: 30
Rept. Given: 0
Rept. Rcvd 23 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Enigma Reputation: 23
Quote:
Originally Posted by metr0 View Post
As lARP is a commercial protection system (I can only assume you're referring to lARP64), probably not. Thought she might have done so for x86 lARP, that's up to her to answer.

Where's the problem with C code anyway? It should be pretty easy to convert it to Delphi/Pascal. Hde64 is written in C as well, if you'd like to have a look (which is worth the risk, I guess ).
Not for commercial use does not mean that is can't be used for commercial products, it probably just requires additional fees for author (licensing).

Rewrite C to Pascal, oh, nice idea, but I do not want to spend my time to develop a bicycle, when it is already developed...

Quote:
Originally Posted by lena151 View Post
Slightly off-topic but the debugger itself has become pretty neat too since the last updates
Just interesting to know, about what debugger you are talking?
Reply With Quote
  #9  
Old 10-30-2009, 18:42
metr0 metr0 is offline
Friend
 
Join Date: Apr 2009
Posts: 65
Rept. Given: 19
Rept. Rcvd 11 Times in 5 Posts
Thanks Given: 0
Thanks Rcvd at 0 Times in 0 Posts
metr0 Reputation: 11
I think she talks about fdbg itself (link here), a x64 debugger.

Thanks for the notice on the commercial part, didn't think about fees and the like. As for the Pascal thing, I'm not sure if there's one (no popular example coming to my mind), but you might want to try to contact SuperCracker as I remember him writing a disassembly engine in Delphi hell of a time ago (didn't hear any news though).
Reply With Quote
  #10  
Old 11-05-2009, 00:34
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 0 Times in 0 Posts
redbull Reputation: 5
Enigma,

Have you tried linking the c library in delphi and using external far calls?

Here is a good article.

http://rvelthuis.de/articles/articles-cobjs.html

Duuno if there are 64bit restrictions.

Just link the .LIB file into your delphi source.

This might need some tweaking.
Code:
{$LINK 'distorm.lib'}

function distorm_decode64(codeOffset: LongInt;code:pchar; codeLen: Integer;DecodeType:shortint; DecodeRestult : array of _DecodedInst; maxInstructions:integer; var usedInstructionsCount:integer) : Integer; cdecl; external;
Give it a shot with other libraries if Distorm does not do it for you.
Reply With Quote
  #11  
Old 11-05-2009, 05:25
Enigma Enigma is offline
Developer
 
Join Date: Oct 2009
Posts: 30
Rept. Given: 0
Rept. Rcvd 23 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Enigma Reputation: 23
hi redbull, thanks for useful post...
But I need to compile disasm in FreePascal x64, your example will work only in 32b Delphi... I'm not sure that FPC allows to link x64 libs...
I thought that there maybe are some open sources disasms written in pascal, so it will be very easy to embed it to my project.. But seems there is no..
Reply With Quote
  #12  
Old 11-06-2009, 14:37
redbull redbull is offline
Friend
 
Join Date: Mar 2004
Posts: 160
Rept. Given: 17
Rept. Rcvd 5 Times in 4 Posts
Thanks Given: 3
Thanks Rcvd at 0 Times in 0 Posts
redbull Reputation: 5
Yo Yo,

Did you see the posting about the new BEADissasembler
It comes with a delphi lib and does 64 bit. (Have not confirmed it myself).

Newest release yesterday
http://beatrix2004.free.fr/BeaEngine/index1.php
Reply With Quote
  #13  
Old 11-06-2009, 18:00
Enigma Enigma is offline
Developer
 
Join Date: Oct 2009
Posts: 30
Rept. Given: 0
Rept. Rcvd 23 Times in 8 Posts
Thanks Given: 0
Thanks Rcvd at 1 Time in 1 Post
Enigma Reputation: 23
Thanks redbull, I've already seen this engine!

Seems you are right, I will try to make something magic with lib (or obj) and compile it with Free Pascal!
Reply With Quote
  #14  
Old 04-11-2013, 13:29
iconstart iconstart is offline
Friend
 
Join Date: Mar 2013
Posts: 19
Rept. Given: 0
Rept. Rcvd 1 Time in 1 Post
Thanks Given: 6
Thanks Rcvd at 3 Times in 2 Posts
iconstart Reputation: 1
Quote:
Originally Posted by lena151 View Post
There comes one with the fdbg package (in fasm, only for non-commercial use).

Latest version is here:

lena151.
thanks for
sharing
Reply With Quote
  #15  
Old 05-13-2013, 17:13
virologizt
 
Posts: n/a
Or you can take a look at Cheat Engine source code. Everything except for the kernel driver was written in Free Pascal.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best VB Disassembler Android General Discussion 2 06-06-2010 04:23
Basic Disassembler for Delphi port of Micro Length-Disassembler Engine 32 redbull General Discussion 0 11-04-2005 04:56


All times are GMT +8. The time now is 07:43.


ICP05004977
vBulletin Security provided by vBSecurity v2.2.0 (Lite) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX