Decompiling

Hot-swapping and Boot-Block flash & Boot block flash and floppy support
Post Reply
Valerio
New visitors - please read the rules.
Posts: 13
Joined: Fri May 23, 2003 7:43 am

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
KachiWachi
The New Guy
Posts: 1451
Joined: Fri Mar 29, 2002 10:32 pm
Location: Pennsylvania, USA

Valerio
New visitors - please read the rules.
Posts: 13
Joined: Fri May 23, 2003 7:43 am

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
KachiWachi
The New Guy
Posts: 1451
Joined: Fri Mar 29, 2002 10:32 pm
Location: Pennsylvania, USA

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...
Rainbow
The UniFlasher
Posts: 3122
Joined: Wed Mar 20, 2002 4:16 pm
Location: Slovakia
Contact:

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
Patched and tested BIOSes are at http://wims.rainbow-software.org
UniFlash - Flash anything anywhere
ekoing
BIOS Newbie
Posts: 18
Joined: Fri Mar 14, 2003 5:33 pm
Location: France

Rainbow,

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

Bye, X.
In the fog, but in terested
Post Reply