home *** CD-ROM | disk | FTP | other *** search
- .386
- .model tiny
- cseg segment para public 'code' use16
- assume cs:cseg,ds:cseg
- org 100h
- start:
- mov ah,09h
- mov dx,offset copyright
- int 21h
- inc ah
- mov dx,offset nm
- int 21h
- mov cl,byte ptr nm+1
- cmp cl,2h
- ja ok
- mov ah,09h
- mov dx,offset error
- int 21h
- ret
- ok:
- mov ah,09h
- mov dx,offset messy2
- int 21h
- movzx ecx,cl
- mov si,offset nm+2
- mov ebx,53h
- mov edi,01h
- l1:
- lodsb
- movzx eax,al
- push esi
- imul esi,edi,26h
- add esi,3h
- imul esi,esi
- imul esi,edi
- imul esi
- add ebx,eax
- inc edi
- pop esi
- loop l1
- mov eax,10
- xchg eax,ebx
- xor ebp,ebp
- cmp eax,0
- jge ok1
- neg eax
- inc ebp
- ok1:
- mov di,offset error-6
- l2:
- xor edx,edx
- div ebx
- dec di
- add dl,'0'
- mov [di],dl
- or eax,eax
- jne l2
- or ebp,ebp
- je ok2
- dec di
- mov byte ptr [di],'-'
- ok2:
- mov dx,di
- mov ah,09h
- int 21h
- ret
-
- copyright db 13,10,'OutCast3k Crack Me #2 keygen by nh',13,10
- db ' ■ Name : $'
- messy2 db 13,10,' ■ S/N : $-Oc3k$'
- error db 13,10,'Too little name...$'
- a dd 0
- nm dw 20h
-
- ends
- end start
- end
-
-
-
-
-
-