.版本 2
.支持库 spec
.子程序 BASE64编码_ASM, 文本型, , 自动选择版本:AVX2、80386
.参数 参_字节集, 字节集
.局部变量 局_长度, 整数型, , , 0x4
.局部变量 局_AVX2, 逻辑型, , , 0x8
.局部变量 局_申请长度, 整数型, , , 0xC
置入代码 ({ 139, 69, 8, 139, 0, 133, 192, 116, 7, 139, 64, 4, 62, 137, 69, 252 }) ' 局_长度 = 取字节集长度 (参_字节集)
.如果真 (局_长度 > 0)
局_AVX2 = 全_AVX2
置入代码 ({ 139, 77, 252, 184, 171, 170, 170, 170, 141, 73, 2, 247, 225, 209, 234, 141, 4, 149, 1, 0, 0, 0, 137, 69, 244 }) ' 局_申请长度 = (局_长度 + 2) / 3 * 4 + 1
申请内存 (局_申请长度, )
' 由VS2017+ICC编译后反汇编修整,字节集可转换为16进制,然后在x64dbg内找个地,CTRL+SHIFT+V 粘贴进去即可查看汇编代码。
置入代码 ({ 137, 69, 244, 139, 85, 252, 139, 77, 8, 139, 9, 131, 193, 8, 255, 117, 248, 81, 80, 232, 7, 0, 0, 0, 139, 69, 244, 201, 194, 4, 0, 232, 215, 1, 0, 0, 86, 87, 83, 131, 236, 20, 139, 242, 139, 68, 36, 36, 139, 217, 139, 124, 36, 40, 137, 68, 36, 4, 131, 124, 36, 44, 0, 116, 9, 131, 254, 28, 15, 131, 28, 1, 0, 0, 131, 254, 2, 15, 134, 136, 0, 0, 0, 139, 206, 51, 210, 131, 193, 254, 15, 132, 125, 0, 0, 0, 137, 52, 36, 137, 76, 36, 8, 137, 124, 36, 12, 139, 116, 36, 12, 15, 182, 12, 50, 15, 182, 124, 50, 1, 15, 182, 116, 50, 2, 131, 194, 3, 137, 84, 36, 16, 15, 182, 20, 25, 131, 225, 3, 136, 16, 139, 215, 193, 225, 4, 131, 231, 15, 193, 234, 4, 11, 202, 193, 231, 2, 15, 182, 140, 25, 0, 1, 0, 0, 136, 72, 1, 139, 206, 193, 233, 6, 11, 249, 15, 182, 148, 31, 0, 1, 0, 0, 136, 80, 2, 15, 182, 140, 30, 0, 1, 0, 0, 139, 84, 36, 16, 136, 72, 3, 131, 192, 4, 59, 84, 36, 8, 114, 153, 139, 52, 36, 139, 124, 36, 12, 235, 2, 51, 210, 43, 242, 116, 104, 15, 182, 12, 58, 131, 254, 1, 117, 39, 15, 182, 20, 25, 131, 225, 3, 193, 225, 4, 136, 16, 15, 182, 140, 25, 0, 1, 0, 0, 187, 61, 0, 0, 0, 136, 72, 1, 136, 88, 2, 136, 88, 3, 131, 192, 4, 235, 56, 15, 182, 116, 58, 1, 139, 254, 15, 182, 20, 25, 131, 225, 3, 193, 225, 4, 131, 230, 15, 193, 239, 4, 11, 207, 136, 16, 15, 182, 140, 25, 0, 1, 0, 0, 136, 72, 1, 15, 182, 156, 179, 0, 1, 0, 0, 136, 88, 2, 198, 64, 3, 61, 131, 192, 4, 139, 84, 36, 4, 198, 0, 0, 43, 194, 43, 84, 36, 36, 3, 208, 133, 192, 15, 69, 194, 131, 196, 20, 91, 95, 94, 194, 12, 0, 197, 254, 111, 131, 0, 2, 0, 0, 197, 254, 111, 179, 32, 2, 0, 0, 197, 254, 111, 171, 64, 2, 0, 0, 197, 254, 111, 163, 96, 2, 0, 0, 197, 254, 111, 147, 128, 2, 0, 0, 197, 254, 111, 155, 160, 2, 0, 0, 196, 226, 125, 140, 71, 252, 235, 5, 197, 254, 111, 71, 252, 196, 226, 125, 0, 131, 192, 2, 0, 0, 131, 198, 232, 197, 253, 219, 187, 224, 2, 0, 0, 131, 199, 24, 197, 197, 228, 206, 197, 253, 219, 253, 197, 197, 213, 131, 0, 3, 0, 0, 197, 245, 235, 192, 197, 253, 216, 202, 197, 253, 100, 251, 197, 245, 248, 207, 196, 226, 93, 0, 201, 197, 253, 252, 193, 197, 254, 127, 0, 131, 192, 32, 131, 254, 32, 115, 175, 137, 68, 36, 4, 197, 248, 119, 233, 79, 254, 255, 255, 232, 0, 0, 0, 0, 89, 131, 193, 5, 195 })
' 码表(空间换时间)
' 代码块标记0x1215 () ' *** 缩略程序块 ***
置入代码 ({ 65, 65, 65, 65, 66, 66, 66, 66, 67, 67, 67, 67, 68, 68, 68, 68, 69, 69, 69, 69, 70, 70, 70, 70, 71, 71, 71, 71, 72, 72, 72, 72, 73, 73, 73, 73, 74, 74, 74, 74, 75, 75, 75, 75, 76, 76, 76, 76, 77, 77, 77, 77, 78, 78, 78, 78, 79, 79, 79, 79, 80, 80, 80, 80, 81, 81, 81, 81, 82, 82, 82, 82, 83, 83, 83, 83, 84, 84, 84, 84, 85, 85, 85, 85, 86, 86, 86, 86, 87, 87, 87, 87, 88, 88, 88, 88, 89, 89, 89, 89, 90, 90, 90, 90, 97, 97, 97, 97, 98, 98, 98, 98, 99, 99, 99, 99, 100, 100, 100, 100, 101, 101, 101, 101, 102, 102, 102, 102, 103, 103, 103, 103, 104, 104, 104, 104, 105, 105, 105, 105, 106, 106, 106, 106, 107, 107, 107, 107, 108, 108, 108, 108, 109, 109, 109, 109, 110, 110, 110, 110, 111, 111, 111, 111, 112, 112, 112, 112, 113, 113, 113, 113, 114, 114, 114, 114, 115, 115, 115, 115, 116, 116, 116, 116, 117, 117, 117, 117, 118, 118, 118, 118, 119, 119, 119, 119, 120, 120, 120, 120, 121, 121, 121, 121, 122, 122, 122, 122, 48, 48, 48, 48, 49, 49, 49, 49, 50, 50, 50, 50, 51, 51, 51, 51, 52, 52, 52, 52, 53, 53, 53, 53, 54, 54, 54, 54, 55, 55, 55, 55, 56, 56, 56, 56, 57, 57, 57, 57, 43, 43, 43, 43, 47, 47, 47, 47, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47 })
' AVX2码表
' 代码块标记0xA35 () ' *** 缩略程序块 ***
置入代码 ({ 0, 0, 0, 0, 0, 0, 0, 128, 0, 0, 0, 128, 0, 0, 0, 128, 0, 0, 0, 128, 0, 0, 0, 128, 0, 0, 0, 128, 0, 0, 0, 128, 64, 0, 0, 4, 64, 0, 0, 4, 64, 0, 0, 4, 64, 0, 0, 4, 64, 0, 0, 4, 64, 0, 0, 4, 64, 0, 0, 4, 64, 0, 0, 4, 240, 3, 63, 0, 240, 3, 63, 0, 240, 3, 63, 0, 240, 3, 63, 0, 240, 3, 63, 0, 240, 3, 63, 0, 240, 3, 63, 0, 240, 3, 63, 0, 65, 71, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 237, 240, 0, 0, 65, 71, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 237, 240, 0, 0, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 51, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 5, 4, 6, 5, 8, 7, 9, 8, 11, 10, 12, 11, 14, 13, 15, 14, 1, 0, 2, 1, 4, 3, 5, 4, 7, 6, 8, 7, 10, 9, 11, 10, 0, 252, 192, 15, 0, 252, 192, 15, 0, 252, 192, 15, 0, 252, 192, 15, 0, 252, 192, 15, 0, 252, 192, 15, 0, 252, 192, 15, 0, 252, 192, 15, 16, 0, 0, 1, 16, 0, 0, 1, 16, 0, 0, 1, 16, 0, 0, 1, 16, 0, 0, 1, 16, 0, 0, 1, 16, 0, 0, 1, 16, 0, 0, 1 })
.如果真结束
返回 (“”)
|