home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Microsoft Windows Dynamic Link Library
(executable/dll).
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 4d 5a 90 00 03 00 00 00 | 04 00 00 00 ff ff 00 00 |MZ......|........|
|00000010| b8 00 00 00 00 00 00 00 | 40 00 00 00 00 00 00 00 |........|@.......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 f8 00 00 00 |........|........|
|00000040| 0e 1f ba 0e 00 b4 09 cd | 21 b8 01 4c cd 21 54 68 |........|!..L.!Th|
|00000050| 69 73 20 70 72 6f 67 72 | 61 6d 20 63 61 6e 6e 6f |is progr|am canno|
|00000060| 74 20 62 65 20 72 75 6e | 20 69 6e 20 44 4f 53 20 |t be run| in DOS |
|00000070| 6d 6f 64 65 2e 0d 0d 0a | 24 00 00 00 00 00 00 00 |mode....|$.......|
|00000080| 4f 67 ee cd 0b 06 80 9e | 0b 06 80 9e 0b 06 80 9e |Og......|........|
|00000090| 2c c0 fd 9e 05 06 80 9e | 0b 06 81 9e 88 06 80 9e |,.......|........|
|000000a0| 2c c0 fb 9e 0c 06 80 9e | 2c c0 ed 9e 4b 06 80 9e |,.......|,...K...|
|000000b0| 2c c0 fa 9e 0a 06 80 9e | 2c c0 fe 9e 0a 06 80 9e |,.......|,.......|
|000000c0| 2c c0 ee 9e bf 06 80 9e | 2c c0 fc 9e 0a 06 80 9e |,.......|,.......|
|000000d0| 2c c0 f8 9e 0a 06 80 9e | 52 69 63 68 0b 06 80 9e |,.......|Rich....|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 50 45 00 00 4c 01 04 00 |........|PE..L...|
|00000100| 39 a7 91 47 00 00 00 00 | 00 00 00 00 e0 00 02 21 |9..G....|.......!|
|00000110| 0b 01 08 00 00 74 04 00 | 00 34 00 00 00 00 00 00 |.....t..|.4......|
|00000120| e2 17 04 00 00 10 00 00 | 00 90 04 00 00 00 e2 1b |........|........|
|00000130| 00 10 00 00 00 02 00 00 | 06 00 00 00 06 00 00 00 |........|........|
|00000140| 05 00 00 00 00 00 00 00 | 00 e0 04 00 00 04 00 00 |........|........|
|00000150| e0 64 05 00 03 00 40 01 | 00 00 04 00 00 10 00 00 |.d....@.|........|
|00000160| 00 00 10 00 00 10 00 00 | 00 00 00 00 10 00 00 00 |........|........|
|00000170| f0 81 04 00 ae 01 00 00 | d4 7b 04 00 50 00 00 00 |........|.{..P...|
|00000180| 00 a0 04 00 00 04 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 b0 04 00 50 1d 00 00 |........|....P...|
|000001a0| 30 11 00 00 1c 00 00 00 | 00 00 00 00 00 00 00 00 |0.......|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| f0 02 01 00 40 00 00 00 | 90 02 00 00 60 00 00 00 |....@...|....`...|
|000001d0| 00 10 00 00 10 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 2e 74 65 78 74 00 00 00 | 9e 73 04 00 00 10 00 00 |.text...|.s......|
|00000200| 00 74 04 00 00 04 00 00 | 00 00 00 00 00 00 00 00 |.t......|........|
|00000210| 00 00 00 00 20 00 00 60 | 2e 64 61 74 61 00 00 00 |.... ..`|.data...|
|00000220| 5c 07 00 00 00 90 04 00 | 00 04 00 00 00 78 04 00 |\.......|.....x..|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 40 00 00 c0 |........|....@...|
|00000240| 2e 72 73 72 63 00 00 00 | 00 04 00 00 00 a0 04 00 |.rsrc...|........|
|00000250| 00 04 00 00 00 7c 04 00 | 00 00 00 00 00 00 00 00 |.....|..|........|
|00000260| 00 00 00 00 40 00 00 40 | 2e 72 65 6c 6f 63 00 00 |....@..@|.reloc..|
|00000270| a0 27 00 00 00 b0 04 00 | 00 28 00 00 00 80 04 00 |.'......|.(......|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 40 00 00 42 |........|....@..B|
|00000290| 27 a7 91 47 30 00 00 00 | 6d a7 91 47 3b 00 01 00 |'..G0...|m..G;...|
|000002a0| a6 a7 91 47 48 00 00 00 | 4b a6 91 47 52 00 01 00 |...GH...|K..GR...|
|000002b0| a6 a7 91 47 48 00 00 00 | 00 00 00 00 00 00 00 00 |...GH...|........|
|000002c0| 6d 73 76 63 72 74 2e 64 | 6c 6c 00 4b 45 52 4e 45 |msvcrt.d|ll.KERNE|
|000002d0| 4c 33 32 2e 64 6c 6c 00 | 4e 54 44 4c 4c 2e 44 4c |L32.dll.|NTDLL.DL|
|000002e0| 4c 00 41 44 56 41 50 49 | 33 32 2e 64 6c 6c 00 00 |L.ADVAPI|32.dll..|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 21 dd f3 77 6e 5f c9 77 | 7d 6a ef 77 d7 64 ef 77 |!..wn_.w|}j.w.d.w|
|00000410| 87 7d ee 77 ea 7d ee 77 | 1a 7e ee 77 da 52 ca 77 |.}.w.}.w|.~.w.R.w|
|00000420| ec e5 c9 77 a1 e6 c9 77 | 9c ec c9 77 29 3f c9 77 |...w...w|...w)?.w|
|00000430| 74 b6 ca 77 00 00 00 00 | 2d 6e e1 77 89 f3 e8 77 |t..w....|-n.w...w|
|00000440| 0d b8 e3 77 ef 18 df 77 | c0 18 df 77 e1 c5 e3 77 |...w...w|...w...w|
|00000450| 4c c5 e3 77 c6 c0 e3 77 | af c5 e3 77 7d d2 f0 77 |L..w...w|...w}..w|
|00000460| fc bd e3 77 6b 1c df 77 | e8 bd e3 77 05 07 f1 77 |...wk..w|...w...w|
|00000470| 06 c9 e3 77 fc 7f e0 77 | a6 8b e3 77 59 c9 e1 77 |...w...w|...wY..w|
|00000480| f8 03 e3 77 8c 29 f1 77 | 95 80 e0 77 4e cc e3 77 |...w.).w|...wN..w|
|00000490| 71 cf e3 77 f8 a7 e0 77 | 05 cc e3 77 40 18 df 77 |q..w...w|...w@..w|
|000004a0| d9 bc e3 77 69 94 e1 77 | ae c6 e3 77 9f 2f f1 77 |...wi..w|...w./.w|
|000004b0| 7b c5 e3 77 c0 7d f1 77 | f8 08 e3 77 80 7d f1 77 |{..w.}.w|...w.}.w|
|000004c0| b6 b8 e3 77 a6 58 f3 77 | 5b c5 e3 77 e9 4d e3 77 |...w.X.w|[..w.M.w|
|000004d0| 00 00 00 00 9e 3a cb 6f | 8b 6c cb 6f b4 18 d0 6f |.....:.o|.l.o...o|
|000004e0| 25 9d cc 6f 19 c4 c6 6f | 66 3a cc 6f 8e 9f c6 6f |%..o...o|f:.o...o|
|000004f0| 60 98 c6 6f a1 51 cc 6f | e0 98 c6 6f c4 40 c8 6f |`..o.Q.o|...o.@.o|
|00000500| ad 9d c6 6f 32 9d c6 6f | 61 46 c8 6f 00 00 00 00 |...o2..o|aF.o....|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 c1 13 e6 1b |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 e1 8b 91 47 | 00 00 00 00 02 00 00 00 |.......G|........|
|00000540| 24 00 00 00 38 03 01 00 | 38 f7 00 00 3e 13 e4 1b |$...8...|8...>...|
|00000550| 32 1f e3 1b 4b 1e e3 1b | ef 41 e3 1b e5 3e e3 1b |2...K...|.A...>..|
|00000560| 1c 3f e3 1b 3e 13 e4 1b | c2 44 e3 1b 17 43 e3 1b |.?..>...|.D...C..|
|00000570| 37 43 e3 1b 41 70 70 6c | 79 50 61 74 63 68 54 6f |7C..Appl|yPatchTo|
|00000580| 46 69 6c 65 42 79 42 75 | 66 66 65 72 73 00 00 00 |FileByBu|ffers...|
|00000590| 54 65 73 74 41 70 70 6c | 79 50 61 74 63 68 54 6f |TestAppl|yPatchTo|
|000005a0| 46 69 6c 65 42 79 42 75 | 66 66 65 72 73 00 00 00 |FileByBu|ffers...|
|000005b0| 6d 73 70 61 74 63 68 61 | 2e 64 6c 6c 00 00 00 00 |mspatcha|.dll....|
|000005c0| 43 72 65 61 74 65 50 61 | 74 63 68 00 4e 6f 72 6d |CreatePa|tch.Norm|
|000005d0| 61 6c 69 7a 65 53 6f 75 | 72 63 65 00 43 61 6c 63 |alizeSou|rce.Calc|
|000005e0| 75 6c 61 74 65 4e 6f 72 | 6d 61 6c 69 7a 65 64 53 |ulateNor|malizedS|
|000005f0| 6f 75 72 63 65 48 61 73 | 68 00 00 00 43 61 6c 63 |ourceHas|h...Calc|
|00000600| 75 6c 61 74 65 48 61 73 | 68 00 00 00 41 70 70 6c |ulateHas|h...Appl|
|00000610| 79 50 61 74 63 68 00 00 | 41 70 70 6c 79 50 61 74 |yPatch..|ApplyPat|
|00000620| 63 68 54 61 72 67 65 74 | 42 75 66 66 65 72 50 72 |chTarget|BufferPr|
|00000630| 6f 76 69 64 65 64 00 00 | 53 70 6c 69 74 50 61 74 |ovided..|SplitPat|
|00000640| 63 68 48 65 61 64 65 72 | 00 00 00 00 50 41 31 39 |chHeader|....PA19|
|00000650| 00 00 00 00 9e 45 e3 1b | a4 1c e6 1b a4 1c e6 1b |.....E..|........|
|00000660| a4 1c e6 1b 9e 45 e3 1b | e4 e3 e3 1b 40 e4 e3 1b |.....E..|....@...|
|00000670| 75 e3 e3 1b 00 00 00 00 | 8e 5c e3 1b f0 9e e4 1b |u.......|.\......|
|00000680| f4 79 e3 1b f2 7a e3 1b | 1a 7a e3 1b a4 1c e6 1b |.y...z..|.z......|
|00000690| 1a 7a e3 1b 9d a1 e4 1b | f4 79 e3 1b 3e 7b e3 1b |.z......|.y..>{..|
|000006a0| 1a 7a e3 1b d9 a2 e4 1b | f4 79 e3 1b 8a 7b e3 1b |.z......|.y...{..|
|000006b0| 1a 7a e3 1b 1a a3 e4 1b | f4 79 e3 1b d6 7b e3 1b |.z......|.y...{..|
|000006c0| 1a 7a e3 1b 5d a3 e4 1b | f4 79 e3 1b 22 7c e3 1b |.z..]...|.y.."|..|
|000006d0| 1a 7a e3 1b ae a3 e4 1b | f4 79 e3 1b 6e 7c e3 1b |.z......|.y..n|..|
|000006e0| 1a 7a e3 1b ee a3 e4 1b | f4 79 e3 1b ba 7c e3 1b |.z......|.y...|..|
|000006f0| 1a 7a e3 1b 20 a4 e4 1b | 15 5f e3 1b 06 7d e3 1b |.z.. ...|._...}..|
|00000700| 41 5f e3 1b 1b a5 e4 1b | f4 79 e3 1b 55 7d e3 1b |A_......|.y..U}..|
|00000710| 1a 7a e3 1b 4c a8 e4 1b | f4 79 e3 1b a1 7d e3 1b |.z..L...|.y...}..|
|00000720| 1a 7a e3 1b cf a8 e4 1b | f4 79 e3 1b ed 7d e3 1b |.z......|.y...}..|
|00000730| 1a 7a e3 1b 6a a9 e4 1b | f4 79 e3 1b 39 7e e3 1b |.z..j...|.y..9~..|
|00000740| 1a 7a e3 1b 11 aa e4 1b | f4 79 e3 1b 85 7e e3 1b |.z......|.y...~..|
|00000750| 1a 7a e3 1b af aa e4 1b | f4 79 e3 1b d1 7e e3 1b |.z......|.y...~..|
|00000760| 1a 7a e3 1b 3e ab e4 1b | f4 79 e3 1b 1d 7f e3 1b |.z..>...|.y......|
|00000770| 1a 7a e3 1b eb ab e4 1b | f4 79 e3 1b 69 7f e3 1b |.z......|.y..i...|
|00000780| 1a 7a e3 1b 66 ac e4 1b | f4 79 e3 1b b5 7f e3 1b |.z..f...|.y......|
|00000790| 1a 7a e3 1b dd ac e4 1b | f4 79 e3 1b 01 80 e3 1b |.z......|.y......|
|000007a0| 1a 7a e3 1b 1f ad e4 1b | f4 79 e3 1b 4d 80 e3 1b |.z......|.y..M...|
|000007b0| 1a 7a e3 1b 60 ad e4 1b | f4 79 e3 1b 99 80 e3 1b |.z..`...|.y......|
|000007c0| 1a 7a e3 1b a0 ad e4 1b | f4 79 e3 1b e5 80 e3 1b |.z......|.y......|
|000007d0| 1a 7a e3 1b f0 ad e4 1b | f4 79 e3 1b 31 81 e3 1b |.z......|.y..1...|
|000007e0| 1a 7a e3 1b 65 ae e4 1b | f4 79 e3 1b 7d 81 e3 1b |.z..e...|.y..}...|
|000007f0| 1a 7a e3 1b fc ae e4 1b | f4 79 e3 1b c9 81 e3 1b |.z......|.y......|
|00000800| 1a 7a e3 1b 87 af e4 1b | f4 79 e3 1b 15 82 e3 1b |.z......|.y......|
|00000810| 1a 7a e3 1b 20 b0 e4 1b | f4 79 e3 1b 61 82 e3 1b |.z.. ...|.y..a...|
|00000820| 1a 7a e3 1b 98 b0 e4 1b | f4 79 e3 1b ad 82 e3 1b |.z......|.y......|
|00000830| 1a 7a e3 1b bc b0 e4 1b | f4 79 e3 1b 54 79 e3 1b |.z......|.y..Ty..|
|00000840| f4 79 e3 1b f9 82 e3 1b | 1a 7a e3 1b eb b0 e4 1b |.y......|.z......|
|00000850| f4 79 e3 1b 45 83 e3 1b | 1a 7a e3 1b 08 b1 e4 1b |.y..E...|.z......|
|00000860| f4 79 e3 1b 91 83 e3 1b | 1a 7a e3 1b 34 b1 e4 1b |.y......|.z..4...|
|00000870| f4 79 e3 1b dd 83 e3 1b | 1a 7a e3 1b 60 b1 e4 1b |.y......|.z..`...|
|00000880| f4 79 e3 1b 29 84 e3 1b | 1a 7a e3 1b b9 b1 e4 1b |.y..)...|.z......|
|00000890| f4 79 e3 1b 75 84 e3 1b | 1a 7a e3 1b d8 b6 e4 1b |.y..u...|.z......|
|000008a0| f4 79 e3 1b c1 84 e3 1b | 1a 7a e3 1b 9c bd e4 1b |.y......|.z......|
|000008b0| f4 79 e3 1b 0d 85 e3 1b | 1a 7a e3 1b dc bd e4 1b |.y......|.z......|
|000008c0| f4 79 e3 1b 59 85 e3 1b | 3f 69 e3 1b 36 c0 e4 1b |.y..Y...|?i..6...|
|000008d0| f4 79 e3 1b ab 85 e3 1b | 1a 7a e3 1b 1a c9 e4 1b |.y......|.z......|
|000008e0| f4 79 e3 1b f7 85 e3 1b | 1a 7a e3 1b 9a c9 e4 1b |.y......|.z......|
|000008f0| f4 79 e3 1b 43 86 e3 1b | 1a 7a e3 1b ec c9 e4 1b |.y..C...|.z......|
|00000900| f4 79 e3 1b 8f 86 e3 1b | f4 79 e3 1b d5 86 e3 1b |.y......|.y......|
|00000910| 1a 7a e3 1b 73 cb e4 1b | f4 79 e3 1b 21 87 e3 1b |.z..s...|.y..!...|
|00000920| 1a 7a e3 1b 41 cd e4 1b | f4 79 e3 1b 6d 87 e3 1b |.z..A...|.y..m...|
|00000930| 1a 7a e3 1b 66 ce e4 1b | f4 79 e3 1b b9 87 e3 1b |.z..f...|.y......|
|00000940| 1a 7a e3 1b f3 ce e4 1b | f4 79 e3 1b 05 88 e3 1b |.z......|.y......|
|00000950| 1a 7a e3 1b 57 cf e4 1b | f4 79 e3 1b 51 88 e3 1b |.z..W...|.y..Q...|
|00000960| 1a 7a e3 1b c6 cf e4 1b | f4 79 e3 1b 9d 88 e3 1b |.z......|.y......|
|00000970| 1a 7a e3 1b 3f d0 e4 1b | f4 79 e3 1b e9 88 e3 1b |.z..?...|.y......|
|00000980| 1a 7a e3 1b 45 d1 e4 1b | 9c d5 e4 1b f4 79 e3 1b |.z..E...|.....y..|
|00000990| 35 89 e3 1b 1a 7a e3 1b | 45 d1 e4 1b e6 d7 e4 1b |5....z..|E.......|
|000009a0| f4 79 e3 1b 81 89 e3 1b | 1a 7a e3 1b 45 d1 e4 1b |.y......|.z..E...|
|000009b0| ae 7c e5 1b f4 79 e3 1b | cd 89 e3 1b 1a 7a e3 1b |.|...y..|.....z..|
|000009c0| 45 d1 e4 1b d7 dd e4 1b | f4 79 e3 1b 19 8a e3 1b |E.......|.y......|
|000009d0| 1a 7a e3 1b 45 d1 e4 1b | 41 e3 e4 1b f4 79 e3 1b |.z..E...|A....y..|
|000009e0| 65 8a e3 1b 1a 7a e3 1b | 45 d1 e4 1b 27 e6 e4 1b |e....z..|E...'...|
|000009f0| f4 79 e3 1b b1 8a e3 1b | 1a 7a e3 1b 6e e6 e4 1b |.y......|.z..n...|
|00000a00| f4 79 e3 1b fd 8a e3 1b | 1a 7a e3 1b c7 e6 e4 1b |.y......|.z......|
|00000a10| f4 79 e3 1b 49 8b e3 1b | 1a 7a e3 1b 9e e7 e4 1b |.y..I...|.z......|
|00000a20| f4 79 e3 1b 95 8b e3 1b | 1a 7a e3 1b f8 e7 e4 1b |.y......|.z......|
|00000a30| f4 79 e3 1b e1 8b e3 1b | 1a 7a e3 1b 32 e8 e4 1b |.y......|.z..2...|
|00000a40| f4 79 e3 1b 2d 8c e3 1b | 1a 7a e3 1b 6e ea e4 1b |.y..-...|.z..n...|
|00000a50| f4 79 e3 1b 79 8c e3 1b | 1a 7a e3 1b b7 ea e4 1b |.y..y...|.z......|
|00000a60| f4 79 e3 1b c5 8c e3 1b | 1a 7a e3 1b ee ea e4 1b |.y......|.z......|
|00000a70| f4 79 e3 1b 11 8d e3 1b | 1a 7a e3 1b 13 eb e4 1b |.y......|.z......|
|00000a80| f4 79 e3 1b 5d 8d e3 1b | 1a 7a e3 1b 38 eb e4 1b |.y..]...|.z..8...|
|00000a90| f4 79 e3 1b a9 8d e3 1b | 1a 7a e3 1b 79 eb e4 1b |.y......|.z..y...|
|00000aa0| f4 79 e3 1b f5 8d e3 1b | 1a 7a e3 1b 32 ec e4 1b |.y......|.z..2...|
|00000ab0| f4 79 e3 1b 41 8e e3 1b | 1a 7a e3 1b 73 ec e4 1b |.y..A...|.z..s...|
|00000ac0| f4 79 e3 1b 8d 8e e3 1b | 1a 7a e3 1b 96 ec e4 1b |.y......|.z......|
|00000ad0| f4 79 e3 1b d9 8e e3 1b | 1a 7a e3 1b 9b ed e4 1b |.y......|.z......|
|00000ae0| f4 79 e3 1b 25 8f e3 1b | 1a 7a e3 1b f7 ed e4 1b |.y..%...|.z......|
|00000af0| f4 79 e3 1b 71 8f e3 1b | 1a 7a e3 1b 5c ee e4 1b |.y..q...|.z..\...|
|00000b00| f4 79 e3 1b bd 8f e3 1b | 1a 7a e3 1b a5 ef e4 1b |.y......|.z......|
|00000b10| f4 79 e3 1b 09 90 e3 1b | 1a 7a e3 1b e3 ef e4 1b |.y......|.z......|
|00000b20| f4 79 e3 1b 55 90 e3 1b | 1a 7a e3 1b 4f f0 e4 1b |.y..U...|.z..O...|
|00000b30| f4 79 e3 1b a1 90 e3 1b | 1a 7a e3 1b 80 f0 e4 1b |.y......|.z......|
|00000b40| f4 79 e3 1b ed 90 e3 1b | 1a 7a e3 1b aa f0 e4 1b |.y......|.z......|
|00000b50| f4 79 e3 1b 39 91 e3 1b | 1a 7a e3 1b 73 f1 e4 1b |.y..9...|.z..s...|
|00000b60| f4 79 e3 1b a4 1c e6 1b | f4 79 e3 1b 85 91 e3 1b |.y......|.y......|
|00000b70| 1a 7a e3 1b aa f1 e4 1b | 6b f3 e4 1b f4 79 e3 1b |.z......|k....y..|
|00000b80| d1 91 e3 1b 1a 7a e3 1b | aa f1 e4 1b b4 f7 e4 1b |.....z..|........|
|00000b90| f4 79 e3 1b 1d 92 e3 1b | 1a 7a e3 1b aa f1 e4 1b |.y......|.z......|
|00000ba0| fb 01 e5 1b f4 79 e3 1b | 69 92 e3 1b 1a 7a e3 1b |.....y..|i....z..|
|00000bb0| 4b 02 e5 1b f4 79 e3 1b | b5 92 e3 1b 1a 7a e3 1b |K....y..|.....z..|
|00000bc0| aa f1 e4 1b 05 04 e5 1b | f4 79 e3 1b 01 93 e3 1b |........|.y......|
|00000bd0| 1a 7a e3 1b ae 0a e5 1b | f4 79 e3 1b 4d 93 e3 1b |.z......|.y..M...|
|00000be0| 1a 7a e3 1b aa f1 e4 1b | e2 0e e5 1b f4 79 e3 1b |.z......|.....y..|
|00000bf0| 99 93 e3 1b 1a 7a e3 1b | 2a 0f e5 1b f4 79 e3 1b |.....z..|*....y..|
|00000c00| e5 93 e3 1b 1a 7a e3 1b | cf 0f e5 1b f4 79 e3 1b |.....z..|.....y..|
|00000c10| 31 94 e3 1b 1a 7a e3 1b | 45 d1 e4 1b 2c 10 e5 1b |1....z..|E...,...|
|00000c20| f4 79 e3 1b 7d 94 e3 1b | 1a 7a e3 1b 45 d1 e4 1b |.y..}...|.z..E...|
|00000c30| c7 11 e5 1b f4 79 e3 1b | c9 94 e3 1b 1a 7a e3 1b |.....y..|.....z..|
|00000c40| e5 29 e5 1b f4 79 e3 1b | 15 95 e3 1b 1a 7a e3 1b |.)...y..|.....z..|
|00000c50| af 32 e5 1b f4 79 e3 1b | 61 95 e3 1b 1a 7a e3 1b |.2...y..|a....z..|
|00000c60| ee 34 e5 1b f4 79 e3 1b | ad 95 e3 1b 1a 7a e3 1b |.4...y..|.....z..|
|00000c70| 3f 35 e5 1b f4 79 e3 1b | f9 95 e3 1b 1a 7a e3 1b |?5...y..|.....z..|
|00000c80| 90 35 e5 1b f4 79 e3 1b | 45 96 e3 1b 1a 7a e3 1b |.5...y..|E....z..|
|00000c90| 45 d1 e4 1b bb 35 e5 1b | f4 79 e3 1b 91 96 e3 1b |E....5..|.y......|
|00000ca0| 1a 7a e3 1b 45 d1 e4 1b | 76 37 e5 1b f4 79 e3 1b |.z..E...|v7...y..|
|00000cb0| dd 96 e3 1b 1a 7a e3 1b | 3c 63 e5 1b f4 79 e3 1b |.....z..|<c...y..|
|00000cc0| 29 97 e3 1b 1a 7a e3 1b | b6 63 e5 1b f4 79 e3 1b |)....z..|.c...y..|
|00000cd0| 75 97 e3 1b 1a 7a e3 1b | 45 d1 e4 1b 2e 64 e5 1b |u....z..|E....d..|
|00000ce0| f4 79 e3 1b c1 97 e3 1b | 1a 7a e3 1b 45 d1 e4 1b |.y......|.z..E...|
|00000cf0| d0 65 e5 1b f4 79 e3 1b | 0d 98 e3 1b 1a 7a e3 1b |.e...y..|.....z..|
|00000d00| 45 d1 e4 1b 92 68 e5 1b | f4 79 e3 1b 59 98 e3 1b |E....h..|.y..Y...|
|00000d10| 1a 7a e3 1b 94 69 e5 1b | f4 79 e3 1b a5 98 e3 1b |.z...i..|.y......|
|00000d20| 1a 7a e3 1b 45 d1 e4 1b | 22 6b e5 1b f4 79 e3 1b |.z..E...|"k...y..|
|00000d30| f1 98 e3 1b 1a 7a e3 1b | 45 d1 e4 1b 4d 6d e5 1b |.....z..|E...Mm..|
|00000d40| ce 79 e3 1b a4 77 e5 1b | 76 65 72 73 69 6f 6e 28 |.y...w..|version(|
|00000d50| 20 43 6f 70 79 49 6e 74 | 20 29 3a 20 69 6e 70 75 | CopyInt| ): inpu|
|00000d60| 74 5b 20 30 20 5d 3b 68 | 61 73 68 41 6c 67 49 64 |t[ 0 ];h|ashAlgId|
|00000d70| 28 20 43 6f 70 79 49 6e | 74 20 29 3a 20 69 6e 70 |( CopyIn|t ): inp|
|00000d80| 75 74 5b 20 31 20 5d 3b | 73 6f 75 72 63 65 28 20 |ut[ 1 ];|source( |
|00000d90| 50 61 73 73 42 75 66 66 | 65 72 20 29 3a 20 69 6e |PassBuff|er ): in|
|00000da0| 70 75 74 5b 20 32 20 5d | 3b 66 6c 61 67 73 28 20 |put[ 2 ]|;flags( |
|00000db0| 43 6f 70 79 49 6e 74 20 | 29 3a 20 30 3b 6f 70 74 |CopyInt |): 0;opt|
|00000dc0| 69 6f 6e 73 28 20 50 61 | 73 73 42 75 66 66 65 72 |ions( Pa|ssBuffer|
|00000dd0| 20 29 3a 20 22 22 3b 6e | 6f 72 6d 61 6c 69 7a 65 | ): "";n|ormalize|
|00000de0| 64 28 20 4e 6f 72 6d 61 | 6c 69 7a 65 53 6f 75 72 |d( Norma|lizeSour|
|00000df0| 63 65 20 29 3a 20 76 65 | 72 73 69 6f 6e 5b 20 30 |ce ): ve|rsion[ 0|
|00000e00| 20 5d 2c 20 66 6c 61 67 | 73 5b 20 30 20 5d 2c 20 | ], flag|s[ 0 ], |
|00000e10| 6f 70 74 69 6f 6e 73 5b | 20 30 20 5d 2c 20 73 6f |options[| 0 ], so|
|00000e20| 75 72 63 65 5b 20 30 20 | 5d 3b 68 61 73 68 28 20 |urce[ 0 |];hash( |
|00000e30| 43 61 6c 63 75 6c 61 74 | 65 48 61 73 68 20 29 3a |Calculat|eHash ):|
|00000e40| 20 68 61 73 68 41 6c 67 | 49 64 5b 20 30 20 5d 2c | hashAlg|Id[ 0 ],|
|00000e50| 20 6e 6f 72 6d 61 6c 69 | 7a 65 64 5b 20 30 20 5d | normali|zed[ 0 ]|
|00000e60| 3b 6f 75 74 70 75 74 3a | 20 68 61 73 68 5b 20 30 |;output:| hash[ 0|
|00000e70| 20 5d 3b 00 00 00 00 00 | 66 69 6c 65 54 79 70 65 | ];.....|fileType|
|00000e80| 53 65 74 28 20 43 6f 70 | 79 49 6e 74 20 29 3a 20 |Set( Cop|yInt ): |
|00000e90| 69 6e 70 75 74 5b 20 30 | 20 5d 3b 66 6c 61 67 73 |input[ 0| ];flags|
|00000ea0| 28 20 43 6f 70 79 49 6e | 74 20 29 3a 20 69 6e 70 |( CopyIn|t ): inp|
|00000eb0| 75 74 5b 20 31 20 5d 3b | 6f 70 74 69 6f 6e 73 28 |ut[ 1 ];|options(|
|00000ec0| 20 49 6e 69 52 65 61 64 | 65 72 46 72 6f 6d 42 75 | IniRead|erFromBu|
|00000ed0| 66 66 65 72 20 29 3a 20 | 69 6e 70 75 74 5b 20 32 |ffer ): |input[ 2|
|00000ee0| 20 5d 3b 73 6f 75 72 63 | 65 28 20 50 61 73 73 42 | ];sourc|e( PassB|
|00000ef0| 75 66 66 65 72 20 29 3a | 20 69 6e 70 75 74 5b 20 |uffer ):| input[ |
|00000f00| 33 20 5d 3b 63 6f 64 65 | 28 20 44 65 74 65 72 6d |3 ];code|( Determ|
|00000f10| 69 6e 65 46 69 6c 65 54 | 79 70 65 20 29 3a 20 66 |ineFileT|ype ): f|
|00000f20| 69 6c 65 54 79 70 65 53 | 65 74 5b 20 30 20 5d 2c |ileTypeS|et[ 0 ],|
|00000f30| 20 73 6f 75 72 63 65 5b | 20 30 20 5d 3b 63 6f 64 | source[| 0 ];cod|
|00000f40| 65 4d 6e 65 6d 6f 6e 69 | 63 28 20 47 65 74 46 69 |eMnemoni|c( GetFi|
|00000f50| 6c 65 54 79 70 65 4d 6e | 65 6d 6f 6e 69 63 20 29 |leTypeMn|emonic )|
|00000f60| 3a 20 63 6f 64 65 5b 20 | 30 20 5d 3b 6e 6f 72 6d |: code[ |0 ];norm|
|00000f70| 61 6c 69 7a 65 43 6f 64 | 65 53 6f 75 72 63 65 4e |alizeCod|eSourceN|
|00000f80| 61 6d 65 28 20 43 6f 6e | 63 61 74 20 29 3a 20 22 |ame( Con|cat ): "|
|00000f90| 4e 6f 72 6d 61 6c 69 7a | 65 43 6f 64 65 53 6f 75 |Normaliz|eCodeSou|
|00000fa0| 72 63 65 5f 22 2c 20 63 | 6f 64 65 4d 6e 65 6d 6f |rce_", c|odeMnemo|
|00000fb0| 6e 69 63 5b 20 30 20 5d | 3b 6e 6f 72 6d 61 6c 69 |nic[ 0 ]|;normali|
|00000fc0| 7a 65 43 6f 64 65 53 6f | 75 72 63 65 28 20 4e 6f |zeCodeSo|urce( No|
|00000fd0| 72 6d 61 6c 69 7a 65 43 | 6f 64 65 53 6f 75 72 63 |rmalizeC|odeSourc|
|00000fe0| 65 5f 52 41 57 20 2f 20 | 6e 6f 72 6d 61 6c 69 7a |e_RAW / |normaliz|
|00000ff0| 65 43 6f 64 65 53 6f 75 | 72 63 65 4e 61 6d 65 5b |eCodeSou|rceName[|
|00001000| 20 30 20 5d 20 29 3a 20 | 63 6f 64 65 5b 20 30 20 | 0 ] ): |code[ 0 |
|00001010| 5d 2c 20 66 6c 61 67 73 | 5b 20 30 20 5d 2c 20 6f |], flags|[ 0 ], o|
|00001020| 70 74 69 6f 6e 73 5b 20 | 30 20 5d 2c 20 73 6f 75 |ptions[ |0 ], sou|
|00001030| 72 63 65 5b 20 30 20 5d | 3b 6f 75 74 70 75 74 3a |rce[ 0 ]|;output:|
|00001040| 20 6e 6f 72 6d 61 6c 69 | 7a 65 43 6f 64 65 53 6f | normali|zeCodeSo|
|00001050| 75 72 63 65 5b 20 30 20 | 5d 3b 00 00 4e 6f 72 6d |urce[ 0 |];..Norm|
|00001060| 61 6c 69 7a 65 43 6f 64 | 65 53 6f 75 72 63 65 5f |alizeCod|eSource_|
|00001070| 49 41 36 34 00 00 00 00 | 63 6f 64 65 28 20 49 6e |IA64....|code( In|
|00001080| 70 75 74 53 68 61 72 65 | 64 49 6e 74 20 29 3a 20 |putShare|dInt ): |
|00001090| 69 6e 70 75 74 5b 20 30 | 20 5d 3b 66 6c 61 67 73 |input[ 0| ];flags|
|000010a0| 28 20 47 65 74 42 69 74 | 73 20 29 3a 20 69 6e 70 |( GetBit|s ): inp|
|000010b0| 75 74 5b 20 31 20 5d 3b | 6f 70 74 69 6f 6e 73 28 |ut[ 1 ];|options(|
|000010c0| 20 49 6e 70 75 74 53 68 | 61 72 65 64 49 6e 69 52 | InputSh|aredIniR|
|000010d0| 65 61 64 65 72 20 29 3a | 20 69 6e 70 75 74 5b 20 |eader ):| input[ |
|000010e0| 32 20 5d 3b 70 65 28 20 | 50 6f 72 74 61 62 6c 65 |2 ];pe( |Portable|
|000010f0| 45 78 65 63 75 74 61 62 | 6c 65 46 72 6f 6d 42 75 |Executab|leFromBu|
|00001100| 66 66 65 72 20 29 3a 20 | 69 6e 70 75 74 5b 20 33 |ffer ): |input[ 3|
|00001110| 20 5d 2c 20 31 3b 63 6c | 65 61 72 42 69 6e 64 69 | ], 1;cl|earBindi|
|00001120| 6e 67 28 20 55 6e 62 69 | 6e 64 50 6f 72 74 61 62 |ng( Unbi|ndPortab|
|00001130| 6c 65 45 78 65 63 75 74 | 61 62 6c 65 20 29 3a 20 |leExecut|able ): |
|00001140| 70 65 5b 20 30 20 5d 3b | 63 6c 65 61 72 52 65 6c |pe[ 0 ];|clearRel|
|00001150| 6f 63 61 74 69 6f 6e 73 | 28 20 50 61 73 73 50 65 |ocations|( PassPe|
|00001160| 20 2f 20 66 6c 61 67 73 | 5b 20 35 20 5d 20 3f 20 | / flags|[ 5 ] ? |
|00001170| 22 50 61 73 73 50 65 22 | 20 3a 20 22 43 6c 65 61 |"PassPe"| : "Clea|
|00001180| 72 52 65 6c 6f 63 61 74 | 69 6f 6e 73 22 20 29 3a |rRelocat|ions" ):|
|00001190| 20 63 6c 65 61 72 42 69 | 6e 64 69 6e 67 5b 20 30 | clearBi|nding[ 0|
|000011a0| 20 5d 3b 63 6c 65 61 72 | 49 6d 61 67 65 42 61 73 | ];clear|ImageBas|
|000011b0| 65 28 20 53 65 74 49 6d | 61 67 65 42 61 73 65 20 |e( SetIm|ageBase |
|000011c0| 29 3a 20 63 6c 65 61 72 | 52 65 6c 6f 63 61 74 69 |): clear|Relocati|
|000011d0| 6f 6e 73 5b 20 30 20 5d | 2c 20 30 3b 63 6c 65 61 |ons[ 0 ]|, 0;clea|
|000011e0| 72 54 69 6d 65 53 74 61 | 6d 70 28 20 53 65 74 54 |rTimeSta|mp( SetT|
|000011f0| 69 6d 65 53 74 61 6d 70 | 20 29 3a 20 63 6c 65 61 |imeStamp| ): clea|
|00001200| 72 49 6d 61 67 65 42 61 | 73 65 5b 20 30 20 5d 2c |rImageBa|se[ 0 ],|
|00001210| 20 30 3b 20 63 6c 65 61 | 72 43 68 65 63 6b 53 75 | 0; clea|rCheckSu|
|00001220| 6d 28 20 53 65 74 43 68 | 65 63 6b 53 75 6d 20 29 |m( SetCh|eckSum )|
|00001230| 3a 20 63 6c 65 61 72 54 | 69 6d 65 53 74 61 6d 70 |: clearT|imeStamp|
|00001240| 5b 20 30 20 5d 2c 20 30 | 3b 6f 75 74 70 75 74 28 |[ 0 ], 0|;output(|
|00001250| 20 50 6f 72 74 61 62 6c | 65 45 78 65 63 75 74 61 | Portabl|eExecuta|
|00001260| 62 6c 65 54 6f 42 75 66 | 66 65 72 20 29 3a 20 63 |bleToBuf|fer ): c|
|00001270| 6c 65 61 72 43 68 65 63 | 6b 53 75 6d 5b 20 30 20 |learChec|kSum[ 0 |
|00001280| 5d 3b 00 00 4e 6f 72 6d | 61 6c 69 7a 65 43 6f 64 |];..Norm|alizeCod|
|00001290| 65 53 6f 75 72 63 65 5f | 41 4d 44 36 34 00 00 00 |eSource_|AMD64...|
|000012a0| 63 6f 64 65 28 20 49 6e | 70 75 74 53 68 61 72 65 |code( In|putShare|
|000012b0| 64 49 6e 74 20 29 3a 20 | 69 6e 70 75 74 5b 20 30 |dInt ): |input[ 0|
|000012c0| 20 5d 3b 66 6c 61 67 73 | 28 20 47 65 74 42 69 74 | ];flags|( GetBit|
|000012d0| 73 20 29 3a 20 69 6e 70 | 75 74 5b 20 31 20 5d 3b |s ): inp|ut[ 1 ];|
|000012e0| 6f 70 74 69 6f 6e 73 28 | 20 49 6e 70 75 74 53 68 |options(| InputSh|
|000012f0| 61 72 65 64 49 6e 69 52 | 65 61 64 65 72 20 29 3a |aredIniR|eader ):|
|00001300| 20 69 6e 70 75 74 5b 20 | 32 20 5d 3b 70 65 28 20 | input[ |2 ];pe( |
|00001310| 50 6f 72 74 61 62 6c 65 | 45 78 65 63 75 74 61 62 |Portable|Executab|
|00001320| 6c 65 46 72 6f 6d 42 75 | 66 66 65 72 20 29 3a 20 |leFromBu|ffer ): |
|00001330| 69 6e 70 75 74 5b 20 33 | 20 5d 2c 20 31 3b 63 6c |input[ 3| ], 1;cl|
|00001340| 65 61 72 42 69 6e 64 69 | 6e 67 28 20 55 6e 62 69 |earBindi|ng( Unbi|
|00001350| 6e 64 50 6f 72 74 61 62 | 6c 65 45 78 65 63 75 74 |ndPortab|leExecut|
|00001360| 61 62 6c 65 20 29 3a 20 | 70 65 5b 20 30 20 5d 3b |able ): |pe[ 0 ];|
|00001370| 63 6c 65 61 72 4c 6f 63 | 6b 73 28 20 53 6d 61 73 |clearLoc|ks( Smas|
|00001380| 68 4c 6f 63 6b 50 72 65 | 66 69 78 65 73 49 33 38 |hLockPre|fixesI38|
|00001390| 36 20 29 3a 20 63 6c 65 | 61 72 42 69 6e 64 69 6e |6 ): cle|arBindin|
|000013a0| 67 5b 20 30 20 5d 3b 63 | 6c 65 61 72 52 65 6c 6f |g[ 0 ];c|learRelo|
|000013b0| 63 61 74 69 6f 6e 73 28 | 20 50 61 73 73 50 65 20 |cations(| PassPe |
|000013c0| 2f 20 66 6c 61 67 73 5b | 20 35 20 5d 20 3f 20 22 |/ flags[| 5 ] ? "|
|000013d0| 50 61 73 73 50 65 22 20 | 3a 20 22 43 6c 65 61 72 |PassPe" |: "Clear|
|000013e0| 52 65 6c 6f 63 61 74 69 | 6f 6e 73 22 20 29 3a 20 |Relocati|ons" ): |
|000013f0| 63 6c 65 61 72 4c 6f 63 | 6b 73 5b 20 30 20 5d 3b |clearLoc|ks[ 0 ];|
|00001400| 63 6c 65 61 72 49 6d 61 | 67 65 42 61 73 65 28 20 |clearIma|geBase( |
|00001410| 53 65 74 49 6d 61 67 65 | 42 61 73 65 20 29 3a 20 |SetImage|Base ): |
|00001420| 63 6c 65 61 72 52 65 6c | 6f 63 61 74 69 6f 6e 73 |clearRel|ocations|
|00001430| 5b 20 30 20 5d 2c 20 30 | 3b 63 6c 65 61 72 54 69 |[ 0 ], 0|;clearTi|
|00001440| 6d 65 53 74 61 6d 70 28 | 20 53 65 74 54 69 6d 65 |meStamp(| SetTime|
|00001450| 53 74 61 6d 70 20 29 3a | 20 63 6c 65 61 72 49 6d |Stamp ):| clearIm|
|00001460| 61 67 65 42 61 73 65 5b | 20 30 20 5d 2c 20 30 3b |ageBase[| 0 ], 0;|
|00001470| 20 63 6c 65 61 72 43 68 | 65 63 6b 53 75 6d 28 20 | clearCh|eckSum( |
|00001480| 53 65 74 43 68 65 63 6b | 53 75 6d 20 29 3a 20 63 |SetCheck|Sum ): c|
|00001490| 6c 65 61 72 54 69 6d 65 | 53 74 61 6d 70 5b 20 30 |learTime|Stamp[ 0|
|000014a0| 20 5d 2c 20 30 3b 6f 75 | 74 70 75 74 28 20 50 6f | ], 0;ou|tput( Po|
|000014b0| 72 74 61 62 6c 65 45 78 | 65 63 75 74 61 62 6c 65 |rtableEx|ecutable|
|000014c0| 54 6f 42 75 66 66 65 72 | 20 29 3a 20 63 6c 65 61 |ToBuffer| ): clea|
|000014d0| 72 43 68 65 63 6b 53 75 | 6d 5b 20 30 20 5d 3b 00 |rCheckSu|m[ 0 ];.|
|000014e0| 4e 6f 72 6d 61 6c 69 7a | 65 43 6f 64 65 53 6f 75 |Normaliz|eCodeSou|
|000014f0| 72 63 65 5f 49 33 38 36 | 00 00 00 00 00 00 00 00 |rce_I386|........|
|00001500| 63 6f 64 65 28 20 49 6e | 70 75 74 53 68 61 72 65 |code( In|putShare|
|00001510| 64 49 6e 74 20 29 3a 20 | 69 6e 70 75 74 5b 20 30 |dInt ): |input[ 0|
|00001520| 20 5d 3b 66 6c 61 67 73 | 28 20 47 65 74 42 69 74 | ];flags|( GetBit|
|00001530| 73 20 29 3a 20 69 6e 70 | 75 74 5b 20 31 20 5d 3b |s ): inp|ut[ 1 ];|
|00001540| 6f 70 74 69 6f 6e 73 28 | 20 49 6e 70 75 74 53 68 |options(| InputSh|
|00001550| 61 72 65 64 49 6e 69 52 | 65 61 64 65 72 20 29 3a |aredIniR|eader ):|
|00001560| 20 69 6e 70 75 74 5b 20 | 32 20 5d 3b 6f 75 74 70 | input[ |2 ];outp|
|00001570| 75 74 28 20 50 61 73 73 | 42 75 66 66 65 72 20 29 |ut( Pass|Buffer )|
|00001580| 3a 20 69 6e 70 75 74 5b | 20 33 20 5d 3b 00 00 00 |: input[| 3 ];...|
|00001590| 4e 6f 72 6d 61 6c 69 7a | 65 43 6f 64 65 53 6f 75 |Normaliz|eCodeSou|
|000015a0| 72 63 65 5f 52 41 57 00 | 76 65 72 73 69 6f 6e 28 |rce_RAW.|version(|
|000015b0| 20 43 6f 70 79 49 6e 74 | 20 29 3a 20 69 6e 70 75 | CopyInt| ): inpu|
|000015c0| 74 5b 20 30 20 5d 3b 63 | 6f 64 65 28 20 43 6f 70 |t[ 0 ];c|ode( Cop|
|000015d0| 79 49 6e 74 20 29 3a 20 | 69 6e 70 75 74 5b 20 31 |yInt ): |input[ 1|
|000015e0| 20 5d 3b 74 61 72 67 65 | 74 43 6f 64 65 28 20 43 | ];targe|tCode( C|
|000015f0| 6f 70 79 49 6e 74 20 29 | 3a 20 69 6e 70 75 74 5b |opyInt )|: input[|
|00001600| 20 32 20 5d 3b 66 6c 61 | 67 73 49 6e 74 28 20 43 | 2 ];fla|gsInt( C|
|00001610| 6f 70 79 49 6e 74 20 29 | 3a 20 69 6e 70 75 74 5b |opyInt )|: input[|
|00001620| 20 33 20 5d 3b 73 6f 75 | 72 63 65 28 20 50 61 73 | 3 ];sou|rce( Pas|
|00001630| 73 42 75 66 66 65 72 20 | 29 3a 20 69 6e 70 75 74 |sBuffer |): input|
|00001640| 5b 20 34 20 5d 3b 74 61 | 72 67 65 74 28 20 50 61 |[ 4 ];ta|rget( Pa|
|00001650| 73 73 42 75 66 66 65 72 | 20 29 3a 20 69 6e 70 75 |ssBuffer| ): inpu|
|00001660| 74 5b 20 35 20 5d 3b 73 | 6f 75 72 63 65 49 6e 69 |t[ 5 ];s|ourceIni|
|00001670| 28 20 50 61 73 73 49 6e | 69 52 65 61 64 65 72 20 |( PassIn|iReader |
|00001680| 29 3a 20 69 6e 70 75 74 | 5b 20 36 20 5d 3b 74 61 |): input|[ 6 ];ta|
|00001690| 72 67 65 74 49 6e 69 28 | 20 50 61 73 73 49 6e 69 |rgetIni(| PassIni|
|000016a0| 52 65 61 64 65 72 20 29 | 3a 20 69 6e 70 75 74 5b |Reader )|: input[|
|000016b0| 20 37 20 5d 3b 70 61 74 | 63 68 49 6e 69 28 20 50 | 7 ];pat|chIni( P|
|000016c0| 61 73 73 49 6e 69 52 65 | 61 64 65 72 20 29 3a 20 |assIniRe|ader ): |
|000016d0| 69 6e 70 75 74 5b 20 38 | 20 5d 3b 66 69 6c 65 54 |input[ 8| ];fileT|
|000016e0| 69 6d 65 28 20 43 6f 70 | 79 49 6e 74 20 29 3a 20 |ime( Cop|yInt ): |
|000016f0| 69 6e 70 75 74 5b 20 39 | 20 5d 3b 68 61 73 68 41 |input[ 9| ];hashA|
|00001700| 6c 67 49 64 28 20 43 6f | 70 79 49 6e 74 20 29 3a |lgId( Co|pyInt ):|
|00001710| 20 69 6e 70 75 74 5b 20 | 31 30 20 5d 3b 61 73 63 | input[ |10 ];asc|
|00001720| 69 69 50 61 74 63 68 53 | 69 67 6e 61 74 75 72 65 |iiPatchS|ignature|
|00001730| 28 20 54 54 6f 41 73 63 | 69 69 20 29 3a 20 22 50 |( TToAsc|ii ): "P|
|00001740| 41 33 30 22 3b 66 69 6c | 65 54 69 6d 65 42 75 66 |A30";fil|eTimeBuf|
|00001750| 66 65 72 28 20 49 6e 74 | 54 6f 46 69 78 65 64 42 |fer( Int|ToFixedB|
|00001760| 75 66 66 65 72 20 29 3a | 20 66 69 6c 65 54 69 6d |uffer ):| fileTim|
|00001770| 65 5b 20 30 20 5d 3b 68 | 61 73 68 28 20 43 61 6c |e[ 0 ];h|ash( Cal|
|00001780| 63 75 6c 61 74 65 48 61 | 73 68 20 29 3a 20 68 61 |culateHa|sh ): ha|
|00001790| 73 68 41 6c 67 49 64 5b | 20 30 20 5d 2c 20 74 61 |shAlgId[| 0 ], ta|
|000017a0| 72 67 65 74 5b 20 30 20 | 5d 3b 68 65 61 64 65 72 |rget[ 0 |];header|
|000017b0| 28 20 43 6f 6e 63 61 74 | 20 29 3a 20 61 73 63 69 |( Concat| ): asci|
|000017c0| 69 50 61 74 63 68 53 69 | 67 6e 61 74 75 72 65 5b |iPatchSi|gnature[|
|000017d0| 20 30 20 5d 2c 20 66 69 | 6c 65 54 69 6d 65 42 75 | 0 ], fi|leTimeBu|
|000017e0| 66 66 65 72 5b 20 30 20 | 5d 3b 62 69 74 57 72 69 |ffer[ 0 |];bitWri|
|000017f0| 74 65 72 28 20 42 69 74 | 57 72 69 74 65 72 4f 70 |ter( Bit|WriterOp|
|00001800| 65 6e 20 29 3a 3b 77 72 | 69 74 65 56 65 72 73 69 |en ):;wr|iteVersi|
|00001810| 6f 6e 28 20 42 69 74 57 | 72 69 74 65 49 6e 74 20 |on( BitW|riteInt |
|00001820| 29 3a 20 62 69 74 57 72 | 69 74 65 72 5b 20 30 20 |): bitWr|iter[ 0 |
|00001830| 5d 2c 20 76 65 72 73 69 | 6f 6e 5b 20 30 20 5d 3b |], versi|on[ 0 ];|
|00001840| 77 72 69 74 65 43 6f 64 | 65 28 20 42 69 74 57 72 |writeCod|e( BitWr|
|00001850| 69 74 65 49 6e 74 20 29 | 3a 20 77 72 69 74 65 56 |iteInt )|: writeV|
|00001860| 65 72 73 69 6f 6e 5b 20 | 30 20 5d 2c 20 63 6f 64 |ersion[ |0 ], cod|
|00001870| 65 5b 20 30 20 5d 3b 74 | 61 72 67 65 74 53 69 7a |e[ 0 ];t|argetSiz|
|00001880| 65 28 20 42 75 66 66 65 | 72 53 69 7a 65 20 29 3a |e( Buffe|rSize ):|
|00001890| 20 74 61 72 67 65 74 5b | 20 30 20 5d 3b 77 72 69 | target[| 0 ];wri|
|000018a0| 74 65 46 6c 61 67 73 49 | 6e 74 28 20 42 69 74 57 |teFlagsI|nt( BitW|
|000018b0| 72 69 74 65 49 6e 74 20 | 29 3a 20 77 72 69 74 65 |riteInt |): write|
|000018c0| 43 6f 64 65 5b 20 30 20 | 5d 2c 20 66 6c 61 67 73 |Code[ 0 |], flags|
|000018d0| 49 6e 74 5b 20 30 20 5d | 3b 77 72 69 74 65 54 61 |Int[ 0 ]|;writeTa|
|000018e0| 72 67 65 74 53 69 7a 65 | 28 20 42 69 74 57 72 69 |rgetSize|( BitWri|
|000018f0| 74 65 49 6e 74 20 29 3a | 20 77 72 69 74 65 46 6c |teInt ):| writeFl|
|00001900| 61 67 73 49 6e 74 5b 20 | 30 20 5d 2c 20 74 61 72 |agsInt[ |0 ], tar|
|00001910| 67 65 74 53 69 7a 65 5b | 20 30 20 5d 3b 20 77 72 |getSize[| 0 ]; wr|
|00001920| 69 74 65 48 61 73 68 41 | 6c 67 49 64 28 20 42 69 |iteHashA|lgId( Bi|
|00001930| 74 57 72 69 74 65 49 6e | 74 20 29 3a 20 77 72 69 |tWriteIn|t ): wri|
|00001940| 74 65 54 61 72 67 65 74 | 53 69 7a 65 5b 20 30 20 |teTarget|Size[ 0 |
|00001950| 5d 2c 20 68 61 73 68 41 | 6c 67 49 64 5b 20 30 20 |], hashA|lgId[ 0 |
|00001960| 5d 3b 77 72 69 74 65 48 | 61 73 68 28 20 42 69 74 |];writeH|ash( Bit|
|00001970| 57 72 69 74 65 42 75 66 | 66 65 72 20 29 3a 20 77 |WriteBuf|fer ): w|
|00001980| 72 69 74 65 48 61 73 68 | 41 6c 67 49 64 5b 20 30 |riteHash|AlgId[ 0|
|00001990| 20 5d 2c 20 68 61 73 68 | 5b 20 30 20 5d 3b 63 72 | ], hash|[ 0 ];cr|
|000019a0| 65 61 74 65 28 20 43 72 | 65 61 74 65 50 61 79 6c |eate( Cr|eatePayl|
|000019b0| 6f 61 64 20 29 3a 20 63 | 6f 64 65 5b 20 30 20 5d |oad ): c|ode[ 0 ]|
|000019c0| 2c 20 74 61 72 67 65 74 | 43 6f 64 65 5b 20 30 20 |, target|Code[ 0 |
|000019d0| 5d 2c 20 66 6c 61 67 73 | 49 6e 74 5b 20 30 20 5d |], flags|Int[ 0 ]|
|000019e0| 2c 20 77 72 69 74 65 48 | 61 73 68 5b 20 30 20 5d |, writeH|ash[ 0 ]|
|000019f0| 2c 20 73 6f 75 72 63 65 | 5b 20 30 20 5d 2c 20 74 |, source|[ 0 ], t|
|00001a00| 61 72 67 65 74 5b 20 30 | 20 5d 2c 20 73 6f 75 72 |arget[ 0| ], sour|
|00001a10| 63 65 49 6e 69 5b 20 30 | 20 5d 2c 20 74 61 72 67 |ceIni[ 0| ], targ|
|00001a20| 65 74 49 6e 69 5b 20 30 | 20 5d 2c 20 70 61 74 63 |etIni[ 0| ], patc|
|00001a30| 68 49 6e 69 5b 20 30 20 | 5d 3b 63 72 65 61 74 65 |hIni[ 0 |];create|
|00001a40| 64 28 20 42 69 74 57 72 | 69 74 65 72 43 6c 6f 73 |d( BitWr|iterClos|
|00001a50| 65 20 29 3a 20 63 72 65 | 61 74 65 5b 20 30 20 5d |e ): cre|ate[ 0 ]|
|00001a60| 3b 70 61 74 63 68 28 20 | 43 6f 6e 63 61 74 20 29 |;patch( |Concat )|
|00001a70| 3a 20 68 65 61 64 65 72 | 5b 20 30 20 5d 2c 20 63 |: header|[ 0 ], c|
|00001a80| 72 65 61 74 65 64 5b 20 | 30 20 5d 3b 61 70 70 6c |reated[ |0 ];appl|
|00001a90| 79 28 20 41 70 70 6c 79 | 50 61 74 63 68 20 29 3a |y( Apply|Patch ):|
|00001aa0| 20 73 6f 75 72 63 65 5b | 20 30 20 5d 2c 20 70 61 | source[| 0 ], pa|
|00001ab0| 74 63 68 5b 20 30 20 5d | 3b 74 65 73 74 41 70 70 |tch[ 0 ]|;testApp|
|00001ac0| 6c 79 28 20 43 68 65 63 | 6b 42 75 66 66 65 72 73 |ly( Chec|kBuffers|
|00001ad0| 49 64 65 6e 74 69 74 79 | 20 29 3a 20 74 61 72 67 |Identity| ): targ|
|00001ae0| 65 74 5b 20 30 20 5d 2c | 20 61 70 70 6c 79 5b 20 |et[ 0 ],| apply[ |
|00001af0| 30 20 5d 2c 20 30 78 30 | 34 31 42 30 31 3b 6f 75 |0 ], 0x0|41B01;ou|
|00001b00| 74 70 75 74 3a 20 70 61 | 74 63 68 5b 20 30 20 5d |tput: pa|tch[ 0 ]|
|00001b10| 3b 00 00 00 43 72 65 61 | 74 65 43 6f 64 65 46 6c |;...Crea|teCodeFl|
|00001b20| 61 67 73 50 61 74 63 68 | 00 00 00 00 00 00 00 00 |agsPatch|........|
|00001b30| 63 6f 64 65 28 20 43 6f | 70 79 49 6e 74 20 29 3a |code( Co|pyInt ):|
|00001b40| 20 69 6e 70 75 74 5b 20 | 30 20 5d 3b 74 61 72 67 | input[ |0 ];targ|
|00001b50| 65 74 43 6f 64 65 28 20 | 43 6f 70 79 49 6e 74 20 |etCode( |CopyInt |
|00001b60| 29 3a 20 69 6e 70 75 74 | 5b 20 31 20 5d 3b 66 6c |): input|[ 1 ];fl|
|00001b70| 61 67 73 49 6e 74 28 20 | 43 6f 70 79 49 6e 74 20 |agsInt( |CopyInt |
|00001b80| 29 3a 20 69 6e 70 75 74 | 5b 20 32 20 5d 3b 62 69 |): input|[ 2 ];bi|
|00001b90| 74 57 72 69 74 65 72 28 | 20 50 61 73 73 42 69 74 |tWriter(| PassBit|
|00001ba0| 57 72 69 74 65 72 20 29 | 3a 20 69 6e 70 75 74 5b |Writer )|: input[|
|00001bb0| 20 33 20 5d 3b 73 6f 75 | 72 63 65 28 20 50 61 73 | 3 ];sou|rce( Pas|
|00001bc0| 73 42 75 66 66 65 72 20 | 29 3a 20 69 6e 70 75 74 |sBuffer |): input|
|00001bd0| 5b 20 34 20 5d 3b 74 61 | 72 67 65 74 28 20 50 61 |[ 4 ];ta|rget( Pa|
|00001be0| 73 73 42 75 66 66 65 72 | 20 29 3a 20 69 6e 70 75 |ssBuffer| ): inpu|
|00001bf0| 74 5b 20 35 20 5d 3b 73 | 6f 75 72 63 65 53 69 7a |t[ 5 ];s|ourceSiz|
|00001c00| 65 28 20 42 75 66 66 65 | 72 53 69 7a 65 20 29 3a |e( Buffe|rSize ):|
|00001c10| 20 73 6f 75 72 63 65 5b | 20 30 20 5d 3b 74 61 72 | source[| 0 ];tar|
|00001c20| 67 65 74 53 69 7a 65 28 | 20 42 75 66 66 65 72 53 |getSize(| BufferS|
|00001c30| 69 7a 65 20 29 3a 20 74 | 61 72 67 65 74 5b 20 30 |ize ): t|arget[ 0|
|00001c40| 20 5d 3b 73 6f 75 72 63 | 65 49 6e 69 28 20 50 61 | ];sourc|eIni( Pa|
|00001c50| 73 73 49 6e 69 52 65 61 | 64 65 72 20 29 3a 20 69 |ssIniRea|der ): i|
|00001c60| 6e 70 75 74 5b 20 36 20 | 5d 3b 74 61 72 67 65 74 |nput[ 6 |];target|
|00001c70| 49 6e 69 28 20 50 61 73 | 73 49 6e 69 52 65 61 64 |Ini( Pas|sIniRead|
|00001c80| 65 72 20 29 3a 20 69 6e | 70 75 74 5b 20 37 20 5d |er ): in|put[ 7 ]|
|00001c90| 3b 70 61 74 63 68 49 6e | 69 28 20 50 61 73 73 49 |;patchIn|i( PassI|
|00001ca0| 6e 69 52 65 61 64 65 72 | 20 29 3a 20 69 6e 70 75 |niReader| ): inpu|
|00001cb0| 74 5b 20 38 20 5d 3b 63 | 6f 64 65 4d 6e 65 6d 6f |t[ 8 ];c|odeMnemo|
|00001cc0| 6e 69 63 28 20 47 65 74 | 46 69 6c 65 54 79 70 65 |nic( Get|FileType|
|00001cd0| 4d 6e 65 6d 6f 6e 69 63 | 20 29 3a 20 63 6f 64 65 |Mnemonic| ): code|
|00001ce0| 5b 20 30 20 5d 3b 63 72 | 65 61 74 65 50 72 65 50 |[ 0 ];cr|eatePreP|
|00001cf0| 72 6f 63 65 73 73 53 6f | 75 72 63 65 4e 61 6d 65 |rocessSo|urceName|
|00001d00| 28 20 43 6f 6e 63 61 74 | 20 29 3a 20 22 43 72 65 |( Concat| ): "Cre|
|00001d10| 61 74 65 50 72 65 50 72 | 6f 63 65 73 73 53 6f 75 |atePrePr|ocessSou|
|00001d20| 72 63 65 5f 22 2c 20 63 | 6f 64 65 4d 6e 65 6d 6f |rce_", c|odeMnemo|
|00001d30| 6e 69 63 5b 20 30 20 5d | 3b 63 72 65 61 74 65 50 |nic[ 0 ]|;createP|
|00001d40| 72 65 50 72 6f 63 65 73 | 73 53 6f 75 72 63 65 28 |reProces|sSource(|
|00001d50| 20 43 72 65 61 74 65 50 | 72 65 50 72 6f 63 65 73 | CreateP|reProces|
|00001d60| 73 53 6f 75 72 63 65 5f | 52 41 57 20 2f 20 63 72 |sSource_|RAW / cr|
|00001d70| 65 61 74 65 50 72 65 50 | 72 6f 63 65 73 73 53 6f |eatePreP|rocessSo|
|00001d80| 75 72 63 65 4e 61 6d 65 | 5b 20 30 20 5d 20 29 3a |urceName|[ 0 ] ):|
|00001d90| 20 63 6f 64 65 5b 20 30 | 20 5d 2c 20 74 61 72 67 | code[ 0| ], targ|
|00001da0| 65 74 43 6f 64 65 5b 20 | 30 20 5d 2c 20 66 6c 61 |etCode[ |0 ], fla|
|00001db0| 67 73 49 6e 74 5b 20 30 | 20 5d 2c 20 73 6f 75 72 |gsInt[ 0| ], sour|
|00001dc0| 63 65 5b 20 30 20 5d 2c | 20 74 61 72 67 65 74 5b |ce[ 0 ],| target[|
|00001dd0| 20 30 20 5d 2c 20 73 6f | 75 72 63 65 49 6e 69 5b | 0 ], so|urceIni[|
|00001de0| 20 30 20 5d 2c 20 74 61 | 72 67 65 74 49 6e 69 5b | 0 ], ta|rgetIni[|
|00001df0| 20 30 20 5d 2c 20 70 61 | 74 63 68 49 6e 69 5b 20 | 0 ], pa|tchIni[ |
|00001e00| 30 20 5d 3b 64 65 62 75 | 67 57 72 69 74 65 50 72 |0 ];debu|gWritePr|
|00001e10| 65 50 72 6f 63 65 73 73 | 53 6f 75 72 63 65 28 20 |eProcess|Source( |
|00001e20| 44 65 62 75 67 57 72 69 | 74 65 46 69 6c 65 20 29 |DebugWri|teFile )|
|00001e30| 3a 20 22 70 72 65 50 72 | 6f 63 65 73 73 53 6f 75 |: "prePr|ocessSou|
|00001e40| 72 63 65 2e 63 72 65 61 | 74 65 2e 69 6d 61 67 65 |rce.crea|te.image|
|00001e50| 22 2c 20 63 72 65 61 74 | 65 50 72 65 50 72 6f 63 |", creat|ePreProc|
|00001e60| 65 73 73 53 6f 75 72 63 | 65 5b 20 30 20 5d 3b 63 |essSourc|e[ 0 ];c|
|00001e70| 72 65 61 74 65 50 72 65 | 50 72 6f 63 65 73 73 54 |reatePre|ProcessT|
|00001e80| 61 72 67 65 74 28 20 43 | 72 65 61 74 65 50 72 65 |arget( C|reatePre|
|00001e90| 50 72 6f 63 65 73 73 54 | 61 72 67 65 74 20 29 3a |ProcessT|arget ):|
|00001ea0| 20 66 6c 61 67 73 49 6e | 74 5b 20 30 20 5d 2c 20 | flagsIn|t[ 0 ], |
|00001eb0| 74 61 72 67 65 74 5b 20 | 30 20 5d 3b 64 65 62 75 |target[ |0 ];debu|
|00001ec0| 67 57 72 69 74 65 50 72 | 65 50 72 6f 63 65 73 73 |gWritePr|eProcess|
|00001ed0| 54 61 72 67 65 74 28 20 | 44 65 62 75 67 57 72 69 |Target( |DebugWri|
|00001ee0| 74 65 46 69 6c 65 20 29 | 3a 20 22 70 72 65 50 72 |teFile )|: "prePr|
|00001ef0| 6f 63 65 73 73 54 61 72 | 67 65 74 2e 63 72 65 61 |ocessTar|get.crea|
|00001f00| 74 65 2e 69 6d 61 67 65 | 22 2c 20 63 72 65 61 74 |te.image|", creat|
|00001f10| 65 50 72 65 50 72 6f 63 | 65 73 73 54 61 72 67 65 |ePreProc|essTarge|
|00001f20| 74 5b 20 30 20 5d 3b 61 | 70 70 6c 79 50 72 65 50 |t[ 0 ];a|pplyPreP|
|00001f30| 72 6f 63 65 73 73 53 6f | 75 72 63 65 4e 61 6d 65 |rocessSo|urceName|
|00001f40| 28 20 43 6f 6e 63 61 74 | 20 29 3a 20 22 41 70 70 |( Concat| ): "App|
|00001f50| 6c 79 50 72 65 50 72 6f | 63 65 73 73 53 6f 75 72 |lyPrePro|cessSour|
|00001f60| 63 65 5f 22 2c 20 63 6f | 64 65 4d 6e 65 6d 6f 6e |ce_", co|deMnemon|
|00001f70| 69 63 5b 20 30 20 5d 3b | 61 70 70 6c 79 50 72 65 |ic[ 0 ];|applyPre|
|00001f80| 50 72 6f 63 65 73 73 53 | 6f 75 72 63 65 28 20 41 |ProcessS|ource( A|
|00001f90| 70 70 6c 79 50 72 65 50 | 72 6f 63 65 73 73 53 6f |pplyPreP|rocessSo|
|00001fa0| 75 72 63 65 5f 52 41 57 | 20 2f 20 61 70 70 6c 79 |urce_RAW| / apply|
|00001fb0| 50 72 65 50 72 6f 63 65 | 73 73 53 6f 75 72 63 65 |PreProce|ssSource|
|00001fc0| 4e 61 6d 65 5b 20 30 20 | 5d 20 29 3a 20 63 6f 64 |Name[ 0 |] ): cod|
|00001fd0| 65 5b 20 30 20 5d 2c 20 | 66 6c 61 67 73 49 6e 74 |e[ 0 ], |flagsInt|
|00001fe0| 5b 20 30 20 5d 2c 20 73 | 6f 75 72 63 65 5b 20 30 |[ 0 ], s|ource[ 0|
|00001ff0| 20 5d 2c 20 63 72 65 61 | 74 65 50 72 65 50 72 6f | ], crea|tePrePro|
|00002000| 63 65 73 73 53 6f 75 72 | 63 65 5b 20 31 20 5d 2c |cessSour|ce[ 1 ],|
|00002010| 20 74 61 72 67 65 74 53 | 69 7a 65 5b 20 30 20 5d | targetS|ize[ 0 ]|
|00002020| 3b 63 68 65 63 6b 50 72 | 65 50 72 6f 63 65 73 73 |;checkPr|eProcess|
|00002030| 53 6f 75 72 63 65 49 64 | 65 6e 74 69 74 79 28 20 |SourceId|entity( |
|00002040| 43 68 65 63 6b 42 75 66 | 66 65 72 73 49 64 65 6e |CheckBuf|fersIden|
|00002050| 74 69 74 79 20 29 3a 20 | 63 72 65 61 74 65 50 72 |tity ): |createPr|
|00002060| 65 50 72 6f 63 65 73 73 | 53 6f 75 72 63 65 5b 20 |eProcess|Source[ |
|00002070| 30 20 5d 2c 20 61 70 70 | 6c 79 50 72 65 50 72 6f |0 ], app|lyPrePro|
|00002080| 63 65 73 73 53 6f 75 72 | 63 65 5b 20 30 20 5d 2c |cessSour|ce[ 0 ],|
|00002090| 20 30 78 30 34 31 46 30 | 34 3b 63 68 65 63 6b 43 | 0x041F0|4;checkC|
|000020a0| 6f 6d 70 72 65 73 73 69 | 6f 6e 52 69 66 74 54 61 |ompressi|onRiftTa|
|000020b0| 62 6c 65 49 64 65 6e 74 | 69 74 79 28 20 43 68 65 |bleIdent|ity( Che|
|000020c0| 63 6b 52 69 66 74 54 61 | 62 6c 65 73 49 64 65 6e |ckRiftTa|blesIden|
|000020d0| 74 69 74 79 20 29 3a 20 | 63 72 65 61 74 65 50 72 |tity ): |createPr|
|000020e0| 65 50 72 6f 63 65 73 73 | 53 6f 75 72 63 65 5b 20 |eProcess|Source[ |
|000020f0| 32 20 5d 2c 20 61 70 70 | 6c 79 50 72 65 50 72 6f |2 ], app|lyPrePro|
|00002100| 63 65 73 73 53 6f 75 72 | 63 65 5b 20 31 20 5d 2c |cessSour|ce[ 1 ],|
|00002110| 20 30 78 30 34 31 46 30 | 33 3b 61 70 70 6c 79 50 | 0x041F0|3;applyP|
|00002120| 6f 73 74 50 72 6f 63 65 | 73 73 54 61 72 67 65 74 |ostProce|ssTarget|
|00002130| 28 20 41 70 70 6c 79 50 | 6f 73 74 50 72 6f 63 65 |( ApplyP|ostProce|
|00002140| 73 73 54 61 72 67 65 74 | 20 29 3a 20 66 6c 61 67 |ssTarget| ): flag|
|00002150| 73 49 6e 74 5b 20 30 20 | 5d 2c 20 63 72 65 61 74 |sInt[ 0 |], creat|
|00002160| 65 50 72 65 50 72 6f 63 | 65 73 73 54 61 72 67 65 |ePreProc|essTarge|
|00002170| 74 5b 20 30 20 5d 3b 63 | 68 65 63 6b 50 6f 73 74 |t[ 0 ];c|heckPost|
|00002180| 50 72 6f 63 65 73 73 54 | 61 72 67 65 74 49 64 65 |ProcessT|argetIde|
|00002190| 6e 74 69 74 79 28 20 43 | 68 65 63 6b 42 75 66 66 |ntity( C|heckBuff|
|000021a0| 65 72 73 49 64 65 6e 74 | 69 74 79 20 29 3a 20 74 |ersIdent|ity ): t|
|000021b0| 61 72 67 65 74 5b 20 30 | 20 5d 2c 20 61 70 70 6c |arget[ 0| ], appl|
|000021c0| 79 50 6f 73 74 50 72 6f | 63 65 73 73 54 61 72 67 |yPostPro|cessTarg|
|000021d0| 65 74 5b 20 30 20 5d 2c | 20 30 78 30 34 31 46 30 |et[ 0 ],| 0x041F0|
|000021e0| 31 3b 77 72 69 74 65 50 | 72 65 50 72 6f 63 65 73 |1;writeP|reProces|
|000021f0| 73 42 75 66 66 65 72 28 | 20 42 69 74 57 72 69 74 |sBuffer(| BitWrit|
|00002200| 65 42 75 66 66 65 72 20 | 29 3a 20 62 69 74 57 72 |eBuffer |): bitWr|
|00002210| 69 74 65 72 5b 20 30 20 | 5d 2c 20 63 72 65 61 74 |iter[ 0 |], creat|
|00002220| 65 50 72 65 50 72 6f 63 | 65 73 73 53 6f 75 72 63 |ePreProc|essSourc|
|00002230| 65 5b 20 31 20 5d 3b 63 | 6f 6d 70 72 65 73 73 69 |e[ 1 ];c|ompressi|
|00002240| 6f 6e 52 69 66 74 54 61 | 62 6c 65 35 28 20 50 61 |onRiftTa|ble5( Pa|
|00002250| 73 73 52 69 66 74 54 61 | 62 6c 65 20 29 3a 20 63 |ssRiftTa|ble ): c|
|00002260| 72 65 61 74 65 50 72 65 | 50 72 6f 63 65 73 73 53 |reatePre|ProcessS|
|00002270| 6f 75 72 63 65 5b 20 32 | 20 5d 3b 64 65 62 75 67 |ource[ 2| ];debug|
|00002280| 57 72 69 74 65 43 6f 6d | 70 72 65 73 73 69 6f 6e |WriteCom|pression|
|00002290| 35 28 20 44 65 62 75 67 | 57 72 69 74 65 46 69 6c |5( Debug|WriteFil|
|000022a0| 65 52 69 66 74 54 61 62 | 6c 65 20 29 3a 20 22 63 |eRiftTab|le ): "c|
|000022b0| 6f 6d 70 72 65 73 73 69 | 6f 6e 35 2e 63 72 65 61 |ompressi|on5.crea|
|000022c0| 74 65 2e 72 69 66 74 22 | 2c 20 63 6f 6d 70 72 65 |te.rift"|, compre|
|000022d0| 73 73 69 6f 6e 52 69 66 | 74 54 61 62 6c 65 35 5b |ssionRif|tTable5[|
|000022e0| 20 30 20 5d 3b 63 6f 6d | 70 72 65 73 73 69 6f 6e | 0 ];com|pression|
|000022f0| 52 69 66 74 54 61 62 6c | 65 36 28 20 43 72 65 61 |RiftTabl|e6( Crea|
|00002300| 74 65 45 6d 70 74 79 52 | 69 66 74 54 61 62 6c 65 |teEmptyR|iftTable|
|00002310| 20 29 3a 3b 63 6f 6d 70 | 72 65 73 73 69 6f 6e 52 | ):;comp|ressionR|
|00002320| 69 66 74 54 61 62 6c 65 | 37 28 20 41 64 64 52 69 |iftTable|7( AddRi|
|00002330| 66 74 45 6e 74 72 79 20 | 29 3a 20 63 6f 6d 70 72 |ftEntry |): compr|
|00002340| 65 73 73 69 6f 6e 52 69 | 66 74 54 61 62 6c 65 36 |essionRi|ftTable6|
|00002350| 5b 20 30 20 5d 2c 20 73 | 6f 75 72 63 65 53 69 7a |[ 0 ], s|ourceSiz|
|00002360| 65 5b 20 30 20 5d 2c 20 | 30 3b 64 65 62 75 67 57 |e[ 0 ], |0;debugW|
|00002370| 72 69 74 65 43 6f 6d 70 | 72 65 73 73 69 6f 6e 37 |riteComp|ression7|
|00002380| 28 20 44 65 62 75 67 57 | 72 69 74 65 46 69 6c 65 |( DebugW|riteFile|
|00002390| 52 69 66 74 54 61 62 6c | 65 20 29 3a 20 22 63 6f |RiftTabl|e ): "co|
|000023a0| 6d 70 72 65 73 73 69 6f | 6e 37 2e 63 72 65 61 74 |mpressio|n7.creat|
|000023b0| 65 2e 72 69 66 74 22 2c | 20 63 6f 6d 70 72 65 73 |e.rift",| compres|
|000023c0| 73 69 6f 6e 52 69 66 74 | 54 61 62 6c 65 37 5b 20 |sionRift|Table7[ |
|000023d0| 30 20 5d 3b 63 6f 6d 70 | 72 65 73 73 69 6f 6e 52 |0 ];comp|ressionR|
|000023e0| 69 66 74 54 61 62 6c 65 | 38 28 20 4d 75 6c 74 69 |iftTable|8( Multi|
|000023f0| 70 6c 79 52 69 66 74 54 | 61 62 6c 65 73 20 29 3a |plyRiftT|ables ):|
|00002400| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 52 69 66 74 | compres|sionRift|
|00002410| 54 61 62 6c 65 37 5b 20 | 30 20 5d 2c 20 63 6f 6d |Table7[ |0 ], com|
|00002420| 70 72 65 73 73 69 6f 6e | 52 69 66 74 54 61 62 6c |pression|RiftTabl|
|00002430| 65 35 5b 20 30 20 5d 3b | 64 65 62 75 67 57 72 69 |e5[ 0 ];|debugWri|
|00002440| 74 65 43 6f 6d 70 72 65 | 73 73 69 6f 6e 38 28 20 |teCompre|ssion8( |
|00002450| 44 65 62 75 67 57 72 69 | 74 65 46 69 6c 65 52 69 |DebugWri|teFileRi|
|00002460| 66 74 54 61 62 6c 65 20 | 29 3a 20 22 63 6f 6d 70 |ftTable |): "comp|
|00002470| 72 65 73 73 69 6f 6e 38 | 2e 63 72 65 61 74 65 2e |ression8|.create.|
|00002480| 72 69 66 74 22 2c 20 63 | 6f 6d 70 72 65 73 73 69 |rift", c|ompressi|
|00002490| 6f 6e 52 69 66 74 54 61 | 62 6c 65 38 5b 20 30 20 |onRiftTa|ble8[ 0 |
|000024a0| 5d 3b 63 6f 6d 70 72 65 | 73 73 69 6f 6e 52 69 66 |];compre|ssionRif|
|000024b0| 74 54 61 62 6c 65 39 28 | 20 52 65 64 75 63 65 52 |tTable9(| ReduceR|
|000024c0| 69 66 74 54 61 62 6c 65 | 20 29 3a 20 63 6f 6d 70 |iftTable| ): comp|
|000024d0| 72 65 73 73 69 6f 6e 52 | 69 66 74 54 61 62 6c 65 |ressionR|iftTable|
|000024e0| 38 5b 20 30 20 5d 3b 64 | 65 62 75 67 57 72 69 74 |8[ 0 ];d|ebugWrit|
|000024f0| 65 43 6f 6d 70 72 65 73 | 73 69 6f 6e 39 28 20 44 |eCompres|sion9( D|
|00002500| 65 62 75 67 57 72 69 74 | 65 46 69 6c 65 52 69 66 |ebugWrit|eFileRif|
|00002510| 74 54 61 62 6c 65 20 29 | 3a 20 22 63 6f 6d 70 72 |tTable )|: "compr|
|00002520| 65 73 73 69 6f 6e 39 2e | 63 72 65 61 74 65 2e 72 |ession9.|create.r|
|00002530| 69 66 74 22 2c 20 63 6f | 6d 70 72 65 73 73 69 6f |ift", co|mpressio|
|00002540| 6e 52 69 66 74 54 61 62 | 6c 65 39 5b 20 30 20 5d |nRiftTab|le9[ 0 ]|
|00002550| 3b 63 72 65 61 74 65 28 | 20 43 72 65 61 74 65 50 |;create(| CreateP|
|00002560| 73 65 75 64 6f 4c 7a 78 | 50 61 74 63 68 20 29 3a |seudoLzx|Patch ):|
|00002570| 20 63 72 65 61 74 65 50 | 72 65 50 72 6f 63 65 73 | createP|reProces|
|00002580| 73 53 6f 75 72 63 65 5b | 20 30 20 5d 2c 20 63 72 |sSource[| 0 ], cr|
|00002590| 65 61 74 65 50 72 65 50 | 72 6f 63 65 73 73 54 61 |eatePreP|rocessTa|
|000025a0| 72 67 65 74 5b 20 30 20 | 5d 2c 20 66 6c 61 67 73 |rget[ 0 |], flags|
|000025b0| 49 6e 74 5b 20 30 20 5d | 2c 20 73 6f 75 72 63 65 |Int[ 0 ]|, source|
|000025c0| 49 6e 69 5b 20 30 20 5d | 2c 20 74 61 72 67 65 74 |Ini[ 0 ]|, target|
|000025d0| 49 6e 69 5b 20 30 20 5d | 2c 20 70 61 74 63 68 49 |Ini[ 0 ]|, patchI|
|000025e0| 6e 69 5b 20 30 20 5d 2c | 20 63 6f 6d 70 72 65 73 |ni[ 0 ],| compres|
|000025f0| 73 69 6f 6e 52 69 66 74 | 54 61 62 6c 65 39 5b 20 |sionRift|Table9[ |
|00002600| 30 20 5d 3b 77 72 69 74 | 65 50 61 74 63 68 28 20 |0 ];writ|ePatch( |
|00002610| 42 69 74 57 72 69 74 65 | 42 75 66 66 65 72 20 29 |BitWrite|Buffer )|
|00002620| 3a 20 77 72 69 74 65 50 | 72 65 50 72 6f 63 65 73 |: writeP|reProces|
|00002630| 73 42 75 66 66 65 72 5b | 20 30 20 5d 2c 20 63 72 |sBuffer[| 0 ], cr|
|00002640| 65 61 74 65 5b 20 30 20 | 5d 3b 6f 75 74 70 75 74 |eate[ 0 |];output|
|00002650| 3a 20 77 72 69 74 65 50 | 61 74 63 68 5b 20 30 20 |: writeP|atch[ 0 |
|00002660| 5d 3b 00 00 43 72 65 61 | 74 65 50 61 79 6c 6f 61 |];..Crea|tePayloa|
|00002670| 64 00 00 00 00 00 00 00 | 73 6f 75 72 63 65 28 20 |d.......|source( |
|00002680| 50 61 73 73 42 75 66 66 | 65 72 20 29 3a 20 69 6e |PassBuff|er ): in|
|00002690| 70 75 74 5b 20 30 20 5d | 3b 70 61 74 63 68 28 20 |put[ 0 ]|;patch( |
|000026a0| 50 61 73 73 42 75 66 66 | 65 72 20 29 3a 20 69 6e |PassBuff|er ): in|
|000026b0| 70 75 74 5b 20 31 20 5d | 3b 73 70 6c 69 74 28 20 |put[ 1 ]|;split( |
|000026c0| 53 70 6c 69 74 50 61 74 | 63 68 48 65 61 64 65 72 |SplitPat|chHeader|
|000026d0| 20 29 3a 20 70 61 74 63 | 68 5b 20 30 20 5d 3b 74 | ): patc|h[ 0 ];t|
|000026e0| 61 72 67 65 74 42 75 66 | 66 65 72 28 20 43 72 65 |argetBuf|fer( Cre|
|000026f0| 61 74 65 42 75 66 66 65 | 72 20 29 3a 20 73 70 6c |ateBuffe|r ): spl|
|00002700| 69 74 5b 20 34 20 5d 3b | 61 70 70 6c 79 28 20 41 |it[ 4 ];|apply( A|
|00002710| 70 70 6c 79 50 61 79 6c | 6f 61 64 20 29 3a 20 73 |pplyPayl|oad ): s|
|00002720| 70 6c 69 74 5b 20 32 20 | 5d 2c 20 73 70 6c 69 74 |plit[ 2 |], split|
|00002730| 5b 20 33 20 5d 2c 20 73 | 6f 75 72 63 65 5b 20 30 |[ 3 ], s|ource[ 0|
|00002740| 20 5d 2c 20 73 70 6c 69 | 74 5b 20 30 20 5d 2c 20 | ], spli|t[ 0 ], |
|00002750| 74 61 72 67 65 74 42 75 | 66 66 65 72 5b 20 30 20 |targetBu|ffer[ 0 |
|00002760| 5d 3b 62 69 74 52 65 61 | 64 65 72 43 6c 6f 73 65 |];bitRea|derClose|
|00002770| 28 20 42 69 74 52 65 61 | 64 65 72 43 6c 6f 73 65 |( BitRea|derClose|
|00002780| 20 29 3a 20 61 70 70 6c | 79 5b 20 30 20 5d 2c 20 | ): appl|y[ 0 ], |
|00002790| 31 3b 68 61 73 68 28 20 | 43 61 6c 63 75 6c 61 74 |1;hash( |Calculat|
|000027a0| 65 48 61 73 68 20 29 3a | 20 73 70 6c 69 74 5b 20 |eHash ):| split[ |
|000027b0| 36 20 5d 2c 20 61 70 70 | 6c 79 5b 20 31 20 5d 3b |6 ], app|ly[ 1 ];|
|000027c0| 63 68 65 63 6b 48 61 73 | 68 49 64 65 6e 74 69 74 |checkHas|hIdentit|
|000027d0| 79 28 20 43 68 65 63 6b | 42 75 66 66 65 72 73 49 |y( Check|BuffersI|
|000027e0| 64 65 6e 74 69 74 79 20 | 29 3a 20 68 61 73 68 5b |dentity |): hash[|
|000027f0| 20 30 20 5d 2c 20 73 70 | 6c 69 74 5b 20 37 20 5d | 0 ], sp|lit[ 7 ]|
|00002800| 2c 20 30 78 30 34 30 33 | 30 32 3b 6f 75 74 70 75 |, 0x0403|02;outpu|
|00002810| 74 3a 20 61 70 70 6c 79 | 5b 20 31 20 5d 3b 00 00 |t: apply|[ 1 ];..|
|00002820| 73 6f 75 72 63 65 28 20 | 50 61 73 73 42 75 66 66 |source( |PassBuff|
|00002830| 65 72 20 29 3a 20 69 6e | 70 75 74 5b 20 30 20 5d |er ): in|put[ 0 ]|
|00002840| 3b 70 61 74 63 68 28 20 | 50 61 73 73 42 75 66 66 |;patch( |PassBuff|
|00002850| 65 72 20 29 3a 20 69 6e | 70 75 74 5b 20 31 20 5d |er ): in|put[ 1 ]|
|00002860| 3b 74 61 72 67 65 74 42 | 75 66 66 65 72 28 20 50 |;targetB|uffer( P|
|00002870| 61 73 73 42 75 66 66 65 | 72 20 29 3a 20 69 6e 70 |assBuffe|r ): inp|
|00002880| 75 74 5b 20 32 20 5d 3b | 73 70 6c 69 74 28 20 53 |ut[ 2 ];|split( S|
|00002890| 70 6c 69 74 50 61 74 63 | 68 48 65 61 64 65 72 20 |plitPatc|hHeader |
|000028a0| 29 3a 20 70 61 74 63 68 | 5b 20 30 20 5d 3b 74 61 |): patch|[ 0 ];ta|
|000028b0| 72 67 65 74 42 75 66 66 | 65 72 53 69 7a 65 28 20 |rgetBuff|erSize( |
|000028c0| 42 75 66 66 65 72 53 69 | 7a 65 20 29 3a 20 74 61 |BufferSi|ze ): ta|
|000028d0| 72 67 65 74 42 75 66 66 | 65 72 5b 20 30 20 5d 3b |rgetBuff|er[ 0 ];|
|000028e0| 63 68 65 63 6b 54 61 72 | 67 65 74 53 69 7a 65 28 |checkTar|getSize(|
|000028f0| 20 43 68 65 63 6b 49 6e | 74 73 49 64 65 6e 74 69 | CheckIn|tsIdenti|
|00002900| 74 79 20 29 3a 20 73 70 | 6c 69 74 5b 20 34 20 5d |ty ): sp|lit[ 4 ]|
|00002910| 2c 20 74 61 72 67 65 74 | 42 75 66 66 65 72 53 69 |, target|BufferSi|
|00002920| 7a 65 5b 20 30 20 5d 2c | 20 30 78 30 34 30 33 30 |ze[ 0 ],| 0x04030|
|00002930| 33 3b 61 70 70 6c 79 28 | 20 41 70 70 6c 79 50 61 |3;apply(| ApplyPa|
|00002940| 79 6c 6f 61 64 20 29 3a | 20 73 70 6c 69 74 5b 20 |yload ):| split[ |
|00002950| 32 20 5d 2c 20 73 70 6c | 69 74 5b 20 33 20 5d 2c |2 ], spl|it[ 3 ],|
|00002960| 20 73 6f 75 72 63 65 5b | 20 30 20 5d 2c 20 73 70 | source[| 0 ], sp|
|00002970| 6c 69 74 5b 20 30 20 5d | 2c 20 74 61 72 67 65 74 |lit[ 0 ]|, target|
|00002980| 42 75 66 66 65 72 5b 20 | 30 20 5d 3b 62 69 74 52 |Buffer[ |0 ];bitR|
|00002990| 65 61 64 65 72 43 6c 6f | 73 65 28 20 42 69 74 52 |eaderClo|se( BitR|
|000029a0| 65 61 64 65 72 43 6c 6f | 73 65 20 29 3a 20 61 70 |eaderClo|se ): ap|
|000029b0| 70 6c 79 5b 20 30 20 5d | 2c 20 31 3b 68 61 73 68 |ply[ 0 ]|, 1;hash|
|000029c0| 28 20 43 61 6c 63 75 6c | 61 74 65 48 61 73 68 20 |( Calcul|ateHash |
|000029d0| 29 3a 20 73 70 6c 69 74 | 5b 20 36 20 5d 2c 20 61 |): split|[ 6 ], a|
|000029e0| 70 70 6c 79 5b 20 31 20 | 5d 3b 63 68 65 63 6b 48 |pply[ 1 |];checkH|
|000029f0| 61 73 68 49 64 65 6e 74 | 69 74 79 28 20 43 68 65 |ashIdent|ity( Che|
|00002a00| 63 6b 42 75 66 66 65 72 | 73 49 64 65 6e 74 69 74 |ckBuffer|sIdentit|
|00002a10| 79 20 29 3a 20 68 61 73 | 68 5b 20 30 20 5d 2c 20 |y ): has|h[ 0 ], |
|00002a20| 73 70 6c 69 74 5b 20 37 | 20 5d 2c 20 30 78 30 34 |split[ 7| ], 0x04|
|00002a30| 30 33 30 32 3b 6f 75 74 | 70 75 74 3a 20 61 70 70 |0302;out|put: app|
|00002a40| 6c 79 5b 20 31 20 5d 3b | 00 00 00 00 00 00 00 00 |ly[ 1 ];|........|
|00002a50| 66 75 6c 6c 28 20 43 6f | 70 79 42 75 66 66 65 72 |full( Co|pyBuffer|
|00002a60| 20 29 3a 20 69 6e 70 75 | 74 5b 20 30 20 5d 3b 61 | ): inpu|t[ 0 ];a|
|00002a70| 73 63 69 69 50 61 74 63 | 68 53 69 67 6e 61 74 75 |sciiPatc|hSignatu|
|00002a80| 72 65 28 20 54 54 6f 41 | 73 63 69 69 20 29 3a 20 |re( TToA|scii ): |
|00002a90| 22 50 41 33 30 22 3b 61 | 73 63 69 69 50 61 74 63 |"PA30";a|sciiPatc|
|00002aa0| 68 53 69 67 6e 61 74 75 | 72 65 53 69 7a 65 28 20 |hSignatu|reSize( |
|00002ab0| 42 75 66 66 65 72 53 69 | 7a 65 20 29 3a 20 61 73 |BufferSi|ze ): as|
|00002ac0| 63 69 69 50 61 74 63 68 | 53 69 67 6e 61 74 75 72 |ciiPatch|Signatur|
|00002ad0| 65 5b 20 30 20 5d 3b 73 | 69 67 6e 61 74 75 72 65 |e[ 0 ];s|ignature|
|00002ae0| 28 20 55 6e 63 6f 6e 63 | 61 74 20 29 3a 20 66 75 |( Unconc|at ): fu|
|00002af0| 6c 6c 5b 20 30 20 5d 2c | 20 61 73 63 69 69 50 61 |ll[ 0 ],| asciiPa|
|00002b00| 74 63 68 53 69 67 6e 61 | 74 75 72 65 53 69 7a 65 |tchSigna|tureSize|
|00002b10| 5b 20 30 20 5d 3b 63 68 | 65 63 6b 53 69 67 6e 61 |[ 0 ];ch|eckSigna|
|00002b20| 74 75 72 65 28 20 43 68 | 65 63 6b 42 75 66 66 65 |ture( Ch|eckBuffe|
|00002b30| 72 73 49 64 65 6e 74 69 | 74 79 20 29 3a 20 73 69 |rsIdenti|ty ): si|
|00002b40| 67 6e 61 74 75 72 65 5b | 20 30 20 5d 2c 20 61 73 |gnature[| 0 ], as|
|00002b50| 63 69 69 50 61 74 63 68 | 53 69 67 6e 61 74 75 72 |ciiPatch|Signatur|
|00002b60| 65 5b 20 30 20 5d 2c 20 | 30 78 30 34 34 36 30 31 |e[ 0 ], |0x044601|
|00002b70| 3b 69 6e 74 46 69 78 65 | 64 42 75 66 66 65 72 28 |;intFixe|dBuffer(|
|00002b80| 20 49 6e 74 54 6f 46 69 | 78 65 64 42 75 66 66 65 | IntToFi|xedBuffe|
|00002b90| 72 20 29 3a 20 30 3b 69 | 6e 74 46 69 78 65 64 42 |r ): 0;i|ntFixedB|
|00002ba0| 75 66 66 65 72 53 69 7a | 65 28 20 42 75 66 66 65 |ufferSiz|e( Buffe|
|00002bb0| 72 53 69 7a 65 20 29 3a | 20 69 6e 74 46 69 78 65 |rSize ):| intFixe|
|00002bc0| 64 42 75 66 66 65 72 5b | 20 30 20 5d 3b 66 69 6c |dBuffer[| 0 ];fil|
|00002bd0| 65 54 69 6d 65 42 75 66 | 66 65 72 28 20 55 6e 63 |eTimeBuf|fer( Unc|
|00002be0| 6f 6e 63 61 74 20 29 3a | 20 73 69 67 6e 61 74 75 |oncat ):| signatu|
|00002bf0| 72 65 5b 20 31 20 5d 2c | 20 69 6e 74 46 69 78 65 |re[ 1 ],| intFixe|
|00002c00| 64 42 75 66 66 65 72 53 | 69 7a 65 5b 20 30 20 5d |dBufferS|ize[ 0 ]|
|00002c10| 3b 66 69 6c 65 54 69 6d | 65 28 20 49 6e 74 46 72 |;fileTim|e( IntFr|
|00002c20| 6f 6d 46 69 78 65 64 42 | 75 66 66 65 72 20 29 3a |omFixedB|uffer ):|
|00002c30| 20 66 69 6c 65 54 69 6d | 65 42 75 66 66 65 72 5b | fileTim|eBuffer[|
|00002c40| 20 30 20 5d 3b 62 69 74 | 52 65 61 64 65 72 28 20 | 0 ];bit|Reader( |
|00002c50| 42 69 74 52 65 61 64 65 | 72 4f 70 65 6e 20 29 3a |BitReade|rOpen ):|
|00002c60| 20 66 69 6c 65 54 69 6d | 65 42 75 66 66 65 72 5b | fileTim|eBuffer[|
|00002c70| 20 31 20 5d 3b 76 65 72 | 73 69 6f 6e 28 20 42 69 | 1 ];ver|sion( Bi|
|00002c80| 74 52 65 61 64 49 6e 74 | 20 29 3a 20 62 69 74 52 |tReadInt| ): bitR|
|00002c90| 65 61 64 65 72 5b 20 30 | 20 5d 3b 63 6f 64 65 28 |eader[ 0| ];code(|
|00002ca0| 20 42 69 74 52 65 61 64 | 49 6e 74 20 29 3a 20 76 | BitRead|Int ): v|
|00002cb0| 65 72 73 69 6f 6e 5b 20 | 30 20 5d 3b 66 6c 61 67 |ersion[ |0 ];flag|
|00002cc0| 73 49 6e 74 28 20 42 69 | 74 52 65 61 64 49 6e 74 |sInt( Bi|tReadInt|
|00002cd0| 20 29 3a 20 63 6f 64 65 | 5b 20 30 20 5d 3b 74 61 | ): code|[ 0 ];ta|
|00002ce0| 72 67 65 74 53 69 7a 65 | 28 20 42 69 74 52 65 61 |rgetSize|( BitRea|
|00002cf0| 64 49 6e 74 20 29 3a 20 | 66 6c 61 67 73 49 6e 74 |dInt ): |flagsInt|
|00002d00| 5b 20 30 20 5d 3b 68 61 | 73 68 41 6c 67 49 64 28 |[ 0 ];ha|shAlgId(|
|00002d10| 20 42 69 74 52 65 61 64 | 49 6e 74 20 29 3a 20 74 | BitRead|Int ): t|
|00002d20| 61 72 67 65 74 53 69 7a | 65 5b 20 30 20 5d 3b 68 |argetSiz|e[ 0 ];h|
|00002d30| 61 73 68 28 20 42 69 74 | 52 65 61 64 42 75 66 66 |ash( Bit|ReadBuff|
|00002d40| 65 72 20 29 3a 20 68 61 | 73 68 41 6c 67 49 64 5b |er ): ha|shAlgId[|
|00002d50| 20 30 20 5d 3b 6f 75 74 | 70 75 74 3a 20 68 61 73 | 0 ];out|put: has|
|00002d60| 68 5b 20 30 20 5d 2c 20 | 76 65 72 73 69 6f 6e 5b |h[ 0 ], |version[|
|00002d70| 20 31 20 5d 2c 20 63 6f | 64 65 5b 20 31 20 5d 2c | 1 ], co|de[ 1 ],|
|00002d80| 20 66 6c 61 67 73 49 6e | 74 5b 20 31 20 5d 2c 20 | flagsIn|t[ 1 ], |
|00002d90| 74 61 72 67 65 74 53 69 | 7a 65 5b 20 31 20 5d 2c |targetSi|ze[ 1 ],|
|00002da0| 20 66 69 6c 65 54 69 6d | 65 5b 20 30 20 5d 2c 20 | fileTim|e[ 0 ], |
|00002db0| 68 61 73 68 41 6c 67 49 | 64 5b 20 31 20 5d 2c 20 |hashAlgI|d[ 1 ], |
|00002dc0| 68 61 73 68 5b 20 31 20 | 5d 3b 00 00 00 00 00 00 |hash[ 1 |];......|
|00002dd0| 63 6f 64 65 28 20 43 6f | 70 79 49 6e 74 20 29 3a |code( Co|pyInt ):|
|00002de0| 20 69 6e 70 75 74 5b 20 | 30 20 5d 3b 66 6c 61 67 | input[ |0 ];flag|
|00002df0| 73 49 6e 74 28 20 43 6f | 70 79 49 6e 74 20 29 3a |sInt( Co|pyInt ):|
|00002e00| 20 69 6e 70 75 74 5b 20 | 31 20 5d 3b 73 6f 75 72 | input[ |1 ];sour|
|00002e10| 63 65 28 20 50 61 73 73 | 42 75 66 66 65 72 20 29 |ce( Pass|Buffer )|
|00002e20| 3a 20 69 6e 70 75 74 5b | 20 32 20 5d 3b 62 69 74 |: input[| 2 ];bit|
|00002e30| 52 65 61 64 65 72 28 20 | 50 61 73 73 42 69 74 52 |Reader( |PassBitR|
|00002e40| 65 61 64 65 72 20 29 3a | 20 69 6e 70 75 74 5b 20 |eader ):| input[ |
|00002e50| 33 20 5d 3b 74 61 72 67 | 65 74 42 75 66 66 65 72 |3 ];targ|etBuffer|
|00002e60| 28 20 50 61 73 73 42 75 | 66 66 65 72 20 29 3a 20 |( PassBu|ffer ): |
|00002e70| 69 6e 70 75 74 5b 20 34 | 20 5d 3b 73 6f 75 72 63 |input[ 4| ];sourc|
|00002e80| 65 53 69 7a 65 28 20 42 | 75 66 66 65 72 53 69 7a |eSize( B|ufferSiz|
|00002e90| 65 20 29 3a 20 73 6f 75 | 72 63 65 5b 20 30 20 5d |e ): sou|rce[ 0 ]|
|00002ea0| 3b 74 61 72 67 65 74 53 | 69 7a 65 28 20 42 75 66 |;targetS|ize( Buf|
|00002eb0| 66 65 72 53 69 7a 65 20 | 29 3a 20 74 61 72 67 65 |ferSize |): targe|
|00002ec0| 74 42 75 66 66 65 72 5b | 20 30 20 5d 3b 70 72 65 |tBuffer[| 0 ];pre|
|00002ed0| 50 72 6f 63 65 73 73 42 | 75 66 66 65 72 28 20 42 |ProcessB|uffer( B|
|00002ee0| 69 74 52 65 61 64 42 75 | 66 66 65 72 20 29 3a 20 |itReadBu|ffer ): |
|00002ef0| 62 69 74 52 65 61 64 65 | 72 5b 20 30 20 5d 3b 63 |bitReade|r[ 0 ];c|
|00002f00| 6f 64 65 4d 6e 65 6d 6f | 6e 69 63 28 20 47 65 74 |odeMnemo|nic( Get|
|00002f10| 46 69 6c 65 54 79 70 65 | 4d 6e 65 6d 6f 6e 69 63 |FileType|Mnemonic|
|00002f20| 20 29 3a 20 63 6f 64 65 | 5b 20 30 20 5d 3b 61 70 | ): code|[ 0 ];ap|
|00002f30| 70 6c 79 50 72 65 50 72 | 6f 63 65 73 73 53 6f 75 |plyPrePr|ocessSou|
|00002f40| 72 63 65 4e 61 6d 65 28 | 20 43 6f 6e 63 61 74 20 |rceName(| Concat |
|00002f50| 29 3a 20 22 41 70 70 6c | 79 50 72 65 50 72 6f 63 |): "Appl|yPreProc|
|00002f60| 65 73 73 53 6f 75 72 63 | 65 5f 22 2c 20 63 6f 64 |essSourc|e_", cod|
|00002f70| 65 4d 6e 65 6d 6f 6e 69 | 63 5b 20 30 20 5d 3b 61 |eMnemoni|c[ 0 ];a|
|00002f80| 70 70 6c 79 50 72 65 50 | 72 6f 63 65 73 73 53 6f |pplyPreP|rocessSo|
|00002f90| 75 72 63 65 28 20 41 70 | 70 6c 79 50 72 65 50 72 |urce( Ap|plyPrePr|
|00002fa0| 6f 63 65 73 73 53 6f 75 | 72 63 65 5f 52 41 57 20 |ocessSou|rce_RAW |
|00002fb0| 2f 20 61 70 70 6c 79 50 | 72 65 50 72 6f 63 65 73 |/ applyP|reProces|
|00002fc0| 73 53 6f 75 72 63 65 4e | 61 6d 65 5b 20 30 20 5d |sSourceN|ame[ 0 ]|
|00002fd0| 20 29 3a 20 63 6f 64 65 | 5b 20 30 20 5d 2c 20 66 | ): code|[ 0 ], f|
|00002fe0| 6c 61 67 73 49 6e 74 5b | 20 30 20 5d 2c 20 73 6f |lagsInt[| 0 ], so|
|00002ff0| 75 72 63 65 5b 20 30 20 | 5d 2c 20 70 72 65 50 72 |urce[ 0 |], prePr|
|00003000| 6f 63 65 73 73 42 75 66 | 66 65 72 5b 20 31 20 5d |ocessBuf|fer[ 1 ]|
|00003010| 2c 20 74 61 72 67 65 74 | 53 69 7a 65 5b 20 30 20 |, target|Size[ 0 |
|00003020| 5d 3b 64 65 62 75 67 57 | 72 69 74 65 50 72 65 50 |];debugW|ritePreP|
|00003030| 72 6f 63 65 73 73 53 6f | 75 72 63 65 28 20 44 65 |rocessSo|urce( De|
|00003040| 62 75 67 57 72 69 74 65 | 46 69 6c 65 20 29 3a 20 |bugWrite|File ): |
|00003050| 22 70 72 65 50 72 6f 63 | 65 73 73 53 6f 75 72 63 |"preProc|essSourc|
|00003060| 65 2e 61 70 70 6c 79 2e | 69 6d 61 67 65 22 2c 20 |e.apply.|image", |
|00003070| 61 70 70 6c 79 50 72 65 | 50 72 6f 63 65 73 73 53 |applyPre|ProcessS|
|00003080| 6f 75 72 63 65 5b 20 30 | 20 5d 3b 63 6f 6d 70 72 |ource[ 0| ];compr|
|00003090| 65 73 73 69 6f 6e 52 69 | 66 74 54 61 62 6c 65 35 |essionRi|ftTable5|
|000030a0| 28 20 50 61 73 73 52 69 | 66 74 54 61 62 6c 65 20 |( PassRi|ftTable |
|000030b0| 29 3a 20 61 70 70 6c 79 | 50 72 65 50 72 6f 63 65 |): apply|PreProce|
|000030c0| 73 73 53 6f 75 72 63 65 | 5b 20 31 20 5d 3b 64 65 |ssSource|[ 1 ];de|
|000030d0| 62 75 67 57 72 69 74 65 | 43 6f 6d 70 72 65 73 73 |bugWrite|Compress|
|000030e0| 69 6f 6e 35 28 20 44 65 | 62 75 67 57 72 69 74 65 |ion5( De|bugWrite|
|000030f0| 46 69 6c 65 52 69 66 74 | 54 61 62 6c 65 20 29 3a |FileRift|Table ):|
|00003100| 20 22 63 6f 6d 70 72 65 | 73 73 69 6f 6e 35 2e 61 | "compre|ssion5.a|
|00003110| 70 70 6c 79 2e 72 69 66 | 74 22 2c 20 63 6f 6d 70 |pply.rif|t", comp|
|00003120| 72 65 73 73 69 6f 6e 52 | 69 66 74 54 61 62 6c 65 |ressionR|iftTable|
|00003130| 35 5b 20 30 20 5d 3b 63 | 6f 6d 70 72 65 73 73 69 |5[ 0 ];c|ompressi|
|00003140| 6f 6e 52 69 66 74 54 61 | 62 6c 65 36 28 20 43 72 |onRiftTa|ble6( Cr|
|00003150| 65 61 74 65 45 6d 70 74 | 79 52 69 66 74 54 61 62 |eateEmpt|yRiftTab|
|00003160| 6c 65 20 29 3a 3b 63 6f | 6d 70 72 65 73 73 69 6f |le ):;co|mpressio|
|00003170| 6e 52 69 66 74 54 61 62 | 6c 65 37 28 20 41 64 64 |nRiftTab|le7( Add|
|00003180| 52 69 66 74 45 6e 74 72 | 79 20 29 3a 20 63 6f 6d |RiftEntr|y ): com|
|00003190| 70 72 65 73 73 69 6f 6e | 52 69 66 74 54 61 62 6c |pression|RiftTabl|
|000031a0| 65 36 5b 20 30 20 5d 2c | 20 73 6f 75 72 63 65 53 |e6[ 0 ],| sourceS|
|000031b0| 69 7a 65 5b 20 30 20 5d | 2c 20 30 3b 64 65 62 75 |ize[ 0 ]|, 0;debu|
|000031c0| 67 57 72 69 74 65 43 6f | 6d 70 72 65 73 73 69 6f |gWriteCo|mpressio|
|000031d0| 6e 37 28 20 44 65 62 75 | 67 57 72 69 74 65 46 69 |n7( Debu|gWriteFi|
|000031e0| 6c 65 52 69 66 74 54 61 | 62 6c 65 20 29 3a 20 22 |leRiftTa|ble ): "|
|000031f0| 63 6f 6d 70 72 65 73 73 | 69 6f 6e 37 2e 61 70 70 |compress|ion7.app|
|00003200| 6c 79 2e 72 69 66 74 22 | 2c 20 63 6f 6d 70 72 65 |ly.rift"|, compre|
|00003210| 73 73 69 6f 6e 52 69 66 | 74 54 61 62 6c 65 37 5b |ssionRif|tTable7[|
|00003220| 20 30 20 5d 3b 63 6f 6d | 70 72 65 73 73 69 6f 6e | 0 ];com|pression|
|00003230| 52 69 66 74 54 61 62 6c | 65 38 28 20 4d 75 6c 74 |RiftTabl|e8( Mult|
|00003240| 69 70 6c 79 52 69 66 74 | 54 61 62 6c 65 73 20 29 |iplyRift|Tables )|
|00003250| 3a 20 63 6f 6d 70 72 65 | 73 73 69 6f 6e 52 69 66 |: compre|ssionRif|
|00003260| 74 54 61 62 6c 65 37 5b | 20 30 20 5d 2c 20 63 6f |tTable7[| 0 ], co|
|00003270| 6d 70 72 65 73 73 69 6f | 6e 52 69 66 74 54 61 62 |mpressio|nRiftTab|
|00003280| 6c 65 35 5b 20 30 20 5d | 3b 64 65 62 75 67 57 72 |le5[ 0 ]|;debugWr|
|00003290| 69 74 65 43 6f 6d 70 72 | 65 73 73 69 6f 6e 38 28 |iteCompr|ession8(|
|000032a0| 20 44 65 62 75 67 57 72 | 69 74 65 46 69 6c 65 52 | DebugWr|iteFileR|
|000032b0| 69 66 74 54 61 62 6c 65 | 20 29 3a 20 22 63 6f 6d |iftTable| ): "com|
|000032c0| 70 72 65 73 73 69 6f 6e | 38 2e 61 70 70 6c 79 2e |pression|8.apply.|
|000032d0| 72 69 66 74 22 2c 20 63 | 6f 6d 70 72 65 73 73 69 |rift", c|ompressi|
|000032e0| 6f 6e 52 69 66 74 54 61 | 62 6c 65 38 5b 20 30 20 |onRiftTa|ble8[ 0 |
|000032f0| 5d 3b 20 63 6f 6d 70 72 | 65 73 73 69 6f 6e 52 69 |]; compr|essionRi|
|00003300| 66 74 54 61 62 6c 65 39 | 28 20 52 65 64 75 63 65 |ftTable9|( Reduce|
|00003310| 52 69 66 74 54 61 62 6c | 65 20 29 3a 20 63 6f 6d |RiftTabl|e ): com|
|00003320| 70 72 65 73 73 69 6f 6e | 52 69 66 74 54 61 62 6c |pression|RiftTabl|
|00003330| 65 38 5b 20 30 20 5d 3b | 64 65 62 75 67 57 72 69 |e8[ 0 ];|debugWri|
|00003340| 74 65 43 6f 6d 70 72 65 | 73 73 69 6f 6e 39 28 20 |teCompre|ssion9( |
|00003350| 44 65 62 75 67 57 72 69 | 74 65 46 69 6c 65 52 69 |DebugWri|teFileRi|
|00003360| 66 74 54 61 62 6c 65 20 | 29 3a 20 22 63 6f 6d 70 |ftTable |): "comp|
|00003370| 72 65 73 73 69 6f 6e 39 | 2e 61 70 70 6c 79 2e 72 |ression9|.apply.r|
|00003380| 69 66 74 22 2c 20 63 6f | 6d 70 72 65 73 73 69 6f |ift", co|mpressio|
|00003390| 6e 52 69 66 74 54 61 62 | 6c 65 39 5b 20 30 20 5d |nRiftTab|le9[ 0 ]|
|000033a0| 3b 70 61 74 63 68 42 75 | 66 66 65 72 28 20 42 69 |;patchBu|ffer( Bi|
|000033b0| 74 52 65 61 64 42 75 66 | 66 65 72 20 29 3a 20 70 |tReadBuf|fer ): p|
|000033c0| 72 65 50 72 6f 63 65 73 | 73 42 75 66 66 65 72 5b |reProces|sBuffer[|
|000033d0| 20 30 20 5d 3b 74 61 72 | 67 65 74 31 28 20 41 70 | 0 ];tar|get1( Ap|
|000033e0| 70 6c 79 50 73 65 75 64 | 6f 4c 7a 78 50 61 74 63 |plyPseud|oLzxPatc|
|000033f0| 68 54 61 72 67 65 74 42 | 75 66 66 65 72 50 72 6f |hTargetB|ufferPro|
|00003400| 76 69 64 65 64 20 29 3a | 20 61 70 70 6c 79 50 72 |vided ):| applyPr|
|00003410| 65 50 72 6f 63 65 73 73 | 53 6f 75 72 63 65 5b 20 |eProcess|Source[ |
|00003420| 30 20 5d 2c 20 70 61 74 | 63 68 42 75 66 66 65 72 |0 ], pat|chBuffer|
|00003430| 5b 20 31 20 5d 2c 20 74 | 61 72 67 65 74 42 75 66 |[ 1 ], t|argetBuf|
|00003440| 66 65 72 5b 20 30 20 5d | 2c 20 63 6f 6d 70 72 65 |fer[ 0 ]|, compre|
|00003450| 73 73 69 6f 6e 52 69 66 | 74 54 61 62 6c 65 39 5b |ssionRif|tTable9[|
|00003460| 20 30 20 5d 3b 64 65 62 | 75 67 57 72 69 74 65 50 | 0 ];deb|ugWriteP|
|00003470| 72 65 50 72 6f 63 65 73 | 73 54 61 72 67 65 74 28 |reProces|sTarget(|
|00003480| 20 44 65 62 75 67 57 72 | 69 74 65 46 69 6c 65 20 | DebugWr|iteFile |
|00003490| 29 3a 20 22 70 72 65 50 | 72 6f 63 65 73 73 54 61 |): "preP|rocessTa|
|000034a0| 72 67 65 74 2e 63 72 65 | 61 74 65 2e 69 6d 61 67 |rget.cre|ate.imag|
|000034b0| 65 22 2c 20 74 61 72 67 | 65 74 31 5b 20 30 20 5d |e", targ|et1[ 0 ]|
|000034c0| 3b 74 61 72 67 65 74 28 | 20 41 70 70 6c 79 50 6f |;target(| ApplyPo|
|000034d0| 73 74 50 72 6f 63 65 73 | 73 54 61 72 67 65 74 20 |stProces|sTarget |
|000034e0| 29 3a 20 66 6c 61 67 73 | 49 6e 74 5b 20 30 20 5d |): flags|Int[ 0 ]|
|000034f0| 2c 20 74 61 72 67 65 74 | 31 5b 20 30 20 5d 3b 6f |, target|1[ 0 ];o|
|00003500| 75 74 70 75 74 3a 20 70 | 61 74 63 68 42 75 66 66 |utput: p|atchBuff|
|00003510| 65 72 5b 20 30 20 5d 2c | 20 74 61 72 67 65 74 5b |er[ 0 ],| target[|
|00003520| 20 30 20 5d 3b 00 00 00 | 41 70 70 6c 79 50 61 79 | 0 ];...|ApplyPay|
|00003530| 6c 6f 61 64 00 00 00 00 | 66 6c 61 67 73 28 20 47 |load....|flags( G|
|00003540| 65 74 42 69 74 73 20 29 | 3a 20 69 6e 70 75 74 5b |etBits )|: input[|
|00003550| 20 30 20 5d 3b 6f 75 74 | 70 75 74 28 20 50 61 73 | 0 ];out|put( Pas|
|00003560| 73 42 75 66 66 65 72 20 | 2f 20 66 6c 61 67 73 5b |sBuffer |/ flags[|
|00003570| 20 30 20 5d 20 3f 20 22 | 50 72 65 50 72 6f 63 65 | 0 ] ? "|PreProce|
|00003580| 73 73 49 33 38 36 45 38 | 22 20 3a 20 22 50 61 73 |ssI386E8|" : "Pas|
|00003590| 73 42 75 66 66 65 72 22 | 20 29 3a 20 69 6e 70 75 |sBuffer"| ): inpu|
|000035a0| 74 5b 20 31 20 5d 3b 00 | 43 72 65 61 74 65 50 72 |t[ 1 ];.|CreatePr|
|000035b0| 65 50 72 6f 63 65 73 73 | 54 61 72 67 65 74 00 00 |eProcess|Target..|
|000035c0| 43 72 65 61 74 65 50 72 | 65 50 72 6f 63 65 73 73 |CreatePr|eProcess|
|000035d0| 53 6f 75 72 63 65 5f 49 | 41 36 34 00 43 72 65 61 |Source_I|A64.Crea|
|000035e0| 74 65 50 72 65 50 72 6f | 63 65 73 73 53 6f 75 72 |tePrePro|cessSour|
|000035f0| 63 65 5f 41 4d 44 36 34 | 00 00 00 00 77 72 61 70 |ce_AMD64|....wrap|
|00003600| 28 20 43 72 65 61 74 65 | 50 72 65 50 72 6f 63 65 |( Create|PreProce|
|00003610| 73 73 53 6f 75 72 63 65 | 50 65 20 29 3a 3b 00 00 |ssSource|Pe ):;..|
|00003620| 43 72 65 61 74 65 50 72 | 65 50 72 6f 63 65 73 73 |CreatePr|eProcess|
|00003630| 53 6f 75 72 63 65 5f 49 | 33 38 36 00 00 00 00 00 |Source_I|386.....|
|00003640| 63 6f 64 65 28 20 49 6e | 70 75 74 53 68 61 72 65 |code( In|putShare|
|00003650| 64 49 6e 74 20 29 3a 20 | 69 6e 70 75 74 5b 20 30 |dInt ): |input[ 0|
|00003660| 20 5d 3b 74 61 72 67 65 | 74 43 6f 64 65 28 20 49 | ];targe|tCode( I|
|00003670| 6e 70 75 74 53 68 61 72 | 65 64 49 6e 74 20 29 3a |nputShar|edInt ):|
|00003680| 20 69 6e 70 75 74 5b 20 | 31 20 5d 3b 66 6c 61 67 | input[ |1 ];flag|
|00003690| 73 49 6e 74 28 20 49 6e | 70 75 74 53 68 61 72 65 |sInt( In|putShare|
|000036a0| 64 49 6e 74 29 3a 20 69 | 6e 70 75 74 5b 20 32 20 |dInt): i|nput[ 2 |
|000036b0| 5d 3b 73 6f 75 72 63 65 | 28 20 50 61 73 73 42 75 |];source|( PassBu|
|000036c0| 66 66 65 72 20 29 3a 20 | 69 6e 70 75 74 5b 20 33 |ffer ): |input[ 3|
|000036d0| 20 5d 3b 74 61 72 67 65 | 74 28 20 49 6e 70 75 74 | ];targe|t( Input|
|000036e0| 53 68 61 72 65 64 42 75 | 66 66 65 72 20 29 3a 20 |SharedBu|ffer ): |
|000036f0| 69 6e 70 75 74 5b 20 34 | 20 5d 3b 73 6f 75 72 63 |input[ 4| ];sourc|
|00003700| 65 49 6e 69 28 20 50 61 | 73 73 49 6e 69 52 65 61 |eIni( Pa|ssIniRea|
|00003710| 64 65 72 20 29 3a 20 69 | 6e 70 75 74 5b 20 35 20 |der ): i|nput[ 5 |
|00003720| 5d 3b 74 61 72 67 65 74 | 49 6e 69 28 20 50 61 73 |];target|Ini( Pas|
|00003730| 73 49 6e 69 52 65 61 64 | 65 72 20 29 3a 20 69 6e |sIniRead|er ): in|
|00003740| 70 75 74 5b 20 36 20 5d | 3b 70 61 74 63 68 49 6e |put[ 6 ]|;patchIn|
|00003750| 69 28 20 50 61 73 73 49 | 6e 69 52 65 61 64 65 72 |i( PassI|niReader|
|00003760| 20 29 3a 20 69 6e 70 75 | 74 5b 20 37 20 5d 3b 63 | ): inpu|t[ 7 ];c|
|00003770| 6f 6d 70 72 65 73 73 69 | 6f 6e 52 69 66 74 54 61 |ompressi|onRiftTa|
|00003780| 62 6c 65 28 20 43 72 65 | 61 74 65 45 6d 70 74 79 |ble( Cre|ateEmpty|
|00003790| 52 69 66 74 54 61 62 6c | 65 20 29 3a 3b 6f 75 74 |RiftTabl|e ):;out|
|000037a0| 70 75 74 3a 20 73 6f 75 | 72 63 65 5b 20 30 20 5d |put: sou|rce[ 0 ]|
|000037b0| 2c 20 22 22 2c 20 63 6f | 6d 70 72 65 73 73 69 6f |, "", co|mpressio|
|000037c0| 6e 52 69 66 74 54 61 62 | 6c 65 5b 20 30 20 5d 3b |nRiftTab|le[ 0 ];|
|000037d0| 00 00 00 00 43 72 65 61 | 74 65 50 72 65 50 72 6f |....Crea|tePrePro|
|000037e0| 63 65 73 73 53 6f 75 72 | 63 65 5f 52 41 57 00 00 |cessSour|ce_RAW..|
|000037f0| 66 6c 61 67 73 28 20 47 | 65 74 42 69 74 73 20 29 |flags( G|etBits )|
|00003800| 3a 20 69 6e 70 75 74 5b | 20 30 20 5d 3b 6f 75 74 |: input[| 0 ];out|
|00003810| 70 75 74 28 20 50 61 73 | 73 42 75 66 66 65 72 20 |put( Pas|sBuffer |
|00003820| 2f 20 66 6c 61 67 73 5b | 20 30 20 5d 20 3f 20 22 |/ flags[| 0 ] ? "|
|00003830| 50 6f 73 74 50 72 6f 63 | 65 73 73 49 33 38 36 45 |PostProc|essI386E|
|00003840| 38 22 20 3a 20 22 50 61 | 73 73 42 75 66 66 65 72 |8" : "Pa|ssBuffer|
|00003850| 22 20 29 3a 20 69 6e 70 | 75 74 5b 20 31 20 5d 3b |" ): inp|ut[ 1 ];|
|00003860| 00 00 00 00 41 70 70 6c | 79 50 6f 73 74 50 72 6f |....Appl|yPostPro|
|00003870| 63 65 73 73 54 61 72 67 | 65 74 00 00 41 70 70 6c |cessTarg|et..Appl|
|00003880| 79 50 72 65 50 72 6f 63 | 65 73 73 53 6f 75 72 63 |yPreProc|essSourc|
|00003890| 65 5f 49 41 36 34 00 00 | 41 70 70 6c 79 50 72 65 |e_IA64..|ApplyPre|
|000038a0| 50 72 6f 63 65 73 73 53 | 6f 75 72 63 65 5f 41 4d |ProcessS|ource_AM|
|000038b0| 44 36 34 00 77 72 61 70 | 28 20 41 70 70 6c 79 50 |D64.wrap|( ApplyP|
|000038c0| 72 65 50 72 6f 63 65 73 | 73 53 6f 75 72 63 65 50 |reProces|sSourceP|
|000038d0| 65 20 29 3a 3b 00 00 00 | 41 70 70 6c 79 50 72 65 |e ):;...|ApplyPre|
|000038e0| 50 72 6f 63 65 73 73 53 | 6f 75 72 63 65 5f 49 33 |ProcessS|ource_I3|
|000038f0| 38 36 00 00 00 00 00 00 | 63 6f 64 65 28 20 49 6e |86......|code( In|
|00003900| 70 75 74 53 68 61 72 65 | 64 49 6e 74 20 29 3a 20 |putShare|dInt ): |
|00003910| 69 6e 70 75 74 5b 20 30 | 20 5d 3b 66 6c 61 67 73 |input[ 0| ];flags|
|00003920| 49 6e 74 28 20 49 6e 70 | 75 74 53 68 61 72 65 64 |Int( Inp|utShared|
|00003930| 49 6e 74 20 29 3a 20 69 | 6e 70 75 74 5b 20 31 20 |Int ): i|nput[ 1 |
|00003940| 5d 3b 73 6f 75 72 63 65 | 28 20 50 61 73 73 42 75 |];source|( PassBu|
|00003950| 66 66 65 72 20 29 3a 20 | 69 6e 70 75 74 5b 20 32 |ffer ): |input[ 2|
|00003960| 20 5d 3b 70 72 65 50 72 | 6f 63 65 73 73 42 75 66 | ];prePr|ocessBuf|
|00003970| 66 65 72 28 20 49 6e 70 | 75 74 53 68 61 72 65 64 |fer( Inp|utShared|
|00003980| 42 75 66 66 65 72 20 29 | 3a 20 69 6e 70 75 74 5b |Buffer )|: input[|
|00003990| 20 33 20 5d 3b 74 61 72 | 67 65 74 53 69 7a 65 28 | 3 ];tar|getSize(|
|000039a0| 20 49 6e 70 75 74 53 68 | 61 72 65 64 49 6e 74 20 | InputSh|aredInt |
|000039b0| 29 3a 20 69 6e 70 75 74 | 5b 20 34 20 5d 3b 72 69 |): input|[ 4 ];ri|
|000039c0| 66 74 54 61 62 6c 65 28 | 20 43 72 65 61 74 65 45 |ftTable(| CreateE|
|000039d0| 6d 70 74 79 52 69 66 74 | 54 61 62 6c 65 20 29 3a |mptyRift|Table ):|
|000039e0| 3b 63 6f 6d 70 72 65 73 | 73 69 6f 6e 52 69 66 74 |;compres|sionRift|
|000039f0| 54 61 62 6c 65 28 20 43 | 72 65 61 74 65 45 6d 70 |Table( C|reateEmp|
|00003a00| 74 79 52 69 66 74 54 61 | 62 6c 65 20 29 3a 3b 6f |tyRiftTa|ble ):;o|
|00003a10| 75 74 70 75 74 3a 20 73 | 6f 75 72 63 65 5b 20 30 |utput: s|ource[ 0|
|00003a20| 20 5d 2c 20 63 6f 6d 70 | 72 65 73 73 69 6f 6e 52 | ], comp|ressionR|
|00003a30| 69 66 74 54 61 62 6c 65 | 5b 20 30 20 5d 3b 00 00 |iftTable|[ 0 ];..|
|00003a40| 41 70 70 6c 79 50 72 65 | 50 72 6f 63 65 73 73 53 |ApplyPre|ProcessS|
|00003a50| 6f 75 72 63 65 5f 52 41 | 57 00 00 00 00 00 00 00 |ource_RA|W.......|
|00003a60| 63 6f 64 65 28 20 43 6f | 70 79 49 6e 74 20 29 3a |code( Co|pyInt ):|
|00003a70| 20 69 6e 70 75 74 5b 20 | 30 20 5d 3b 74 61 72 67 | input[ |0 ];targ|
|00003a80| 65 74 43 6f 64 65 28 20 | 43 6f 70 79 49 6e 74 20 |etCode( |CopyInt |
|00003a90| 29 3a 20 69 6e 70 75 74 | 5b 20 31 20 5d 3b 66 6c |): input|[ 1 ];fl|
|00003aa0| 61 67 73 49 6e 74 28 20 | 43 6f 70 79 49 6e 74 20 |agsInt( |CopyInt |
|00003ab0| 29 3a 20 69 6e 70 75 74 | 5b 20 32 20 5d 3b 66 6c |): input|[ 2 ];fl|
|00003ac0| 61 67 73 28 20 47 65 74 | 42 69 74 73 20 29 3a 20 |ags( Get|Bits ): |
|00003ad0| 66 6c 61 67 73 49 6e 74 | 5b 20 30 20 5d 3b 73 6f |flagsInt|[ 0 ];so|
|00003ae0| 75 72 63 65 28 20 50 61 | 73 73 42 75 66 66 65 72 |urce( Pa|ssBuffer|
|00003af0| 20 29 3a 20 69 6e 70 75 | 74 5b 20 33 20 5d 3b 74 | ): inpu|t[ 3 ];t|
|00003b00| 61 72 67 65 74 28 20 43 | 6f 70 79 42 75 66 66 65 |arget( C|opyBuffe|
|00003b10| 72 20 29 3a 20 69 6e 70 | 75 74 5b 20 34 20 5d 3b |r ): inp|ut[ 4 ];|
|00003b20| 73 6f 75 72 63 65 49 6e | 69 28 20 50 61 73 73 49 |sourceIn|i( PassI|
|00003b30| 6e 69 52 65 61 64 65 72 | 20 29 3a 20 69 6e 70 75 |niReader| ): inpu|
|00003b40| 74 5b 20 35 20 5d 3b 74 | 61 72 67 65 74 49 6e 69 |t[ 5 ];t|argetIni|
|00003b50| 28 20 50 61 73 73 49 6e | 69 52 65 61 64 65 72 20 |( PassIn|iReader |
|00003b60| 29 3a 20 69 6e 70 75 74 | 5b 20 36 20 5d 3b 70 61 |): input|[ 6 ];pa|
|00003b70| 74 63 68 49 6e 69 28 20 | 50 61 73 73 49 6e 69 52 |tchIni( |PassIniR|
|00003b80| 65 61 64 65 72 20 29 3a | 20 69 6e 70 75 74 5b 20 |eader ):| input[ |
|00003b90| 37 20 5d 3b 63 6f 64 65 | 4d 6e 65 6d 6f 6e 69 63 |7 ];code|Mnemonic|
|00003ba0| 28 20 47 65 74 46 69 6c | 65 54 79 70 65 4d 6e 65 |( GetFil|eTypeMne|
|00003bb0| 6d 6f 6e 69 63 20 29 3a | 20 63 6f 64 65 5b 20 30 |monic ):| code[ 0|
|00003bc0| 20 5d 3b 73 6f 75 72 63 | 65 53 69 7a 65 28 20 42 | ];sourc|eSize( B|
|00003bd0| 75 66 66 65 72 53 69 7a | 65 20 29 3a 20 73 6f 75 |ufferSiz|e ): sou|
|00003be0| 72 63 65 5b 20 30 20 5d | 3b 73 6f 75 72 63 65 50 |rce[ 0 ]|;sourceP|
|00003bf0| 65 30 28 20 50 6f 72 74 | 61 62 6c 65 45 78 65 63 |e0( Port|ableExec|
|00003c00| 75 74 61 62 6c 65 46 72 | 6f 6d 42 75 66 66 65 72 |utableFr|omBuffer|
|00003c10| 20 29 3a 20 73 6f 75 72 | 63 65 5b 20 30 20 5d 2c | ): sour|ce[ 0 ],|
|00003c20| 20 31 3b 63 68 65 63 6b | 53 6f 75 72 63 65 50 65 | 1;check|SourcePe|
|00003c30| 30 28 20 43 68 65 63 6b | 49 6e 74 73 49 64 65 6e |0( Check|IntsIden|
|00003c40| 74 69 74 79 20 29 3a 20 | 73 6f 75 72 63 65 50 65 |tity ): |sourcePe|
|00003c50| 30 5b 20 31 20 5d 2c 20 | 31 2c 20 30 78 30 34 31 |0[ 1 ], |1, 0x041|
|00003c60| 46 30 32 3b 73 6f 75 72 | 63 65 50 65 28 20 50 61 |F02;sour|cePe( Pa|
|00003c70| 73 73 50 65 20 2f 20 66 | 6c 61 67 73 5b 20 31 33 |ssPe / f|lags[ 13|
|00003c80| 20 5d 20 3f 20 22 55 6e | 62 69 6e 64 50 6f 72 74 | ] ? "Un|bindPort|
|00003c90| 61 62 6c 65 45 78 65 63 | 75 74 61 62 6c 65 22 20 |ableExec|utable" |
|00003ca0| 3a 20 22 50 61 73 73 50 | 65 22 20 29 3a 20 73 6f |: "PassP|e" ): so|
|00003cb0| 75 72 63 65 50 65 30 5b | 20 30 20 5d 3b 73 6f 75 |urcePe0[| 0 ];sou|
|00003cc0| 72 63 65 4f 66 66 73 65 | 74 54 6f 52 76 61 28 20 |rceOffse|tToRva( |
|00003cd0| 45 78 74 72 61 63 74 49 | 6d 61 67 65 4f 66 66 73 |ExtractI|mageOffs|
|00003ce0| 65 74 54 6f 52 76 61 20 | 29 3a 20 73 6f 75 72 63 |etToRva |): sourc|
|00003cf0| 65 50 65 5b 20 30 20 5d | 3b 64 65 62 75 67 57 72 |ePe[ 0 ]|;debugWr|
|00003d00| 69 74 65 53 6f 75 72 63 | 65 4f 66 66 73 65 74 54 |iteSourc|eOffsetT|
|00003d10| 6f 52 76 61 28 20 44 65 | 62 75 67 57 72 69 74 65 |oRva( De|bugWrite|
|00003d20| 46 69 6c 65 52 69 66 74 | 54 61 62 6c 65 20 29 3a |FileRift|Table ):|
|00003d30| 20 22 73 6f 75 72 63 65 | 4f 66 66 73 65 74 54 6f | "source|OffsetTo|
|00003d40| 52 76 61 2e 63 72 65 61 | 74 65 2e 72 69 66 74 22 |Rva.crea|te.rift"|
|00003d50| 2c 20 73 6f 75 72 63 65 | 4f 66 66 73 65 74 54 6f |, source|OffsetTo|
|00003d60| 52 76 61 5b 20 30 20 5d | 3b 73 6f 75 72 63 65 43 |Rva[ 0 ]|;sourceC|
|00003d70| 6c 69 4d 65 74 61 64 61 | 74 61 28 20 45 78 74 72 |liMetada|ta( Extr|
|00003d80| 61 63 74 43 6c 69 4d 65 | 74 61 64 61 74 61 20 29 |actCliMe|tadata )|
|00003d90| 3a 20 73 6f 75 72 63 65 | 50 65 5b 20 30 20 5d 3b |: source|Pe[ 0 ];|
|00003da0| 73 6f 75 72 63 65 49 6d | 61 67 65 42 61 73 65 28 |sourceIm|ageBase(|
|00003db0| 20 47 65 74 49 6d 61 67 | 65 42 61 73 65 20 29 3a | GetImag|eBase ):|
|00003dc0| 20 73 6f 75 72 63 65 50 | 65 5b 20 30 20 5d 3b 69 | sourceP|e[ 0 ];i|
|00003dd0| 6e 69 52 69 66 74 54 61 | 62 6c 65 28 20 52 69 66 |niRiftTa|ble( Rif|
|00003de0| 74 54 61 62 6c 65 46 72 | 6f 6d 49 6e 69 53 65 63 |tTableFr|omIniSec|
|00003df0| 74 69 6f 6e 20 29 3a 20 | 70 61 74 63 68 49 6e 69 |tion ): |patchIni|
|00003e00| 5b 20 30 20 5d 2c 20 22 | 4f 6c 64 52 76 61 54 6f |[ 0 ], "|OldRvaTo|
|00003e10| 4e 65 77 52 76 61 4d 61 | 70 22 2c 20 31 3b 64 65 |NewRvaMa|p", 1;de|
|00003e20| 62 75 67 57 72 69 74 65 | 49 6e 69 52 69 66 74 54 |bugWrite|IniRiftT|
|00003e30| 61 62 6c 65 28 20 44 65 | 62 75 67 57 72 69 74 65 |able( De|bugWrite|
|00003e40| 46 69 6c 65 52 69 66 74 | 54 61 62 6c 65 20 29 3a |FileRift|Table ):|
|00003e50| 20 22 69 6e 69 2e 63 72 | 65 61 74 65 2e 72 69 66 | "ini.cr|eate.rif|
|00003e60| 74 22 2c 20 69 6e 69 52 | 69 66 74 54 61 62 6c 65 |t", iniR|iftTable|
|00003e70| 5b 20 30 20 5d 3b 63 6f | 6d 70 61 72 65 43 6f 64 |[ 0 ];co|mpareCod|
|00003e80| 65 73 28 20 43 6f 6d 70 | 61 72 65 49 6e 74 73 20 |es( Comp|areInts |
|00003e90| 29 3a 20 63 6f 64 65 5b | 20 30 20 5d 2c 20 74 61 |): code[| 0 ], ta|
|00003ea0| 72 67 65 74 43 6f 64 65 | 5b 20 30 20 5d 3b 74 61 |rgetCode|[ 0 ];ta|
|00003eb0| 72 67 65 74 50 65 43 6f | 6e 74 61 69 6e 65 72 28 |rgetPeCo|ntainer(|
|00003ec0| 20 54 61 72 67 65 74 52 | 65 61 6c 50 65 43 6f 6e | TargetR|ealPeCon|
|00003ed0| 74 61 69 6e 65 72 20 2f | 20 63 6f 6d 70 61 72 65 |tainer /| compare|
|00003ee0| 43 6f 64 65 73 5b 20 30 | 20 5d 20 3f 20 22 54 61 |Codes[ 0| ] ? "Ta|
|00003ef0| 72 67 65 74 53 74 75 62 | 50 65 43 6f 6e 74 61 69 |rgetStub|PeContai|
|00003f00| 6e 65 72 22 20 3a 20 22 | 54 61 72 67 65 74 52 65 |ner" : "|TargetRe|
|00003f10| 61 6c 50 65 43 6f 6e 74 | 61 69 6e 65 72 22 20 29 |alPeCont|ainer" )|
|00003f20| 3a 20 63 6f 64 65 5b 20 | 30 20 5d 2c 20 66 6c 61 |: code[ |0 ], fla|
|00003f30| 67 73 49 6e 74 5b 20 30 | 20 5d 2c 20 73 6f 75 72 |gsInt[ 0| ], sour|
|00003f40| 63 65 5b 20 30 20 5d 2c | 20 74 61 72 67 65 74 5b |ce[ 0 ],| target[|
|00003f50| 20 30 20 5d 2c 20 73 6f | 75 72 63 65 49 6e 69 5b | 0 ], so|urceIni[|
|00003f60| 20 30 20 5d 2c 20 74 61 | 72 67 65 74 49 6e 69 5b | 0 ], ta|rgetIni[|
|00003f70| 20 30 20 5d 2c 20 70 61 | 74 63 68 49 6e 69 5b 20 | 0 ], pa|tchIni[ |
|00003f80| 30 20 5d 3b 74 61 72 67 | 65 74 49 6e 66 6f 28 20 |0 ];targ|etInfo( |
|00003f90| 50 61 73 73 50 6f 72 74 | 61 62 6c 65 45 78 65 63 |PassPort|ableExec|
|00003fa0| 75 74 61 62 6c 65 49 6e | 66 6f 20 29 3a 20 74 61 |utableIn|fo ): ta|
|00003fb0| 72 67 65 74 50 65 43 6f | 6e 74 61 69 6e 65 72 5b |rgetPeCo|ntainer[|
|00003fc0| 20 30 20 5d 3b 74 61 72 | 67 65 74 49 6e 66 6f 53 | 0 ];tar|getInfoS|
|00003fd0| 70 6c 69 74 28 20 53 70 | 6c 69 74 50 6f 72 74 61 |plit( Sp|litPorta|
|00003fe0| 62 6c 65 45 78 65 63 75 | 74 61 62 6c 65 49 6e 66 |bleExecu|tableInf|
|00003ff0| 6f 20 29 3a 20 74 61 72 | 67 65 74 49 6e 66 6f 5b |o ): tar|getInfo[|
|00004000| 20 30 20 5d 3b 74 61 72 | 67 65 74 49 6d 61 67 65 | 0 ];tar|getImage|
|00004010| 42 61 73 65 28 20 50 61 | 73 73 49 6e 74 20 29 3a |Base( Pa|ssInt ):|
|00004020| 20 74 61 72 67 65 74 49 | 6e 66 6f 53 70 6c 69 74 | targetI|nfoSplit|
|00004030| 5b 20 30 20 5d 3b 74 61 | 72 67 65 74 47 6c 6f 62 |[ 0 ];ta|rgetGlob|
|00004040| 61 6c 50 6f 69 6e 74 65 | 72 28 20 50 61 73 73 49 |alPointe|r( PassI|
|00004050| 6e 74 20 29 3a 20 74 61 | 72 67 65 74 49 6e 66 6f |nt ): ta|rgetInfo|
|00004060| 53 70 6c 69 74 5b 20 31 | 20 5d 3b 74 61 72 67 65 |Split[ 1| ];targe|
|00004070| 74 54 69 6d 65 53 74 61 | 6d 70 28 20 50 61 73 73 |tTimeSta|mp( Pass|
|00004080| 49 6e 74 20 29 3a 20 74 | 61 72 67 65 74 49 6e 66 |Int ): t|argetInf|
|00004090| 6f 53 70 6c 69 74 5b 20 | 32 20 5d 3b 74 61 72 67 |oSplit[ |2 ];targ|
|000040a0| 65 74 52 76 61 54 6f 4f | 66 66 73 65 74 28 20 50 |etRvaToO|ffset( P|
|000040b0| 61 73 73 52 69 66 74 54 | 61 62 6c 65 20 29 3a 20 |assRiftT|able ): |
|000040c0| 74 61 72 67 65 74 49 6e | 66 6f 53 70 6c 69 74 5b |targetIn|foSplit[|
|000040d0| 20 33 20 5d 3b 64 65 62 | 75 67 57 72 69 74 65 54 | 3 ];deb|ugWriteT|
|000040e0| 61 72 67 65 74 52 76 61 | 54 6f 4f 66 66 73 65 74 |argetRva|ToOffset|
|000040f0| 52 69 66 74 54 61 62 6c | 65 28 20 44 65 62 75 67 |RiftTabl|e( Debug|
|00004100| 57 72 69 74 65 46 69 6c | 65 52 69 66 74 54 61 62 |WriteFil|eRiftTab|
|00004110| 6c 65 20 29 3a 20 22 74 | 61 72 67 65 74 52 76 61 |le ): "t|argetRva|
|00004120| 54 6f 4f 66 66 73 65 74 | 2e 63 72 65 61 74 65 2e |ToOffset|.create.|
|00004130| 72 69 66 74 22 2c 20 74 | 61 72 67 65 74 52 76 61 |rift", t|argetRva|
|00004140| 54 6f 4f 66 66 73 65 74 | 5b 20 30 20 5d 3b 74 61 |ToOffset|[ 0 ];ta|
|00004150| 72 67 65 74 43 6c 69 4d | 65 74 61 64 61 74 61 28 |rgetCliM|etadata(|
|00004160| 20 50 61 73 73 43 6c 69 | 4d 65 74 61 64 61 74 61 | PassCli|Metadata|
|00004170| 20 29 3a 20 74 61 72 67 | 65 74 49 6e 66 6f 53 70 | ): targ|etInfoSp|
|00004180| 6c 69 74 5b 20 34 20 5d | 3b 70 65 73 52 69 66 74 |lit[ 4 ]|;pesRift|
|00004190| 54 61 62 6c 65 28 20 50 | 61 73 73 52 69 66 74 54 |Table( P|assRiftT|
|000041a0| 61 62 6c 65 20 29 3a 20 | 74 61 72 67 65 74 50 65 |able ): |targetPe|
|000041b0| 43 6f 6e 74 61 69 6e 65 | 72 5b 20 31 20 5d 3b 64 |Containe|r[ 1 ];d|
|000041c0| 65 62 75 67 57 72 69 74 | 65 50 65 73 52 69 66 74 |ebugWrit|ePesRift|
|000041d0| 54 61 62 6c 65 28 20 44 | 65 62 75 67 57 72 69 74 |Table( D|ebugWrit|
|000041e0| 65 46 69 6c 65 52 69 66 | 74 54 61 62 6c 65 20 29 |eFileRif|tTable )|
|000041f0| 3a 20 22 70 65 73 2e 63 | 72 65 61 74 65 2e 72 69 |: "pes.c|reate.ri|
|00004200| 66 74 22 2c 20 70 65 73 | 52 69 66 74 54 61 62 6c |ft", pes|RiftTabl|
|00004210| 65 5b 20 30 20 5d 3b 62 | 61 73 69 63 42 6c 6f 63 |e[ 0 ];b|asicBloc|
|00004220| 6b 52 69 66 74 54 61 62 | 6c 65 28 20 50 61 73 73 |kRiftTab|le( Pass|
|00004230| 52 69 66 74 54 61 62 6c | 65 20 29 3a 20 74 61 72 |RiftTabl|e ): tar|
|00004240| 67 65 74 50 65 43 6f 6e | 74 61 69 6e 65 72 5b 20 |getPeCon|tainer[ |
|00004250| 32 20 5d 3b 64 65 62 75 | 67 57 72 69 74 65 42 61 |2 ];debu|gWriteBa|
|00004260| 73 69 63 42 6c 6f 63 6b | 52 69 66 74 54 61 62 6c |sicBlock|RiftTabl|
|00004270| 65 28 20 44 65 62 75 67 | 57 72 69 74 65 46 69 6c |e( Debug|WriteFil|
|00004280| 65 52 69 66 74 54 61 62 | 6c 65 20 29 3a 20 22 62 |eRiftTab|le ): "b|
|00004290| 61 73 69 63 42 6c 6f 63 | 6b 2e 63 72 65 61 74 65 |asicBloc|k.create|
|000042a0| 2e 72 69 66 74 22 2c 20 | 62 61 73 69 63 42 6c 6f |.rift", |basicBlo|
|000042b0| 63 6b 52 69 66 74 54 61 | 62 6c 65 5b 20 30 20 5d |ckRiftTa|ble[ 0 ]|
|000042c0| 3b 70 73 79 6d 73 52 69 | 66 74 54 61 62 6c 65 28 |;psymsRi|ftTable(|
|000042d0| 20 50 61 73 73 52 69 66 | 74 54 61 62 6c 65 20 29 | PassRif|tTable )|
|000042e0| 3a 20 74 61 72 67 65 74 | 50 65 43 6f 6e 74 61 69 |: target|PeContai|
|000042f0| 6e 65 72 5b 20 33 20 5d | 3b 64 65 62 75 67 57 72 |ner[ 3 ]|;debugWr|
|00004300| 69 74 65 50 73 79 6d 73 | 52 69 66 74 54 61 62 6c |itePsyms|RiftTabl|
|00004310| 65 28 20 44 65 62 75 67 | 57 72 69 74 65 46 69 6c |e( Debug|WriteFil|
|00004320| 65 52 69 66 74 54 61 62 | 6c 65 20 29 3a 20 22 70 |eRiftTab|le ): "p|
|00004330| 73 79 6d 73 2e 63 72 65 | 61 74 65 2e 72 69 66 74 |syms.cre|ate.rift|
|00004340| 22 2c 20 70 73 79 6d 73 | 52 69 66 74 54 61 62 6c |", psyms|RiftTabl|
|00004350| 65 5b 20 30 20 5d 3b 63 | 6c 69 4d 61 70 28 20 50 |e[ 0 ];c|liMap( P|
|00004360| 61 73 73 43 6c 69 4d 61 | 70 20 29 3a 20 74 61 72 |assCliMa|p ): tar|
|00004370| 67 65 74 50 65 43 6f 6e | 74 61 69 6e 65 72 5b 20 |getPeCon|tainer[ |
|00004380| 34 20 5d 3b 63 6c 69 4d | 61 70 52 69 66 74 54 61 |4 ];cliM|apRiftTa|
|00004390| 62 6c 65 28 20 50 61 73 | 73 52 69 66 74 54 61 62 |ble( Pas|sRiftTab|
|000043a0| 6c 65 20 29 3a 20 74 61 | 72 67 65 74 50 65 43 6f |le ): ta|rgetPeCo|
|000043b0| 6e 74 61 69 6e 65 72 5b | 20 35 20 5d 3b 64 65 62 |ntainer[| 5 ];deb|
|000043c0| 75 67 57 72 69 74 65 43 | 6c 69 4d 61 70 52 69 66 |ugWriteC|liMapRif|
|000043d0| 74 54 61 62 6c 65 28 20 | 44 65 62 75 67 57 72 69 |tTable( |DebugWri|
|000043e0| 74 65 46 69 6c 65 52 69 | 66 74 54 61 62 6c 65 20 |teFileRi|ftTable |
|000043f0| 29 3a 20 22 63 6c 69 4d | 61 70 2e 63 72 65 61 74 |): "cliM|ap.creat|
|00004400| 65 2e 72 69 66 74 22 2c | 20 63 6c 69 4d 61 70 52 |e.rift",| cliMapR|
|00004410| 69 66 74 54 61 62 6c 65 | 5b 20 30 20 5d 3b 72 69 |iftTable|[ 0 ];ri|
|00004420| 66 74 54 61 62 6c 65 30 | 28 20 53 75 6d 52 69 66 |ftTable0|( SumRif|
|00004430| 74 54 61 62 6c 65 73 20 | 29 3a 20 70 65 73 52 69 |tTables |): pesRi|
|00004440| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 2c 20 63 6c |ftTable[| 0 ], cl|
|00004450| 69 4d 61 70 52 69 66 74 | 54 61 62 6c 65 5b 20 30 |iMapRift|Table[ 0|
|00004460| 20 5d 2c 20 30 3b 72 69 | 66 74 54 61 62 6c 65 31 | ], 0;ri|ftTable1|
|00004470| 28 20 53 75 6d 52 69 66 | 74 54 61 62 6c 65 73 20 |( SumRif|tTables |
|00004480| 29 3a 20 72 69 66 74 54 | 61 62 6c 65 30 5b 20 30 |): riftT|able0[ 0|
|00004490| 20 5d 2c 20 62 61 73 69 | 63 42 6c 6f 63 6b 52 69 | ], basi|cBlockRi|
|000044a0| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 2c 20 30 3b |ftTable[| 0 ], 0;|
|000044b0| 72 69 66 74 54 61 62 6c | 65 32 28 20 53 75 6d 52 |riftTabl|e2( SumR|
|000044c0| 69 66 74 54 61 62 6c 65 | 73 20 29 3a 20 72 69 66 |iftTable|s ): rif|
|000044d0| 74 54 61 62 6c 65 31 5b | 20 30 20 5d 2c 20 70 73 |tTable1[| 0 ], ps|
|000044e0| 79 6d 73 52 69 66 74 54 | 61 62 6c 65 5b 20 30 20 |ymsRiftT|able[ 0 |
|000044f0| 5d 2c 20 30 3b 75 6e 72 | 65 64 75 63 65 64 52 69 |], 0;unr|educedRi|
|00004500| 66 74 54 61 62 6c 65 28 | 20 53 75 6d 52 69 66 74 |ftTable(| SumRift|
|00004510| 54 61 62 6c 65 73 20 29 | 3a 20 69 6e 69 52 69 66 |Tables )|: iniRif|
|00004520| 74 54 61 62 6c 65 5b 20 | 30 20 5d 2c 20 72 69 66 |tTable[ |0 ], rif|
|00004530| 74 54 61 62 6c 65 32 5b | 20 30 20 5d 2c 20 30 3b |tTable2[| 0 ], 0;|
|00004540| 64 65 62 75 67 57 72 69 | 74 65 55 6e 72 65 64 75 |debugWri|teUnredu|
|00004550| 63 65 64 52 69 66 74 54 | 61 62 6c 65 28 20 44 65 |cedRiftT|able( De|
|00004560| 62 75 67 57 72 69 74 65 | 46 69 6c 65 52 69 66 74 |bugWrite|FileRift|
|00004570| 54 61 62 6c 65 20 29 3a | 20 22 75 6e 72 65 64 75 |Table ):| "unredu|
|00004580| 63 65 64 2e 63 72 65 61 | 74 65 2e 72 69 66 74 22 |ced.crea|te.rift"|
|00004590| 2c 20 75 6e 72 65 64 75 | 63 65 64 52 69 66 74 54 |, unredu|cedRiftT|
|000045a0| 61 62 6c 65 5b 20 30 20 | 5d 3b 72 65 64 75 63 65 |able[ 0 |];reduce|
|000045b0| 64 52 69 66 74 54 61 62 | 6c 65 28 20 52 65 64 75 |dRiftTab|le( Redu|
|000045c0| 63 65 52 69 66 74 54 61 | 62 6c 65 20 29 3a 20 75 |ceRiftTa|ble ): u|
|000045d0| 6e 72 65 64 75 63 65 64 | 52 69 66 74 54 61 62 6c |nreduced|RiftTabl|
|000045e0| 65 5b 20 30 20 5d 3b 64 | 65 62 75 67 57 72 69 74 |e[ 0 ];d|ebugWrit|
|000045f0| 65 52 65 64 75 63 65 64 | 52 69 66 74 54 61 62 6c |eReduced|RiftTabl|
|00004600| 65 28 20 44 65 62 75 67 | 57 72 69 74 65 46 69 6c |e( Debug|WriteFil|
|00004610| 65 52 69 66 74 54 61 62 | 6c 65 20 29 3a 20 22 72 |eRiftTab|le ): "r|
|00004620| 65 64 75 63 65 64 2e 63 | 72 65 61 74 65 2e 72 69 |educed.c|reate.ri|
|00004630| 66 74 22 2c 20 72 65 64 | 75 63 65 64 52 69 66 74 |ft", red|ucedRift|
|00004640| 54 61 62 6c 65 5b 20 30 | 20 5d 3b 74 61 72 67 65 |Table[ 0| ];targe|
|00004650| 74 53 69 7a 65 28 20 42 | 75 66 66 65 72 53 69 7a |tSize( B|ufferSiz|
|00004660| 65 20 29 3a 20 74 61 72 | 67 65 74 5b 20 30 20 5d |e ): tar|get[ 0 ]|
|00004670| 3b 70 72 65 57 72 69 74 | 65 72 28 20 42 69 74 57 |;preWrit|er( BitW|
|00004680| 72 69 74 65 72 4f 70 65 | 6e 20 29 3a 3b 77 72 69 |riterOpe|n ):;wri|
|00004690| 74 65 54 61 72 67 65 74 | 49 6e 66 6f 28 20 42 69 |teTarget|Info( Bi|
|000046a0| 74 57 72 69 74 65 50 6f | 72 74 61 62 6c 65 45 78 |tWritePo|rtableEx|
|000046b0| 65 63 75 74 61 62 6c 65 | 49 6e 66 6f 20 29 3a 20 |ecutable|Info ): |
|000046c0| 70 72 65 57 72 69 74 65 | 72 5b 20 30 20 5d 2c 20 |preWrite|r[ 0 ], |
|000046d0| 74 61 72 67 65 74 49 6e | 66 6f 5b 20 30 20 5d 3b |targetIn|fo[ 0 ];|
|000046e0| 68 69 6e 74 42 75 66 66 | 65 72 30 28 20 43 72 65 |hintBuff|er0( Cre|
|000046f0| 61 74 65 48 69 6e 74 42 | 75 66 66 65 72 20 29 3a |ateHintB|uffer ):|
|00004700| 20 73 6f 75 72 63 65 50 | 65 5b 20 30 20 5d 3b 75 | sourceP|e[ 0 ];u|
|00004710| 73 61 67 65 42 75 66 66 | 65 72 30 28 20 43 72 65 |sageBuff|er0( Cre|
|00004720| 61 74 65 52 69 66 74 55 | 73 61 67 65 42 75 66 66 |ateRiftU|sageBuff|
|00004730| 65 72 20 29 3a 20 72 65 | 64 75 63 65 64 52 69 66 |er ): re|ducedRif|
|00004740| 74 54 61 62 6c 65 5b 20 | 30 20 5d 3b 65 6d 70 74 |tTable[ |0 ];empt|
|00004750| 79 52 65 6c 61 74 69 76 | 65 28 20 43 72 65 61 74 |yRelativ|e( Creat|
|00004760| 65 45 6d 70 74 79 52 69 | 66 74 54 61 62 6c 65 20 |eEmptyRi|ftTable |
|00004770| 29 3a 3b 72 69 66 74 54 | 72 61 6e 73 66 6f 72 6d |):;riftT|ransform|
|00004780| 4e 61 6d 65 28 20 43 6f | 6e 63 61 74 20 29 3a 20 |Name( Co|ncat ): |
|00004790| 22 52 69 66 74 54 72 61 | 6e 73 66 6f 72 6d 5f 22 |"RiftTra|nsform_"|
|000047a0| 2c 20 63 6f 64 65 4d 6e | 65 6d 6f 6e 69 63 5b 20 |, codeMn|emonic[ |
|000047b0| 30 20 5d 3b 73 6f 75 72 | 63 65 52 69 66 74 54 72 |0 ];sour|ceRiftTr|
|000047c0| 61 6e 73 66 6f 72 6d 65 | 64 28 20 52 69 66 74 54 |ansforme|d( RiftT|
|000047d0| 72 61 6e 73 66 6f 72 6d | 54 65 6d 70 6c 61 74 65 |ransform|Template|
|000047e0| 20 2f 20 72 69 66 74 54 | 72 61 6e 73 66 6f 72 6d | / riftT|ransform|
|000047f0| 4e 61 6d 65 5b 20 30 20 | 5d 20 29 3a 20 66 6c 61 |Name[ 0 |] ): fla|
|00004800| 67 73 49 6e 74 5b 20 30 | 20 5d 2c 20 73 6f 75 72 |gsInt[ 0| ], sour|
|00004810| 63 65 50 65 5b 20 30 20 | 5d 2c 20 68 69 6e 74 42 |cePe[ 0 |], hintB|
|00004820| 75 66 66 65 72 30 5b 20 | 30 20 5d 2c 20 72 65 64 |uffer0[ |0 ], red|
|00004830| 75 63 65 64 52 69 66 74 | 54 61 62 6c 65 5b 20 30 |ucedRift|Table[ 0|
|00004840| 20 5d 2c 20 75 73 61 67 | 65 42 75 66 66 65 72 30 | ], usag|eBuffer0|
|00004850| 5b 20 30 20 5d 2c 20 63 | 6c 69 4d 61 70 5b 20 30 |[ 0 ], c|liMap[ 0|
|00004860| 20 5d 2c 20 74 61 72 67 | 65 74 49 6e 66 6f 5b 20 | ], targ|etInfo[ |
|00004870| 30 20 5d 2c 20 31 2c 20 | 65 6d 70 74 79 52 65 6c |0 ], 1, |emptyRel|
|00004880| 61 74 69 76 65 5b 20 30 | 20 5d 3b 68 69 6e 74 42 |ative[ 0| ];hintB|
|00004890| 75 66 66 65 72 28 20 50 | 61 73 73 42 75 66 66 65 |uffer( P|assBuffe|
|000048a0| 72 20 29 3a 20 73 6f 75 | 72 63 65 52 69 66 74 54 |r ): sou|rceRiftT|
|000048b0| 72 61 6e 73 66 6f 72 6d | 65 64 5b 20 31 20 5d 3b |ransform|ed[ 1 ];|
|000048c0| 75 73 61 67 65 42 75 66 | 66 65 72 28 20 52 69 66 |usageBuf|fer( Rif|
|000048d0| 74 54 61 62 6c 65 4d 61 | 70 20 29 3a 20 72 65 64 |tTableMa|p ): red|
|000048e0| 75 63 65 64 52 69 66 74 | 54 61 62 6c 65 5b 20 30 |ucedRift|Table[ 0|
|000048f0| 20 5d 2c 20 30 2c 20 73 | 6f 75 72 63 65 52 69 66 | ], 0, s|ourceRif|
|00004900| 74 54 72 61 6e 73 66 6f | 72 6d 65 64 5b 20 32 20 |tTransfo|rmed[ 2 |
|00004910| 5d 3b 64 65 62 75 67 57 | 72 69 74 65 48 69 6e 74 |];debugW|riteHint|
|00004920| 42 75 66 66 65 72 28 20 | 44 65 62 75 67 57 72 69 |Buffer( |DebugWri|
|00004930| 74 65 46 69 6c 65 20 29 | 3a 20 22 68 69 6e 74 2e |teFile )|: "hint.|
|00004940| 6d 61 70 22 2c 20 68 69 | 6e 74 42 75 66 66 65 72 |map", hi|ntBuffer|
|00004950| 5b 20 30 20 5d 3b 64 65 | 62 75 67 57 72 69 74 65 |[ 0 ];de|bugWrite|
|00004960| 55 73 61 67 65 42 75 66 | 66 65 72 28 20 44 65 62 |UsageBuf|fer( Deb|
|00004970| 75 67 57 72 69 74 65 46 | 69 6c 65 20 29 3a 20 22 |ugWriteF|ile ): "|
|00004980| 75 73 61 67 65 2e 6d 61 | 70 22 2c 20 75 73 61 67 |usage.ma|p", usag|
|00004990| 65 42 75 66 66 65 72 5b | 20 31 20 5d 3b 75 73 65 |eBuffer[| 1 ];use|
|000049a0| 64 52 69 66 74 54 61 62 | 6c 65 28 20 52 65 6d 6f |dRiftTab|le( Remo|
|000049b0| 76 65 55 6e 75 73 65 64 | 52 69 66 74 45 6e 74 72 |veUnused|RiftEntr|
|000049c0| 69 65 73 20 29 3a 20 72 | 65 64 75 63 65 64 52 69 |ies ): r|educedRi|
|000049d0| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 2c 20 75 73 |ftTable[| 0 ], us|
|000049e0| 61 67 65 42 75 66 66 65 | 72 5b 20 31 20 5d 3b 64 |ageBuffe|r[ 1 ];d|
|000049f0| 65 62 75 67 57 72 69 74 | 65 55 73 65 64 52 69 66 |ebugWrit|eUsedRif|
|00004a00| 74 54 61 62 6c 65 28 20 | 44 65 62 75 67 57 72 69 |tTable( |DebugWri|
|00004a10| 74 65 46 69 6c 65 52 69 | 66 74 54 61 62 6c 65 20 |teFileRi|ftTable |
|00004a20| 29 3a 20 22 75 73 65 64 | 2e 63 72 65 61 74 65 2e |): "used|.create.|
|00004a30| 72 69 66 74 22 2c 20 75 | 73 65 64 52 69 66 74 54 |rift", u|sedRiftT|
|00004a40| 61 62 6c 65 5b 20 30 20 | 5d 3b 73 65 74 49 6d 61 |able[ 0 |];setIma|
|00004a50| 67 65 42 61 73 65 28 20 | 53 65 74 49 6d 61 67 65 |geBase( |SetImage|
|00004a60| 42 61 73 65 20 29 3a 20 | 73 6f 75 72 63 65 52 69 |Base ): |sourceRi|
|00004a70| 66 74 54 72 61 6e 73 66 | 6f 72 6d 65 64 5b 20 30 |ftTransf|ormed[ 0|
|00004a80| 20 5d 2c 20 74 61 72 67 | 65 74 49 6d 61 67 65 42 | ], targ|etImageB|
|00004a90| 61 73 65 5b 20 30 20 5d | 3b 73 65 74 47 6c 6f 62 |ase[ 0 ]|;setGlob|
|00004aa0| 61 6c 50 6f 69 6e 74 65 | 72 28 20 53 65 74 47 6c |alPointe|r( SetGl|
|00004ab0| 6f 62 61 6c 50 6f 69 6e | 74 65 72 20 29 3a 20 73 |obalPoin|ter ): s|
|00004ac0| 65 74 49 6d 61 67 65 42 | 61 73 65 5b 20 30 20 5d |etImageB|ase[ 0 ]|
|00004ad0| 2c 20 74 61 72 67 65 74 | 47 6c 6f 62 61 6c 50 6f |, target|GlobalPo|
|00004ae0| 69 6e 74 65 72 5b 20 30 | 20 5d 3b 73 65 74 54 69 |inter[ 0| ];setTi|
|00004af0| 6d 65 53 74 61 6d 70 28 | 20 53 65 74 54 69 6d 65 |meStamp(| SetTime|
|00004b00| 53 74 61 6d 70 20 29 3a | 20 73 65 74 47 6c 6f 62 |Stamp ):| setGlob|
|00004b10| 61 6c 50 6f 69 6e 74 65 | 72 5b 20 30 20 5d 2c 20 |alPointe|r[ 0 ], |
|00004b20| 74 61 72 67 65 74 54 69 | 6d 65 53 74 61 6d 70 5b |targetTi|meStamp[|
|00004b30| 20 30 20 5d 3b 73 65 74 | 43 68 65 63 6b 53 75 6d | 0 ];set|CheckSum|
|00004b40| 28 20 53 65 74 43 68 65 | 63 6b 53 75 6d 20 29 3a |( SetChe|ckSum ):|
|00004b50| 20 73 65 74 54 69 6d 65 | 53 74 61 6d 70 5b 20 30 | setTime|Stamp[ 0|
|00004b60| 20 5d 2c 20 30 3b 20 77 | 72 69 74 65 52 69 66 74 | ], 0; w|riteRift|
|00004b70| 54 61 62 6c 65 28 20 42 | 69 74 57 72 69 74 65 52 |Table( B|itWriteR|
|00004b80| 69 66 74 54 61 62 6c 65 | 20 29 3a 20 77 72 69 74 |iftTable| ): writ|
|00004b90| 65 54 61 72 67 65 74 49 | 6e 66 6f 5b 20 30 20 5d |eTargetI|nfo[ 0 ]|
|00004ba0| 2c 20 75 73 65 64 52 69 | 66 74 54 61 62 6c 65 5b |, usedRi|ftTable[|
|00004bb0| 20 30 20 5d 3b 77 72 69 | 74 65 43 6c 69 4d 61 70 | 0 ];wri|teCliMap|
|00004bc0| 28 20 42 69 74 57 72 69 | 74 65 43 6c 69 4d 61 70 |( BitWri|teCliMap|
|00004bd0| 20 29 3a 20 77 72 69 74 | 65 52 69 66 74 54 61 62 | ): writ|eRiftTab|
|00004be0| 6c 65 5b 20 30 20 5d 2c | 20 63 6c 69 4d 61 70 5b |le[ 0 ],| cliMap[|
|00004bf0| 20 30 20 5d 3b 70 72 65 | 42 75 66 66 65 72 28 20 | 0 ];pre|Buffer( |
|00004c00| 42 69 74 57 72 69 74 65 | 72 43 6c 6f 73 65 20 29 |BitWrite|rClose )|
|00004c10| 3a 20 77 72 69 74 65 43 | 6c 69 4d 61 70 5b 20 30 |: writeC|liMap[ 0|
|00004c20| 20 5d 3b 74 72 61 6e 73 | 66 6f 72 6d 65 64 53 6f | ];trans|formedSo|
|00004c30| 75 72 63 65 28 20 50 6f | 72 74 61 62 6c 65 45 78 |urce( Po|rtableEx|
|00004c40| 65 63 75 74 61 62 6c 65 | 54 6f 42 75 66 66 65 72 |ecutable|ToBuffer|
|00004c50| 20 29 3a 20 73 65 74 43 | 68 65 63 6b 53 75 6d 5b | ): setC|heckSum[|
|00004c60| 20 30 20 5d 3b 63 6f 6d | 70 72 65 73 73 69 6f 6e | 0 ];com|pression|
|00004c70| 52 69 66 74 54 61 62 6c | 65 30 28 20 4d 75 6c 74 |RiftTabl|e0( Mult|
|00004c80| 69 70 6c 79 52 69 66 74 | 54 61 62 6c 65 73 20 29 |iplyRift|Tables )|
|00004c90| 3a 20 73 6f 75 72 63 65 | 4f 66 66 73 65 74 54 6f |: source|OffsetTo|
|00004ca0| 52 76 61 5b 20 30 20 5d | 2c 20 75 73 65 64 52 69 |Rva[ 0 ]|, usedRi|
|00004cb0| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 3b 64 65 62 |ftTable[| 0 ];deb|
|00004cc0| 75 67 57 72 69 74 65 43 | 6f 6d 70 72 65 73 73 69 |ugWriteC|ompressi|
|00004cd0| 6f 6e 30 28 20 44 65 62 | 75 67 57 72 69 74 65 46 |on0( Deb|ugWriteF|
|00004ce0| 69 6c 65 52 69 66 74 54 | 61 62 6c 65 20 29 3a 20 |ileRiftT|able ): |
|00004cf0| 22 63 6f 6d 70 72 65 73 | 73 69 6f 6e 30 2e 63 72 |"compres|sion0.cr|
|00004d00| 65 61 74 65 2e 72 69 66 | 74 22 2c 20 63 6f 6d 70 |eate.rif|t", comp|
|00004d10| 72 65 73 73 69 6f 6e 52 | 69 66 74 54 61 62 6c 65 |ressionR|iftTable|
|00004d20| 30 5b 20 30 20 5d 3b 63 | 6f 6d 70 72 65 73 73 69 |0[ 0 ];c|ompressi|
|00004d30| 6f 6e 52 69 66 74 54 61 | 62 6c 65 31 28 20 4d 75 |onRiftTa|ble1( Mu|
|00004d40| 6c 74 69 70 6c 79 52 69 | 66 74 54 61 62 6c 65 73 |ltiplyRi|ftTables|
|00004d50| 20 29 3a 20 63 6f 6d 70 | 72 65 73 73 69 6f 6e 52 | ): comp|ressionR|
|00004d60| 69 66 74 54 61 62 6c 65 | 30 5b 20 30 20 5d 2c 20 |iftTable|0[ 0 ], |
|00004d70| 74 61 72 67 65 74 52 76 | 61 54 6f 4f 66 66 73 65 |targetRv|aToOffse|
|00004d80| 74 5b 20 30 20 5d 3b 64 | 65 62 75 67 57 72 69 74 |t[ 0 ];d|ebugWrit|
|00004d90| 65 43 6f 6d 70 72 65 73 | 73 69 6f 6e 31 28 20 44 |eCompres|sion1( D|
|00004da0| 65 62 75 67 57 72 69 74 | 65 46 69 6c 65 52 69 66 |ebugWrit|eFileRif|
|00004db0| 74 54 61 62 6c 65 20 29 | 3a 20 22 63 6f 6d 70 72 |tTable )|: "compr|
|00004dc0| 65 73 73 69 6f 6e 31 2e | 63 72 65 61 74 65 2e 72 |ession1.|create.r|
|00004dd0| 69 66 74 22 2c 20 63 6f | 6d 70 72 65 73 73 69 6f |ift", co|mpressio|
|00004de0| 6e 52 69 66 74 54 61 62 | 6c 65 31 5b 20 30 20 5d |nRiftTab|le1[ 0 ]|
|00004df0| 3b 63 6f 6d 70 72 65 73 | 73 69 6f 6e 52 69 66 74 |;compres|sionRift|
|00004e00| 54 61 62 6c 65 32 28 20 | 52 65 76 65 72 73 65 52 |Table2( |ReverseR|
|00004e10| 69 66 74 54 61 62 6c 65 | 20 29 3a 20 63 6f 6d 70 |iftTable| ): comp|
|00004e20| 72 65 73 73 69 6f 6e 52 | 69 66 74 54 61 62 6c 65 |ressionR|iftTable|
|00004e30| 31 5b 20 30 20 5d 2c 20 | 30 3b 20 64 65 62 75 67 |1[ 0 ], |0; debug|
|00004e40| 57 72 69 74 65 43 6f 6d | 70 72 65 73 73 69 6f 6e |WriteCom|pression|
|00004e50| 32 28 20 44 65 62 75 67 | 57 72 69 74 65 46 69 6c |2( Debug|WriteFil|
|00004e60| 65 52 69 66 74 54 61 62 | 6c 65 20 29 3a 20 22 63 |eRiftTab|le ): "c|
|00004e70| 6f 6d 70 72 65 73 73 69 | 6f 6e 32 2e 63 72 65 61 |ompressi|on2.crea|
|00004e80| 74 65 2e 72 69 66 74 22 | 2c 20 63 6f 6d 70 72 65 |te.rift"|, compre|
|00004e90| 73 73 69 6f 6e 52 69 66 | 74 54 61 62 6c 65 32 5b |ssionRif|tTable2[|
|00004ea0| 20 30 20 5d 3b 63 6c 69 | 4d 61 70 43 6f 6d 70 72 | 0 ];cli|MapCompr|
|00004eb0| 65 73 73 69 6f 6e 52 69 | 66 74 54 61 62 6c 65 28 |essionRi|ftTable(|
|00004ec0| 20 43 6f 6d 70 72 65 73 | 73 69 6f 6e 52 69 66 74 | Compres|sionRift|
|00004ed0| 54 61 62 6c 65 46 72 6f | 6d 43 6c 69 4d 61 70 20 |TableFro|mCliMap |
|00004ee0| 29 3a 20 73 6f 75 72 63 | 65 43 6c 69 4d 65 74 61 |): sourc|eCliMeta|
|00004ef0| 64 61 74 61 5b 20 30 20 | 5d 2c 20 74 61 72 67 65 |data[ 0 |], targe|
|00004f00| 74 43 6c 69 4d 65 74 61 | 64 61 74 61 5b 20 30 20 |tCliMeta|data[ 0 |
|00004f10| 5d 2c 20 63 6c 69 4d 61 | 70 5b 20 30 20 5d 2c 20 |], cliMa|p[ 0 ], |
|00004f20| 74 72 61 6e 73 66 6f 72 | 6d 65 64 53 6f 75 72 63 |transfor|medSourc|
|00004f30| 65 5b 20 30 20 5d 3b 64 | 65 62 75 67 57 72 69 74 |e[ 0 ];d|ebugWrit|
|00004f40| 65 43 6c 69 4d 61 70 43 | 6f 6d 70 72 65 73 73 69 |eCliMapC|ompressi|
|00004f50| 6f 6e 52 69 66 74 54 61 | 62 6c 65 28 20 44 65 62 |onRiftTa|ble( Deb|
|00004f60| 75 67 57 72 69 74 65 46 | 69 6c 65 52 69 66 74 54 |ugWriteF|ileRiftT|
|00004f70| 61 62 6c 65 20 29 3a 20 | 22 63 6c 69 4d 61 70 43 |able ): |"cliMapC|
|00004f80| 6f 6d 70 72 65 73 73 69 | 6f 6e 2e 63 72 65 61 74 |ompressi|on.creat|
|00004f90| 65 2e 72 69 66 74 22 2c | 20 63 6c 69 4d 61 70 43 |e.rift",| cliMapC|
|00004fa0| 6f 6d 70 72 65 73 73 69 | 6f 6e 52 69 66 74 54 61 |ompressi|onRiftTa|
|00004fb0| 62 6c 65 5b 20 30 20 5d | 3b 63 6f 6d 70 72 65 73 |ble[ 0 ]|;compres|
|00004fc0| 73 69 6f 6e 52 69 66 74 | 54 61 62 6c 65 33 28 20 |sionRift|Table3( |
|00004fd0| 53 75 6d 52 69 66 74 54 | 61 62 6c 65 73 20 29 3a |SumRiftT|ables ):|
|00004fe0| 20 63 6f 6d 70 72 65 73 | 73 69 6f 6e 52 69 66 74 | compres|sionRift|
|00004ff0| 54 61 62 6c 65 32 5b 20 | 30 20 5d 2c 20 63 6c 69 |Table2[ |0 ], cli|
|00005000| 4d 61 70 43 6f 6d 70 72 | 65 73 73 69 6f 6e 52 69 |MapCompr|essionRi|
|00005010| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 2c 20 31 3b |ftTable[| 0 ], 1;|
|00005020| 64 65 62 75 67 57 72 69 | 74 65 43 6f 6d 70 72 65 |debugWri|teCompre|
|00005030| 73 73 69 6f 6e 33 28 20 | 44 65 62 75 67 57 72 69 |ssion3( |DebugWri|
|00005040| 74 65 46 69 6c 65 52 69 | 66 74 54 61 62 6c 65 20 |teFileRi|ftTable |
|00005050| 29 3a 20 22 63 6f 6d 70 | 72 65 73 73 69 6f 6e 33 |): "comp|ression3|
|00005060| 2e 63 72 65 61 74 65 2e | 72 69 66 74 22 2c 20 63 |.create.|rift", c|
|00005070| 6f 6d 70 72 65 73 73 69 | 6f 6e 52 69 66 74 54 61 |ompressi|onRiftTa|
|00005080| 62 6c 65 33 5b 20 30 20 | 5d 3b 6f 75 74 70 75 74 |ble3[ 0 |];output|
|00005090| 3a 20 74 72 61 6e 73 66 | 6f 72 6d 65 64 53 6f 75 |: transf|ormedSou|
|000050a0| 72 63 65 5b 20 30 20 5d | 2c 20 70 72 65 42 75 66 |rce[ 0 ]|, preBuf|
|000050b0| 66 65 72 5b 20 30 20 5d | 2c 20 63 6f 6d 70 72 65 |fer[ 0 ]|, compre|
|000050c0| 73 73 69 6f 6e 52 69 66 | 74 54 61 62 6c 65 33 5b |ssionRif|tTable3[|
|000050d0| 20 30 20 5d 3b 00 00 00 | 43 72 65 61 74 65 50 72 | 0 ];...|CreatePr|
|000050e0| 65 50 72 6f 63 65 73 73 | 53 6f 75 72 63 65 50 65 |eProcess|SourcePe|
|000050f0| 00 00 00 00 00 00 00 00 | 63 6f 64 65 28 20 49 6e |........|code( In|
|00005100| 70 75 74 53 68 61 72 65 | 64 49 6e 74 20 29 3a 20 |putShare|dInt ): |
|00005110| 69 6e 70 75 74 5b 20 30 | 20 5d 3b 66 6c 61 67 73 |input[ 0| ];flags|
|00005120| 28 20 49 6e 70 75 74 53 | 68 61 72 65 64 49 6e 74 |( InputS|haredInt|
|00005130| 20 29 3a 20 69 6e 70 75 | 74 5b 20 31 20 5d 3b 73 | ): inpu|t[ 1 ];s|
|00005140| 6f 75 72 63 65 42 75 66 | 66 65 72 28 20 49 6e 70 |ourceBuf|fer( Inp|
|00005150| 75 74 45 78 63 6c 75 73 | 69 76 65 42 75 66 66 65 |utExclus|iveBuffe|
|00005160| 72 20 29 3a 20 69 6e 70 | 75 74 5b 20 32 20 5d 3b |r ): inp|ut[ 2 ];|
|00005170| 74 61 72 67 65 74 42 75 | 66 66 65 72 28 20 49 6e |targetBu|ffer( In|
|00005180| 70 75 74 45 78 63 6c 75 | 73 69 76 65 42 75 66 66 |putExclu|siveBuff|
|00005190| 65 72 20 29 3a 20 69 6e | 70 75 74 5b 20 33 20 5d |er ): in|put[ 3 ]|
|000051a0| 3b 73 6f 75 72 63 65 49 | 6e 69 28 20 49 6e 70 75 |;sourceI|ni( Inpu|
|000051b0| 74 53 68 61 72 65 64 49 | 6e 69 52 65 61 64 65 72 |tSharedI|niReader|
|000051c0| 20 29 3a 20 69 6e 70 75 | 74 5b 20 34 20 5d 3b 74 | ): inpu|t[ 4 ];t|
|000051d0| 61 72 67 65 74 49 6e 69 | 28 20 49 6e 70 75 74 53 |argetIni|( InputS|
|000051e0| 68 61 72 65 64 49 6e 69 | 52 65 61 64 65 72 20 29 |haredIni|Reader )|
|000051f0| 3a 20 69 6e 70 75 74 5b | 20 35 20 5d 3b 70 61 74 |: input[| 5 ];pat|
|00005200| 63 68 49 6e 69 28 20 49 | 6e 70 75 74 53 68 61 72 |chIni( I|nputShar|
|00005210| 65 64 49 6e 69 52 65 61 | 64 65 72 20 29 3a 20 69 |edIniRea|der ): i|
|00005220| 6e 70 75 74 5b 20 36 20 | 5d 3b 74 61 72 67 65 74 |nput[ 6 |];target|
|00005230| 49 6e 66 6f 28 20 43 72 | 65 61 74 65 45 6d 70 74 |Info( Cr|eateEmpt|
|00005240| 79 50 6f 72 74 61 62 6c | 65 45 78 65 63 75 74 61 |yPortabl|eExecuta|
|00005250| 62 6c 65 49 6e 66 6f 20 | 29 3a 3b 63 6c 69 4d 61 |bleInfo |):;cliMa|
|00005260| 70 28 20 43 72 65 61 74 | 65 45 6d 70 74 79 43 6c |p( Creat|eEmptyCl|
|00005270| 69 4d 61 70 20 29 3a 3b | 63 6c 69 4d 61 70 52 69 |iMap ):;|cliMapRi|
|00005280| 66 74 54 61 62 6c 65 28 | 20 43 72 65 61 74 65 45 |ftTable(| CreateE|
|00005290| 6d 70 74 79 52 69 66 74 | 54 61 62 6c 65 20 29 3a |mptyRift|Table ):|
|000052a0| 3b 70 65 73 52 69 66 74 | 54 61 62 6c 65 28 20 43 |;pesRift|Table( C|
|000052b0| 72 65 61 74 65 45 6d 70 | 74 79 52 69 66 74 54 61 |reateEmp|tyRiftTa|
|000052c0| 62 6c 65 20 29 3a 3b 62 | 61 73 69 63 42 6c 6f 63 |ble ):;b|asicBloc|
|000052d0| 6b 52 69 66 74 54 61 62 | 6c 65 28 20 43 72 65 61 |kRiftTab|le( Crea|
|000052e0| 74 65 45 6d 70 74 79 52 | 69 66 74 54 61 62 6c 65 |teEmptyR|iftTable|
|000052f0| 20 29 3a 3b 70 73 79 6d | 73 52 69 66 74 54 61 62 | ):;psym|sRiftTab|
|00005300| 6c 65 28 20 43 72 65 61 | 74 65 45 6d 70 74 79 52 |le( Crea|teEmptyR|
|00005310| 69 66 74 54 61 62 6c 65 | 20 29 3a 3b 6f 75 74 70 |iftTable| ):;outp|
|00005320| 75 74 3a 20 74 61 72 67 | 65 74 49 6e 66 6f 5b 20 |ut: targ|etInfo[ |
|00005330| 30 20 5d 2c 20 70 65 73 | 52 69 66 74 54 61 62 6c |0 ], pes|RiftTabl|
|00005340| 65 5b 20 30 20 5d 2c 20 | 62 61 73 69 63 42 6c 6f |e[ 0 ], |basicBlo|
|00005350| 63 6b 52 69 66 74 54 61 | 62 6c 65 5b 20 30 20 5d |ckRiftTa|ble[ 0 ]|
|00005360| 2c 20 70 73 79 6d 73 52 | 69 66 74 54 61 62 6c 65 |, psymsR|iftTable|
|00005370| 5b 20 30 20 5d 2c 20 63 | 6c 69 4d 61 70 5b 20 30 |[ 0 ], c|liMap[ 0|
|00005380| 20 5d 2c 20 63 6c 69 4d | 61 70 52 69 66 74 54 61 | ], cliM|apRiftTa|
|00005390| 62 6c 65 5b 20 30 20 5d | 3b 00 00 00 54 61 72 67 |ble[ 0 ]|;...Targ|
|000053a0| 65 74 53 74 75 62 50 65 | 43 6f 6e 74 61 69 6e 65 |etStubPe|Containe|
|000053b0| 72 00 00 00 00 00 00 00 | 63 6f 64 65 28 20 43 6f |r.......|code( Co|
|000053c0| 70 79 49 6e 74 20 29 3a | 20 69 6e 70 75 74 5b 20 |pyInt ):| input[ |
|000053d0| 30 20 5d 3b 66 6c 61 67 | 73 49 6e 74 28 20 43 6f |0 ];flag|sInt( Co|
|000053e0| 70 79 49 6e 74 20 29 3a | 20 69 6e 70 75 74 5b 20 |pyInt ):| input[ |
|000053f0| 31 20 5d 3b 73 6f 75 72 | 63 65 50 65 28 20 50 6f |1 ];sour|cePe( Po|
|00005400| 72 74 61 62 6c 65 45 78 | 65 63 75 74 61 62 6c 65 |rtableEx|ecutable|
|00005410| 46 72 6f 6d 42 75 66 66 | 65 72 20 29 3a 20 69 6e |FromBuff|er ): in|
|00005420| 70 75 74 5b 20 32 20 5d | 2c 20 31 3b 74 61 72 67 |put[ 2 ]|, 1;targ|
|00005430| 65 74 50 65 28 20 50 6f | 72 74 61 62 6c 65 45 78 |etPe( Po|rtableEx|
|00005440| 65 63 75 74 61 62 6c 65 | 46 72 6f 6d 42 75 66 66 |ecutable|FromBuff|
|00005450| 65 72 20 29 3a 20 69 6e | 70 75 74 5b 20 33 20 5d |er ): in|put[ 3 ]|
|00005460| 2c 20 31 3b 70 61 74 63 | 68 49 6e 69 28 20 49 6e |, 1;patc|hIni( In|
|00005470| 70 75 74 53 68 61 72 65 | 64 49 6e 69 52 65 61 64 |putShare|dIniRead|
|00005480| 65 72 20 29 3a 20 69 6e | 70 75 74 5b 20 36 20 5d |er ): in|put[ 6 ]|
|00005490| 3b 74 61 72 67 65 74 49 | 6e 66 6f 28 20 47 65 74 |;targetI|nfo( Get|
|000054a0| 50 6f 72 74 61 62 6c 65 | 45 78 65 63 75 74 61 62 |Portable|Executab|
|000054b0| 6c 65 49 6e 66 6f 20 29 | 3a 20 74 61 72 67 65 74 |leInfo )|: target|
|000054c0| 50 65 5b 20 30 20 5d 3b | 63 6c 69 4d 61 70 28 20 |Pe[ 0 ];|cliMap( |
|000054d0| 43 6c 69 4d 61 70 46 72 | 6f 6d 50 65 73 20 29 3a |CliMapFr|omPes ):|
|000054e0| 20 73 6f 75 72 63 65 50 | 65 5b 20 30 20 5d 2c 20 | sourceP|e[ 0 ], |
|000054f0| 74 61 72 67 65 74 50 65 | 5b 20 30 20 5d 3b 70 65 |targetPe|[ 0 ];pe|
|00005500| 73 52 69 66 74 54 61 62 | 6c 65 28 20 52 69 66 74 |sRiftTab|le( Rift|
|00005510| 54 61 62 6c 65 46 72 6f | 6d 50 65 73 20 29 3a 20 |TableFro|mPes ): |
|00005520| 66 6c 61 67 73 49 6e 74 | 5b 20 30 20 5d 2c 20 73 |flagsInt|[ 0 ], s|
|00005530| 6f 75 72 63 65 50 65 5b | 20 30 20 5d 2c 20 74 61 |ourcePe[| 0 ], ta|
|00005540| 72 67 65 74 50 65 5b 20 | 30 20 5d 2c 20 63 6c 69 |rgetPe[ |0 ], cli|
|00005550| 4d 61 70 5b 20 30 20 5d | 3b 70 73 79 6d 73 52 69 |Map[ 0 ]|;psymsRi|
|00005560| 66 74 54 61 62 6c 65 28 | 20 52 69 66 74 54 61 62 |ftTable(| RiftTab|
|00005570| 6c 65 46 72 6f 6d 50 73 | 79 6d 73 20 29 3a 20 63 |leFromPs|yms ): c|
|00005580| 6f 64 65 5b 20 30 20 5d | 2c 20 66 6c 61 67 73 49 |ode[ 0 ]|, flagsI|
|00005590| 6e 74 5b 20 30 20 5d 2c | 20 73 6f 75 72 63 65 50 |nt[ 0 ],| sourceP|
|000055a0| 65 5b 20 30 20 5d 2c 20 | 74 61 72 67 65 74 50 65 |e[ 0 ], |targetPe|
|000055b0| 5b 20 30 20 5d 2c 20 69 | 6e 70 75 74 5b 20 34 20 |[ 0 ], i|nput[ 4 |
|000055c0| 5d 2c 20 69 6e 70 75 74 | 5b 20 35 20 5d 3b 73 6f |], input|[ 5 ];so|
|000055d0| 75 72 63 65 52 76 61 54 | 6f 49 6d 61 67 65 4f 66 |urceRvaT|oImageOf|
|000055e0| 66 73 65 74 28 20 45 78 | 74 72 61 63 74 52 76 61 |fset( Ex|tractRva|
|000055f0| 54 6f 49 6d 61 67 65 4f | 66 66 73 65 74 20 29 3a |ToImageO|ffset ):|
|00005600| 20 73 6f 75 72 63 65 50 | 65 5b 20 30 20 5d 3b 74 | sourceP|e[ 0 ];t|
|00005610| 61 72 67 65 74 52 76 61 | 54 6f 49 6d 61 67 65 4f |argetRva|ToImageO|
|00005620| 66 66 73 65 74 28 20 45 | 78 74 72 61 63 74 52 76 |ffset( E|xtractRv|
|00005630| 61 54 6f 49 6d 61 67 65 | 4f 66 66 73 65 74 20 29 |aToImage|Offset )|
|00005640| 3a 20 74 61 72 67 65 74 | 50 65 5b 20 30 20 5d 3b |: target|Pe[ 0 ];|
|00005650| 64 65 62 75 67 57 72 69 | 74 65 53 6f 75 72 63 65 |debugWri|teSource|
|00005660| 52 76 61 54 6f 4f 66 66 | 73 65 74 52 69 66 74 54 |RvaToOff|setRiftT|
|00005670| 61 62 6c 65 28 20 44 65 | 62 75 67 57 72 69 74 65 |able( De|bugWrite|
|00005680| 46 69 6c 65 52 69 66 74 | 54 61 62 6c 65 20 29 3a |FileRift|Table ):|
|00005690| 20 22 73 6f 75 72 63 65 | 52 76 61 54 6f 4f 66 66 | "source|RvaToOff|
|000056a0| 73 65 74 2e 63 72 65 61 | 74 65 2e 72 69 66 74 22 |set.crea|te.rift"|
|000056b0| 2c 20 73 6f 75 72 63 65 | 52 76 61 54 6f 49 6d 61 |, source|RvaToIma|
|000056c0| 67 65 4f 66 66 73 65 74 | 5b 20 30 20 5d 3b 63 6f |geOffset|[ 0 ];co|
|000056d0| 64 65 4d 6e 65 6d 6f 6e | 69 63 28 20 47 65 74 46 |deMnemon|ic( GetF|
|000056e0| 69 6c 65 54 79 70 65 4d | 6e 65 6d 6f 6e 69 63 20 |ileTypeM|nemonic |
|000056f0| 29 3a 20 63 6f 64 65 5b | 20 30 20 5d 3b 72 69 66 |): code[| 0 ];rif|
|00005700| 74 54 72 61 6e 73 66 6f | 72 6d 4e 61 6d 65 28 20 |tTransfo|rmName( |
|00005710| 43 6f 6e 63 61 74 20 29 | 3a 20 22 52 69 66 74 54 |Concat )|: "RiftT|
|00005720| 72 61 6e 73 66 6f 72 6d | 5f 22 2c 20 63 6f 64 65 |ransform|_", code|
|00005730| 4d 6e 65 6d 6f 6e 69 63 | 5b 20 30 20 5d 3b 73 6f |Mnemonic|[ 0 ];so|
|00005740| 75 72 63 65 48 69 6e 74 | 42 75 66 66 65 72 28 20 |urceHint|Buffer( |
|00005750| 43 72 65 61 74 65 48 69 | 6e 74 42 75 66 66 65 72 |CreateHi|ntBuffer|
|00005760| 20 29 3a 20 73 6f 75 72 | 63 65 50 65 5b 20 30 20 | ): sour|cePe[ 0 |
|00005770| 5d 3b 74 61 72 67 65 74 | 48 69 6e 74 42 75 66 66 |];target|HintBuff|
|00005780| 65 72 28 20 43 72 65 61 | 74 65 48 69 6e 74 42 75 |er( Crea|teHintBu|
|00005790| 66 66 65 72 20 29 3a 20 | 74 61 72 67 65 74 50 65 |ffer ): |targetPe|
|000057a0| 5b 20 30 20 5d 3b 65 6d | 70 74 79 43 6c 69 4d 61 |[ 0 ];em|ptyCliMa|
|000057b0| 70 28 20 43 72 65 61 74 | 65 45 6d 70 74 79 43 6c |p( Creat|eEmptyCl|
|000057c0| 69 4d 61 70 20 29 3a 3b | 65 6d 70 74 79 52 69 66 |iMap ):;|emptyRif|
|000057d0| 74 54 61 62 6c 65 28 20 | 43 72 65 61 74 65 45 6d |tTable( |CreateEm|
|000057e0| 70 74 79 52 69 66 74 54 | 61 62 6c 65 20 29 3a 3b |ptyRiftT|able ):;|
|000057f0| 65 6d 70 74 79 50 65 49 | 6e 66 6f 28 20 43 72 65 |emptyPeI|nfo( Cre|
|00005800| 61 74 65 45 6d 70 74 79 | 50 6f 72 74 61 62 6c 65 |ateEmpty|Portable|
|00005810| 45 78 65 63 75 74 61 62 | 6c 65 49 6e 66 6f 20 29 |Executab|leInfo )|
|00005820| 3a 3b 73 6f 75 72 63 65 | 52 65 6c 61 74 69 76 65 |:;source|Relative|
|00005830| 28 20 52 69 66 74 54 72 | 61 6e 73 66 6f 72 6d 54 |( RiftTr|ansformT|
|00005840| 65 6d 70 6c 61 74 65 20 | 2f 20 72 69 66 74 54 72 |emplate |/ riftTr|
|00005850| 61 6e 73 66 6f 72 6d 4e | 61 6d 65 5b 20 30 20 5d |ansformN|ame[ 0 ]|
|00005860| 20 29 3a 20 66 6c 61 67 | 73 49 6e 74 5b 20 30 20 | ): flag|sInt[ 0 |
|00005870| 5d 2c 20 73 6f 75 72 63 | 65 50 65 5b 20 30 20 5d |], sourc|ePe[ 0 ]|
|00005880| 2c 20 73 6f 75 72 63 65 | 48 69 6e 74 42 75 66 66 |, source|HintBuff|
|00005890| 65 72 5b 20 30 20 5d 2c | 20 65 6d 70 74 79 52 69 |er[ 0 ],| emptyRi|
|000058a0| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 2c 20 22 22 |ftTable[| 0 ], ""|
|000058b0| 2c 20 65 6d 70 74 79 43 | 6c 69 4d 61 70 5b 20 30 |, emptyC|liMap[ 0|
|000058c0| 20 5d 2c 20 65 6d 70 74 | 79 50 65 49 6e 66 6f 5b | ], empt|yPeInfo[|
|000058d0| 20 30 20 5d 2c 20 30 2c | 20 65 6d 70 74 79 52 69 | 0 ], 0,| emptyRi|
|000058e0| 66 74 54 61 62 6c 65 5b | 20 30 20 5d 3b 74 61 72 |ftTable[| 0 ];tar|
|000058f0| 67 65 74 52 65 6c 61 74 | 69 76 65 28 20 52 69 66 |getRelat|ive( Rif|
|00005900| 74 54 72 61 6e 73 66 6f | 72 6d 54 65 6d 70 6c 61 |tTransfo|rmTempla|
|00005910| 74 65 20 2f 20 72 69 66 | 74 54 72 61 6e 73 66 6f |te / rif|tTransfo|
|00005920| 72 6d 4e 61 6d 65 5b 20 | 30 20 5d 20 29 3a 20 66 |rmName[ |0 ] ): f|
|00005930| 6c 61 67 73 49 6e 74 5b | 20 30 20 5d 2c 20 74 61 |lagsInt[| 0 ], ta|
|00005940| 72 67 65 74 50 65 5b 20 | 30 20 5d 2c 20 74 61 72 |rgetPe[ |0 ], tar|
|00005950| 67 65 74 48 69 6e 74 42 | 75 66 66 65 72 5b 20 30 |getHintB|uffer[ 0|
|00005960| 20 5d 2c 20 65 6d 70 74 | 79 52 69 66 74 54 61 62 | ], empt|yRiftTab|
|00005970| 6c 65 5b 20 30 20 5d 2c | 20 22 22 2c 20 65 6d 70 |le[ 0 ],| "", emp|
|00005980| 74 79 43 6c 69 4d 61 70 | 5b 20 30 20 5d 2c 20 65 |tyCliMap|[ 0 ], e|
|00005990| 6d 70 74 79 50 65 49 6e | 66 6f 5b 20 30 20 5d 2c |mptyPeIn|fo[ 0 ],|
|000059a0| 20 30 2c 20 65 6d 70 74 | 79 52 69 66 74 54 61 62 | 0, empt|yRiftTab|
|000059b0| 6c 65 5b 20 30 20 5d 3b | 73 6f 75 72 63 65 5a 65 |le[ 0 ];|sourceZe|
|000059c0| 72 6f 28 20 50 6f 72 74 | 61 62 6c 65 45 78 65 63 |ro( Port|ableExec|
|000059d0| 75 74 61 62 6c 65 54 6f | 42 75 66 66 65 72 20 29 |utableTo|Buffer )|
|000059e0| 3a 20 73 6f 75 72 63 65 | 52 65 6c 61 74 69 76 65 |: source|Relative|
|000059f0| 5b 20 30 20 5d 3b 74 61 | 72 67 65 74 5a 65 72 6f |[ 0 ];ta|rgetZero|
|00005a00| 28 20 50 6f 72 74 61 62 | 6c 65 45 78 65 63 75 74 |( Portab|leExecut|
|00005a10| 61 62 6c 65 54 6f 42 75 | 66 66 65 72 20 29 3a 20 |ableToBu|ffer ): |
|00005a20| 74 61 72 67 65 74 52 65 | 6c 61 74 69 76 65 5b 20 |targetRe|lative[ |
|00005a30| 30 20 5d 3b 64 65 62 75 | 67 57 72 69 74 65 53 6f |0 ];debu|gWriteSo|
|00005a40| 75 72 63 65 5a 65 72 6f | 28 20 44 65 62 75 67 57 |urceZero|( DebugW|
|00005a50| 72 69 74 65 46 69 6c 65 | 20 29 3a 20 22 73 6f 75 |riteFile| ): "sou|
|00005a60| 72 63 65 5a 65 72 6f 2e | 63 72 65 61 74 65 2e 69 |rceZero.|create.i|
|00005a70| 6d 61 67 65 22 2c 20 73 | 6f 75 72 63 65 5a 65 72 |mage", s|ourceZer|
|00005a80| 6f 5b 20 30 20 5d 3b 64 | 65 62 75 67 57 72 69 74 |o[ 0 ];d|ebugWrit|
|00005a90| 65 54 61 72 67 65 74 5a | 65 72 6f 28 20 44 65 62 |eTargetZ|ero( Deb|
|00005aa0| 75 67 57 72 69 74 65 46 | 69 6c 65 20 29 3a 20 22 |ugWriteF|ile ): "|
|00005ab0| 74 61 72 67 65 74 5a 65 | 72 6f 2e 63 72 65 61 74 |targetZe|ro.creat|
|00005ac0| 65 2e 69 6d 61 67 65 22 | 2c 20 74 61 72 67 65 74 |e.image"|, target|
|00005ad0| 5a 65 72 6f 5b 20 30 20 | 5d 3b 64 65 62 75 67 57 |Zero[ 0 |];debugW|
|00005ae0| 72 69 74 65 53 6f 75 72 | 63 65 52 65 6c 61 74 69 |riteSour|ceRelati|
|00005af0| 76 65 28 20 44 65 62 75 | 67 57 72 69 74 65 46 69 |ve( Debu|gWriteFi|
|00005b00| 6c 65 52 69 66 74 54 61 | 62 6c 65 20 29 3a 20 22 |leRiftTa|ble ): "|
|00005b10| 73 6f 75 72 63 65 52 65 | 6c 61 74 69 76 65 2e 63 |sourceRe|lative.c|
|00005b20| 72 65 61 74 65 2e 72 69 | 66 74 22 2c 20 73 6f 75 |reate.ri|ft", sou|
|00005b30| 72 63 65 52 65 6c 61 74 | 69 76 65 5b 20 33 20 5d |rceRelat|ive[ 3 ]|
|00005b40| 3b 64 65 62 75 67 57 72 | 69 74 65 54 61 72 67 65 |;debugWr|iteTarge|
|00005b50| 74 52 65 6c 61 74 69 76 | 65 28 20 44 65 62 75 67 |tRelativ|e( Debug|
|00005b60| 57 72 69 74 65 46 69 6c | 65 52 69 66 74 54 61 62 |WriteFil|eRiftTab|
|00005b70| 6c 65 20 29 3a 20 22 74 | 61 72 67 65 74 52 65 6c |le ): "t|argetRel|
|00005b80| 61 74 69 76 65 2e 63 72 | 65 61 74 65 2e 72 69 66 |ative.cr|eate.rif|
|00005b90| 74 22 2c 20 74 61 72 67 | 65 74 52 65 6c 61 74 69 |t", targ|etRelati|
|00005ba0| 76 65 5b 20 33 20 5d 3b | 62 61 73 69 63 42 6c 6f |ve[ 3 ];|basicBlo|
|00005bb0| 63 6b 52 69 66 74 54 61 | 62 6c 65 28 20 43 72 65 |ckRiftTa|ble( Cre|
|00005bc0| 61 74 65 42 61 73 69 63 | 42 6c 6f 63 6b 52 69 66 |ateBasic|BlockRif|
|00005bd0| 74 54 61 62 6c 65 20 29 | 3a 20 73 6f 75 72 63 65 |tTable )|: source|
|00005be0| 5a 65 72 6f 5b 20 30 20 | 5d 2c 20 74 61 72 67 65 |Zero[ 0 |], targe|
|00005bf0| 74 5a 65 72 6f 5b 20 30 | 20 5d 2c 20 73 6f 75 72 |tZero[ 0| ], sour|
|00005c00| 63 65 52 65 6c 61 74 69 | 76 65 5b 20 33 20 5d 2c |ceRelati|ve[ 3 ],|
|00005c10| 20 74 61 72 67 65 74 52 | 65 6c 61 74 69 76 65 5b | targetR|elative[|
|00005c20| 20 33 20 5d 2c 20 73 6f | 75 72 63 65 52 76 61 54 | 3 ], so|urceRvaT|
|00005c30| 6f 49 6d 61 67 65 4f 66 | 66 73 65 74 5b 20 30 20 |oImageOf|fset[ 0 |
|00005c40| 5d 2c 20 74 61 72 67 65 | 74 52 76 61 54 6f 49 6d |], targe|tRvaToIm|
|00005c50| 61 67 65 4f 66 66 73 65 | 74 5b 20 30 20 5d 3b 6f |ageOffse|t[ 0 ];o|
|00005c60| 75 74 70 75 74 3a 20 74 | 61 72 67 65 74 49 6e 66 |utput: t|argetInf|
|00005c70| 6f 5b 20 30 20 5d 2c 20 | 70 65 73 52 69 66 74 54 |o[ 0 ], |pesRiftT|
|00005c80| 61 62 6c 65 5b 20 30 20 | 5d 2c 20 62 61 73 69 63 |able[ 0 |], basic|
|00005c90| 42 6c 6f 63 6b 52 69 66 | 74 54 61 62 6c 65 5b 20 |BlockRif|tTable[ |
|00005ca0| 30 20 5d 2c 20 70 73 79 | 6d 73 52 69 66 74 54 61 |0 ], psy|msRiftTa|
|00005cb0| 62 6c 65 5b 20 30 20 5d | 2c 20 63 6c 69 4d 61 70 |ble[ 0 ]|, cliMap|
|00005cc0| 5b 20 30 20 5d 2c 20 63 | 6c 69 4d 61 70 5b 20 31 |[ 0 ], c|liMap[ 1|
|00005cd0| 20 5d 3b 00 54 61 72 67 | 65 74 52 65 61 6c 50 65 | ];.Targ|etRealPe|
|00005ce0| 43 6f 6e 74 61 69 6e 65 | 72 00 00 00 00 00 00 00 |Containe|r.......|
|00005cf0| 63 6f 64 65 28 20 43 6f | 70 79 49 6e 74 20 29 3a |code( Co|pyInt ):|
|00005d00| 20 69 6e 70 75 74 5b 20 | 30 20 5d 3b 66 6c 61 67 | input[ |0 ];flag|
|00005d10| 73 49 6e 74 28 20 43 6f | 70 79 49 6e 74 20 29 3a |sInt( Co|pyInt ):|
|00005d20| 20 69 6e 70 75 74 5b 20 | 31 20 5d 3b 66 6c 61 67 | input[ |1 ];flag|
|00005d30| 73 28 20 47 65 74 42 69 | 74 73 20 29 3a 20 66 6c |s( GetBi|ts ): fl|
|00005d40| 61 67 73 49 6e 74 5b 20 | 30 20 5d 3b 73 6f 75 72 |agsInt[ |0 ];sour|
|00005d50| 63 65 28 20 50 61 73 73 | 42 75 66 66 65 72 20 29 |ce( Pass|Buffer )|
|00005d60| 3a 20 69 6e 70 75 74 5b | 20 32 20 5d 3b 62 69 74 |: input[| 2 ];bit|
|00005d70| 52 65 61 64 65 72 28 20 | 42 69 74 52 65 61 64 65 |Reader( |BitReade|
|00005d80| 72 4f 70 65 6e 20 29 3a | 20 69 6e 70 75 74 5b 20 |rOpen ):| input[ |
|00005d90| 33 20 5d 3b 74 61 72 67 | 65 74 53 69 7a 65 28 20 |3 ];targ|etSize( |
|00005da0| 43 6f 70 79 49 6e 74 20 | 29 3a 20 69 6e 70 75 74 |CopyInt |): input|
|00005db0| 5b 20 34 20 5d 3b 63 6f | 64 65 4d 6e 65 6d 6f 6e |[ 4 ];co|deMnemon|
|00005dc0| 69 63 28 20 47 65 74 46 | 69 6c 65 54 79 70 65 4d |ic( GetF|ileTypeM|
|00005dd0| 6e 65 6d 6f 6e 69 63 20 | 29 3a 20 63 6f 64 65 5b |nemonic |): code[|
|00005de0| 20 30 20 5d 3b 73 6f 75 | 72 63 65 53 69 7a 65 28 | 0 ];sou|rceSize(|
|00005df0| 20 42 75 66 66 65 72 53 | 69 7a 65 20 29 3a 20 73 | BufferS|ize ): s|
|00005e00| 6f 75 72 63 65 5b 20 30 | 20 5d 3b 73 6f 75 72 63 |ource[ 0| ];sourc|
|00005e10| 65 50 65 30 28 20 50 6f | 72 74 61 62 6c 65 45 78 |ePe0( Po|rtableEx|
|00005e20| 65 63 75 74 61 62 6c 65 | 46 72 6f 6d 42 75 66 66 |ecutable|FromBuff|
|00005e30| 65 72 20 29 3a 20 73 6f | 75 72 63 65 5b 20 30 20 |er ): so|urce[ 0 |
|00005e40| 5d 2c 20 31 3b 63 68 65 | 63 6b 53 6f 75 72 63 65 |], 1;che|ckSource|
|00005e50| 50 65 30 28 20 43 68 65 | 63 6b 49 6e 74 73 49 64 |Pe0( Che|ckIntsId|
|00005e60| 65 6e 74 69 74 79 20 29 | 3a 20 73 6f 75 72 63 65 |entity )|: source|
|00005e70| 50 65 30 5b 20 31 20 5d | 2c 20 31 2c 20 30 78 30 |Pe0[ 1 ]|, 1, 0x0|
|00005e80| 34 30 33 30 31 3b 73 6f | 75 72 63 65 50 65 28 20 |40301;so|urcePe( |
|00005e90| 50 61 73 73 50 65 20 2f | 20 66 6c 61 67 73 5b 20 |PassPe /| flags[ |
|00005ea0| 31 33 20 5d 20 3f 20 22 | 55 6e 62 69 6e 64 50 6f |13 ] ? "|UnbindPo|
|00005eb0| 72 74 61 62 6c 65 45 78 | 65 63 75 74 61 62 6c 65 |rtableEx|ecutable|
|00005ec0| 22 20 3a 20 22 50 61 73 | 73 50 65 22 20 29 3a 20 |" : "Pas|sPe" ): |
|00005ed0| 73 6f 75 72 63 65 50 65 | 30 5b 20 30 20 5d 3b 73 |sourcePe|0[ 0 ];s|
|00005ee0| 6f 75 72 63 65 4f 66 66 | 73 65 74 54 6f 52 76 61 |ourceOff|setToRva|
|00005ef0| 28 20 45 78 74 72 61 63 | 74 49 6d 61 67 65 4f 66 |( Extrac|tImageOf|
|00005f00| 66 73 65 74 54 6f 52 76 | 61 20 29 3a 20 73 6f 75 |fsetToRv|a ): sou|
|00005f10| 72 63 65 50 65 5b 20 30 | 20 5d 3b 64 65 62 75 67 |rcePe[ 0| ];debug|
|00005f20| 57 72 69 74 65 53 6f 75 | 72 63 65 4f 66 66 73 65 |WriteSou|rceOffse|
|00005f30| 74 54 6f 52 76 61 28 20 | 44 65 62 75 67 57 72 69 |tToRva( |DebugWri|
|00005f40| 74 65 46 69 6c 65 52 69 | 66 74 54 61 62 6c 65 20 |teFileRi|ftTable |
|00005f50| 29 3a 20 22 73 6f 75 72 | 63 65 4f 66 66 73 65 74 |): "sour|ceOffset|
|00005f60| 54 6f 52 76 61 2e 61 70 | 70 6c 79 2e 72 69 66 74 |ToRva.ap|ply.rift|
|00005f70| 22 2c 20 73 6f 75 72 63 | 65 4f 66 66 73 65 74 54 |", sourc|eOffsetT|
|00005f80| 6f 52 76 61 5b 20 30 20 | 5d 3b 73 6f 75 72 63 65 |oRva[ 0 |];source|
|00005f90| 43 6c 69 4d 65 74 61 64 | 61 74 61 28 20 45 78 74 |CliMetad|ata( Ext|
|00005fa0| 72 61 63 74 43 6c 69 4d | 65 74 61 64 61 74 61 20 |ractCliM|etadata |
|00005fb0| 29 3a 20 73 6f 75 72 63 | 65 50 65 5b 20 30 20 5d |): sourc|ePe[ 0 ]|
|00005fc0| 3b 73 6f 75 72 63 65 49 | 6d 61 67 65 42 61 73 65 |;sourceI|mageBase|
|00005fd0| 28 20 47 65 74 49 6d 61 | 67 65 42 61 73 65 20 29 |( GetIma|geBase )|
|00005fe0| 3a 20 73 6f 75 72 63 65 | 50 65 5b 20 30 20 5d 3b |: source|Pe[ 0 ];|
|00005ff0| 74 61 72 67 65 74 49 6e | 66 6f 28 20 42 69 74 52 |targetIn|fo( BitR|
|00006000| 65 61 64 50 6f 72 74 61 | 62 6c 65 45 78 65 63 75 |eadPorta|bleExecu|
|00006010| 74 61 62 6c 65 49 6e 66 | 6f 20 29 3a 20 62 69 74 |tableInf|o ): bit|
|00006020| 52 65 61 64 65 72 5b 20 | 30 20 5d 3b 74 61 72 67 |Reader[ |0 ];targ|
|00006030| 65 74 49 6e 66 6f 53 70 | 6c 69 74 28 20 53 70 6c |etInfoSp|lit( Spl|
|00006040| 69 74 50 6f 72 74 61 62 | 6c 65 45 78 65 63 75 74 |itPortab|leExecut|
|00006050| 61 62 6c 65 49 6e 66 6f | 20 29 3a 20 74 61 72 67 |ableInfo| ): targ|
|00006060| 65 74 49 6e 66 6f 5b 20 | 31 20 5d 3b 74 61 72 67 |etInfo[ |1 ];targ|
|00006070| 65 74 49 6d 61 67 65 42 | 61 73 65 28 20 50 61 73 |etImageB|ase( Pas|
|00006080| 73 49 6e 74 20 29 3a 20 | 74 61 72 67 65 74 49 6e |sInt ): |targetIn|
|00006090| 66 6f 53 70 6c 69 74 5b | 20 30 20 5d 3b 74 61 72 |foSplit[| 0 ];tar|
|000060a0| 67 65 74 47 6c 6f 62 61 | 6c 50 6f 69 6e 74 65 72 |getGloba|lPointer|
|000060b0| 28 20 50 61 73 73 49 6e | 74 20 29 3a 20 74 61 72 |( PassIn|t ): tar|
|000060c0| 67 65 74 49 6e 66 6f 53 | 70 6c 69 74 5b 20 31 20 |getInfoS|plit[ 1 |
|000060d0| 5d 3b 74 61 72 67 65 74 | 54 69 6d 65 53 74 61 6d |];target|TimeStam|
|000060e0| 70 28 20 50 61 73 73 49 | 6e 74 20 29 3a 20 74 61 |p( PassI|nt ): ta|
|000060f0| 72 67 65 74 49 6e 66 6f | 53 70 6c 69 74 5b 20 32 |rgetInfo|Split[ 2|
|00006100| 20 5d 3b 74 61 72 67 65 | 74 52 76 61 54 6f 4f 66 | ];targe|tRvaToOf|
|00006110| 66 73 65 74 28 20 50 61 | 73 73 52 69 66 74 54 61 |fset( Pa|ssRiftTa|
|00006120| 62 6c 65 20 29 3a 20 74 | 61 72 67 65 74 49 6e 66 |ble ): t|argetInf|
|00006130| 6f 53 70 6c 69 74 5b 20 | 33 20 5d 3b 64 65 62 75 |oSplit[ |3 ];debu|
|00006140| 67 57 72 69 74 65 54 61 | 72 67 65 74 52 76 61 54 |gWriteTa|rgetRvaT|
|00006150| 6f 4f 66 66 73 65 74 52 | 69 66 74 54 61 62 6c 65 |oOffsetR|iftTable|
|00006160| 28 20 44 65 62 75 67 57 | 72 69 74 65 46 69 6c 65 |( DebugW|riteFile|
|00006170| 52 69 66 74 54 61 62 6c | 65 20 29 3a 20 22 74 61 |RiftTabl|e ): "ta|
|00006180| 72 67 65 74 52 76 61 54 | 6f 4f 66 66 73 65 74 2e |rgetRvaT|oOffset.|
|00006190| 61 70 70 6c 79 2e 72 69 | 66 74 22 2c 20 74 61 72 |apply.ri|ft", tar|
|000061a0| 67 65 74 52 76 61 54 6f | 4f 66 66 73 65 74 5b 20 |getRvaTo|Offset[ |
|000061b0| 30 20 5d 3b 74 61 72 67 | 65 74 43 6c 69 4d 65 74 |0 ];targ|etCliMet|
|000061c0| 61 64 61 74 61 28 20 50 | 61 73 73 43 6c 69 4d 65 |adata( P|assCliMe|
|000061d0| 74 61 64 61 74 61 20 29 | 3a 20 74 61 72 67 65 74 |tadata )|: target|
|000061e0| 49 6e 66 6f 53 70 6c 69 | 74 5b 20 34 20 5d 3b 75 |InfoSpli|t[ 4 ];u|
|000061f0| 73 65 64 52 69 66 74 54 | 61 62 6c 65 28 20 42 69 |sedRiftT|able( Bi|
|00006200| 74 52 65 61 64 52 69 66 | 74 54 61 62 6c 65 20 29 |tReadRif|tTable )|
|00006210| 3a 20 74 61 72 67 65 74 | 49 6e 66 6f 5b 20 30 20 |: target|Info[ 0 |
|00006220| 5d 3b 64 65 62 75 67 57 | 72 69 74 65 55 73 65 64 |];debugW|riteUsed|
|00006230| 52 69 66 74 54 61 62 6c | 65 28 20 44 65 62 75 67 |RiftTabl|e( Debug|
|00006240| 57 72 69 74 65 46 69 6c | 65 52 69 66 74 54 61 62 |WriteFil|eRiftTab|
|00006250| 6c 65 20 29 3a 20 22 75 | 73 65 64 2e 61 70 70 6c |le ): "u|sed.appl|
|00006260| 79 2e 72 69 66 74 22 2c | 20 75 73 65 64 52 69 66 |y.rift",| usedRif|
|00006270| 74 54 61 62 6c 65 5b 20 | 31 20 5d 3b 20 63 6c 69 |tTable[ |1 ]; cli|
|00006280| 4d 61 70 28 20 42 69 74 | 52 65 61 64 43 6c 69 4d |Map( Bit|ReadCliM|
|00006290| 61 70 20 29 3a 20 75 73 | 65 64 52 69 66 74 54 61 |ap ): us|edRiftTa|
|000062a0| 62 6c 65 5b 20 30 20 5d | 3b 62 69 74 52 65 61 64 |ble[ 0 ]|;bitRead|
|000062b0| 65 72 43 6c 6f 73 65 28 | 20 42 69 74 52 65 61 64 |erClose(| BitRead|
|000062c0| 65 72 43 6c 6f 73 65 20 | 29 3a 20 63 6c 69 4d 61 |erClose |): cliMa|
|000062d0| 70 5b 20 30 20 5d 2c 20 | 31 3b 68 69 6e 74 42 75 |p[ 0 ], |1;hintBu|
|000062e0| 66 66 65 72 28 20 43 72 | 65 61 74 65 48 69 6e 74 |ffer( Cr|eateHint|
|000062f0| 42 75 66 66 65 72 20 29 | 3a 20 73 6f 75 72 63 65 |Buffer )|: source|
|00006300| 50 65 5b 20 30 20 5d 3b | 65 6d 70 74 79 52 65 6c |Pe[ 0 ];|emptyRel|
|00006310| 61 74 69 76 65 28 20 43 | 72 65 61 74 65 45 6d 70 |ative( C|reateEmp|
|00006320| 74 79 52 69 66 74 54 61 | 62 6c 65 20 29 3a 3b 72 |tyRiftTa|ble ):;r|
|00006330| 69 66 74 54 72 61 6e 73 | 66 6f 72 6d 4e 61 6d 65 |iftTrans|formName|
|00006340| 28 20 43 6f 6e 63 61 74 | 20 29 3a 20 22 52 69 66 |( Concat| ): "Rif|
|00006350| 74 54 72 61 6e 73 66 6f | 72 6d 5f 22 2c 20 63 6f |tTransfo|rm_", co|
|00006360| 64 65 4d 6e 65 6d 6f 6e | 69 63 5b 20 30 20 5d 3b |deMnemon|ic[ 0 ];|
|00006370| 73 6f 75 72 63 65 52 69 | 66 74 54 72 61 6e 73 66 |sourceRi|ftTransf|
|00006380| 6f 72 6d 65 64 28 20 52 | 69 66 74 54 72 61 6e 73 |ormed( R|iftTrans|
|00006390| 66 6f 72 6d 54 65 6d 70 | 6c 61 74 65 20 2f 20 72 |formTemp|late / r|
|000063a0| 69 66 74 54 72 61 6e 73 | 66 6f 72 6d 4e 61 6d 65 |iftTrans|formName|
|000063b0| 5b 20 30 20 5d 20 29 3a | 20 66 6c 61 67 73 49 6e |[ 0 ] ):| flagsIn|
|000063c0| 74 5b 20 30 20 5d 2c 20 | 73 6f 75 72 63 65 50 65 |t[ 0 ], |sourcePe|
|000063d0| 5b 20 30 20 5d 2c 20 68 | 69 6e 74 42 75 66 66 65 |[ 0 ], h|intBuffe|
|000063e0| 72 5b 20 30 20 5d 2c 20 | 75 73 65 64 52 69 66 74 |r[ 0 ], |usedRift|
|000063f0| 54 61 62 6c 65 5b 20 31 | 20 5d 2c 20 22 22 2c 20 |Table[ 1| ], "", |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.