// Author: DosX
// E-Mail: collab@kay-software.ru
// GitHub: https://github.com/DosX-dev
// Telegram: @DosX_dev

// https://github.com/DosX-dev/obfus.h
init("protection", "obfus.h");

function detect(bShowType, bShowVersion, bShowOptions) {
    if ((PE.section[".obfh"] || PE.isExportFunctionPresent("WhatSoundDoesACowMake")) &&
        PE.isFunctionPresent("vsprintf") && !PE.isFunctionPresent("printf"))
        bDetected = true;

    return result(bShowType, bShowVersion, bShowOptions);
}