bp+00	0F82	?
bp+02	132F	<ret IP>
bp+04	2066	<ret CS>
bp+06	0EFE	offset   0EFE
bp+08	4F75	register SS
bp+0A	395A	offset   395A	{encode source offset}
bp+0C	4976	register DS	{encode source segment}
bp+0E	0038
bp+10	0001
bp+12	0000
2066:000F  C8100000             enter 0010,00
2066:0013  56                   push si
2066:0014  C746F60000           mov  word [bp-0A],0000      ss:[0EDC]=0003
2066:0019  C746F80000           mov  word [bp-08],0000      ss:[0EDE]=001E
2066:001E  A05452               mov  al,[5254]              ds:[5254]=0000
2066:0021  8846FC               mov  [bp-04],al             ss:[0EE2]=0EF4
2066:0024  A04E52               mov  al,[524E]              ds:[524E]=0000
2066:0027  8846FB               mov  [bp-05],al             ss:[0EE1]=F47B
2066:002A  C746F20000           mov  word [bp-0E],0000      ss:[0ED8]=7B52
2066:002F  C746F40000           mov  word [bp-0C],0000      ss:[0EDA]=0003
2066:0034  E9B500               jmp  000000EC ($+b5)        (down)
__0037:
2066:0037  33F6                 xor  si,si					SI=0
2066:0039  E99A00               jmp  000000D6 ($+9a)        (down)
__003c:
2066:003C  C45E06               les  bx,[bp+06]             ss:[0EEC]=0F00
2066:003F  268A07               mov  al,es:[bx]             es:[395B]=FFFF	
2066:0042  8846FD               mov  [bp-03],al             ss:[0EE3]=FF00
2066:0045  FF4606               inc  word [bp+06]           ss:[0EEC]=0F00
2066:0048  C45E0A               les  bx,[bp+0A]             ss:[0EF0]=395C
2066:004B  268A07               mov  al,es:[bx]             es:[395B]=FFFF
2066:004E  8846FE               mov  [bp-02],al             ss:[0EE4]=05FF
2066:0051  FF460A               inc  word [bp+0A]           ss:[0EF0]=395C
2066:0054  807EFE00             cmp  byte [bp-02],00        ss:[0EE4]=05FF	if [bp-02]!=0
2066:0058  7503                 jne  0000005D ($+3)         (down)		then JMP _005d
2066:005A  EB79                 jmp  short 000000D5 ($+79)  (down)		else JMP _00d5
2066:005C  90                   nop
__005d:
2066:005D  C646FF07             mov  byte [bp-01],07        ss:[0EE5]=8205
2066:0061  EB6C                 jmp  short 000000CF ($+6c)  (down)
__0063:
2066:0063  B80100               mov  ax,0001
2066:0066  8A4EFF               mov  cl,[bp-01]             ss:[0EE5]=8205
2066:0069  D3E0                 shl  ax,cl
2066:006B  8A56FE               mov  dl,[bp-02]             ss:[0EE4]=05FF
2066:006E  B600                 mov  dh,00
2066:0070  85C2                 test dx,ax					if (AX & DX)==0
2066:0072  7458                 je   000000CC ($+58)        (no jmp)		then JMP _00cc
2066:0074  D066FC               shl  byte [bp-04],1         ss:[0EE2]=0000
2066:0077  B80100               mov  ax,0001
2066:007A  8A4EFF               mov  cl,[bp-01]             ss:[0EE5]=8205
2066:007D  D3E0                 shl  ax,cl
2066:007F  8A56FD               mov  dl,[bp-03]             ss:[0EE3]=FF00
2066:0082  B600                 mov  dh,00
2066:0084  85C2                 test dx,ax					if (AX & DX)==0
2066:0086  7404                 je   0000008C ($+4)         (no jmp)		then JMP _008c
2066:0088  804EFC01             or   byte [bp-04],01        ss:[0EE2]=0000
__008c:
2066:008C  8346F601             add  word [bp-0A],0001      ss:[0EDC]=000A
2066:0090  8356F800             adc  word [bp-08],0000      ss:[0EDE]=0000
2066:0094  8A46FB               mov  al,[bp-05]             ss:[0EE1]=0002
2066:0097  FEC0                 inc  al
2066:0099  8846FB               mov  [bp-05],al             ss:[0EE1]=0002
2066:009C  3C08                 cmp  al,08					if AL!=8
2066:009E  752C                 jne  000000CC ($+2c)        (down)		then JMP _00cc
__write:
2066:00A0  8A46FC               mov  al,[bp-04]             ss:[0EE2]=0000
2066:00A3  8846F1               mov  [bp-0F],al             ss:[0ED7]=0017
2066:00A6  16                   push ss						>5th:(seg bp04)
2066:00A7  8D46F1               lea  ax,[bp-0F]             ss:[0ED7]=0017
2066:00AA  50                   push ax						>4th:(off bp04)
2066:00AB  6A00                 push 0000					>3rd:word 0
2066:00AD  6A01                 push 0001					>2nd:word 1
2066:00AF  FF364E39             push word [394E]            ds:[394E]=0005	>1st:(handle)
2066:00B3  9A2C016D47           call 476D:012C					call ?
2066:00B8  83C40A               add  sp,000A
2066:00BB  0BC0                 or   ax,ax					if AX<>0
2066:00BD  7505                 jne  000000C4 ($+5)         (down)		then JMP _00c4
2066:00BF  B80100               mov  ax,0001
2066:00C2  EB5C                 jmp  short 00000120 ($+5c)  (down)
__00c4:
2066:00C4  B000                 mov  al,00
2066:00C6  8846FB               mov  [bp-05],al             ss:[0EE1]=0002
2066:00C9  8846FC               mov  [bp-04],al             ss:[0EE2]=0000
__00cc:
2066:00CC  FE4EFF               dec  byte [bp-01]           ss:[0EE5]=8205
__00cf:
2066:00CF  807EFF00             cmp  byte [bp-01],00        ss:[0EE5]=8205
2066:00D3  7D8E                 jge  00000063 ($-72)        (up)
__00d5:
2066:00D5  46                   inc  si
__00d6:
2066:00D6  3B760E               cmp  si,[bp+0E]             ss:[0EF4]=0038
2066:00D9  7303                 jnc  000000DE ($+3)         (down)
2066:00DB  E95EFF               jmp  0000003C ($-a2)        (up)
__00de:
2066:00DE  8B460E               mov  ax,[bp+0E]             ss:[0EF4]=0038
2066:00E1  29460A               sub  [bp+0A],ax             ss:[0EF0]=395C
2066:00E4  8346F201             add  word [bp-0E],0001      ss:[0ED8]=0000
2066:00E8  8356F400             adc  word [bp-0C],0000      ss:[0EDA]=0000
__00ec:
2066:00EC  8B46F4               mov  ax,[bp-0C]             ss:[0EDA]=0000
2066:00EF  8B56F2               mov  dx,[bp-0E]             ss:[0ED8]=0000
2066:00F2  3B4612               cmp  ax,[bp+12]             ss:[0EF8]=0000	if HIWORD[bp-0c] >= HIWORD[bp+10]
2066:00F5  7303                 jnc  000000FA ($+3)         (down)		then JMP _00fa
2066:00F7  E93DFF               jmp  00000037 ($-c3)        (up)		else JMP _0037
__00fa:
2066:00FA  7508                 jne  00000104 ($+8)         (down)		if HIWORD[bp-0c] != HIWORD[bp+10], then jmp _0104
2066:00FC  3B5610               cmp  dx,[bp+10]             ss:[0EF6]=0001	if LOWORD[bp-0c] >= LOWORD[bp+10]
2066:00FF  7303                 jnc  00000104 ($+3)         (down)		then JMP _0104
2066:0101  E933FF               jmp  00000037 ($-cd)        (up)		else JMP _0037
__0104:
2066:0104  8A46FC               mov  al,[bp-04]             ss:[0EE2]=0000
2066:0107  A25452               mov  [5254],al              ds:[5254]=0000
2066:010A  8A46FB               mov  al,[bp-05]             ss:[0EE1]=0002
2066:010D  A24E52               mov  [524E],al              ds:[524E]=0000
2066:0110  8B46F8               mov  ax,[bp-08]             ss:[0EDE]=0000
2066:0113  8B56F6               mov  dx,[bp-0A]             ss:[0EDC]=000A
2066:0116  01165852             add  [5258],dx              ds:[5258]=0000
2066:011A  11065A52             adc  [525A],ax              ds:[525A]=0000
2066:011E  33C0                 xor  ax,ax
2066:0120  5E                   pop  si
2066:0121  C9                   leave
2066:0122  CB                   retf