1 /* i386-linux.elf-fold.h 2 created from i386-linux.elf-fold.bin, 1940 (0x794) bytes 3 4 This file is part of the UPX executable compressor. 5 6 Copyright (C) 1996-2020 Markus Franz Xaver Johannes Oberhumer 7 Copyright (C) 1996-2020 Laszlo Molnar 8 Copyright (C) 2000-2020 John F. Reiser 9 All Rights Reserved. 10 11 UPX and the UCL library are free software; you can redistribute them 12 and/or modify them under the terms of the GNU General Public License as 13 published by the Free Software Foundation; either version 2 of 14 the License, or (at your option) any later version. 15 16 This program is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU General Public License for more details. 20 21 You should have received a copy of the GNU General Public License 22 along with this program; see the file COPYING. 23 If not, write to the Free Software Foundation, Inc., 24 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 25 26 Markus F.X.J. Oberhumer Laszlo Molnar 27 <markus@oberhumer.com> <ezerotven+github@gmail.com> 28 29 John F. Reiser 30 <jreiser@users.sourceforge.net> 31 */ 32 33 34 #define STUB_I386_LINUX_ELF_FOLD_SIZE 1940 35 #define STUB_I386_LINUX_ELF_FOLD_ADLER32 0xbea946e7 36 #define STUB_I386_LINUX_ELF_FOLD_CRC32 0x0c8aec52 37 38 unsigned char stub_i386_linux_elf_fold[1940] = { 39 /* 0x0000 */ 127, 69, 76, 70, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 40 /* 0x0010 */ 2, 0, 3, 0, 1, 0, 0, 0,128, 16,192, 0, 52, 0, 0, 0, 41 /* 0x0020 */ 0, 0, 0, 0, 0, 0, 0, 0, 52, 0, 32, 0, 2, 0, 0, 0, 42 /* 0x0030 */ 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 16,192, 0, 43 /* 0x0040 */ 0, 16,192, 0,148, 7, 0, 0,148, 7, 0, 0, 5, 0, 0, 0, 44 /* 0x0050 */ 0, 16, 0, 0, 1, 0, 0, 0,148, 7, 0, 0, 0, 0, 0, 0, 45 /* 0x0060 */ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46 /* 0x0070 */ 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 47 /* 0x0080 */ 87, 81, 80,137,230,129,236, 0, 16, 0, 0,137,231,106, 8, 89, 48 /* 0x0090 */ 243,165, 85,137,229,173,133,192,171,117,250, 87,171,173,133,192, 49 /* 0x00a0 */ 171,117,250, 87,173,133,192,171,165,117,249, 64,131,239, 8,185, 50 /* 0x00b0 */ 10, 0, 0, 0,243,171, 72,171,171, 41,125,248, 87, 86,232, 15, 51 /* 0x00c0 */ 0, 0, 0, 47,112,114,111, 99, 47,115,101,108,102, 47,101,120, 52 /* 0x00d0 */ 101, 0, 91,186,215, 15, 0, 0,137,249,106, 85, 88,205,128,133, 53 /* 0x00e0 */ 192,121, 7,137,217,184, 14, 0, 0, 0,141,116, 1,255,145,253, 54 /* 0x00f0 */ 95, 79,176, 0,170,243,164,184, 32, 32, 32, 61,131,239, 3,137, 55 /* 0x0100 */ 7,139, 69,252,137, 56,131,231,252, 94,137,241, 41,225,137,200, 56 /* 0x0110 */ 49,248,131,224, 4, 41,199, 90, 1,250,175,173,193,233, 2, 73, 57 /* 0x0120 */ 243,165,252,141, 79, 4, 49,192, 41,225,137,231,193,233, 2,243, 58 /* 0x0130 */ 171,137,252,137,215, 88, 93, 88, 94, 89,129,236, 0, 10, 0, 0, 59 /* 0x0140 */ 137,226, 81,139, 24,139, 72, 4,131,193, 12, 96, 71,232, 56, 5, 60 /* 0x0150 */ 0, 0, 79,137,198,137,250,137,231,185,137, 2, 0, 0, 49,192, 61 /* 0x0160 */ 243,171,137,252, 88, 89, 95, 91, 86, 81, 80, 82, 87, 41,237,106, 62 /* 0x0170 */ 2, 94,106, 1, 90,185, 0, 16, 0, 0, 41,219,104,192, 0, 0, 63 /* 0x0180 */ 0, 88,205,128, 91,106, 6, 88,205,128, 95, 41,192, 60,175,175, 64 /* 0x0190 */ 117,252, 91, 89, 80, 80, 80, 80, 80, 80, 80, 80,176, 91,255, 39, 65 /* 0x01a0 */ 85, 83, 86, 87,139, 92, 36, 20,139, 76, 36, 24,139, 84, 36, 28, 66 /* 0x01b0 */ 139,116, 36, 32,139,124, 36, 36,139,108, 36, 40,193,237, 12,104, 67 /* 0x01c0 */ 192, 0, 0, 0, 88,205,128, 95, 94, 91, 93,195, 87, 86,137,206, 68 /* 0x01d0 */ 83,137,195, 57, 8,139,120, 4,115, 10,106,127, 91,106, 1, 88, 69 /* 0x01e0 */ 205,128,235,254,133,201,116, 8,138, 7, 71,136, 2, 66,226,248, 70 /* 0x01f0 */ 1,115, 4, 41, 51, 91, 94, 95,195, 85,137,229, 87, 86,137,198, 71 /* 0x0200 */ 83,137,211,131,236, 24,139, 69, 8,139,125, 12,137, 69,220,131, 72 /* 0x0210 */ 58, 0, 15,132,185, 0, 0, 0,141, 85,228,185, 12, 0, 0, 0, 73 /* 0x0220 */ 137,240,232,165,255,255,255,139, 69,228,139, 77,232,133,192,117, 74 /* 0x0230 */ 19,129,249, 85, 80, 88, 33,117, 15,131, 62, 0, 15,132,143, 0, 75 /* 0x0240 */ 0, 0,235, 4,133,201,117, 10,106,127, 91,106, 1, 88,205,128, 76 /* 0x0250 */ 235,254, 57,193,119,242, 59, 3,119,238, 57,193,115, 86,137, 69, 77 /* 0x0260 */ 224,141, 69,224,255,117,236, 80,255,115, 4, 81,255,118, 4,255, 78 /* 0x0270 */ 85,220,131,196, 20,133,192,117,207,139, 85,224, 59, 85,228,117, 79 /* 0x0280 */ 199,138, 69,237,132,192,116, 34,133,255,116, 30,129,250, 0, 2, 80 /* 0x0290 */ 0, 0,119, 4, 57, 19,117, 18, 15,182,192, 80, 15,182, 69,238, 81 /* 0x02a0 */ 80, 82,255,115, 4,255,215,131,196, 16,139, 69,232, 1, 70, 4, 82 /* 0x02b0 */ 41, 6,235, 10,139, 83, 4,137,240,232, 14,255,255,255,139, 85, 83 /* 0x02c0 */ 228,139, 3, 1, 83, 4, 41,208,133,192,137, 3,233, 65,255,255, 84 /* 0x02d0 */ 255,141,101,244, 91, 94, 95,201,195,133,192,116, 13,168, 1,117, 85 /* 0x02e0 */ 9, 57, 16,116, 7,131,192, 8,235,247, 49,192,133,192,116, 3, 86 /* 0x02f0 */ 137, 72, 4,195,184, 0,240,255,255,195, 85,137,229, 87, 86, 83, 87 /* 0x0300 */ 131,236,112,137, 69,228,139, 77, 16,137, 85,224,139, 69, 8,139, 88 /* 0x0310 */ 85, 12,137, 77,212,139, 93, 20,137, 69,220,137, 85,216,137, 93, 89 /* 0x0320 */ 208,232,206,255,255,255,137, 69,200,247,208,137, 69,204,139,117, 90 /* 0x0330 */ 224,139, 69,224, 3,118, 28,102,131,120, 16, 2,139, 85,224,137, 91 /* 0x0340 */ 117,196, 15,148,192, 15,183,122, 44, 15,182,192,131,203,255,193, 92 /* 0x0350 */ 224, 4,137, 69,148,232,154,255,255,255,139, 77,200,137,248, 49, 93 /* 0x0360 */ 210, 72,137, 77,188,120, 30,137,249,131, 62, 1,117, 18,139, 70, 94 /* 0x0370 */ 8, 57,216,115, 2,137,195, 3, 70, 20, 57,194,115, 2,137,194, 95 /* 0x0380 */ 131,198, 32,226,228,139,125,188,106, 0,106,255, 33,223,131, 77, 96 /* 0x0390 */ 148, 34, 41,250,255,117,148, 43, 85,188,106, 0,141,114,255, 35, 97 /* 0x03a0 */ 117,188, 86, 87,232,247,253,255,255,139, 85,224, 1,198,131,196, 98 /* 0x03b0 */ 24, 41,248,102,131,122, 44, 0,137,117,240,137, 69,192,199, 69, 99 /* 0x03c0 */ 184, 0, 0, 0, 0, 15,132,128, 2, 0, 0,131,125,220, 0,116, 100 /* 0x03d0 */ 35,139, 77,196,131, 57, 6,117, 27,139, 93,196,186, 3, 0, 0, 101 /* 0x03e0 */ 0,139, 77,192, 3, 75, 8,139, 69,216,232,234,254,255,255,233, 102 /* 0x03f0 */ 64, 2, 0, 0,139,117,196,131, 62, 1, 15,133, 52, 2, 0, 0, 103 /* 0x0400 */ 131,125,220, 0,116, 71,131,126, 4, 0,117, 65,139, 69,224,186, 104 /* 0x0410 */ 3, 0, 0, 0,139, 77,192, 3, 78, 8, 3, 72, 28,139, 69,216, 105 /* 0x0420 */ 232,180,254,255,255,139, 85,224,139, 69,216, 15,183, 74, 44,186, 106 /* 0x0430 */ 5, 0, 0, 0,232,160,254,255,255,139, 93,224,139, 69,216,186, 107 /* 0x0440 */ 4, 0, 0, 0, 15,183, 75, 42,232,140,254,255,255,139,117,196, 108 /* 0x0450 */ 187, 64, 98, 81,115,139, 78, 24,139, 86, 16,131,225, 7,193,225, 109 /* 0x0460 */ 2,137, 85,232,211,235,139, 78, 20,137,216,131,224, 7,137, 69, 110 /* 0x0470 */ 180,139, 69,192, 3, 70, 8, 1,193,137,198,137, 77,176,139, 77, 111 /* 0x0480 */ 204,137, 69,236, 33,193, 41,206,131,125,220, 0,141, 60, 10,116, 112 /* 0x0490 */ 58,106, 0,106,255,106, 50,141, 71, 3,106, 3, 80, 86,232,253, 113 /* 0x04a0 */ 252,255,255,131,196, 24, 57,198, 15,133, 57, 1, 0, 0,128,227, 114 /* 0x04b0 */ 4,139, 69,208,117, 2, 49,192, 80,139, 69,220,255,117,228,141, 115 /* 0x04c0 */ 85,232,232, 50,253,255,255, 88, 90,235, 35,139, 93,196,139, 67, 116 /* 0x04d0 */ 4, 41,200, 80,255,117,228,106, 18,255,117,180, 87, 86,232,189, 117 /* 0x04e0 */ 252,255,255,131,196, 24, 57,198, 15,133,249, 0, 0, 0,137,248, 118 /* 0x04f0 */ 139, 85,204,247,216, 33,208,246, 69,180, 2,137, 69,144,116, 18, 119 /* 0x0500 */ 131,125,144, 0,141, 4, 62,116, 9,139, 77,144,198, 0, 0, 64, 120 /* 0x0510 */ 226,250,131,125,220, 0, 15,132,213, 0, 0, 0,139, 77,196,199, 121 /* 0x0520 */ 69,172, 0, 0, 0, 0,131, 57, 1, 15,133,168, 0, 0, 0,246, 122 /* 0x0530 */ 65, 24, 1, 15,132,158, 0, 0, 0,139, 81, 20,139, 73, 8,139, 123 /* 0x0540 */ 69,196,141, 28, 10, 3, 93,192, 59, 80, 16,137, 93,140,117, 14, 124 /* 0x0550 */ 137,216,247,216, 37,255, 15, 0, 0,131,248, 3,119, 57,107, 69, 125 /* 0x0560 */ 192, 52,139, 85,196,131,122, 4, 0,141, 76, 1, 12,137, 77,140, 126 /* 0x0570 */ 116, 37,106, 0,106,255,106, 34,106, 3,104, 0, 16, 0, 0,106, 127 /* 0x0580 */ 0,199, 69,172, 1, 0, 0, 0,232, 19,252,255,255,131,196, 24, 128 /* 0x0590 */ 133,192,137, 69,140,116, 64,139, 77,140,139, 1, 61,205,128, 97, 129 /* 0x05a0 */ 195,116, 6,199, 1,205,128, 97,195,131,125,172, 0,116, 18,185, 130 /* 0x05b0 */ 4, 0, 0, 0,186, 5, 0, 0, 0,139, 93,140,106,125, 88,205, 131 /* 0x05c0 */ 128,131,125,140, 0,116, 16,139, 69,216, 49,210,139, 77,140,131, 132 /* 0x05d0 */ 224,254,232, 2,253,255,255,137,243,137,249,139, 85,180,106,125, 133 /* 0x05e0 */ 88,205,128,133,192,116, 10,106,127, 91,106, 1, 88,205,128,235, 134 /* 0x05f0 */ 254,139, 85,144,141, 4, 23, 1,198, 59,117,176,115, 30,106, 0, 135 /* 0x0600 */ 106,255,106, 50,255,117,180, 41,117,176,255,117,176, 86,232,141, 136 /* 0x0610 */ 251,255,255,131,196, 24, 57,198,116, 26,235,254,131,125,220, 0, 137 /* 0x0620 */ 116, 18,141, 79, 3, 35, 77,204,131,249, 3,119, 7,137,243,106, 138 /* 0x0630 */ 91, 88,205,128,139,117,224,255, 69,184, 15,183, 70, 44,131, 69, 139 /* 0x0640 */ 196, 32, 57, 69,184, 15,140,128,253,255,255,131,125,220, 0,116, 140 /* 0x0650 */ 23,139, 69,224,102,131,120, 16, 3,116, 13,139, 85,240,137, 85, 141 /* 0x0660 */ 156,137,211,106, 45, 88,205,128,131,125,212, 0,116, 8,139, 69, 142 /* 0x0670 */ 192,139,117,212,137, 6,139, 85,224,139, 82, 24, 1, 85,192,139, 143 /* 0x0680 */ 69,192,141,101,244, 91, 94, 95,201,195, 85,137,229, 87, 86, 83, 144 /* 0x0690 */ 131,236, 32,199, 69,232, 0, 0, 0, 0,139, 69, 8,139,117, 16, 145 /* 0x06a0 */ 137, 69,236,128, 62,235,117, 6,141, 86, 2,137, 85,232,106, 0, 146 /* 0x06b0 */ 139,125, 28,141, 85, 24,139, 93, 32,141, 69, 32, 86,232, 55,251, 147 /* 0x06c0 */ 255,255,139, 69, 12, 41, 93, 36,137,250,141, 93,240,255,117,232, 148 /* 0x06d0 */ 137, 69, 32,139, 69, 40, 83,255,117,236,137, 69,240,141, 69, 32, 149 /* 0x06e0 */ 141, 79, 52, 80,137,240,137, 77,228,232, 12,252,255,255,137,193, 150 /* 0x06f0 */ 137, 69,224,139, 69,236,186, 9, 0, 0, 0,232,217,251,255,255, 151 /* 0x0700 */ 102,139, 79, 44,131,196, 24, 49,210,102,133,201,116,123,139, 69, 152 /* 0x0710 */ 228,131, 56, 3,117,103,139, 93,240, 49,201, 3, 88, 8,137,202, 153 /* 0x0720 */ 106, 5, 88,205,128,133,192,137,198,120, 21,186, 0, 2, 0, 0, 154 /* 0x0730 */ 137,195,137,249,106, 3, 88,205,128, 61, 0, 2, 0, 0,116, 10, 155 /* 0x0740 */ 106,127, 91,106, 1, 88,205,128,235,254,141, 69,240,137,250,106, 156 /* 0x0750 */ 0,137,243, 80,137,240,255,117,236,106, 0,232,154,251,255,255, 157 /* 0x0760 */ 139, 77,240,137, 69,224,139, 69,236,186, 7, 0, 0, 0,232,102, 158 /* 0x0770 */ 251,255,255,131,196, 16,106, 6, 88,205,128,235, 12, 66, 15,183, 159 /* 0x0780 */ 193,131, 69,228, 32, 57,194,124,133,139, 69,224,141,101,244, 91, 160 /* 0x0790 */ 94, 95,201,195 161 }; 162