Analysis model: gpt-5.5 xhigh

Ufo Cracktro by International Network of Crackers - Technical Dissection

Ufo Cracktro is a 24 November 1989 MS-DOS cracktro by International Network of Crackers. Demozoo lists it as an MS-DOS production, released on 24 November 1989, with no individual credits attached.

Release year: 1989

The preserved archive is a single INCTITLE.COM: a TheDraw COM screen-save wrapper with an embedded B800h character/attribute page. There is no batch file, key wait, music, game loader, or payload handoff in the preserved ZIP. If run directly, the COM draws the page and exits to DOS immediately.

The visible text page contains no BBS list, phone number, or private contact line. It contains only the release title text and cracker/supplier note shown by the cracktro itself.

Sources

Visual

The still below is decoded from the embedded text page in INCTITLE.COM. It is not a DOSBox runtime screenshot; it is a direct character/attribute render of the page that the program copies to text video memory.

Time Still What is happening
00:00.000 Decoded Ufo Cracktro INC title text page INCTITLE.COM has copied its 23-row TheDraw text page to B800:0000 in an 80-column colour text mode. The program then exits immediately through DOS INT 21h/AH=4Ch.

The loader map:

Ufo Cracktro TheDraw COM display-stub map

Archive

Scene.org reports a 780B ZIP. The examined archive hash is:

df414ceb5cfaf15bafef88e8819f05a6337723ad6babbb0e25c7924123c49a5a  ufo_cracktro.zip

ZIP central directory:

INCTITLE.COM  4176 bytes  deflated to 622 bytes  1989-11-24 10:46

Extracted hash:

70128cabe372f25f777f9069c0d903c3171767fd12e02c4bf807de5bcd709d1f  INCTITLE.COM

That file size is the same as the later ABC Monday Night Football Cracktro TheDraw screen-save file: 00B0h bytes of header/stub plus 25 * 80 * 2 bytes of text cells. The difference is not the display engine; it is the saved screen contents and the lack of a surrounding batch file.

COM Layout

For COM addressing:

file offset 0000h -> runtime CS:0100h
runtime offset    = file offset + 0100h
file offset       = runtime offset - 0100h

INCTITLE.COM is a TheDraw COM screen save. Its layout is:

file 0000h..0002h  runtime 0100h..0102h  jump to display stub
file 0003h..0008h  runtime 0103h..0108h  mutable header fields
file 0009h..0025h  runtime 0109h..0125h  "TheDraw COM file Screen Save",1Ah
file 0026h..003Eh  runtime 0126h..013Eh  "$"-terminated unsupported-mode text
file 003Fh..00AFh  runtime 013Fh..01AFh  active 113-byte display stub
file 00B0h..0F0Fh  runtime 01B0h..100Fh  23 * 80 char/attribute words
file 0F10h..104Fh  runtime 1010h..114Fh  two blank 80-column rows, not drawn

The mutable header fields at file offsets 0003h..0008h are:

0003h  00h       snow-safe / mode flag scratch byte
0004h  17h       row counter = 23 rows
0005h  0050h     words per row = 80
0007h  0000h     starting video-memory offset

The file contains 25 rows of character/attribute data, but the row counter is only 17h, so the active program copies the first 23 rows. The final two rows are blank spaces with attribute 0Fh and are not copied. Because this archive has no wrapper that clears the screen first, the real DOS rows below row 22 remain whatever they were before execution, and the command prompt may reappear over the card after the program exits.

Startup And Mode Probe

The COM begins with a short jump:

0100  jmp 013Fh
0102  nop

The active code asks BIOS for the current video mode:

013F  mov ah,0Fh
0141  int 10h

INT 10h/AH=0Fh returns:

AL = current video mode
AH = screen columns
BH = active display page

The code then makes DS=CS and initializes the default video segment to monochrome text memory:

0143  mov bx,cs
0145  mov ds,bx
0147  mov bx,0B000h
014A  mov ah,00h

The mode gate:

014C  cmp al,07h
014E  je  016Bh          ; mono text mode
0150  cmp al,04h
0152  jae 015Fh          ; graphics modes: unsupported
0154  mov bx,0B800h      ; colour text segment
0157  mov ah,[0103h]     ; TheDraw flag byte, initially 00h here
015B  cmp al,02h
015D  jae 016Bh          ; colour 80-column text modes 2/3

Supported modes:

mode 02h  80x25 colour text, B800h
mode 03h  80x25 colour text, B800h
mode 07h  monochrome text, B000h

Unsupported modes:

mode 00h/01h  40-column colour text
mode >=04h    graphics modes

On unsupported modes, the program prints the embedded $-terminated message and exits:

015F  lea dx,[0126h]     ; "Unsupported Video Mode", CR, LF, "$"
0163  mov ah,09h
0165  int 21h
0167  mov ah,4Ch
0169  int 21h

That path uses DOS text output. The normal display path uses direct text video memory writes instead.

Video Segment And Data Pointers

On supported modes:

016B  mov [0103h],ah
016F  mov es,bx
0171  mov di,[0107h]
0175  lea si,[01B0h]
0179  cld

In normal colour mode 3:

ES = B800h
DI = 0000h
SI = 01B0h

That means the source is the embedded TheDraw page and the destination is the first cell of the active text page.

In colour text modes, the write flag at [0103h] decides which inner loop is used. In the preserved file it is zero, so the fast REP MOVSW path is used. A nonzero value would select a per-cell CGA status-polling path intended to avoid CGA snow. In monochrome mode 7, the branch to 016Bh happens after 014A has already zeroed AH, so the saved flag is ignored and the fast path is used against B000h.

