Created
October 23, 2020 08:32
-
-
Save islem-esi/f76472c1c81e5713be19b3ff9e669499 to your computer and use it in GitHub Desktop.
main code disassemble
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exe_file_path = 'path/to/exe/file' | |
try: | |
#parse exe file | |
exe = pefile.PE(exe_file_path) | |
try: | |
#call the function we created earlier | |
fine_disassemble(exe) | |
except: | |
print('something is wrong with this exe file') | |
except: | |
print('pefile cannot parse this file') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment