-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
vmm_patch_me2.h
48 lines (41 loc) · 2.64 KB
/
vmm_patch_me2.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/****** Generated by vmm/makepatch.c ******/
/****** changes may be lost ******/
#ifndef __VMM_PATCH_ME2_H__INCLUDED__
#define __VMM_PATCH_ME2_H__INCLUDED__
/* original data for search */
const uint8_t vmm_patch_me2_orig[] = {
0x8B, 0x54, 0x24, 0x04, 0x56, 0x57, 0x8B, 0x4A, 0x04, 0x8B, 0x32, 0x8B, 0x41, 0x04, 0xA9, 0x00,
0x00, 0x00, 0x08, 0x74, 0x20, 0x8B, 0x16, 0x25, 0xFF, 0xFF, 0xFF, 0x07, 0x29, 0xC2, 0x51, 0x89,
0x16, 0xE8, 0x14, 0x15, 0x00, 0x00, 0xC7, 0x86, 0xD8, 0x04, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF,
0x5F, 0x5E, 0xC2, 0x04, 0x00, 0x8B, 0x7E, 0x08, 0x25, 0xFF, 0xFF, 0xFF, 0x07, 0x01, 0xC7, 0x3D,
0xC0, 0x12, 0x00, 0x00, 0x89, 0x7E, 0x08, 0x77, 0x32, 0x8B, 0x79, 0x08, 0x53, 0x8B, 0x1D, 0x00,
0x00, 0x00, 0x00, 0x81, 0xE7, 0x00, 0x00, 0xC0, 0xFF, 0x39, 0xDF, 0x5B, 0x74, 0x1D, 0x48, 0x5F,
0xC1, 0xE8, 0x04, 0x8B, 0x54, 0x86, 0x18, 0x89, 0x11, 0x89, 0x4C, 0x86, 0x18, 0xC7, 0x86, 0xD8,
0x04, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x5E, 0xC2, 0x04, 0x00, 0x6A, 0x00, 0x52, 0xE8, 0x3D,
0x05, 0x00, 0x00, 0xC7, 0x86, 0xD8, 0x04, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0x5E, 0xC2,
0x04, 0x00, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90, 0x90,
};
/* bitmap of bytes to check */
const uint8_t vmm_patch_me2_orig_check[] = {
0xFF, 0xFF, 0xFF, 0xF3, 0xC3, 0xFF, 0xFF, 0xF9, 0xFF, 0xFE, 0x1F, 0x9F, 0xFF, 0xFF, 0xFF, 0xFE,
0x1F, 0xFF, 0xFF, 0xFF,
};
/* new data to replace */
const uint8_t vmm_patch_me2[] = {
0x8B, 0x54, 0x24, 0x04, 0x56, 0x57, 0x8B, 0x4A, 0x04, 0x8B, 0x32, 0x8B, 0x41, 0x04, 0xA9, 0x00,
0x00, 0x00, 0x08, 0x74, 0x20, 0x8B, 0x16, 0x25, 0xFF, 0xFF, 0xFF, 0x07, 0x29, 0xC2, 0x51, 0x89,
0x16, 0xE8, 0x14, 0x15, 0x00, 0x00, 0xC7, 0x86, 0xD8, 0x04, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF,
0x5F, 0x5E, 0xC2, 0x04, 0x00, 0x8B, 0x7E, 0x08, 0x25, 0xFF, 0xFF, 0xFF, 0x07, 0x01, 0xC7, 0x3D,
0xC0, 0x12, 0x00, 0x00, 0x89, 0x7E, 0x08, 0x77, 0x32, 0x8B, 0x79, 0x08, 0x53, 0x8B, 0x1D, 0x00,
0x00, 0x00, 0x00, 0x81, 0xE7, 0x00, 0x00, 0xC0, 0xFF, 0x39, 0xDF, 0x5B, 0x74, 0x1D, 0x48, 0x5F,
0xC1, 0xE8, 0x04, 0x8B, 0x54, 0x86, 0x18, 0x89, 0x11, 0x89, 0x4C, 0x86, 0x18, 0xC7, 0x86, 0xD8,
0x04, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x5E, 0xC2, 0x04, 0x00, 0x6A, 0x00, 0x52, 0xE8, 0x3D,
0x05, 0x00, 0x00, 0xC7, 0x86, 0xD8, 0x04, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x5F, 0xEB, 0xE7,
0xB9, 0x00, 0x04, 0x00, 0x00, 0x8B, 0x78, 0x10, 0x50, 0xF3, 0xA5, 0xE9, 0xEB, 0xC1, 0xFF, 0xFF,
};
/* bitmap of modify bytes */
const uint8_t vmm_patch_me2_modif[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x03, 0xBF, 0xFF,
};
#endif /* __VMM_PATCH_ME2_H__INCLUDED__ */