Analysis model: gpt-5.5 xhigh

Spring! by Logic Design - Technical Dissection

Spring! is a 1995 MS-DOS VGA/GUS intro by Logic Design, released for the X 1995 PC intro competition. It placed first in that competition, ahead of The Clan's Envy and Frituur Kraam's Zakje Plasmatat.

Release year: 1995

The interesting part of this one is the packaging. The file is not one intro body. It is a WWPACKed EXE loader, four appended WWPACKed child EXEs, and a small tail table telling the loader where those child EXEs live in the shipped file.

This writeup is deliberately split into recovered and unrecovered layers. The outer loader, child launch path, GUS setup, file table, and byte transform are recoverable from the unpacked EXE. The actual visual effect bodies remain in the child EXEs' WWPACK layers in this pass, even after applying the loader's own byte transform to their load images.

Sources

Old private contact listings from the bundled text are deliberately omitted.

Competition Identity

The X 1995 result file lists the PC Intro competition as:

1. Spring                       Logic Design
2. Envy                         The Clan
3. Zakje Plasmatat              Frituur Kraam
4. Chicky                       The Kip Brigade

The same result file notes that no intro points were published because the intro competition results were not accurate: some entries lacked sound during judging.

The bundled SPRING!.DOC says that Spring! was improvised roughly two weeks before the party, and that the final file exceeded the nominal 100K limit by 4,108 bytes after late fixes. The documentation also warns that a 106,404-byte copy was spread, and that the correct SPRING!.EXE must be 106,508 bytes.

The credited Logic Design members are:

Rogue    - organization, PR, music, graphics
Balance  - code
Jace     - code
Flash    - code
Unicorn  - graphics

Minimum machine in the text: 386 or better, VGA, optional Gravis UltraSound, and 390 KB of free conventional memory. Recommended machine: 486 or better, VLB graphics, and Gravis UltraSound.

Archive Identity

spring!.zip contains:

FILE_ID.DIZ       705 bytes
SPRING!.DOC      8039 bytes
SPRING!.EXE    106508 bytes
scene.org        2033 bytes

Hashes:

926e6b577c6fcd65fa2216aef93df7976a34160aeceaaeb8c5df7ae2c8d02c9f  spring!.zip
b6bef84fb295395eebb969e37401fe2bd50fb1d53e7ee0c01fe2fc4d0232f12c  x95res.txt
b1dcd9b431a78e9651af0ec5fe2ddcab7a22f40168366f57ac820e9ee1b501dd  packed SPRING!.EXE
a66b4f7d45d98091500ebb70cfb9a01ca80dd80e469437c9137b1d0bcbb0c03a  UNP-expanded SPRING!.EXE

The shipped EXE is an MZ executable detected as WWPACK compressed. UNP 4.11 expands the outer layer from 106,508 bytes to 206,079 bytes. The expanded file is not a clean standalone rebuild of the shipped file, because the appended tail table still describes the original 106,508-byte file layout. It is still the useful static analysis view of the EXELOADER code.

Expanded outer MZ header:

header bytes:        128
load image bytes: 137821
declared EXE size: 137949
actual file size: 206079
overlay bytes:      68130
entry CS:IP:      0000:0426
stack SS:SP:      0000:0000
relocations:            22

The 68,130-byte overlay is four consecutive child MZ programs plus a 33-byte tail table.

Appended Child EXEs

In the shipped 106,508-byte file, the outer WWPACKed EXE ends at 0x95ea. That is also the start of child module 1. The four child modules are normal MZ headers with WWP markers in the header area:

module  start     size   end
MOD1    0x095ea  10126  0x0bd78
MOD2    0x0bd78  25158  0x11fbe
MOD3    0x11fbe  25383  0x182e5
MOD4    0x182e5   7430  0x19feb
table   0x19feb     33  0x1a00c

The table starts immediately after module 4:

