Code obfuscation techniques for software protection door