
Module: vec_srch.c
Group: 'DGROUP' CONST,_BSS,_DATA

Segment: '_TEXT' WORD  0000011e bytes  
 0000  55                _vec_search     push    bp
 0001  8b ec                             mov     bp,sp
 0003  83 ec 1a                          sub     sp,001aH
 0006  57                                push    di
 0007  56                                push    si
 0008  83 3e 00 00 00                    cmp     word ptr __pctcp_int,0000H
 000d  74 09                             je      L1
 000f  a1 00 00                          mov     ax,__pctcp_int
 0012  5e                                pop     si
 0013  5f                                pop     di
 0014  8b e5                             mov     sp,bp
 0016  5d                                pop     bp
 0017  c3                                ret     
 0018  c7 46 ea 00 00    L1              mov     word ptr -16H[bp],0000H
 001d  be 20 00                          mov     si,0020H
 0020  bf 80 00                          mov     di,0080H
 0023  89 7e e8          L2              mov     -18H[bp],di
 0026  c4 5e e8                          les     bx,dword ptr -18H[bp]
 0029  26 8b 07                          mov     ax,es:[bx]
 002c  26 8b 57 02                       mov     dx,es:+2H[bx]
 0030  05 03 00                          add     ax,0003H
 0033  89 46 ec                          mov     -14H[bp],ax
 0036  89 56 ee                          mov     -12H[bp],dx
 0039  52                                push    dx
 003a  50                                push    ax
 003b  e8 00 00                          call    check_match
 003e  83 c4 04                          add     sp,0004H
 0041  0b c0                             or      ax,ax
 0043  74 75                             je      L4
 0045  89 36 00 00                       mov     __pctcp_int,si
 0049  56                                push    si
 004a  e8 00 00                          call    __net_set_vector
 004d  83 c4 02                          add     sp,0002H
 0050  c7 46 f0 00 33                    mov     word ptr -10H[bp],3300H
 0055  8d 46 f0                          lea     ax,-10H[bp]
 0058  16                                push    ss
 0059  50                                push    ax
 005a  8d 46 f0                          lea     ax,-10H[bp]
 005d  16                                push    ss
 005e  50                                push    ax
 005f  e8 00 00                          call    _intdos
 0062  83 c4 08                          add     sp,0008H
 0065  80 7e f6 00                       cmp     byte ptr -0aH[bp],00H
 0069  74 20                             je      L3
 006b  8a 46 f6                          mov     al,-0aH[bp]
 006e  2a e4                             sub     ah,ah
 0070  a3 02 00                          mov     __dos_break,ax
 0073  c7 46 f0 01 33                    mov     word ptr -10H[bp],3301H
 0078  88 66 f6                          mov     -0aH[bp],ah
 007b  8d 46 f0                          lea     ax,-10H[bp]
 007e  16                                push    ss
 007f  50                                push    ax
 0080  8d 46 f0                          lea     ax,-10H[bp]
 0083  16                                push    ss
 0084  50                                push    ax
 0085  e8 00 00                          call    _intdos
 0088  83 c4 08                          add     sp,0008H
 008b  b8 00 00          L3              mov     ax,offset _pctcp_cleanup
 008e  50                                push    ax
 008f  e8 00 00                          call    _onexit
 0092  83 c4 02                          add     sp,0002H
 0095  b8 00 00                          mov     ax,offset _pctcp_abort
 0098  50                                push    ax
 0099  b8 16 00                          mov     ax,0016H
 009c  50                                push    ax
 009d  e8 00 00                          call    _signal
 00a0  83 c4 04                          add     sp,0004H
 00a3  b8 00 00                          mov     ax,offset _pctcp_ctrlc
 00a6  50                                push    ax
 00a7  b8 02 00                          mov     ax,0002H
 00aa  50                                push    ax
 00ab  e8 00 00                          call    _signal
 00ae  83 c4 04                          add     sp,0004H
 00b1  8b c6                             mov     ax,si
 00b3  5e                                pop     si
 00b4  5f                                pop     di
 00b5  8b e5                             mov     sp,bp
 00b7  5d                                pop     bp
 00b8  c3                                ret     
 00b9  90                                nop     
 00ba  83 c7 04          L4              add     di,0004H
 00bd  46                                inc     si
 00be  81 fe e0 00                       cmp     si,00e0H
 00c2  7d 03                             jge     L5
 00c4  e9 5c ff                          jmp     L2
 00c7  2b c0             L5              sub     ax,ax
 00c9  5e                                pop     si
 00ca  5f                                pop     di
 00cb  8b e5                             mov     sp,bp
 00cd  5d                                pop     bp
 00ce  c3                                ret     
 00cf  90                                nop     
 00d0  55                check_match     push    bp
 00d1  8b ec                             mov     bp,sp
 00d3  83 ec 06                          sub     sp,0006H
 00d6  56                                push    si
 00d7  b8 04 00                          mov     ax,offset L9
 00da  89 46 fc                          mov     -4H[bp],ax
 00dd  8c 5e fe                          mov     -2H[bp],ds
 00e0  8c 5e fa                          mov     -6H[bp],ds
 00e3  8b f0                             mov     si,ax
 00e5  eb 02                             jmp     L7
 00e7  90                                nop     
 00e8  46                L6              inc     si
 00e9  80 3c 00          L7              cmp     byte ptr [si],00H
 00ec  74 1e                             je      L8
 00ee  c4 5e 04                          les     bx,dword ptr +4H[bp]
 00f1  ff 46 04                          inc     word ptr +4H[bp]
 00f4  8a 04                             mov     al,[si]
 00f6  26 38 07                          cmp     es:[bx],al
 00f9  74 ed                             je      L6
 00fb  2b c0                             sub     ax,ax
 00fd  89 76 fc                          mov     -4H[bp],si
 0100  8c 5e fe                          mov     -2H[bp],ds
 0103  8e 5e fa                          mov     ds,-6H[bp]
 0106  5e                                pop     si
 0107  8b e5                             mov     sp,bp
 0109  5d                                pop     bp
 010a  c3                                ret     
 010b  90                                nop     
 010c  89 76 fc          L8              mov     -4H[bp],si
 010f  8c 5e fe                          mov     -2H[bp],ds
 0112  8e 5e fa                          mov     ds,-6H[bp]
 0115  b8 01 00                          mov     ax,0001H
 0118  5e                                pop     si
 0119  8b e5                             mov     sp,bp
 011b  5d                                pop     bp
 011c  c3                                ret     
 011d  90                                nop     

No disassembly errors

------------------------------------------------------------

Segment: '_DATA' WORD  0000000b bytes  
 0000  00 00                   __pctcp_int     - ..
 0002  00 00                   __dos_break     - ..
 0004  54 43 50 54 53 52 00    L9              - TCPTSR.

No disassembly errors

------------------------------------------------------------
