Advertisement
MaksNew

Untitled

Apr 12th, 2021
2,078
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     format PE console
  2. entry start
  3.  
  4. include 'win32a.inc'
  5.  
  6. section '.data' data readable writable
  7.     xuy db "CTRL_probel", $0d,$0a,'$'
  8. section  '.code' code readable executable
  9.  
  10.          start:
  11.  mov ah, 09h ; вывод сообщения
  12.  mov bl, 0f4h ; красный текст на белом фоне
  13.  mov cx, 11 ; сообщение длиной 11 байт
  14.  int 10h
  15.  mov ah, 09h
  16.  mov dx,xuy
  17.  int 21h
  18.  
  19.  
  20. section '.idata' import data readable
  21.  
  22.         library kernel, 'kernel32.dll', \
  23.                 msvcrt, 'msvcrt.dll'
  24.  
  25.         import kernel, \
  26.                ExitProcess, 'ExitProcess'
  27.         import msvcrt,\
  28.                printf, 'printf',\
  29.                getch, '_getch',\
  30.                scanf, 'scanf'            
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement