
# Copyright (C) 1997 Farrell McKay
# All rights reserved.
#
# This file is part of the Fortify distribution, a toolkit for
# upgrading the cryptographic strength of the Netscape Navigator
# web browser, authored by Farrell McKay.
#
# This toolkit is provided to the recipient under the
# following terms and conditions:-
#   1.  This copyright notice must not be removed or modified.
#   2.  This toolkit may not be reproduced or included in any commercial
#       media distribution, or commercial publication (for example CD-ROM,
#       disk, book, magazine, journal) without first obtaining the author's
#       permission.
#   3.  Subject to the above conditions being observed (1,2), this toolkit
#       may be freely reproduced or redistributed.
#   4.  This software is provided "as-is", without express or implied
#       warranty.  In no event shall the author be liable for any direct,
#       indirect or consequential damages however caused.
#   5.  Subject to the above conditions being observed (1-4),
#       this toolkit may be used at no cost to the recipient.
#
# Farrell McKay			Farrell.McKay@mpx.com.au

init {
	grammar		1.1
	target		"communicator-v401a-export.x86-microsoft-win32"
	text_offset	0x400c00
	data_offset	0x401a00
	rodata_offset	0x401a00
}
qb {
	segment		text
	base		0x699cd2
	offset		0x35
	old_value	0xc7 0x46 0x10		# movl  $0x0,0x10(%esi)
			0x00 0x00 0x00 0x00
	new_value	0x90 0x90 0x90		# nop x 7
			0x90 0x90 0x90 0x90
}
qc {
	segment		text
	base		0x699cd2
	offset		0x3e
	old_value	0xc7 0x46 0x10		# movl  $0x2,0x10(%esi)
			0x02 0x00 0x00 0x00
	new_value	0xc7 0x46 0x10		# movl  $0x1,0x10(%esi)
			0x01 0x00 0x00 0x00
}
_main {
	segment		text
	msg		"main"
	base		0x6fa210
        offset          0x20
        context         0x53 0x56 0x57 0x89
                        0x65 0xe8 0xc7 0x45
                        0xfc 0x00 0x00 0x00
                        0x00 0x6a 0x02
}
s00 {
	segment		data
	base		0x7916a8
	offset		0x1a0
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s01 {
	segment		data
	base		0x7916a8
	offset		0x1c8
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s02 {
	segment		data
	base		0x7916a8
	offset		0x1f0
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s03 {
	segment		data
	base		0x7916a8
	offset		0x290
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
s04 {
	segment		data
	base		0x7916a8
	offset		0x2b8
	old_value	0x00 0x00 0x00 0x00
	new_value	0x01 0x00 0x00 0x00
}
