home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS 1
/
BBS#1.iso
/
game-crk
/
fincrack.ha
/
FINCRK2.ASM
< prev
Wrap
Assembly Source File
|
1994-05-29
|
7KB
|
261 lines
Title Hackers_Design_Password_Cracker ; Version 1.1
PAGE 59,132
.8086
JUMPS
LOCALS
CODES SEGMENT
ASSUME CS:CODES
ORG 100h
Start: jmp begin
Msg1 db 0Dh,0Ah
db '┌───────────────────────────────'
db '─────────────────────────────────┐',0Dh,0Ah
db '│ Åα«úαá¼¼á-󺽫¼Θ¿¬ ñ½∩ »á¬ÑΓá '
db '"ö¿¡á¡ßδ íѺ »α«í½Ñ¼ 2.+" │',0Dh,0Ah
db '│ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀'
db '▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ │',0Dh,0Ah
db '│ ôß½«ó¡δ⌐ ¡«¼Ñα ¬«¼»∞εΓÑαá: '
Num db ' │',0Dh,0Ah
db '├────────────────────────────'
db '────────────────────────────────────┤',0Dh,0Ah
db '│ è½ετ : '
Key db ' │',0Dh,0Ah
db '└────────────────────────────'
db '────────────────────────────────────┘',0Dh,0Ah
db 0Dh,0Ah,'$'
BIOSax dw 0 ; AX
BIOSdx dw 0 ; DX
FAX dw 0 ; AX
FDX dw 0 ; DX
BIOS_CODE: push bp ; Make BIOS Code
mov bp,sp
sub sp,2
mov word ptr [bp-2],1234h
mov ax,[bp-2]
add ax,0DDCCh
push ax
mov ax,[bp-2]
add ax,0EDC8h
mov di,ax
pop es
mov ax,es:[di]
xor dx,dx
mov cx,ax
mov bx,dx
mov ax,[bp-2]
add ax,0DDCCh
push ax
mov ax,[bp-2]
add ax,0EDC1h
mov di,ax
pop es
mov ax,es:[di]
mov dx,es:[di+2]
add ax,cx
adc dx,bx
mov cx,ax
mov bx,dx
mov ax,[bp-2]
add ax,0DDCCh
push ax
mov ax,[bp-2]
add ax,0EDCAh
mov di,ax
pop es
mov ax,es:[di]
xor dx,dx ; zero register
add ax,cx
adc dx,bx
mov BIOSax,ax
mov BIOSdx,dx
mov sp,bp
pop bp
ret
Function: push bp
mov bp,sp
cli
xor ax,ax
xor bx,bx
xor cx,cx
xor dx,dx
xor si,si
xor di,di
mov ax,BIOSax
mov dx,BIOSdx
mov [bp-6],ax
mov [bp-4],dx
mov al,[bp-5]
mov [bp-0Ah],al
mov al,[bp-4]
xor ah,ah
mov dx,17h
mul dx
mov dx,ax
mov al,[bp-0Ah]
xor ah,ah
add ax,dx
mov [bp-0Ah],al
mov al,[bp-3]
xor ah,ah
mov dx,17h
mul dx
mov dx,ax
mov al,[bp-0Ah]
xor ah,ah
sub ax,dx
mov [bp-0Ah],al
mov al,[bp-6]
xor ah,ah
shl ax,1
mov [bp-9],al
mov al,[bp-4]
xor ah,ah
mov dx,12h
mul dx
mov dx,ax
mov al,[bp-9]
xor ah,ah
sub ax,dx
mov [bp-9],al
mov al,[bp-3]
xor ah,ah
mov dx,7
mul dx
mov dx,ax
mov al,[bp-9]
xor ah,ah
add ax,dx
mov [bp-9],al
mov al,[bp-6]
xor ah,ah
shl ax,1
shl ax,1
mov [bp-8],al
mov al,[bp-5]
xor ah,ah
mov dx,33h
mul dx
mov dx,ax
mov al,[bp-8]
xor ah,ah
add ax,dx
mov [bp-8],al
mov al,[bp-3]
xor ah,ah
mov dx,ax
mov al,[bp-8]
xor ah,ah
sub ax,dx
mov [bp-8],al
mov al,[bp-4]
xor ah,ah
mov bx,ax
mov al,[bp-5]
xor ah,ah
mov si,ax
shl ax,1
shl ax,1
add ax,si
mov cx,ax
mov al,[bp-6]
xor ah,ah
mov dx,22h
mul dx
add ax,cx
add ax,bx
and ax,7Fh
mov [bp-7],al
mov dx,[bp-8]
mov ax,[bp-0Ah]
mov FAX,ax
mov FDX,dx
pop bp
sti
ret
pwr10tab: dd 1000000000 ; Powers of 10 table
dd 100000000
dd 10000000
dd 1000000
dd 100000
dd 10000
dd 1000
dd 100
dd 10
dd 1
INT2STR: push di ; Convert Integer to String
cld ; In: DX:AX = Value
mov bx,ax ; ES:DI = String Pointer
or dx,dx ; Out: CX = String Length
jge @@1 ; ES:DI = String Pointer
not bx
not dx
add bx,1
adc dx,0
mov al,'-'
stosb
@@1: mov si,offset pwr10tab
mov cl,9
@@2: cmp dx,cs:[si+2]
jb @@3
ja @@4
cmp bx,cs:[si ]
jae @@4
@@3: add si,4
dec cl
jne @@2
@@4: inc cl
@@5: mov al,'0'-1
@@6: inc al
sub bx,cs:[si ]
sbb dx,cs:[si+2]
jnc @@6
add bx,cs:[si ]
adc dx,cs:[si+2]
add si,4
stosb
dec cl
jne @@5
mov cx,di
pop di
sub cx,di
ret
Begin: call BIOS_CODE
call Function
push cs
pop es
mov ax,BIOSax ; Make Computer Number
mov dx,BIOSdx
lea di,Num
call Int2Str
mov ax,word ptr [FAX] ; Make Key
mov dx,word ptr [FDX]
lea di,Key
call Int2Str
lea dx,msg1 ; Display Message
mov ah,9h
int 21h
exit: mov ax,4C00h ; Terminate Program
int 21h
CODES ENDS
END Start