Metropoli BBS
VIEWER: dllinit.s MODE: TEXT (ASCII)
.text
#	    lpvReserved
#	    dwReason
#	    hInstDll
#	    return to windows
#	    -----------------
#	 12 ebp
#	  8 reason
#	  4 modulehandle
#	  0 return to dll0.s
#     esp ->

.align 2,0x90
.globl __DLL_InitTerm
__DLL_InitTerm:
        movl    12(%esp), %ebp
        addl    $16, %esp       # remove dll0.s stack

        pushl   12(%esp)        # arg 3
        pushl   12(%esp)        # arg 2
        pushl   12(%esp)        # arg 1
	call	_LibMain
	addl	$12, %esp

	ret	$12		# return to windows

	call	_force_reloc_call
	ret
[ RETURN TO DIRECTORY ]