Promises and challenges in applying deep learning to malware detection