AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Algorithmen, Datenstrukturen und Klassendesign Delphi Benötige Hilfe bei einer Entschlüsselung bei altem Programm
Thema durchsuchen
Ansicht
Themen-Optionen

Benötige Hilfe bei einer Entschlüsselung bei altem Programm

Ein Thema von Thomas Feichtner · begonnen am 8. Feb 2012 · letzter Beitrag vom 9. Feb 2012
 
Thomas Feichtner

Registriert seit: 30. Nov 2007
Ort: Rum
137 Beiträge
 
Delphi 10.4 Sydney
 
#3

AW: Benötige Hilfe bei einer Entschlüsselung bei altem Programm

  Alt 9. Feb 2012, 08:20
Ich hab mal nachgeschaut und folgendes noch gefunden. Ich hoffe es ist komplett.

Code:
TestRandom PROC NEAR
   push ds
   push si
   push es
   push di
   push cx

   push ds                              ; es:= ds
   pop es

   mov di, offSet @Gard1               ; di:= ofs @Gard1
   mov si, offSet @Gard2               ; si:= ofs @Gard2

   mov cx, 6
   cld
   repe cmpsb                         ; @Gard1 = @Gard2 ?
   je  @trReturn

   mov dx, offset @Gard1
   mov ah, 9
   int 21H

   mov dx, offset @msg
   mov ah, 9
   int 21H

   call far EndXqq

@trReturn:
   pop cx
   pop di
   pop es
   pop si
   pop ds

   ret near
TestRandom ENDP
bzw.

Code:
NextRand PROC NEAR                    ; result in ax
   push bx
   push cx

   mov ax, Word ptr zz [0];
   mov bx, Word ptr zz [2];
   mov cx, Word ptr zz [4];

   sub ax, bx;
   jnc @nrStore;
   add ax, p

@nrStore:
   mov Word ptr zz [0], bx
   mov Word ptr zz [2], cx
   mov Word ptr zz [4], ax

   pop cx
   pop bx

   ret near
NextRand ENDP
mfg

Thomas Feichtner
  Mit Zitat antworten Zitat
 


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 00:18 Uhr.
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz