Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; You may customize this and other start-up templates;
- ; The location of this template is c:\emu8086\inc\0_com_template.txt
- org 100h
- jmp there
- one db 0ah,0dh,'it34 Crackme - 2014 ',0ah,0dh,'enter password :$'
- two db 0ah,0dh,'Correct Password! $'
- three db 0ah,0dh,'Wrong Password! $'
- four db 0ah,0dh, 'Wrong pa rin, kaya mo yan!isipin mabuti.. $'
- there:
- mov dx,offset one
- mov ah,9
- int 21h
- mov dx,offset buffer
- mov ah,10
- int 21h
- sub cx,cx
- mov si,offset buffer
- mov cl,[si+1]
- cmp cl,4
- jne wrong
- mov si,offset buffer+2
- mov al,[si]
- inc al
- cmp al,'L'+1
- jne wrong
- mov al,[si+1]
- sub al,4
- cmp al,'I'-4
- jne wrong
- mov al,[si+2]
- xor al,'r'
- cmp al,39h
- je right0
- jmp wrong
- right0:
- mov al,[si+3]
- add al,14h
- cmp al,59h
- je right
- lea dx, four
- mov ah,9
- int 21h
- ret
- wrong:
- lea dx,three
- mov ah,9
- int 21h
- int 20h
- right:
- lea dx,two
- mov ah,9
- int 21h
- int 20h
- buffer db 10,0,20 dup(0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement