I created an extraction script for custom PyInstaller applications as seen in suspected EvilAI PDF apps.

Script (modified pyinstxtractor-ng): https://github.com/struppigel/hedgehog-tools/blob/main/PyInstaller%20mod/pyinstaller-mod-extractor-ng.py

Article: https://samplepedia.cc/sample/8c9d9150efa35278afcb23f2af4c4babcc4dd55acd9e839bed4c04cb5a8d9c3f/81/solution/52/view/