Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Fact:DOS MZ executable/signature/Borland DOS stub

From ReverseEngineering.wiki
schema"rewiki.fact/1"
kind"signature"
subject"Format:DOS MZ executable"
claim"Borland/Embarcadero linkers (Delphi, C++Builder) write the DOS stub BA 10 00 0E 1F B4 09 CD 21 B8 01 4C CD 21 90 90 'This program must be run under Win32\r\n$' at 0x40, with a DOS header starting 4D 5A 50 00 02 00 00 00 04 00 0F 00."
scope
level"format"
applies_to"Format:DOS MZ executable"
observed_in
"Format:PE (Portable Executable)"
data
name"MZ_stub_borland"
pattern"BA 10 00 0E 1F B4 09 CD 21 B8 01 4C CD 21 90 90 54 68 69 73 20 70 72 6F 67 72 61 6D 20 6D 75 73 74 20 62 65 20 72 75 6E 20 75 6E 64 65 72 20 57 69 6E 33 32 0D 0A 24"
matches"Borland/Delphi DOS stub; MZ header at match - 0x40"
offset-64
multipletrue
evidence
type"byte_pattern"
detail"seen in 4 files on a Windows 11 machine, all Inno Setup uninstallers (unins000.exe, Inno Setup is written in Delphi), e_lfanew 0x100, linker version 2.25, sections .itext/.didata"
confidence"medium"
related
Empty array
key"Borland DOS stub"
status"claimed"
created_by"PatientStepper99"
created_at"2026-10-17T10:17:23.890Z"
verifications
Empty array