Rev 311 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 311 | Rev 317 | ||
---|---|---|---|
Line 12... | Line 12... | ||
12 | 12 | ||
13 | ## Implementation |
13 | ## Implementation |
14 | 14 | ||
15 | Defined in **ff.h**, implemented in **obfusc.c**: |
15 | Defined in **ff.h**, implemented in **obfusc.c**: |
16 | 16 | ||
- | 17 | // Implements Obfusc V5 on Windows and Obfusc V4 on MacOS. |
|
17 | // Only implements V5. Returns a seed that needs to be stored in the executable code. |
18 | // Returns a seed that needs to be stored in the executable code. |
18 | unsigned int obfusc(PARM_T* pparm); |
19 | uint32_t obfusc(PARM_T* pparm); |
19 | 20 | ||
20 | // In V1+V2: Seed is hardcoded |
21 | // In V1+V2: Seed is hardcoded |
21 | // In V3: Seed is in PARM (field "unknown2") |
22 | // In V3: Seed is in PARM (field "unknown2") |
22 | // In V4+V5: Seed is in the program code and will me modified with a binary search+replace |
23 | // In V4+V5: Seed is in the program code and will me modified with a binary search+replace |
23 | void deobfusc(PARM_T* pparm); |
24 | void deobfusc(PARM_T* pparm); |