能力值:
( LV4,RANK:50 )
|
-
-
7 楼
比如
http://www.cnblogs.com/mail-ricklee/archive/2007/09/25/905724.html
这个控件中的NickLee.Web.UI.dll
反编译正常
反混淆还不要几个方法就出错了,提示是没有将对象设置到实例
又或者
http://www.fcsoft.com.cn/xzzx.htm
下载e表V3.0 for .NET 试用版 (12M 2007-08-30更新)
dll中的ebiao.dll以及ebexcel.dll
打开后反编译先不能显示正常的结果
也是提示未将对象设置到实例
反混淆可以,但实际上是有错的
ebiao.dll反混淆最后提示
共有347个方法时出现异常,生成的PE文件可能不正确
反流程混淆处理完毕,准备生成PE文件
ebexcel.dll也一样
共有88个方法时出现异常,生成的PE文件可能不正确
反流程混淆处理完毕,准备生成PE文件
DONE!
另外生成后的dll都是exe属性
且不是.net dll了
// Assembly test
Location: D:\System\桌面\test.dll
Name: test, Module 'D:\System\桌面\test.dll' does not contain a CLI header.
有什么方面的技巧?
另外还有一些dll、exe就不举例了,也不清楚具体问题出现在哪
|
能力值:
( LV2,RANK:10 )
|
-
-
13 楼
主要就是switch的部分, 比如
.method public static string test(string p0) cil managed
{
// 代码大小 1156 (0x484)
.maxstack 88
.locals init (string V_0,
int64 V_1,
unsigned int8 V_2,
unsigned int8 V_3,
unsigned int8 V_4,
unsigned int8 V_5,
unsigned int8 V_6,
int32 V_7,
class [mscorlib]System.Exception V_8,
int32 V_9,
int32 V_10,
int64 V_11,
int64 V_12)
IL_0000: call void [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.ProjectData::ClearProjectError()
IL_0005: ldc.i4.1
IL_0006: stloc.s V_10
IL_0008: ldc.i4.1
IL_0009: stloc.s V_7
IL_000b: br IL_02ea
IL_0010: ldarg.0
IL_0011: ldloc.1
IL_0012: conv.ovf.i4
IL_0013: ldc.i4.1
IL_0014: br IL_0132
IL_0019: ldc.i4.s 47
IL_001b: clt
IL_001d: ldc.i4.0
IL_001e: br.s IL_006c
IL_0020: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.StringType::FromChar(char)
IL_0025: call string [mscorlib]System.String::Concat(string,
string)
IL_002a: stloc.0
IL_002b: ldc.i4.s 31
IL_002d: stloc.s V_7
IL_002f: ldloc.0
IL_0030: ldloc.s V_4
IL_0032: call char [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Chr(int32)
IL_0037: br.s IL_0045
IL_0039: stloc.s V_7
IL_003b: ldc.i4.s 34
IL_003d: stloc.s V_7
IL_003f: ldloc.0
IL_0040: ldarg.0
IL_0041: ldloc.1
IL_0042: conv.ovf.i4
IL_0043: br.s IL_005a
IL_0045: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.StringType::FromChar(char)
IL_004a: call string [mscorlib]System.String::Concat(string,
string)
IL_004f: stloc.0
IL_0050: ldc.i4.s 32
IL_0052: stloc.s V_7
IL_0054: br.s IL_0066
IL_0056: ldc.i4.s 33
IL_0058: br.s IL_0039
IL_005a: ldc.i4.1
IL_005b: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0060: call string [mscorlib]System.String::Concat(string,
string)
IL_0065: stloc.0
IL_0066: ldc.i4.s 36
IL_0068: stloc.s V_7
IL_006a: br.s IL_00aa
IL_006c: ceq
IL_006e: ldloc.s V_4
IL_0070: ldc.i4.s 50
IL_0072: cgt
IL_0074: br.s IL_0085
IL_0076: stloc.s V_6
IL_0078: ldc.i4.s 27
IL_007a: stloc.s V_7
IL_007c: ldloc.2
IL_007d: stloc.s V_4
IL_007f: ldc.i4.s 28
IL_0081: stloc.s V_7
IL_0083: br.s IL_0093
IL_0085: ldc.i4.0
IL_0086: ceq
IL_0088: and
IL_0089: brfalse.s IL_009a
IL_008b: ldc.i4.s 26
IL_008d: stloc.s V_7
IL_008f: ldloc.s V_4
IL_0091: br.s IL_0076
IL_0093: ldloc.s V_6
IL_0095: ldc.i4.s 10
IL_0097: sub.ovf
IL_0098: conv.ovf.u1
IL_0099: stloc.2
IL_009a: ldc.i4.s 30
IL_009c: stloc.s V_7
IL_009e: ldloc.0
IL_009f: ldloc.2
IL_00a0: call char [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Chr(int32)
IL_00a5: br IL_0020
IL_00aa: ldloc.1
IL_00ab: ldc.i8 0x1
IL_00b4: add.ovf
IL_00b5: br.s IL_0105
IL_00b7: conv.ovf.i4
IL_00b8: ldc.i4.1
IL_00b9: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_00be: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_00c3: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Conversion::Hex(int32)
IL_00c8: br.s IL_00df
IL_00ca: sub.ovf
IL_00cb: conv.ovf.u1
IL_00cc: stloc.2
IL_00cd: ldc.i4.s 22
IL_00cf: stloc.s V_7
IL_00d1: ldloc.2
IL_00d2: ldc.i4.s 36
IL_00d4: ble IL_017f
IL_00d9: ldc.i4.s 23
IL_00db: stloc.s V_7
IL_00dd: br.s IL_00fe
IL_00df: ldc.i4.7
IL_00e0: ldc.i4.2
IL_00e1: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_00e6: call string [mscorlib]System.String::Concat(string,
string)
IL_00eb: call unsigned int8 [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.ByteType::FromString(string)
IL_00f0: stloc.s V_5
IL_00f2: ldc.i4.s 21
IL_00f4: stloc.s V_7
IL_00f6: ldloc.3
IL_00f7: ldc.i4 0x8e
IL_00fc: br.s IL_00ca
IL_00fe: ldloc.2
IL_00ff: ldc.i4.s 14
IL_0101: add.ovf
IL_0102: conv.ovf.u1
IL_0103: br.s IL_017e
IL_0105: stloc.1
IL_0106: ldloc.1
IL_0107: ldloc.s V_11
IL_0109: br IL_02cc
IL_010e: ldc.i4.1
IL_010f: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0114: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_0119: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Conversion::Hex(int32)
IL_011e: ldc.i4.5
IL_011f: ldc.i4.2
IL_0120: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0125: call string [mscorlib]System.String::Concat(string,
string)
IL_012a: call unsigned int8 [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.ByteType::FromString(string)
IL_012f: stloc.3
IL_0130: br.s IL_015f
IL_0132: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0137: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_013c: ldc.i4.0
IL_013d: bge IL_0056
IL_0142: ldc.i4.s 19
IL_0144: stloc.s V_7
IL_0146: nop
IL_0147: nop
IL_0148: nop
IL_0149: nop
IL_014a: nop
IL_014b: nop
IL_014c: nop
IL_014d: nop
IL_014e: nop
IL_014f: nop
IL_0150: ldstr "&D"
IL_0155: call string [mscorlib]System.String::Intern(string)
IL_015a: ldarg.0
IL_015b: ldloc.1
IL_015c: conv.ovf.i4
IL_015d: br.s IL_010e
IL_015f: ldc.i4.s 20
IL_0161: stloc.s V_7
IL_0163: nop
IL_0164: nop
IL_0165: nop
IL_0166: nop
IL_0167: nop
IL_0168: nop
IL_0169: nop
IL_016a: nop
IL_016b: nop
IL_016c: nop
IL_016d: ldstr "&D"
IL_0172: call string [mscorlib]System.String::Intern(string)
IL_0177: ldarg.0
IL_0178: ldloc.1
IL_0179: br IL_00b7
IL_017e: stloc.2
IL_017f: ldc.i4.s 24
IL_0181: stloc.s V_7
IL_0183: br IL_02be
IL_0188: nop
IL_0189: nop
IL_018a: nop
IL_018b: nop
IL_018c: nop
IL_018d: nop
IL_018e: nop
IL_018f: nop
IL_0190: nop
IL_0191: nop
IL_0192: ldstr bytearray (1B 00 )
IL_0197: call string [mscorlib]System.String::Intern(string)
IL_019c: nop
IL_019d: nop
IL_019e: nop
IL_019f: nop
IL_01a0: nop
IL_01a1: nop
IL_01a2: nop
IL_01a3: nop
IL_01a4: nop
IL_01a5: nop
IL_01a6: ldstr bytearray (0E 00 )
IL_01ab: call string [mscorlib]System.String::Intern(string)
IL_01b0: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_01b5: stloc.0
IL_01b6: ldc.i4.8
IL_01b7: stloc.s V_7
IL_01b9: ldloc.0
IL_01ba: ldarg.0
IL_01bb: ldloc.1
IL_01bc: br IL_023c
IL_01c1: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_01c6: ldc.i4.0
IL_01c7: clt
IL_01c9: ldarg.0
IL_01ca: ldloc.1
IL_01cb: ldc.i8 0x1
IL_01d4: add.ovf
IL_01d5: conv.ovf.i4
IL_01d6: ldc.i4.1
IL_01d7: br.s IL_020d
IL_01d9: ldc.i4.s 11
IL_01db: stloc.s V_7
IL_01dd: ldloc.0
IL_01de: nop
IL_01df: nop
IL_01e0: nop
IL_01e1: nop
IL_01e2: nop
IL_01e3: nop
IL_01e4: nop
IL_01e5: nop
IL_01e6: nop
IL_01e7: nop
IL_01e8: ldstr bytearray (1B 00 )
IL_01ed: call string [mscorlib]System.String::Intern(string)
IL_01f2: nop
IL_01f3: nop
IL_01f4: nop
IL_01f5: nop
IL_01f6: nop
IL_01f7: nop
IL_01f8: nop
IL_01f9: nop
IL_01fa: nop
IL_01fb: nop
IL_01fc: ldstr bytearray (0F 00 )
IL_0201: call string [mscorlib]System.String::Intern(string)
IL_0206: call string [mscorlib]System.String::Concat(string,
string,
string)
IL_020b: br.s IL_021f
IL_020d: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0212: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_0217: ldc.i4.0
IL_0218: cgt
IL_021a: and
IL_021b: brfalse.s IL_0220
IL_021d: br.s IL_01d9
IL_021f: stloc.0
IL_0220: ldc.i4.s 14
IL_0222: stloc.s V_7
IL_0224: br.s IL_0266
IL_0226: ldloc.1
IL_0227: ldc.i8 0x1
IL_0230: cgt
IL_0232: ldloc.1
IL_0233: ldarg.0
IL_0234: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Len(string)
IL_0239: conv.i8
IL_023a: br.s IL_024f
IL_023c: conv.ovf.i4
IL_023d: ldc.i4.1
IL_023e: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0243: call string [mscorlib]System.String::Concat(string,
string)
IL_0248: stloc.0
IL_0249: ldc.i4.s 9
IL_024b: stloc.s V_7
IL_024d: br.s IL_0226
IL_024f: clt
IL_0251: and
IL_0252: brfalse.s IL_0220
IL_0254: ldc.i4.s 10
IL_0256: stloc.s V_7
IL_0258: ldarg.0
IL_0259: ldloc.1
IL_025a: conv.ovf.i4
IL_025b: ldc.i4.1
IL_025c: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0261: br IL_01c1
IL_0266: ldloc.1
IL_0267: ldc.i8 0x1
IL_0270: add.ovf
IL_0271: stloc.1
IL_0272: ldloc.1
IL_0273: ldloc.s V_12
IL_0275: ble.s IL_027c
IL_0277: br.s IL_02b9
IL_0279: stloc.1
IL_027a: br.s IL_0272
IL_027c: ldc.i4.3
IL_027d: br.s IL_028e
IL_027f: conv.i8
IL_0280: clt
IL_0282: and
IL_0283: brfalse IL_01b6
IL_0288: ldc.i4.4
IL_0289: stloc.s V_7
IL_028b: ldarg.0
IL_028c: br.s IL_02a5
IL_028e: stloc.s V_7
IL_0290: ldloc.1
IL_0291: ldc.i8 0x1
IL_029a: cgt
IL_029c: ldloc.1
IL_029d: ldarg.0
IL_029e: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Len(string)
IL_02a3: br.s IL_027f
IL_02a5: ldloc.1
IL_02a6: conv.ovf.i4
IL_02a7: ldc.i4.1
IL_02a8: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_02ad: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_02b2: ldc.i4.0
IL_02b3: clt
IL_02b5: ldarg.0
IL_02b6: ldloc.1
IL_02b7: br.s IL_0320
IL_02b9: br IL_0348
IL_02be: ldloc.s V_5
IL_02c0: ldc.i4 0x80
IL_02c5: br.s IL_02de
IL_02c7: br IL_0019
IL_02cc: ble IL_037e
IL_02d1: leave IL_0479
IL_02d6: ldloc.s V_9
IL_02d8: ldc.i4.1
IL_02d9: br IL_0387
IL_02de: sub.ovf
IL_02df: conv.ovf.u1
IL_02e0: stloc.s V_4
IL_02e2: ldc.i4.s 25
IL_02e4: stloc.s V_7
IL_02e6: ldloc.s V_4
IL_02e8: br.s IL_02c7
IL_02ea: ldarg.0
IL_02eb: nop
IL_02ec: nop
IL_02ed: nop
IL_02ee: nop
IL_02ef: nop
IL_02f0: nop
IL_02f1: nop
IL_02f2: nop
IL_02f3: nop
IL_02f4: nop
IL_02f5: ldstr "*Borplus*"
IL_02fa: call string [mscorlib]System.String::Intern(string)
IL_02ff: call string [mscorlib]System.String::Concat(string,
string)
IL_0304: starg.s p0
IL_0306: ldc.i4.2
IL_0307: stloc.s V_7
IL_0309: ldc.i8 0x1
IL_0312: ldarg.0
IL_0313: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Len(string)
IL_0318: conv.i8
IL_0319: stloc.s V_12
IL_031b: br IL_0279
IL_0320: ldc.i8 0x1
IL_0329: sub.ovf
IL_032a: conv.ovf.i4
IL_032b: ldc.i4.1
IL_032c: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Mid(string,
int32,
int32)
IL_0331: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Asc(string)
IL_0336: ldc.i4.0
IL_0337: cgt
IL_0339: and
IL_033a: brfalse IL_01b6
IL_033f: ldc.i4.5
IL_0340: stloc.s V_7
IL_0342: ldloc.0
IL_0343: br IL_0188
IL_0348: ldc.i4.s 15
IL_034a: stloc.s V_7
IL_034c: ldloc.0
IL_034d: ldloc.0
IL_034e: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Len(string)
IL_0353: ldc.i4.8
IL_0354: sub.ovf
IL_0355: call string [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Left(string,
int32)
IL_035a: starg.s p0
IL_035c: ldc.i4.s 16
IL_035e: stloc.s V_7
IL_0360: ldnull
IL_0361: stloc.0
IL_0362: ldc.i4.s 17
IL_0364: stloc.s V_7
IL_0366: ldc.i8 0x1
IL_036f: ldarg.0
IL_0370: call int32 [Microsoft.VisualBasic]Microsoft.VisualBasic.Strings::Len(string)
IL_0375: conv.i8
IL_0376: stloc.s V_11
IL_0378: stloc.1
IL_0379: br IL_0106
IL_037e: ldc.i4.s 18
IL_0380: stloc.s V_7
IL_0382: br IL_0010
IL_0387: add
IL_0388: ldc.i4.0
IL_0389: stloc.s V_9
IL_038b: switch (
IL_0000,
IL_0008,
IL_0306,
IL_027c,
IL_0288,
IL_033f,
IL_01b6,
IL_01b6,
IL_01b6,
IL_0249,
IL_0254,
IL_01d9,
IL_0220,
IL_0220,
IL_0220,
IL_0348,
IL_035c,
IL_0362,
IL_037e,
IL_0142,
IL_015f,
IL_00f2,
IL_00cd,
IL_00d9,
IL_017f,
IL_02e2,
IL_008b,
IL_0078,
IL_007f,
IL_009a,
IL_009a,
IL_002b,
IL_0050,
IL_0056,
IL_003b,
IL_0066,
IL_0066,
IL_02d1)
IL_0428: leave.s IL_0476
IL_042a: isinst [mscorlib]System.Exception
IL_042f: brfalse.s IL_043c
IL_0431: ldloc.s V_10
IL_0433: brfalse.s IL_043c
IL_0435: ldloc.s V_9
IL_0437: brtrue.s IL_043c
IL_0439: ldc.i4.1
IL_043a: br.s IL_043d
IL_043c: ldc.i4.0
IL_043d: endfilter
IL_043f: castclass [mscorlib]System.Exception
IL_0444: dup
IL_0445: br.s IL_0451
IL_0447: leave.s IL_0476
IL_0449: ldloc.s V_7
IL_044b: stloc.s V_9
IL_044d: ldloc.s V_10
IL_044f: br.s IL_045e
IL_0451: call void [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.ProjectData::SetProjectError(class [mscorlib]System.Exception)
IL_0456: stloc.s V_8
IL_0458: ldloc.s V_9
IL_045a: brfalse.s IL_0449
IL_045c: br.s IL_0447
IL_045e: switch (
IL_046d,
IL_046f)
IL_046b: leave.s IL_0474
IL_046d: leave.s IL_0474
IL_046f: leave IL_02d6
IL_0474: rethrow
IL_0476: ldloc.s V_8
.try IL_0000 to IL_042a filter IL_042a handler IL_043f to IL_0476
IL_0478: throw
IL_0479: ldloc.0
IL_047a: ldloc.s V_9
IL_047c: brfalse.s IL_0483
IL_047e: call void [Microsoft.VisualBasic]Microsoft.VisualBasic.CompilerServices.ProjectData::ClearProjectError()
IL_0483: ret
}
|