Important alert: (current site time 7/16/2013 3:03:21 AM EDT)
 

winzip icon

Win32 Disassembler (BUG FIXED)

Email
Submitted on: 12/14/2002 2:47:08 AM
By: VF-fCRO 
Level: Advanced
User Rating: By 49 Users
Compatibility: VB 6.0
Views: 34377
 
     Win32 Disassembler (16bit Instructions offset BUG FIXED) So,works fine now-.
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 61 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
12/14/2002 6:32:02 AMEdward Catchpole

Could you please tell me of a possible use for this
(If this comment was disrespectful, please report it.)

 
12/14/2002 7:03:11 AMCoding Genius

Edward: Us 1337 programmers need disassemblers all the time! heh. Na, I use disassemblers all the time for disassembling small C programs to help with some assembly problems. It's quite a hard thing to make and so I congratulate you. I won't be using it though since I have far better disassemblers - Ones with color highlighting, comment lines, jmp labels (as opposed to bare addresses) and hundreds of options. But yours is a good start - it works nice. My next suggestion would be to be able to disassemble 16 bit COM programs.
(If this comment was disrespectful, please report it.)

 
12/14/2002 8:34:48 AM

Nice!
(If this comment was disrespectful, please report it.)

 
12/14/2002 10:40:46 AMORSHEE

have i askey you are you from croatia?
5 for your work.
(If this comment was disrespectful, please report it.)

 
12/14/2002 10:40:50 AMORSHEE

have i asked you are you from croatia?
5 for your work.
(If this comment was disrespectful, please report it.)

 
12/14/2002 11:05:24 AMVF-fCRO

Yes,im.
To Coding Genius:
Did you get source of WDASM83 or other like???
(If this comment was disrespectful, please report it.)

 
12/14/2002 11:08:47 AMVF-fCRO

To Edward Catchpole,
"Purposes of the Learning"!
(If this comment was disrespectful, please report it.)

 
12/14/2002 1:02:20 PMJohn Sugas

Good work.... I will vote again since you deleted my first one.
(If this comment was disrespectful, please report it.)

 
12/14/2002 1:15:10 PMViking Software

Very nice!
(If this comment was disrespectful, please report it.)

 
12/15/2002 5:42:41 AMPeter Winter-Smith

Brilliant, this should be a the top of the coders contest!
(If this comment was disrespectful, please report it.)

 
12/15/2002 7:50:02 AMNorm Cook

Nice work!! Five globes.
(If this comment was disrespectful, please report it.)

 
12/15/2002 8:19:54 AMudtman

as a wannabe in sooooooooooo many ways, i love this code... 5 globes bro..

(If this comment was disrespectful, please report it.)

 
12/15/2002 12:32:06 PMVF-fCRO

Tests:
Beats HACKMAN701 (1000X FASTER)shame!,
Beats W32Dasm (only OPCODE) (2X FASTER).
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Even it is written in VB,and W32Dasm in
C++!!!!!!!!!!!!!!!!!!!!!!!!
which means : Good Algorythm in VB beats poor algoryth in C++!!!!
So:
This test doesn't include JMP/CALL dereference,or other Sections preprocessing!
Only compare RAW Disassembling (Binary to ASM code!)

(If this comment was disrespectful, please report it.)

 
12/15/2002 1:12:25 PMDalikeris

Hi i am dalikeris i voted for you.
Remember me i will post later great
nebverdonr before things.
I dont know assmbly but this is great tool.Vote
(If this comment was disrespectful, please report it.)

 
12/15/2002 4:36:18 PMSimon Ingram

Nice code and layout.

Have youthought of adding an editor say the disassembled version of the origional code on oneside and the edited version of the code on the other

All the best 5 ~Gs~ from me

Simon
(If this comment was disrespectful, please report it.)

 
12/16/2002 8:45:58 AM

i can't believe VB can make a Disassembler, But you did it!!!
5 from me
(If this comment was disrespectful, please report it.)

 
12/17/2002 9:44:30 PM

WOW! I didn't even think this was possible in VB. Great Work! For a next version (if you're considering one) you should make some sort of editor for the disassembled code maybe? Five Globes!
(If this comment was disrespectful, please report it.)

 
12/20/2002 12:27:12 AMArk

