Page 1 of 1

Decompiling

Posted: Wed May 28, 2003 7:14 pm
by Valerio
Well, maybe this post should be posted to Guru's forum but it is actually a newbie question so here it comes:


Is there any FREE software to decompile a bios file?

I've seen that 'Sourcer' by V Comm but there is not even an evaluation version to play with.... :O(


Thanks in advance,
Valerio

Posted: Wed May 28, 2003 8:03 pm
by KachiWachi

I see but...

Posted: Thu May 29, 2003 6:49 am
by Valerio
Thanks for the link.

It seems to me that 'Hackman' is a disassembler oriented to Windows executables. I guess that opcodes at machine level are not the same so I wonder how could I use this tool to disassemble a bios file...

hints appreciated.

Valerio

Posted: Thu May 29, 2003 2:42 pm
by KachiWachi
It has a bunch of applications in it...one is a Disassembler. After releasing the "Original.tmp" from your BIOS, it will disassemble it into something readable...be aware that a 128K BIOS will turn into about 6.5MB of text data!!

Here is a sample of what you should see using my BIOS file -


Filename: C:\Temporary Folder\2a59gd4b.bin Disassembled by Hackman 6.0
--------------------------------------------------------------------------------------------

Address.........Source....................Code...........Flags

0000:0000....25E72D...................AND............AX,2DE7
0000:0003....6C..........................INSB............ES:[DI],DX
0000:0004....68352D...................PUSH..........2D35
0000:0007....C84D0100...............ENTER........014D,00
0000:000B....0000.......................ADD............BYTE PTR [EAX],AL
0000:000D....0200.......................ADD............AL,BYTE PTR [EAX]
0000:000F....0000.......................ADD............BYTE PTR [EAX],AL
0000:0011....005020....................ADD...........BYTE PTR [EAX+20],DL
0000:0014....010C.......................ADD............WORD PTR [ESP],CX
0000:0016....326135....................XOR............AH,BYTE PTR [ECX+35]
0000:0019....396764....................CMP............WORD PTR [EDI+64],SP
0000:001C....3462.......................XOR............AL,62
0000:001E....2E...........................CS:


etc...

Posted: Thu May 29, 2003 3:11 pm
by Rainbow
I use Hacker's View (HIEW) 6.11 (the last free version). It's very nice thing. It needs a bit of practice but it's very powerful - integrated disassembler and assembler :D

Posted: Fri Sep 19, 2003 3:49 am
by ekoing
Rainbow,

Is there a way to save in a log file the "assembly editing view" of bios image with hiew :roll: ?

Bye, X.