def execute(self, input_data):
        raw_bytes = input_data

        # Have the PE File module process the file
        pefile_handle, error_str = self.open_using_pefile('unknown', raw_bytes)
        if not pefile_handle:
            return {'error': error_str}

        # Now extract the various features using pefile
        return self.extract_features_using_pefile(pefile_handle)
Process the input bytes with pefile
dataset/ETHPy150Open ClickSecurity/data_hacking/pefile_classification/pe_features.py/PEFileFeatures.execute