ea 95 00 00  8e 27 00 00
78 bd 00 00  46 62 00 00
be 1f 01 00  27 63 00 00
e5 82 01 00  06 1d 00 00
04

Interpreted as little-endian [file offset, byte length] pairs followed by a count byte:

1: offset 0x095ea, size 0x278e
2: offset 0x0bd78, size 0x6246
3: offset 0x11fbe, size 0x6327
4: offset 0x182e5, size 0x1d06
count: 4

That table is why the loader opens spring!.exe by name instead of relying on the already-loaded MZ image. The child programs are not DOS overlays in the MZ header sense; they are extra executables glued after the first executable.

Child hashes before the loader's transform:

41026930c77e1b92295dd6c22b75238827a7429d603e69c97ebec6c00d14040a  MOD1.EXE
d57b19938fbad3aaf859ef1918da584f31c2c39be037f4352a362d5a9760178b  MOD2.EXE
2c93125f73abc57f63456a5a3f94feadcc7d5925fc358afb1e6f243f1049812c  MOD3.EXE
689ed0357f5d2733f3d20ff9567a787d0c1e369fe4b589d647b61c12e8e53d8c  MOD4.EXE

After applying the loader's load-image byte transform:

0cee7c002bc1b7ea9da85b46721e24621db0a89f871a03d49cba1d1912859378  MOD1.EXE
ae993e7de9b093cbf39759fac0aeebda9faea70a14cd4cbd3e8050622e324278  MOD2.EXE
8cd56a0310614661504ebd091ca2e0f325d26396501fe45fac27958238376ea2  MOD3.EXE
d0cf45e4139a45fbaefee86f82800cd22541c07ca2b802d526b7ea01f5d1ef06  MOD4.EXE

Those transformed files still identify as WWPACK compressed, and both UNP 4.11 and the public WWPACK 3.04a U command left them unchanged. So the recovered inner loops below are the loader and hardware setup loops, not the final visual effect loops inside the child programs.

EXELOADER Identity

The expanded image contains this string at image offset 0x0b00:

EXELOADER by Flash/Logic Design (C) 1994-1995

The loader also contains the user-facing strings for the command switches:

/H,/?  help
/D     disable GUS DMA download
/S     disable sound

The shipped filename matters. The loader contains the literal string spring!.exe; running a renamed copy changes the loader path, because it tries to reopen the shipped filename to fetch the appended child modules.

Entry Trampoline

Execution starts at image offset 0x0426:

0426  cli
0427  mov  cs:[0423],es
042c  mov  ax,cs
042e  mov  ss,ax
0430  mov  sp,0405h
0433  retf

This is a compact trampoline. It saves the incoming PSP segment, moves the stack into the loader segment, points SP at a prepared far return frame, and uses retf to transfer into the real loader body. The words at 0x0405 are patched through normal MZ relocation, so the raw zero segment in the file is not the runtime far pointer.

Loader Startup

The startup routine begins at image offset 0x0d1f:

0d1f  mov  cs:[0208],es       ; save PSP segment
0d24  mov  bx,36b0h
0d27  mov  ah,4ah
0d29  int  21h               ; shrink own allocation
0d2b  in   al,21h
0d2d  mov  cs:[021e],al      ; save master PIC mask
0d31  xor  ax,ax
0d33  mov  ds,ax
0d35  mov  eax,[01e0h]
0d39  mov  cs:[020a],eax
0d3e  mov  eax,[01e4h]
0d42  mov  cs:[020e],eax
0d47  mov  eax,[0024h]
0d4b  mov  cs:[0216],eax

The next block swaps several low-vector entries with loader-owned pointers:

0d50  mov  eax,0fff00000h
0d56  xchg [0084h],eax
0d5b  mov  cs:[021a],eax
0d60  xchg [0200h],eax
0d65  mov  cs:[0212],eax
0d6a  mov  bx,01e0h
0d6d  mov  ax,0161h
0d70  mov  fs,ax
0d72  shl  eax,16
0d76  mov  ax,0000h
0d79  mov  [bx],eax