Row Loop

The outer loop starts at 017Ah:

017A  push di
017B  mov cx,[0105h]     ; 80 words per row
017F  cmp byte [0103h],00h
0184  je  01A1h          ; fast path if flag is zero

Each row is exactly 80 words, and each word is:

low byte  = character code
high byte = text attribute

The row stride in text video memory is 80 * 2 = 160 = 00A0h bytes.

After either inner loop has copied one row, the shared row-advance code runs:

01A3  pop di
01A4  add di,00A0h       ; next screen row
01A8  dec byte [0104h]   ; row counter, initially 17h
01AC  jne 017Ah
01AE  jmp 0167h          ; terminate via INT 21h/AH=4Ch

The row counter is destructive: the program decrements the byte in its own loaded COM image. Since the process exits after drawing, there is no second pass through the same in-memory header.

The push di / pop di pair is important. Both inner loops increment DI while drawing a row, but the program discards that end-of-row DI, restores the row start, and then adds the fixed 00A0h stride. SI is not restored, so it keeps advancing through the embedded text page.

Fast Text Copy Inner Loop

In normal colour text mode with [0103h] == 0, the whole row copy is:

01A1  rep movsw

Expanded:

CX = 80
while CX != 0:
    word ES:[DI] = word DS:[SI]
    SI += 2
    DI += 2
    CX -= 1

For the active page:

23 rows * 80 words = 1840 word stores
1840 words * 2     = 3680 bytes copied

This is the path a VGA text mode, DOSBox, or DOSBox-X run will normally take. The inner loop is a single 8086 string instruction driven by CX; all of the visible page detail is pre-authored in the embedded character/attribute data.

Snow-Safe CGA Inner Loop

If [0103h] is nonzero, the program uses the slower loop beginning at 0186h:

0186  mov dx,03DAh
0189  mov bl,09h
018B  lodsw              ; AX = next character/attribute word
018C  mov bp,ax
018E  in  al,dx
018F  rcr al,1
0191  jb  018Eh
0193  cli
0194  in  al,dx
0195  and al,bl          ; test bits 0 and 3
0197  jne 0194h
0199  mov ax,bp
019B  stosw
019C  sti
019D  loop 018Bh

Port 03DAh is the CGA colour status register. The loop does this for every cell:

  1. lodsw reads one character/attribute word from the embedded page.
  2. mov bp,ax preserves that word while AL is reused for status polling.
  3. in al,dx / rcr al,1 / jb waits while status bit 0 is set.
  4. cli briefly disables interrupts for the critical video-memory write.
  5. in al,dx / and al,09h / jne waits while either bit 0 or bit 3 is set.
  6. stosw writes the saved word into video memory.
  7. sti re-enables interrupts.
  8. loop repeats until the 80-cell row is done.

In practical terms, this is a conservative "write during a blank part of the CGA scan" loop. It is much slower than REP MOVSW because it polls before every text cell:

1840 cells -> 1840 status-poll windows -> 1840 word stores

That matters on real CGA hardware, where writes to display memory during active display can produce visible snow. It is unnecessary on VGA, and this saved screen has the flag byte set to zero, so the archive defaults to the fast path.

The polling branch is only reachable through the colour text-mode path because the code reloads AH from [0103h] at 0157h only after selecting B800h. Mode 7 has already branched away by then.

Embedded Text Page

The copied data starts at runtime CS:01B0h, file offset 00B0h, and is stored in normal text video memory order:

row 0, column 0 char byte
row 0, column 0 attribute byte
row 0, column 1 char byte
row 0, column 1 attribute byte
...

The page dimensions used by the program:

rows copied:       23
columns copied:    80
bytes per row:    160
total bytes:     3680

Only two attributes occur in the active 23 rows:

0Fh  bright white on black              1794 cells
6Fh  bright white on brown/yellow bg      46 cells

The active text rows are:

03:       JT and the Iceman present Sublogic's UFO.
07:                       ...........................
08:                       .                         .
09:                       .                         .
10:                       .                         .
11:                       .                         .
12:                       ...........................
16:        Damn...  Iceman, a good supplier faithfully picked up this game
17:        and sent it to me to crack without looking at it himself.  So
18:        after realizing that there wasn't much to do I was quite
19:        dissapointed.  If software companies stop protecting there own
20:        software, were gonna be out of a job...
22:                                            -- JT

The dotted box in those text rows is not literal dots in the binary. It is mostly CP437 box drawing (C4h horizontal and B3h vertical), rendered here in plain text. The brown/yellow INC logo inside the box is made from block characters with attribute 6Fh.

Runtime Sequence

The preserved package sequence is extremely short:

1. DOS loads INCTITLE.COM at CS:0100h.
2. The COM jumps over its header and signature to 013Fh.
3. It asks BIOS for the current video mode.
4. If unsupported, it prints "Unsupported Video Mode" and exits.
5. In mode 2/3, it selects ES=B800h.
6. It copies 23 rows of embedded TheDraw text data to B800:0000.
7. It exits through INT 21h/AH=4Ch.

No code in the preserved file:

waits for a key,
starts the UFO executable,
patches the game,
hooks interrupts,
plays music,
or animates the title page.

So this is not a standalone animated intro. It is a saved text card, presumably intended to sit before the cracked game in a larger release context that is not present in this archive.

Why It Matters

The visible effect is modest, but the inner loop is still historically useful:

At a code level, the whole visual effect is REP MOVSW over 23 * 80 pre-authored words. The only hardware-specific sophistication is the alternate 03DAh polling path, which trades speed for cleaner CGA output.