@Trent Becker Thanks for posting in our Q&A forum. From your description I know that we want to export the .intunewin file directly from Intune portal. If there is anything misunderstanding, please feel free to let us know.
As far as I know, the inner .intunewin is the encrypted source folder and the encryption info is stored in the detection.xml. Currently there is no direct way to extract it.
Otherwise, I noticed a blog mentioning that it can be done using the IntuneWinAppUtilDecoder tool, more details please refer to:
https://msendpointmgr.com/2019/01/18/how-to-decode-intune-win32-app-packages/
Note: none-official link, just for reference. Hope it can help!
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://learn.microsoft.com/en-us/answers/support/email-notifications