deobfuscation mode switch logic implemented