forked from ncldavies/CyberAIO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClass72.cs
73 lines (69 loc) · 1.55 KB
/
Class72.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
using System;
using System.Threading;
// Token: 0x02000082 RID: 130
internal static class Class72
{
// Token: 0x060002DC RID: 732 RVA: 0x00004749 File Offset: 0x00002949
public static Interface0 smethod_0()
{
return Class72.smethod_1() ?? new Class51();
}
// Token: 0x060002DD RID: 733 RVA: 0x0001A584 File Offset: 0x00018784
private static Interface0 smethod_1()
{
Interface0 result;
try
{
Class26 @class = new Class26();
if (!Class72.smethod_3(@class))
{
@class.Dispose();
result = null;
}
else
{
result = @class;
}
}
catch (Exception exception_) when (!Class72.smethod_2(exception_))
{
result = null;
}
return result;
}
// Token: 0x060002DE RID: 734 RVA: 0x00004759 File Offset: 0x00002959
private static bool smethod_2(Exception exception_0)
{
return exception_0 is ThreadAbortException || exception_0 is ThreadInterruptedException;
}
// Token: 0x060002DF RID: 735 RVA: 0x0001A5DC File Offset: 0x000187DC
private static bool smethod_3(Interface0 interface0_0)
{
byte[] array = new byte[]
{
0,
130,
byte.MaxValue
};
for (int i = 0; i < array.Length; i++)
{
byte b = array[i];
interface0_0.imethod_2(i, ref b);
}
if (interface0_0.imethod_0() != array.Length)
{
return false;
}
for (int j = 0; j < array.Length; j++)
{
byte b2;
interface0_0.imethod_1(j, out b2);
if (b2 != array[j])
{
return false;
}
}
interface0_0.imethod_3();
return interface0_0.imethod_0() == 0;
}
}