for win9x user GetCurrentProcess() and ReadProcessMemory()
Code:
BIOS_START equ 0F0000h
BIOS_LENGTH equ 010000h
call GetCurrentProcess
push 0
push esp ; &lpNumberOfBytesRead
push BIOS_LENGTH
push offset lpBuffer ; &buffer
push BIOS_START ; bios start
push eax ; hCurrentProcess
call ReadProcessMemory
pop edx ; pop lpNumberOfBytesRead
(thnx to teston for this snippet)