
                                  DEE v 1.1
                                  =========
                           Dirty Entrypoint Engine

 DEE  ਠ樥  ⥬ ண EPO. 孮
ࠧ㬠 "१"  砩   ணࠬ 室  ⥫
;⠪ 孨   砥  CALL  ⥭  稬
.

 ॠ   ਣ쭮 ணࠬ  -  (
ਠ -   jmp  ) ᫨ 筥 祣    ,
 㣨 ,   ,㣫㡨    ᪮쪮  
 楫ᮮࠧ  । ࠢ  楤  , ।
짮⥫. 㭨ᠫ쭥 =)

ଠ 맮:

*  DWORD   dee ( DWORD code_param,              //ᬥ饭  ணࠬ
                 DWORD bufer_param,             //  ࠡ 
                 DWORD num_param,               //-   ࠡ⪨
                 DWORD replace_param,           //ᬥ饭 楤-ࠡ稪
                 DWORD random_proc,             //ᬥ饭 楤-࠭
               );

 ᯮ C call ..  dee ,replace_param,random_proc.
  ய樮 ࠧ ᫥㥬 +2   ७ .

                                 ࠡ
                                ===============
   ,    ࠢ 5  ( . call  jmp),
࠭   .। 祭 ࠬ  楤-⥫.
楤-⥫ । 祩 .. ⠬   ਢ쭮
饭  call/jmp   ਯ ( ॢ⮭묨 ᫥⢨ﬨ).

ଠ 楤-⥫ ⠪:

void Replace(
              dword             //⭮⥫쭮 ᬥ饭    砫  ᪠.
              dword             //᮫⭮ ᬥ饭  
              dword             // opcode  dizx32
            );

 ਬ ࠡ稪,饣 砩   [int 3]:

int3_replace:
                pusha
@@Cbegin                equ     [esp+4*8]+4
@@Coffset               equ     [esp+4*8+4]+4
@@Cmd                   equ     [esp+4*8+8]+4

                ...
                mov eax,@@Coffset
                ...

                popa
                ret

  室  । 砩 ᫠ ,  室 ⤠ 砩
᫮.ਬ ⠪ 讣 :


--[RNG.inc]--------------------------------------------------------------------

@@random_max              equ             [esp+4*8]+4

rnd:
                pusha

                call random_delta                               ; ᯮ㥬
random_delta:                                                   ;᮫ ᬥ饭
                pop ebp                                         ;
                                                                ;
                db 0b8h                                         ;mov eax,xxxxxxxx
seed            dd 12345678h

                imul eax,eax,134775813                          ;eax=new seed
                inc eax
                mov [ebp+seed -offset random_delta],eax

                xor edx,edx

                mov ecx,@@random_max                            ;  0
                jecxz div_0
                div ecx

                mov [esp._eax],edx
div_0:
                popa
                ret
--[RNG.inc]--------------------------------------------------------------------


祭  num_param IMHO  ᫠ ⠢  4096 ..  ।
ᥬ஢  ᮢ६ ணࠬ , ᠭ  HLL.
뢮 ⥪  ⨪ ணࠬ rstat32.

  ᥬ ⮬ ࠧ  ᯮ짮   ;)

                                                        necr0mancer Feb-2002


