strings your_file.exe | grep -i "pyinstaller"
works for Python 2.7–3.8. decompyle3 works for Python 3.7–3.9+. convert exe to py
Not a decompiler, but you can run the strings command on the EXE to extract any plaintext strings embedded in the binary, including error messages, hardcoded paths, or even snippets of source code. strings your_file
A new folder containing extracted files, including one without an extension that matches your original script name. Step 2: Fix the File Headers including error messages
python pyinstxtractor.py your_program.exe
Now comes the crucial step: converting the .pyc bytecode files back into readable .py source code.