The loader uses int 78h for its internal service switch and int 80h for DOS-like service calls after this setup. The visible DOS calls in the loader body are therefore often int 80h, not direct int 21h.

Command Switch Parser

The command-line parser at 0x103a scans the PSP command tail saved at cs:[0208]. It looks for /, then checks the next byte:

103a  mov    es,cs:[0208]
103f  mov    di,0081h
1042  movzx  cx,byte es:[0080h]
1048  mov    al,2fh
104a  repnz scasb
104c  jcxz   done
104e  cmp    byte es:[di],3fh   ; /?
1054  cmp    byte es:[di],48h   ; /H
105a  cmp    byte es:[di],68h   ; /h
1060  cmp    byte es:[di],53h   ; /S
1066  cmp    byte es:[di],73h   ; /s
106c  cmp    byte es:[di],44h   ; /D
1072  cmp    byte es:[di],64h   ; /d

/D clears byte 0161:0023, disabling the DMA-download path:

108f  mov  ax,0161h
1092  mov  fs,ax
1094  mov  byte fs:[0023h],00h

/S sets byte 0161:0022, forcing no-sound mode:

109c  mov  ax,0161h
109f  mov  fs,ax
10a1  mov  byte fs:[0022h],01h

Help prints the usage text, skips the caller's return word, and jumps into the common exit path.

Child Module Loader

After command parsing, the main path opens spring!.exe:

0ef8  mov  dx,0107h       ; "spring!.exe"
0efb  mov  ax,3d00h
0efe  int  80h
0f04  mov  cs:[067b],ax   ; file handle

Then it loads and runs modules 1 through 4 with the same call pattern:

0f11  mov  dx,0001h
0f19  mov  si,067dh
0f1c  call 1373h          ; load child 1
0f22  int  10h            ; mode 13h before the first child dispatch
0f28  int  78h
0f2c  mov  si,067dh
0f2f  call 1302h          ; run child
0f35  call 15e1h          ; free child block

0f3a  mov  dx,0002h
0f45  call 1373h
0f4b  call 1302h
0f51  call 15e1h

0f56  mov  dx,0003h
0f61  call 1373h
0f67  call 1302h
0f6d  call 15e1h

0f72  mov  dx,0004h
0f7d  call 1373h
0f83  call 1302h
0f89  call 15e1h

This is the spine of Spring!: one resident loader plus four child programs.

Tail Table Lookup

The child table lookup lives at 0x1589. The input is the wanted module number in DX. The routine first seeks to one byte before EOF and reads the count:

1589  mov  ax,cs
158b  mov  ds,ax
158d  mov  bp,dx
158f  mov  ax,4202h
1592  mov  cx,ffffh
1595  mov  dx,ffffh
1598  int  80h            ; seek EOF - 1
159e  mov  ah,3fh
15a0  mov  cx,0001h
15a3  mov  dx,0a81h
15a6  int  80h            ; read count byte

Then it computes which 8-byte pair to read from the table:

15ac  movzx dx,byte cs:[0a81h]
15b2  inc   dx
15b3  sub   dx,bp         ; count + 1 - module_number
15b5  mov   ax,4202h
15b8  mov   cx,ffffh
15bb  shl   dx,3
15be  inc   dx
15bf  neg   dx            ; negative offset from EOF
15c1  int   80h
15c7  mov   cx,0008h
15ca  mov   dx,0a81h
15cd  mov   ah,3fh
15cf  int   80h
15d5  mov   eax,cs:[0a81h] ; child file offset
15da  mov   edx,cs:[0a85h] ; child byte length
15e0  ret

For module 1 and count 4, the formula seeks EOF - 33, which lands on the first table entry at 0x19feb.

Child MZ Loading

The loader routine at 0x1373 starts by calling the tail-table lookup, seeking to the child EXE, and reading the child MZ header:

