Projects STRLCPY obfus.h Commits 157a04cb
🤬
  • ■ ■ ■ ■ ■ ■
    include/obfus.h
    skipped 53 lines
    54 54  }
    55 55   
    56 56  #define __CRASH \
    57  - __asm__ __volatile(".byte 0x00"); \
     57 + __asm__ __volatile(".byte 0xED"); \
    58 58   __asm__ __volatile("int $3"); \
    59 59   exit(1);
    60 60   
    skipped 312 lines
    373 373  void crash() {
    374 374   BREAK_STACK_1;
    375 375   __asm__ __volatile("int $3");
    376  - __asm__ __volatile(".byte 0x00");
     376 + __asm__ __volatile(".byte 0xED, 0x00");
    377 377  }
    378 378   
    379 379  #define ANTI_DEBUG \
    380 380   if (IsDebuggerPresent() || int_Proxy(_0 / !IsDebuggerPresent_Proxy() * (_1 + _0 + _1) / _2)) { \
     381 + __asm__ __volatile(".byte 0xED"); \
    381 382   BREAK_STACK_1; \
     383 + __asm__ __volatile(".byte 0x66, 0xC1, 0xE8, 0x05"); \
    382 384   __asm__ __volatile(".byte 0x00"); \
     385 + __asm__ __volatile("ret"); \
    383 386   crash(); \
    384 387   } else { \
    385 388   0.0 / IsDebuggerPresent(); \
    skipped 8 lines
    394 397   NOP_FLOOD;
    395 398   junkFunc(_0 + _3);
    396 399   junkFunc(_3 - _2);
    397  - ANTI_DEBUG;
    398 400   
    399 401   char *msvcrtName = malloc(_7);
     402 + 
     403 + ANTI_DEBUG;
    400 404   
    401 405   msvcrtName[_3 + _2 + _1] = 0;
    402 406   msvcrtName[_1 + _2 + _2] = int_Proxy(_t);
    skipped 96 lines
    499 503  #define printf(...) \
    500 504   do { \
    501 505   BREAK_STACK_1; \
    502  - ANTI_DEBUG; \
     506 + getStdLibName(); \
    503 507   junkFunc((RND(0, 1000) * 3) < _0); \
    504 508   printf_custom(RND(0, 1000), __VA_ARGS__); \
    505 509   } while (_0 > (RND(0, 100000000000) * _2) + 82)
    skipped 379 lines
    885 889  #else
    886 890  #warning Obfuscation disabled!
    887 891  #endif;
     892 + 
Please wait...
Page is in error, reload to recover