0x006FD047
0x006FD04B
0x006FD04F
0x006FC33F
0x006FBF5B
#include <idc.idc>
static searchBinary(name, binary, offset, length)
{
auto currentAddress, lastAddress;
for(currentAddress=0; currentAddress != BADADDR; currentAddress=currentAddress+4)
{
currentAddress = FindBinary(currentAddress, SEARCH_DOWN, binary);
if(currentAddress == BADADDR)
{
Message("%s not found!\n", name);
break;
}
currentAddress = currentAddress - offset;
MakeUnknown(currentAddress, length, 0);
MakeCode(currentAddress);
MakeFunction(currentAddress, currentAddress + length);
if(MakeNameEx(currentAddress, name, SN_NOCHECK|SN_NOWARN) != 1)
MakeNameEx(currentAddress, name, 0);
Message("\t%s offset: 0x%08X\n", name, currentAddress);
break;
}
}
static findDemonware()
{
searchBinary("DemonWare1", "7C 66 A9 2D 40 82 FF F0 30 61 00 70 38 80 00 32", 0x329, 0x1B;
searchBinary("Demonware2", "7C 9C A9 2D 40 82 FF F0 2C 03 00 00 40 82 00 24", 0x3F9, 0x1B;
searchBinary("DemonWare3", "4E 9E 04 21 80 A1 00 B0 2C 05 00 00 90 BB 1F AC", 0x591, 0x1B;
searchBinary("DemonWare4", "A3 81 00 94 93 DD 00 00 93 9D 00 04 2C 1C 00 00", 0x3F9, 0x1B;
searchBinary("Demonware5", "57 DB E9 7E 30 D8 00 02 78 A5 D1 46 7B 67 2E A4", 0xFFFFFFFFFFD828E9, 0x1B;
}
static main()
{
Message("Antiban Finder Script by: Notorious\n");
findDemonware();
return 0;
}
Notorious
Bitwise - IDC Generator
Godly
0x006FD047
0x006FD04B
0x006FD04F
0x006FC33F
0x006FBF5B
#include <idc.idc>
static searchBinary(name, binary, offset, length)
{
auto currentAddress, lastAddress;
for(currentAddress=0; currentAddress != BADADDR; currentAddress=currentAddress+4)
{
currentAddress = FindBinary(currentAddress, SEARCH_DOWN, binary);
if(currentAddress == BADADDR)
{
Message("%s not found!\n", name);
break;
}
currentAddress = currentAddress - offset;
MakeUnknown(currentAddress, length, 0);
MakeCode(currentAddress);
MakeFunction(currentAddress, currentAddress + length);
if(MakeNameEx(currentAddress, name, SN_NOCHECK|SN_NOWARN) != 1)
MakeNameEx(currentAddress, name, 0);
Message("\t%s offset: 0x%08X\n", name, currentAddress);
break;
}
}
static findDemonware()
{
searchBinary("DemonWare1", "7C 66 A9 2D 40 82 FF F0 30 61 00 70 38 80 00 32", 0x329, 0x1B;
searchBinary("Demonware2", "7C 9C A9 2D 40 82 FF F0 2C 03 00 00 40 82 00 24", 0x3F9, 0x1B;
searchBinary("DemonWare3", "4E 9E 04 21 80 A1 00 B0 2C 05 00 00 90 BB 1F AC", 0x591, 0x1B;
searchBinary("DemonWare4", "A3 81 00 94 93 DD 00 00 93 9D 00 04 2C 1C 00 00", 0x3F9, 0x1B;
searchBinary("Demonware5", "57 DB E9 7E 30 D8 00 02 78 A5 D1 46 7B 67 2E A4", 0xFFFFFFFFFFD828E9, 0x1B;
}
static main()
{
Message("Antiban Finder Script by: Notorious\n");
findDemonware();
return 0;
}
Notorious
Bitwise - IDC Generator
Godly
static LabelFunction(name,binary,functionname)
{
for(function=0;function != BADADDR;function = function + 0x04)
{
function = FindBinary(function,SEARCH_DOWN,binary);
Message(".:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@::.\n\nTrying to find function %s with binary ['%s']...\n", name, binary);
Sleep(250);
if(function == BADADDR)
{
Warning("%s could not be found in memory (%08X)\n", name, BADADDR);
break;
}
else
{
auto math = GetFunctionAttr(function, FUNCATTR_START);
MakeUnknown(math, GetFunctionAttr(math, FUNCATTR_END), 0x00);
SetStatus(1);
MakeCode(math);
MakeFunction(math, GetFunctionAttr(math, FUNCATTR_END));
MakeNameEx(math, name, 0x00);
SetStatus(0);
if(GetCharPrm(INF_COMPILER) != COMP_MS)
{
SetCharPrm(INF_COMPILER, COMP_MS);
}
SetType(math, sprintf("%s;", functionname));
Jump(math);
SetStatus(1);
Message("%s found in memory (%08X)\nDeclariation:\n\t%s\n\n\n", name, math, GetType(math));
SetStatus(0);
Message("Function flag: %i\n", GetFunctionFlags(math+4));
break;
}
}
}
static LabelFunction(name,binary,functionname)
{
for(function=0;function != BADADDR;function = function + 0x04)
{
function = FindBinary(function,SEARCH_DOWN,binary);
Message(".:@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@::.\n\nTrying to find function %s with binary ['%s']...\n", name, binary);
Sleep(250);
if(function == BADADDR)
{
Warning("%s could not be found in memory (%08X)\n", name, BADADDR);
break;
}
else
{
auto math = GetFunctionAttr(function, FUNCATTR_START);
MakeUnknown(math, GetFunctionAttr(math, FUNCATTR_END), 0x00);
SetStatus(1);
MakeCode(math);
MakeFunction(math, GetFunctionAttr(math, FUNCATTR_END));
MakeNameEx(math, name, 0x00);
SetStatus(0);
if(GetCharPrm(INF_COMPILER) != COMP_MS)
{
SetCharPrm(INF_COMPILER, COMP_MS);
}
SetType(math, sprintf("%s;", functionname));
Jump(math);
SetStatus(1);
Message("%s found in memory (%08X)\nDeclariation:\n\t%s\n\n\n", name, math, GetType(math));
SetStatus(0);
Message("Function flag: %i\n", GetFunctionFlags(math+4));
break;
}
}
}
Copyright © 2024, NextGenUpdate.
All Rights Reserved.