1373  call 1589h
1376  mov  cs:[086fh],eax
137b  mov  dx,ax
137d  shr  eax,16
1381  mov  cx,ax
1383  mov  ax,4200h
1386  int  80h            ; seek to child file offset
138c  mov  ax,cs
138e  mov  ds,ax
1390  mov  dx,0650h
1393  mov  cx,001ch
1396  mov  ah,3fh
1398  int  80h            ; read 28-byte MZ header
139e  cmp  word cs:[0650h],5a4dh
13a5  jne  error

It then seeks to the child load image, computes the loaded byte count from e_cp, e_cblp, and e_cparhdr, allocates a DOS block, creates a PSP, and builds a small launch descriptor at SI:

1434  mov  cs:[si+08h],dx       ; PSP segment
1438  add  dx,0010h
143b  mov  ds,dx
143f  mov  ax,cs:[0666h]        ; child CS
1443  add  ax,bp
1445  mov  cs:[si+04h],ax
1449  mov  ax,cs:[065eh]        ; child SS
144d  add  ax,bp
144f  mov  cs:[si+02h],ax
1453  mov  ax,cs:[0660h]        ; child SP
1457  mov  cs:[si],ax
145a  mov  ax,cs:[0664h]        ; child IP
145e  mov  cs:[si+06h],ax

The MZ image is read in up to 32 KB chunks:

1462  xor  si,si
1464  xor  dx,dx
1466  mov  cx,8000h
1469  mov  ah,3fh
146b  cmp  edi,00008000h
1472  jae  have_count
1474  mov  cx,di
1476  int  80h
147c  movzx eax,ax
1480  sub  edi,eax

Immediately after each read, the loader runs a byte transform over exactly the bytes returned by DOS:

1483  push bx
1484  push cx
1485  push di
1486  mov  cx,ax
1488  xor  bx,bx
148a  cld
148b  movzx di,byte [bx]
148e  movzx ax,byte cs:[di+069bh]
1494  sub  ax,si
1496  movzx si,al
1499  mov  [bx],al
149b  inc  bx
149c  dec  cx
149d  jne  148bh
149f  pop  di
14a0  pop  cx
14a1  pop  bx

This is the loader's hottest recovered inner loop. It is not a plain XOR. The input byte indexes a 256-byte table at 0x069b; the table result is made into a delta stream by subtracting the previous output byte held in SI; the low byte becomes the decoded output and also the next state.

In compact pseudocode:

state = 0;
for each byte in the child load image:
    decoded = (table[encoded] - state) & 0xff;
    state = decoded;
    output = decoded;

The state is initialized once before the first chunk and then carried across the 32 KB read chunks. That matters: decoding each chunk independently gives a different byte stream after the first chunk.

Once all bytes are read, the loader seeks to the child relocation table and applies normal MZ fixups:

14cb  mov  si,cs:[0656h]        ; relocation count
14d0  cmp  si,0000h
14d3  je   done
14d9  mov  dx,066ch
14dc  mov  cx,0004h
14df  mov  ah,3fh
14e1  int  80h                 ; read relocation item
14e7  mov  ax,cs:[066eh]
14eb  add  ax,bp
14ed  mov  es,ax
14ef  mov  di,cs:[066ch]
14f4  mov  ax,es:[di]
14f7  add  ax,bp
14f9  mov  es:[di],ax
14fc  dec  si
14fd  jne  14dch

Child Dispatch

The dispatcher at 0x1302 temporarily swaps INT 80h, saves the loader stack, then jumps through the far pointer built by the child loader:

1302  cli
1303  xor  ax,ax
1305  mov  es,ax
1307  mov  eax,es:[0200h]
130c  mov  cs:[0677h],eax
1311  mov  ax,cs
1313  shl  eax,16
1317  mov  ax,0aeeh
131a  mov  es:[0200h],eax
131f  sti

