Original code from 2007
[vt-enable.git] / scratch / 0F4120.asm
1 00000000  E80100            call 0x4
2 00000003  CB                retf
3 00000004  6653              push ebx
4 00000006  52                push dx
5 00000007  662E8B1EEF3F      mov ebx,[cs:0x3fef]
6 0000000D  6685DB            test ebx,ebx
7 00000010  750C              jnz 0x1e
8 00000012  8BD8              mov bx,ax
9 00000014  E88EFF            call 0xffa5
10 00000017  2EFF972340        call near [cs:bx+0x4023]
11 0000001C  EB0C              jmp short 0x2a
12 0000001E  56                push si
13 0000001F  1E                push ds
14 00000020  2EC536EF3F        lds si,[cs:0x3fef]
15 00000025  E80A00            call 0x32
16 00000028  1F                pop ds
17 00000029  5E                pop si
18 0000002A  5A                pop dx
19 0000002B  665B              pop ebx
20 0000002D  C3                ret
21 0000002E  E80100            call 0x32
22 00000031  CB                retf
23 00000032  53                push bx
24 00000033  52                push dx
25 00000034  8BD8              mov bx,ax
26 00000036  E86CFF            call 0xffa5
27 00000039  E80300            call 0x3f
28 0000003C  5A                pop dx
29 0000003D  5B                pop bx
30 0000003E  C3                ret
31 0000003F  6653              push ebx
32 00000041  51                push cx
33 00000042  6652              push edx
34 00000044  56                push si
35 00000045  E871FF            call 0xffb9
36 00000048  03F2              add si,dx
37 0000004A  668B14            mov edx,[si]
38 0000004D  6623D3            and edx,ebx
39 00000050  66D3EA            shr edx,cl
40 00000053  8BC2              mov ax,dx
41 00000055  5E                pop si
42 00000056  665A              pop edx
43 00000058  59                pop cx
44 00000059  665B              pop ebx
45 0000005B  C3                ret
46 0000005C  E80100            call 0x60
47 0000005F  CB                retf
48 00000060  53                push bx
49 00000061  52                push dx
50 00000062  8BDA              mov bx,dx
51 00000064  E83EFF            call 0xffa5
52 00000067  E80300            call 0x6d
53 0000006A  5A                pop dx
54 0000006B  5B                pop bx
55 0000006C  C3                ret
56 0000006D  6650              push eax
57 0000006F  6653              push ebx
58 00000071  51                push cx
59 00000072  6652              push edx
60 00000074  56                push si
61 00000075  E841FF            call 0xffb9
62 00000078  66D3E0            shl eax,cl
63 0000007B  6623C3            and eax,ebx
64 0000007E  03F2              add si,dx
65 00000080  668B14            mov edx,[si]
66 00000083  66F7D3            not ebx
67 00000086  6623D3            and edx,ebx
68 00000089  660BD0            or edx,eax
69 0000008C  668914            mov [si],edx
70 0000008F  5E                pop si
71 00000090  665A              pop edx
72 00000092  59                pop cx
73 00000093  665B              pop ebx
74 00000095  6658              pop eax
75 00000097  C3                ret
76 00000098  E80100            call 0x9c
77 0000009B  CB                retf
78 0000009C  1E                push ds
79 0000009D  56                push si
80 0000009E  E83CFF            call 0xffdd
81 000000A1  E88EFF            call 0x32
82 000000A4  5E                pop si
83 000000A5  1F                pop ds
84 000000A6  C3                ret
85 000000A7  55                push bp
86 000000A8  8BEC              mov bp,sp
87 000000AA  83C4F2            add sp,byte -0xe
88 000000AD  06                push es
89 000000AE  57                push di
90 000000AF  53                push bx
91 000000B0  50                push ax
92 000000B1  B8BB7B            mov ax,0x7bbb
93 000000B4  2DBB79            sub ax,0x79bb
94 000000B7  83C004            add ax,byte +0x4
95 000000BA  83E0FE            and ax,byte -0x2
96 000000BD  2BE0              sub sp,ax
97 000000BF  8946F2            mov [bp-0xe],ax
98 000000C2  8966F6            mov [bp-0xa],sp
99 000000C5  8C56F8            mov [bp-0x8],ss
100 000000C8  16                push ss
101 000000C9  07                pop es
102 000000CA  8D7EF4            lea di,[bp-0xc]
103 000000CD  E8ECA7            call 0xa8bc
104 000000D0  9AD551FEE6        call 0xe6fe:0x51d5
105 000000D5  E847A8            call 0xa91f
106 000000D8  E868A9            call 0xaa43
107 000000DB  E84AA8            call 0xa928
108 000000DE  0366F2            add sp,[bp-0xe]
109 000000E1  58                pop ax
110 000000E2  5B                pop bx
111 000000E3  5F                pop di
112 000000E4  07                pop es
113 000000E5  8BE5              mov sp,bp
114 000000E7  5D                pop bp
115 000000E8  CB                retf
116 000000E9  50                push ax
117 000000EA  52                push dx
118 000000EB  06                push es
119 000000EC  57                push di
120 000000ED  FC                cld
121 000000EE  F3A4              rep movsb
122 000000F0  5E                pop si
123 000000F1  1F                pop ds
124 000000F2  B81C02            mov ax,0x21c
125 000000F5  E80CFF            call 0x4
126 000000F8  BA1C02            mov dx,0x21c
127 000000FB  E862FF            call 0x60
128 000000FE  B8                db 0xB8
129 000000FF  1F                pop ds