Comparing orig\cmd.exe and cmd.exe
; cmd.exe 19.06.2003 12:05:04 {236304} MD5 4c6529a9b2976145e49f9fa035f79921
; cmd.exe                     {236304} MD5 80c0228f2dbc5d5170f2c3a43bacbfc3
;
; Patch to run cmd.exe v5.0.2195.6656 under Win98SE + KernelEx 4.5.2
;
00000130:     A8        AE    ;PE checksum
00000131:     49  I      BE  
00000132:     04         03
;
; Simulate 2 calls to GetVDMCurrentDirectories() failed (EAX = 0)
00006702:     E8        58  X  ;pop eax
00006703:     1D         58  X  ;pop eax
00006704:     33  3      31  1  ;xor eax,eax
00006705:     01         C0    ;
00006706:     00         90    ;nop
;
00006724:     E8        58  X  ;pop eax
00006725:     FB        58  X  ;pop eax
00006726:     32  2      31  1  ;xor eax,eax
00006727:     01         C0    ;
00006728:     00         90    ;nop
;
; Replace BOOL CmdBatNotification(BOOL bBatchRunning)
; with DWORD GetPriorityClass(HANDLE hProcess)
; which does nothing when called
0001A516:     43  C      47  G
0001A517:     6D  m      65  e
0001A518:     64  d      74  t
0001A519:     42  B      50  P
0001A51A:     61  a      72  r
0001A51B:     74  t      69  i
0001A51C:     4E  N      6F  o
0001A51D:     6F  o      72  r
0001A51E:     74  t      69  i
0001A51F:     69  i      74  t
0001A520:     66  f      79  y
0001A521:     69  i      43  C
0001A522:     63  c      6C  l
0001A524:     74  t      73  s
0001A525:     69  i      73  s
0001A526:     6F  o      00
0001A527:     6E  n      00
;
; Replace undocumented DWORD GetVMDCurrentDirectories(DWORD, LPWSTR?)
; with something, and removed all calls to it
0001A879:     56  V      50  P
0001A87A:     44  D      72  r
0001A87B:     4D  M      6F  o
0001A87C:     43  C      63  c
0001A87D:     75  u      65  e
0001A87E:     72  r      73  s
0001A87F:     72  r      73  s
0001A880:     65  e      50  P
0001A881:     6E  n      72  r
0001A882:     74  t      69  i
0001A883:     44  D      6F  o
0001A884:     69  i      72  r
0001A885:     72  r      69  i
0001A886:     65  e      74  t
0001A887:     63  c      79  y
0001A888:     74  t      42  B
0001A88A:     72  r      6F  o
0001A88B:     69  i      73  s
0001A88C:     65  e      74  t
0001A88D:     73  s      00
Mismatches found in 236304 bytes: 50

