GroupDroid: Automatically Grouping Mobile Malware by Extracting Code Similarities