Perfect! Absolutely Perfect! 5 globes (more if I can).
(If this comment was disrespectful, please report it.)

 
12/20/2002 12:54:15 PMLefteris Eleftheriades

I am left ashtonished, As I haven't seen such a wonderful code before.

A few suggestions:
o) Draw the data in a picture box instead of a text box it will take less time drawing only the viewable information.
o) Put some highliting on functions
o) Make it patch exes.
o) Make it locate text references etc.
o) Make it more like w32dasm
o) Try to make a debugger
o) Explain all of this code in a doc file.
(If this comment was disrespectful, please report it.)

 
12/22/2002 7:07:25 PMArk

Vanja, may I use your source for "reverse" purpose (with all credits to your code, of course)? I'm going to make a class (say "AsmEnc" :) to use inline assembly directly from VB with methods like this:

Public Sub Jmp(ByVal dwAddress As Long)
AddByteToCode &HE9
AddLongToCode dwAddress - VarPtr(m_abCode(m_LastByte)) - 4
End Sub

This class will convert asm into opcodes and then use CallWindowProc to run opcodes array.
(If this comment was disrespectful, please report it.)

 
12/23/2002 12:17:26 PMVF-fCRO

Oky,doky,you've got my permission...

(If this comment was disrespectful, please report it.)

 
12/23/2002 6:17:43 PM

Hei Vanja!!!!!!!!
Nice code, nice colors, especially red one!
But, what it means: “Sub or function not defined:
MATH2(XRG)” ?

(If this comment was disrespectful, please report it.)

 
12/24/2002 3:27:08 AMVF-fCRO

Redownload and try again..[UPDATED ZIP]
(If this comment was disrespectful, please report it.)

 
12/24/2002 9:22:20 AMLefteris Eleftheriades

Skull Hacker ten days after (your post 12/14/2000) on 12/24/2002 that is
has posted the exact same code...


(If this comment was disrespectful, please report it.)

 
12/24/2002 11:24:37 AMVF-fCRO

[some an internal correction was there]
ArchPeasant rather than Skull Hacker..
He,he...[if it's a review of my last submission]
(If this comment was disrespectful, please report it.)

 
12/24/2002 11:30:49 AMVF-fCRO

VB As the Ultimate Tool Language is a JOKE that people isn't understand as "the Ultimate Joke"...
At this time,i working on debugger main loop in ASEMBLER because VB doesn't support multithread---...So much of Ultimate Language Toolz (for *fools ( and *horses))...
(If this comment was disrespectful, please report it.)

 
12/24/2002 9:27:19 PMArk

Following this way you'll finally rebuild your VBDisAsm with MASM (TASM?,NASM?) :) BTW, about multithreading: http://www.freevbcode.com/ShowCode.Asp?ID=1287
(If this comment was disrespectful, please report it.)

 
12/25/2002 2:59:54 AMtHe_cLeanER

this guy stole your code.. dont forget to rate him bad... http://www.planet-source-code.com/vb/scripts/showcode.asp?txtCodeId=41825&lngWId=1
(If this comment was disrespectful, please report it.)

 
12/25/2002 8:30:39 AMRaphael Henrique Ribas

That's a good program, but for most of the programs I tried to disasm I got an error. 4 globes
(If this comment was disrespectful, please report it.)

 
12/25/2002 11:25:18 AMVF-fCRO

Errors?Where?
(If this comment was disrespectful, please report it.)

 
12/25/2002 11:46:16 AMVF-fCRO

If is it trouble with MATH2(XRG) line,please download it again>>>
If isn't that case,please tell me exactly what's happen,and where
the Project blow away itself to death?
(If this comment was disrespectful, please report it.)

 
12/25/2002 1:27:46 PMDavorin

You can learn something from this! This is a good reason, don't you think?

pozdrav!
(If this comment was disrespectful, please report it.)

 
12/25/2002 3:15:21 PMPeter Winter-Smith

Excellent program, it's a shame you submitted it on half way through the month, because it would have gotten first place otherwise.
I was thinking, perhaps you could write it into a hex editor, maybe more w32dasm style, and if you really want to go for it, a debugger, and re-submit it, you'll be assured first place!
~Peter
(If this comment was disrespectful, please report it.)

 
12/26/2002 10:18:49 AMVlad Vissoultchev

hi, nice submission!

can you tell us what are the assembly language references you used in making it?

</wqw>

p.s. i'm not going to "fall into" your code -- just want to tell you frankly that Option Explicit is a nice feature of the VB language which you somehow overlook.
(If this comment was disrespectful, please report it.)

 
12/26/2002 12:34:33 PMVF-fCRO

OPCode documentation.
Option Explicit?
Yes,but im expirienced very well to declare any local or public variable correctly.(i hope so,he,he)
(If this comment was disrespectful, please report it.)

 
12/27/2002 6:20:17 PMJames J. Kelly Jr.

Dissambler+Debugger = Crackers best friend.
(If this comment was disrespectful, please report it.)

 
12/28/2002 4:18:42 PM

sorry for posting so late: please add this code:
Private Sub Form_Unload(Cancel As Integer)
Set DISASM = Nothing
End Sub
...in order to make the prog exit cleanly (a shame nobody else noticed this so far! :) - otherwise grats and thanks a lot for your great submission! have a nice day, buggy
(If this comment was disrespectful, please report it.)

 
2/28/2003 10:23:06 PMFanell

Ever heard of 'indentation'? :)
(If this comment was disrespectful, please report it.)

 
1/4/2004 8:21:12 PMChristian Blackburn

