Fixes for ASM in obfuscated environments