1320  mov  ax,ss
1322  mov  cs:[07fah],ax
1326  mov  cs:[07fch],sp
132b  mov  ax,cs:[si+04h]
132f  mov  cs:[0800h],ax
1333  mov  ax,cs:[si+06h]
1337  mov  cs:[07feh],ax
133b  mov  ax,cs:[si+02h]
133f  mov  ss,ax
1341  mov  sp,cs:[si]
1344  mov  ax,cs:[si+08h]
1348  mov  es,ax
134a  mov  ds,ax
134c  xor  ax,ax
134e  jmp  far cs:[07feh]

On return, it restores the original loader stack and INT 80h pointer:

1353  mov  ax,cs:[07fah]
1357  mov  ss,ax
1359  mov  sp,cs:[07fch]
135e  cli
135f  xor  ax,ax
1361  mov  es,ax
1363  mov  eax,cs:[0677h]
1368  mov  es:[0200h],eax
136d  sti
136e  ret

This keeps the loader resident across four child executions. After each child, 0x15e1 frees the child's PSP block with DOS function 49h.

GUS Environment Parser

The GUS setup uses the public ULTRASND environment string, but it does not just trust it. The parser around 0x5800 reads a base-port digit from ULTRASND=, stores it in byte 0x24, then parses a DMA/IRQ selector into byte 0x25.

The base digit path:

5800  movzx ax,byte es:[di+04h]
5805  sub   al,30h
5807  cmp   al,08h
5809  jae   bad
580d  mov   [0024h],al

The second selector allows one- or two-digit values. A bare 1, is treated as selector 1; otherwise a second digit can make values 10..15:

5810  cmp  byte es:[di+08h],31h
5815  je   maybe_one
5819  mov  al,es:[di+08h]
581d  sub  al,30h
581f  jmp  store_selector

5822  cmp  byte es:[di+09h],2ch
5827  jne  two_digit
582b  mov  al,01h
582d  jmp  store_selector

5830  mov  al,es:[di+09h]
5834  sub  al,30h
5836  add  al,0ah
583a  cmp  al,10h
5840  mov  [0025h],al

Bad fields return AL=ffh. Good fields return zero.

GUS Hardware Probe

The detector at 0x590c scans possible GUS bases from 0x210 to below 0x270, stepping by 0x10:

590c  mov  word [0026h],0210h
5912  mov  dx,[1e5ch]
5916  add  dx,0102h
591a  call 584dh
591d  jae  found
5921  add  word [0026h],0010h
5926  cmp  word [0026h],0270h
592c  jb   5912h
592e  mov  al,0ffh
5930  ret
5931  mov  byte [1e71h],01h
5936  xor  al,al
5938  ret

The probe subroutine at 0x584d uses GUS registers as a write/read echo test. It toggles register 0x4c, writes 0xaa to DRAM position 0 and 0x55 to position 1, reads back position 0, then expects 0xaa:

584d  mov  dx,[0026h]
5851  add  dx,0103h
5855  mov  al,4ch
5857  out  dx,al
5858  add  dl,02h
585b  mov  al,00h
585d  out  dx,al
...
588b  mov  ax,00aah
588e  mov  bx,0000h
5891  mov  cx,0000h
5894  call 58c9h
5897  mov  ax,0055h
589a  mov  bx,0001h
589d  call 58c9h
58a0  mov  bx,0000h
58a3  call 58ech
58be  pop  ax
58bf  cmp  al,0aah
58c5  clc
58c6  ret
58c7  stc
58c8  ret

The byte write helper selects GUS register 0x43, writes a DRAM position through the following word port, selects register 0x44, writes the high byte selector in BL, then writes the data byte:

