Improving the efficiency of dynamic malware analysis