Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- format PE console
- entry start
- include 'win32a.inc'
- section '.data' data readable writable
- xuy db "CTRL_probel", $0d,$0a,'$'
- section '.code' code readable executable
- start:
- mov ah, 09h ; вывод сообщения
- mov bl, 0f4h ; красный текст на белом фоне
- mov cx, 11 ; сообщение длиной 11 байт
- int 10h
- mov ah, 09h
- mov dx,xuy
- int 21h
- section '.idata' import data readable
- library kernel, 'kernel32.dll', \
- msvcrt, 'msvcrt.dll'
- import kernel, \
- ExitProcess, 'ExitProcess'
- import msvcrt,\
- printf, 'printf',\
- getch, '_getch',\
- scanf, 'scanf'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement