def __init__(self, idascope_config): print("[|] Loading WinApiProvider") self.os = os self.string = string self.ida_proxy = IdaProxy() self.downloader = Downloader() self.downloader.downloadFinished.connect(self.onDownloadFinished) self.idascope_config = idascope_config self.winapi_data = {} if self.idascope_config.winapi_load_keyword_database: self._loadKeywords() self.online_msdn_enabled = self.idascope_config.winapi_online_enabled self.last_delivered_filepath = self.idascope_config.winapi_rootdir self.backward_history = [] self.forward_history = [] self.is_appending_to_history = True self.download_receivers = []