58c9  push dx
58ca  push ax
58cb  mov  dx,[0026h]
58cf  add  dx,0103h
58d3  mov  al,43h
58d5  out  dx,al
58d6  inc  dx
58d7  mov  ax,cx
58d9  out  dx,ax
58da  dec  dx
58db  mov  al,44h
58dd  out  dx,al
58de  add  dx,0002h
58e1  mov  al,bl
58e3  out  dx,al
58e4  add  dx,0002h
58e7  pop  ax
58e8  out  dx,al
58e9  in   al,dx
58ea  pop  dx
58eb  ret

The read helper is the same register select sequence, ending in in al,dx.

This explains the failure path seen under DOSBox-X with the tested settings: the intro did not accept the emulated GUS as a matching echo device in this loader path, so the shipped build dropped to no-sound or error handling before the visual children became useful for capture.

GUS Configuration Tables

After a valid environment parse and hardware probe, 0x5990 converts the two stored selector bytes into internal settings:

5992  movzx bx,byte [0024h]
5997  shl   bx,02h
599a  mov   eax,[bx+1e72h]
599f  mov   [1d48h],eax

59a3  movzx bx,byte [0025h]
59a8  mov   [1d4ch],bl
59ac  mov   al,[bx+1e92h]
59b0  mov   [1d4dh],al
59b3  mov   al,[bx+4368h]
59b7  mov   ah,al
59b9  mov   bx,000ch
59bc  mov   al,[bx+4368h]
59c0  shl   al,03h
59c3  or    al,ah
59c5  mov   [1d4fh],al
59c8  movzx bx,byte [0024h]
59cd  mov   al,[bx+4378h]
59d1  or    al,40h
59d3  mov   [1d4eh],al

The tables turn human-facing ULTRASND digits into:

The docs mention a bug in this area: if the ULTRASND base and the hardware detected base disagree, the intro falls back to default DMA/IRQ values.

GUS Reset And Voice Init

The short reset sequence at 0x59d7 writes several base-relative ports with interrupts disabled:

59d7  pushf
59d8  cli
59d9  mov  ah,08h
59db  mov  dx,[0026h]
59df  add  dx,000fh
59e2  mov  al,05h
59e4  out  dx,al
59e5  mov  dx,[0026h]
59e9  xor  al,al
59eb  out  dx,al
59ec  mov  dx,[0026h]
59f0  add  dx,000bh
59f3  xor  al,al
59f5  out  dx,al
...
5a52  add  dx,0102h
5a56  xor  al,al
5a58  out  dx,al
5a6b  popf
5a6c  ret

The larger initializer at 0x5a6d is a direct GUS register program. The early part toggles reset register 0x4c, then writes registers 0x41, 0x45, 0x49, 0x0e, and 0x8f:

5a79  mov  dx,[0026h]
5a7d  add  dx,0103h
5a81  mov  al,4ch
5a83  out  dx,al
5a84  add  dx,0002h
5a87  mov  al,00h
5a89  out  dx,al
...
5ab7  mov  dx,[0026h]
5abb  add  dx,0103h
5abf  mov  al,41h
5ac1  out  dx,al
...
5ad7  mov  al,49h
5ad9  out  dx,al
...
5ae3  mov  al,0eh
5ae5  out  dx,al
...
5b10  mov  al,8fh
5b12  out  dx,al

The voice reset loop starts with CX=0x1f and counts down all 32 voices. For each voice it selects the voice number through base+0x102, then repeatedly writes voice registers:

5b55  mov  cx,001fh
5b58  mov  dx,[0026h]
5b5c  add  dx,0102h
5b60  mov  al,cl
5b62  out  dx,al          ; select voice
5b63  mov  dx,[0026h]
5b67  add  dx,0103h
5b6b  mov  al,00h
5b6d  out  dx,al
5b71  mov  al,03h
5b73  out  dx,al
...
5bc3  dec  cx
5bc4  jns  5b58h

A second per-voice loop initializes volume/ramp/start/end style registers:

