code: def analyze_vba(self, path):
          
  
          try:
  
              vba_parser = VBA_Parser_CLI(path, relaxed=True)
              vbaparser_result = vba_parser.process_file_json(show_decoded_strings=True,
                                                              display_code=True,
                                                              hide_attributes=False,
                                                              vba_code_only=False,
                                                              show_deobfuscated_code=True,
                                                              deobfuscate=True)
  
              self.add_result_subsection('Olevba', vbaparser_result)
          except TypeError:
              self.add_result_subsection('Oletools VBA Analysis failed', 'Analysis failed due to an filetype error.'
                                                                         'The file does not seem to be a valid MS-Office '
                                                                         'file.')
docs: Analyze a given sample for malicious vba.