Hi Vanja,
Your code would be faster if you'd use Left$() and Hex$() on your string operations rather than Left() and Hex(). Download the Visual Basic Code Advisor from Microsoft.com/Downloads. It will also recommend that you use Option Explicit which I'm surprised you aren't already using.
Cheers,
Christian Blackburn
(If this comment was disrespectful, please report it.)

 
1/4/2004 8:25:27 PMChristian Blackburn

Vanja,
In English you need to put a space after all your commas. For example "VB Code,it" should be "VB code, it". "Dissasembled for 1228 msec" should read "Dissasembled in 1228 msec".
Cheers,
Christian Blackburn
(If this comment was disrespectful, please report it.)

 
1/4/2004 8:27:05 PMChristian Blackburn

Hi Vanja,
I would also like to reccomend that you add some scaling code to your application. It's a pain when you maximize it and don't gain any workable screen realestate.
Cheers,
Christian Blackburn
(If this comment was disrespectful, please report it.)

 
4/21/2004 8:31:16 AMOR13

Great. One of the better codes in PSC. I realy like this!!! 5 from me!
(If this comment was disrespectful, please report it.)

 
4/28/2004 4:11:04 AMIvo Smits

I don't know what to use it for.. but still GOOD WORK!
(If this comment was disrespectful, please report it.)

 
4/30/2005 10:55:42 PMVB Beginner

The EntryPoint doesn't seem correct when I compare it with another disassembling program.
(If this comment was disrespectful, please report it.)

 
6/2/2005 2:55:04 AMVasilis Vasileiadhs

man, you are one of the most decent programmers on PSC, good job, i just run through all your submissions, and they are astonishing! keep up good work!!!!
(If this comment was disrespectful, please report it.)

 
4/5/2006 8:38:47 PMSalim

Je Be Se ! Je Bem te Mater ! All I Know in Hrvatski oh also "Bok".
Man Ur Just Great Croatian Programmer (not footballer) LMAO.
I really need to ask u about smth Master, Can u please help me makin an Application Code hidden from debuggers and Editors like Pro applications ?.
Thank u soo much in Advence.
Laco Noch or Doberdan and god bless Croatia (i visited 3 yrs ago )the most beautifull land ever on this planet

From Belgium
(If this comment was disrespectful, please report it.)

 
12/25/2007 3:19:18 PMStojke

Gari ekstra stvar. Good job :)
(If this comment was disrespectful, please report it.)

 
4/16/2008 8:20:14 AMLefteris Eleftheriades

Consider yourself a windows programming legend. Where did you learn all these?
(If this comment was disrespectful, please report it.)

 
2/14/2010 10:44:09 AMLefteris Eleftheriades

I keep comming back every year to admire this
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.