Anti-debugging and anti-VM techniques and anti-emulation