Use a tool like PyInstXTractor (PyInstaller Extractor) to unpack the .exe . : python pyinstxtractor.py your_file.exe .
Unpacking Python Executables on Windows and Linux - Fortinet convert exe to py