Here is a simple SFX archive demo coded with Poasm. It uses Jeremy Collake's compression routines. I used Poasm's powerfull statement INCBIN to embed the compressed test file in the main executable.
Run Decomp.exe , it will extract an executable named test.exe
[attachment deleted by admin]