View Single Post
  #2  
Old 07-02-2003, 08:25
bart
 
Posts: n/a
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)
Reply With Quote