Advertisement
Guest User

Untitled

a guest
Apr 17th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1.  
  2. ; You may customize this and other start-up templates;
  3. ; The location of this template is c:\emu8086\inc\0_com_template.txt
  4.  
  5. org 100h
  6.  
  7.  
  8. jmp there
  9.  
  10. one db 0ah,0dh,'it34 Crackme - 2014 ',0ah,0dh,'enter password :$'
  11. two db 0ah,0dh,'Correct Password! $'
  12. three db 0ah,0dh,'Wrong Password! $'
  13. four db 0ah,0dh, 'Wrong pa rin, kaya mo yan!isipin mabuti.. $'
  14.  
  15. there:
  16. mov dx,offset one
  17. mov ah,9
  18. int 21h
  19.  
  20. mov dx,offset buffer
  21. mov ah,10
  22. int 21h
  23.  
  24. sub cx,cx
  25. mov si,offset buffer
  26. mov cl,[si+1]
  27. cmp cl,4
  28. jne wrong
  29.  
  30.  
  31. mov si,offset buffer+2
  32. mov al,[si]
  33. inc al
  34. cmp al,'L'+1
  35. jne wrong
  36.  
  37. mov al,[si+1]
  38. sub al,4
  39. cmp al,'I'-4
  40. jne wrong
  41.  
  42. mov al,[si+2]
  43. xor al,'r'
  44. cmp al,39h
  45. je right0
  46.  
  47. jmp wrong
  48. right0:
  49. mov al,[si+3]
  50. add al,14h
  51. cmp al,59h
  52. je right
  53.  
  54. lea dx, four
  55. mov ah,9
  56. int 21h
  57. ret
  58.  
  59. wrong:
  60. lea dx,three
  61. mov ah,9
  62. int 21h
  63. int 20h
  64. right:
  65. lea dx,two
  66. mov ah,9
  67. int 21h
  68. int 20h
  69.  
  70. buffer db 10,0,20 dup(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement