In case it’s helpful, I got far enough to have a callable binary with this content based on similar techniques: