; ; ; LeapFTP 2.7.5.610 ol'school patching style ; ; * coded by iqlord | the .aware crew ; * iqlord@awarenetwork.org ; ; [ nasmw leapftp275crk.asm -o lftpcrk.com ] ; ; org 000100000000b ; mov dx,shout ; mov ah,1001b ; int 00100001b ; mov dx,file ; mov ax,0011110100000010b; open file int 00100001b ; cmp ax,0010b ; is the file open? je filenotexist ; mov bx,ax ; file handle mov cx,0000000000001001b; first offset p1 mov dx,0111001000010011b; first offset p2 mov ax,0100001000000000b; lseek - move to offset int 00100001b ; mov cx,0010b ; size of patchcode mov dx,patch ; the patchcode mov ah,01000000b ; write file int 00100001b ; mov cx,0000000000001010b; second offset p1 mov dx,1110110011000100b; second offset p2 mov ax,0100001000000000b; move to offset int 00100001b ; mov cx,0010b ; size of patchcode mov dx,patch ; the patchcode mov ah,01000000b ; write file int 00100001b ; cmp ax,cx ; jne fileprotected ; mov dx,crack_yes ; mov ah,1001b ; int 00100001b ; mov ah,00111110b ; close file ( a bit overkill !!! ) int 00100001b ; jmp exit ; all ok! filenotexist ; mov dx,nofile ; mov ah,1001b ; int 00100001b ; jmp exit ; fileprotected ; mov dx,crack_no ; mov ah,1001b ; int 00100001b ; exit ; mov dx,sleep ; mov ah,1001b ; int 00100001b ; mov ah,1000b ; wait for keypress int 00100001b ; mov ah,00111110b ; int 00100001b ; mov ax,0100110100000000b; int 00100001b ; shout db 0dh,0ah," LeapFTP 2.7.5.610 crack",0dh,0ah," * coded by iqlord | the .aware crew",0dh,0ah,0dh,0ah,24h crack_yes db " The crack was successfully applied.",0dh,0ah," Enjoy !!!",0dh,0ah,24h nofile db " Can not locate file!",0dh,0ah," Place this patch in the same dir as leapftp.exe.",0dh,0ah,24h crack_no db " Can not write to leapftp.exe!",0dh,0ah," Make sure LeapFTP is not running.",0dh,0ah,24h sleep db 0dh,0ah," [ Press any key to end this patcher ]",0dh,0ah,24h file db "leapftp.exe",00h patch db 90h,90h,00h