5bf1  mov  cx,001fh
5bf4  mov  dx,[0026h]
5bf8  add  dx,0102h
5bfc  mov  al,cl
5bfe  out  dx,al
5c03  add  dx,0103h
5c07  mov  al,06h
5c09  out  dx,al
5c0d  mov  al,3fh
5c0f  out  dx,al
5c13  mov  al,09h
5c15  out  dx,al
5c17  mov  ax,0000h
5c1a  out  dx,ax
...
5c39  dec  cl
5c3b  jns  5bf4h

The last loop uses the voice count byte at 0x3805 and a per-voice table at 0x3806:

5c7e  xor  cl,cl
5c80  xor  si,si
5c82  push cx
5c83  push si
...
5d1d  mov  al,0ch
5d1f  out  dx,al
5d23  mov  al,cs:[si+3806h]
5d28  out  dx,al
5d29  pop  si
5d2a  pop  cx
5d2b  inc  cl
5d2d  cmp  cl,cs:[3805h]
5d32  jb   5c82h

So the music system is not a library black box at this layer. The outer intro contains a full GUS base probe, reset, voice initialization, interrupt hookup, and a Spring! - Introtune data region.

Sound Interrupt Hook

The hook installer at 0x5d37 has two paths.

If sound is enabled, it uses the IRQ vector selected by the GUS config table:

5d37  cli
5d38  push cs
5d39  pop  ds
5d3a  mov  byte [41a6h],01h
5d3f  cmp  byte cs:[0022h],01h
5d45  je   pit_path
5d49  movzx bx,byte [1d4dh]
5d4e  shl   bx,02h
5d51  xor   ax,ax
5d53  mov   fs,ax
5d55  mov   ax,0161h
5d58  shl   eax,16
5d5c  mov   ax,505bh
5d5f  xchg  fs:[bx],eax
5d63  mov   [005ch],eax

It saves both PIC masks, clears the bit for the chosen IRQ on the master PIC, and restores the slave PIC mask unchanged:

5d67  in   al,0a1h
5d69  mov  ah,al
5d6b  in   al,21h
5d6d  mov  [1e5ah],ax
5d70  mov  bx,0001h
5d73  mov  cl,[1d4ch]
5d77  shl  bx,cl
5d79  not  bx
5d7b  and  ax,bx
5d7d  out  21h,al
5d7f  mov  al,ah
5d81  out  0a1h,al

If /S forced no-sound mode, it hooks IRQ0 instead, points it at 0161:4fdb, and programs the PIT with divisor 0x017e:

5d86  xor  ax,ax
5d88  mov  fs,ax
5d8a  mov  ax,0161h
5d8d  shl  eax,16
5d91  mov  ax,4fdbh
5d94  xchg fs:[0020h],eax
5d9a  mov  [005ch],eax
5d9e  mov  al,36h
5da0  out  43h,al
5da4  mov  al,7eh
5da6  out  40h,al
5daa  mov  al,01h
5dac  out  40h,al

The restore routine at 0x5dd0 writes back the saved vector and PIC masks. In the PIT path it also reprograms channel 0 with divisor 0:

5e13  mov  al,36h
5e15  out  43h,al
5e19  mov  al,00h
5e1b  out  40h,al
5e1f  out  40h,al

Runtime Notes

Under DOSBox-X, the original packed SPRING!.EXE:

A renamed copy does not behave the same way, because the loader reopens the literal spring!.exe string to read the appended child executables.

The UNP-expanded EXE is good for static analysis, but it is not a faithful runtime substitute for the shipped file. Its appended table still contains the original file offsets (0x95ea, 0xbd78, 0x11fbe, 0x182e5), while the expanded loader image ends much later at 0x21add. That mismatch is enough to make patched UNP-expanded experiments diverge from the shipped loader.

What Each Part Does

At this recovered layer, the intro splits cleanly into these parts:

The practical reading is that Spring! is fancy less because of one single visible trick in the recovered code, and more because it is built like a tiny multi-executable runtime: the first EXE is a resident stage manager, and the four real payloads are appended, decoded, relocated, launched, and freed one after another.