2010-06-18 16:39:07 +02:00
|
|
|
use32
|
|
|
|
|
2021-06-21 23:19:09 +02:00
|
|
|
format binary as ""
|
|
|
|
|
2010-06-18 16:39:07 +02:00
|
|
|
db 'MENUET01'
|
|
|
|
dd 1
|
|
|
|
dd start
|
|
|
|
dd i_end
|
|
|
|
dd mem
|
|
|
|
dd mem
|
|
|
|
dd 0
|
2021-06-21 23:19:09 +02:00
|
|
|
dd app_path
|
2010-06-18 16:39:07 +02:00
|
|
|
|
2021-06-21 23:19:09 +02:00
|
|
|
include '../../programs/macros.inc'
|
|
|
|
include '../../programs/proc32.inc'
|
|
|
|
include '../../programs/string.inc'
|
2010-06-18 16:39:07 +02:00
|
|
|
|
2021-06-21 23:19:09 +02:00
|
|
|
start:
|
|
|
|
stdcall string.concatenate, sz_dll, app_path
|
|
|
|
mov eax, 68
|
|
|
|
mov ebx, 21
|
|
|
|
mov ecx, app_path
|
|
|
|
int 0x40
|
2010-06-18 16:39:07 +02:00
|
|
|
|
2021-06-21 23:19:09 +02:00
|
|
|
mov eax, -1
|
|
|
|
int 0x40
|
2010-06-18 16:39:07 +02:00
|
|
|
|
|
|
|
align 4
|
2021-06-21 23:19:09 +02:00
|
|
|
app_path rb 2048
|
2021-12-27 19:22:14 +01:00
|
|
|
sz_dll db '.sys',0
|
2010-06-18 16:39:07 +02:00
|
|
|
i_end:
|
|
|
|
rb 128
|
|
|
|
mem:
|