This commit is contained in:
lzwdgc 2024-02-12 21:45:35 +03:00
parent faa38eebee
commit e14b66ca98

View file

@ -42,19 +42,6 @@ enum class glider_id : uint32_t {
finder2 = 0x1A,
};
#define NOP1 __asm { nop }
#define NOP2 NOP1 NOP1
#define NOP4 NOP2 NOP2
#define NOP8 NOP4 NOP4
#define NOP16 NOP8 NOP8
#define NOP32 NOP16 NOP16
#define NOP64 NOP32 NOP32
#define NOP128 NOP64 NOP64
#define NOP256 NOP128 NOP128
#define NOP512 NOP256 NOP256
#define NOP1024 NOP512 NOP512
#define NOP4K NOP1024 NOP1024 NOP1024 NOP1024
bool __stdcall strequ(const char *s1, const char *s2) {
do {
if (*s1 != *s2) {
@ -84,8 +71,6 @@ __declspec(naked) void fix_script_function__ISGLIDER() {
inc esi
jmp label_cmp
end:
cmp al, cl
jne bad
popad
; push some regs as required by success branch
push ebx