===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
mgt-2.31/mou.c-218-
mgt-2.31/mou.c:219:  asm pushf; /* Disable interrupts */
mgt-2.31/mou.c:220:  asm cli;
mgt-2.31/mou.c:221:  asm mov dx, 3c4h; /* Sequencer port address */
mgt-2.31/mou.c:222:  asm mov ax, 0704h; /* Sequential addressing */
mgt-2.31/mou.c:223:  asm out dx, ax;
mgt-2.31/mou.c-224-
mgt-2.31/mou.c-225-  /* Program the Graphics Controller */
mgt-2.31/mou.c:226:  asm mov dx, 3ceh; /* Graphics Controller port address */
mgt-2.31/mou.c:227:  asm mov ax, 0204h; /* Select map 2 for CPU reads */
mgt-2.31/mou.c:228:  asm out dx, ax;
mgt-2.31/mou.c:229:  asm mov ax, 0005h; /* Disable odd-even addressing */
mgt-2.31/mou.c:230:  asm out dx, ax;
mgt-2.31/mou.c:231:  asm mov ax, 0406h; /* Map starts at A000:0000 (64K mode) */
mgt-2.31/mou.c:232:  asm out dx, ax;
mgt-2.31/mou.c:233:  asm popf;
mgt-2.31/mou.c-234-
##############################################
mgt-2.31/mou.c-273-
mgt-2.31/mou.c:274:  asm mov dx, 3c4h; /* Sequencer port address */
mgt-2.31/mou.c:275:  asm mov ax, 0402h; /* CPU writes only to map 2 */
mgt-2.31/mou.c:276:  asm out dx, ax;
mgt-2.31/mou.c-277-
##############################################
mgt-2.31/mou.c-293-  /* Program the Sequencer */
mgt-2.31/mou.c:294:  asm pushf; /* Disable interrupts */
mgt-2.31/mou.c:295:  asm cli;
mgt-2.31/mou.c:296:  asm mov dx, 3c4h; /* Sequencer port address */
mgt-2.31/mou.c:297:  asm mov ax, 0302h; /* CPU writes to maps 0 and 1 */
mgt-2.31/mou.c:298:  asm out dx, ax;
mgt-2.31/mou.c:299:  asm mov ax, 0304h; /* Odd-even addressing */
mgt-2.31/mou.c:300:  asm out dx, ax;
mgt-2.31/mou.c-301-
mgt-2.31/mou.c-302-  /* Program the Graphics Controller */
mgt-2.31/mou.c:303:  asm mov dx, 3ceh; /* Graphics Controller port address */
mgt-2.31/mou.c:304:  asm mov ax, 0004h; /* Select map 0 for CPU reads */
mgt-2.31/mou.c:305:  asm out dx, ax;
mgt-2.31/mou.c:306:  asm mov ax, 1005h; /* Enable odd-even addressing */
mgt-2.31/mou.c:307:  asm out dx, ax;
mgt-2.31/mou.c:308:  asm sub ax, ax;
mgt-2.31/mou.c:309:  asm mov es, ax; /* Segment 0 */
mgt-2.31/mou.c:310:  asm mov ax, 0e06h; /* Map starts at B800:0000 */
mgt-2.31/mou.c:311:  asm mov bl, 7;
mgt-2.31/mou.c:312:  asm cmp es:[49h], bl; /* Get current video mode */
mgt-2.31/mou.c:313:  asm jne notmono;
mgt-2.31/mou.c:314:  asm mov ax, 0806h; /* Map starts at B000:0000 */
mgt-2.31/mou.c-315-notmono:
mgt-2.31/mou.c:316:  asm out dx, ax;
mgt-2.31/mou.c:317:  asm popf;
mgt-2.31/mou.c-318-
##############################################
mgt-2.31/mou.c-331-{
mgt-2.31/mou.c:332:  asm mov ax, 1a00h; /* ROM BIOS video function 1ah -- Read Display Code */
mgt-2.31/mou.c:333:  asm int 10h;
mgt-2.31/mou.c:334:  asm cmp ah, 1ah; /* Is this call supported? */
mgt-2.31/mou.c:335:  asm je checkega; /* Not supported */
mgt-2.31/mou.c:336:  asm cmp bl, 7; /* VGA w/monochrome display? */
mgt-2.31/mou.c:337:  asm je isvga; /* Yup. */
mgt-2.31/mou.c:338:  asm cmp bl, 8; /* VGA w/color display? */
mgt-2.31/mou.c:339:  asm jne checkega; /* Nope */
mgt-2.31/mou.c-340-isvga:
##############################################
mgt-2.31/mou.c-344-checkega:
mgt-2.31/mou.c:345:  asm mov ah, 12h; /* EGA BIOS function */
mgt-2.31/mou.c:346:  asm mov bl, 10h;
mgt-2.31/mou.c:347:  asm int 10h;
mgt-2.31/mou.c:348:  asm cmp bl, 10h; /* Is EGA BIOS present? */
mgt-2.31/mou.c:349:  asm jne isega; /* There is an EGA in the system. */
mgt-2.31/mou.c-350-  return FALSE; /* Not EGA or VGA in system. */
##############################################
mgt-2.31/mou.c-366-  /* Get our data segment */
mgt-2.31/mou.c:367:  asm push ds
mgt-2.31/mou.c-368-#ifdef __TURBOC__
mgt-2.31/mou.c:369:  asm push ax
mgt-2.31/mou.c:370:  asm mov ax, DGROUP
mgt-2.31/mou.c:371:  asm mov ds, ax
mgt-2.31/mou.c:372:  asm pop ax
mgt-2.31/mou.c-373-#else
mgt-2.31/mou.c:374:  asm mov ds, cs:DGroupSeg
mgt-2.31/mou.c-375-#endif
mgt-2.31/mou.c-376-
mgt-2.31/mou.c:377:  asm mov conditionmask,ax
mgt-2.31/mou.c-378-
##############################################
mgt-2.31/mou.c-380-    /* save mouse info passed to us from driver */
mgt-2.31/mou.c:381:    asm mov mousex, cx
mgt-2.31/mou.c:382:    asm mov mousey, dx
mgt-2.31/mou.c:383:    asm mov mousepx, cx
mgt-2.31/mou.c:384:    asm mov mousepy, dx
mgt-2.31/mou.c-385-
##############################################
mgt-2.31/mou.c-410-          oldword = PEEKATTRIB(mousex, mousey);
mgt-2.31/mou.c:411:	  asm mov ax, oldword;	/* Prepare to rotate attrib byte */
mgt-2.31/mou.c:412:          asm and al, 0f7h; /* Clear high bit */
mgt-2.31/mou.c:413:          asm mov cl, 4   /* We want to rotate 4 bits */
mgt-2.31/mou.c:414:          asm rol al, cl  /* Rotate it */
mgt-2.31/mou.c:415:	  asm mov newword, ax;
mgt-2.31/mou.c-416-
##############################################
mgt-2.31/mou.c-443-
mgt-2.31/mou.c:444:  asm pop ds;
mgt-2.31/mou.c-445-}
##############################################
mgt-2.31/mou.c-458-#ifndef __TURBOC__
mgt-2.31/mou.c:459:  asm mov cs:DGroupSeg,ds   /* save for interrupt handler to use */
mgt-2.31/mou.c-460-#endif
mgt-2.31/mou.c-461-
mgt-2.31/mou.c:462:  asm sub ax,ax;    /* Mouse driver function 0 -- reset and detect */
mgt-2.31/mou.c:463:  asm int 33h
mgt-2.31/mou.c:464:  asm mov mouseinstalled, AX;
mgt-2.31/mou.c-465-
##############################################
mgt-2.31/mou.c-469-
mgt-2.31/mou.c:470:    asm mov ax,0F00h;
mgt-2.31/mou.c:471:    asm int 10h;
mgt-2.31/mou.c:472:    asm mov v,al;
mgt-2.31/mou.c-473-
##############################################
mgt-2.31/mou.c-493-
mgt-2.31/mou.c:494:    asm mov ax, 2b01h;
mgt-2.31/mou.c:495:    asm mov cx, 4445h;
mgt-2.31/mou.c:496:    asm mov dx, 5351h;
mgt-2.31/mou.c:497:    asm int 21h;
mgt-2.31/mou.c-498-
mgt-2.31/mou.c:499:    asm cmp al, 0ffh;
mgt-2.31/mou.c:500:    asm je notdv;
mgt-2.31/mou.c-501-
##############################################
mgt-2.31/mou.c-524-      /* Reset driver for change in video mode to take effect. */
mgt-2.31/mou.c:525:      asm sub ax,ax
mgt-2.31/mou.c:526:      asm int 33h
mgt-2.31/mou.c-527-
##############################################
mgt-2.31/mou.c-537-
mgt-2.31/mou.c:538:    asm mov dx,maxx     /* Pixels horizontally */
mgt-2.31/mou.c:539:    asm mov ax,7        /* mouse driver function 7 -- set max x range */
mgt-2.31/mou.c:540:    asm sub cx,cx       /* Minimum range */
mgt-2.31/mou.c:541:    asm int 33h
mgt-2.31/mou.c-542-
mgt-2.31/mou.c:543:    asm mov dx,maxy     /* Pixels veritcally */
mgt-2.31/mou.c:544:    asm mov ax,8        /* mouse driver function 8 -- set max y range */
mgt-2.31/mou.c:545:    asm sub cx,cx       /* Minimum range */
mgt-2.31/mou.c:546:    asm int 33h
mgt-2.31/mou.c-547-
##############################################
mgt-2.31/mou.c-549-
mgt-2.31/mou.c:550:    asm mov ax,cs
mgt-2.31/mou.c:551:    asm mov es,ax
mgt-2.31/mou.c:552:    asm mov dx, offset mousehandler
mgt-2.31/mou.c-553-    /* Setup up bits for calling routine */
##############################################
mgt-2.31/mou.c-557-#else
mgt-2.31/mou.c:558:    asm mov cx, LEFTBPRESS | LEFTBRELEASE | RIGHTBPRESS | RIGHTBRELEASE | MIDBPRESS | MIDBRELEASE | MOUSEMOVE;
mgt-2.31/mou.c-559-#endif
mgt-2.31/mou.c:560:    asm mov ax,12       /* Function 12 -- set user routine */
mgt-2.31/mou.c:561:    asm int 33h
mgt-2.31/mou.c-562-
mgt-2.31/mou.c-563-    mousex = mousey = mousepx = mousepy = 0;
mgt-2.31/mou.c:564:    asm mov cx,mousepx	 /* xcoord */
mgt-2.31/mou.c:565:    asm mov dx,mousepy	 /* ycoord */
mgt-2.31/mou.c:566:    asm mov ax,4    /* mouse driver function 4 -- set mouse position */
mgt-2.31/mou.c:567:    asm int 33h
mgt-2.31/mou.c-568-
##############################################
mgt-2.31/mou.c-642-    oldword = PEEKATTRIB(mousex, mousey);
mgt-2.31/mou.c:643:    asm mov ax, oldword;  /* Prepare to rotate attrib byte */
mgt-2.31/mou.c:644:    asm and al, 0f7h; /* Clear high bit */
mgt-2.31/mou.c:645:    asm mov cl, 4   /* We want to rotate 4 bits */
mgt-2.31/mou.c:646:    asm rol al, cl  /* Rotate it */
mgt-2.31/mou.c:647:    asm mov newword, ax;
mgt-2.31/mou.c-648-
##############################################
mgt-2.31/mou.c-728-
mgt-2.31/mou.c:729:  asm sub ax,ax
mgt-2.31/mou.c:730:  asm int 33h
mgt-2.31/mou.c-731-}
##############################################
mgt-2.31/mou.c-745-
mgt-2.31/mou.c:746:  asm mov ax,3
mgt-2.31/mou.c:747:  asm int 33h
mgt-2.31/mou.c:748:  asm mov buts,bx
mgt-2.31/mou.c-749-  return buts;
##############################################
mgt-2.31/mou.c-813-  mousepy = mousey * points;
mgt-2.31/mou.c:814:  asm mov cx, mousepx	/* xcoord */
mgt-2.31/mou.c:815:  asm mov dx, mousepy	/* ycoord */
mgt-2.31/mou.c:816:  asm mov ax, 4 	/* mouse driver function 4 -- set mouse position */
mgt-2.31/mou.c:817:  asm int 33h
mgt-2.31/mou.c-818-
##############################################
mgt-2.31/mailgo-65-       then
mgt-2.31/mailgo:66:         name=`sed -n '2,5s/TO: //p' $2`
mgt-2.31/mailgo:67:         hisfile=`sed -n '2,5s/TOFILE: //p' $2`
mgt-2.31/mailgo-68-         echo Remailing response to $name, $hisfile
##############################################
mgt-2.31/mailgo-92-       fi
mgt-2.31/mailgo:93:       opponent=`sed -n '2,5s/TO: //p' MailGo$$`
mgt-2.31/mailgo-94-       echo To address: $opponent
##############################################
mgt-2.31/mailgo-100-       fi
mgt-2.31/mailgo:101:       hisfile=`sed -n '2,5s/TOFILE: //p' MailGo$$`
mgt-2.31/mailgo-102-       echo To game file: $hisfile
##############################################
mgt-2.31/mailgo-108-       fi
mgt-2.31/mailgo:109:       me=`sed -n '2,5s/FROM: //p' MailGo$$`
mgt-2.31/mailgo-110-       echo From address: $me
##############################################
mgt-2.31/mailgo-116-       fi
mgt-2.31/mailgo:117:       myfile=`sed -n '2,5s/FROMFILE: //p' MailGo$$`
mgt-2.31/mailgo-118-       echo From game file: $myfile
##############################################
mgt-2.31/mailgo-126-       then
mgt-2.31/mailgo:127:         format=`sed -n '6,7s/FORMAT: //p' MailGo$$`
mgt-2.31/mailgo-128-         if [ ! \( $format = 'L' -o $format = 'E' \) ] 
##############################################
mgt-2.31/mailgo-215-         fi
mgt-2.31/mailgo:216:         opponent=`sed -n '2,5s/TO: //p' $2`
mgt-2.31/mailgo-217-         echo Opponent address: $opponent
mgt-2.31/mailgo:218:         hisfile=`sed -n '2,5s/TOFILE: //p' $2`
mgt-2.31/mailgo-219-         echo His game file: $hisfile
mgt-2.31/mailgo:220:         me=`sed -n '2,5s/FROM: //p' $2`
mgt-2.31/mailgo-221-         echo Your address: $me
mgt-2.31/mailgo:222:         myfile=`sed -n '2,5s/FROMFILE: //p' $2`
mgt-2.31/mailgo-223-         echo Your game file: $myfile
##############################################
mgt-2.31/mailgo-258-       esac
mgt-2.31/mailgo:259:       started=`date|awk '{print $3, $2, $6}'`
mgt-2.31/mailgo-260-       if grep "W\[\]" $myfile >/dev/null 2>&1  
##############################################
mgt-2.31/mailgo-286-White: $wpname, $wprank
mgt-2.31/mailgo:287:`if [ "$handicap" ] ; then echo "Handicap: $handicap" ; fi`
mgt-2.31/mailgo:288:`if [ "$komi" ] ; then echo "Komi: $komi" ; fi`
mgt-2.31/mailgo-289-Started: $started]
##############################################
mgt-2.31/mailgo-293-WR[$wprank]
mgt-2.31/mailgo:294:`if [ "$komi" ] ; then echo KoMi[$komi] ; fi`
mgt-2.31/mailgo-295-DT[$started]
##############################################
mgt-2.31/mou.h-50-  #define FAST _fastcall  /* for fast calling of functions -- MicroSoft C 6.0 */
mgt-2.31/mou.h:51:  #define asm _asm
mgt-2.31/mou.h-52-#endif