Created
July 24, 2020 10:13
-
-
Save Softanics/4c5c2df43d78caf582ccb2ddfbb8a3be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.method private instance void ButtonCheckPassword_Click(object sender, | |
class [mscorlib]System.EventArgs e) cil managed | |
{ | |
// Code size 391 (0x187) | |
.maxstack 3 | |
.locals init ([0] uint8[] hash, | |
[1] bool V_1) | |
IL_0000: nop | |
IL_0001: newobj instance void [mscorlib]System.Security.Cryptography.SHA256Managed::.ctor() | |
IL_0006: call class [mscorlib]System.Text.Encoding [mscorlib]System.Text.Encoding::get_Unicode() | |
IL_000b: ldarg.0 | |
IL_000c: callvirt instance class [System.Windows.Forms]System.Windows.Forms.TextBox ArmDotSample.Form1::get_TextBoxPassword() | |
IL_0011: callvirt instance string [System.Windows.Forms]System.Windows.Forms.TextBox::get_Text() | |
IL_0016: callvirt instance uint8[] [mscorlib]System.Text.Encoding::GetBytes(string) | |
IL_001b: call instance uint8[] [mscorlib]System.Security.Cryptography.HashAlgorithm::ComputeHash(uint8[]) | |
IL_0020: stloc.0 | |
IL_0021: ldloc.0 | |
IL_0022: ldc.i4.0 | |
IL_0023: ldelem.u1 | |
IL_0024: ldc.i4.s 81 | |
IL_0026: ceq | |
IL_0028: ldloc.0 | |
IL_0029: ldc.i4.1 | |
IL_002a: ldelem.u1 | |
IL_002b: ldc.i4.s 96 | |
IL_002d: ceq | |
IL_002f: and | |
IL_0030: ldloc.0 | |
IL_0031: ldc.i4.2 | |
IL_0032: ldelem.u1 | |
IL_0033: ldc.i4.s 9 | |
IL_0035: ceq | |
IL_0037: and | |
IL_0038: ldloc.0 | |
IL_0039: ldc.i4.3 | |
IL_003a: ldelem.u1 | |
IL_003b: ldc.i4 0x96 | |
IL_0040: ceq | |
IL_0042: and | |
IL_0043: ldloc.0 | |
IL_0044: ldc.i4.4 | |
IL_0045: ldelem.u1 | |
IL_0046: ldc.i4.s 45 | |
IL_0048: ceq | |
IL_004a: and | |
IL_004b: ldloc.0 | |
IL_004c: ldc.i4.5 | |
IL_004d: ldelem.u1 | |
IL_004e: ldc.i4 0x92 | |
IL_0053: ceq | |
IL_0055: and | |
IL_0056: ldloc.0 | |
IL_0057: ldc.i4.6 | |
IL_0058: ldelem.u1 | |
IL_0059: ldc.i4.s 51 | |
IL_005b: ceq | |
IL_005d: and | |
IL_005e: ldloc.0 | |
IL_005f: ldc.i4.7 | |
IL_0060: ldelem.u1 | |
IL_0061: ldc.i4 0xc9 | |
IL_0066: ceq | |
IL_0068: and | |
IL_0069: ldloc.0 | |
IL_006a: ldc.i4.8 | |
IL_006b: ldelem.u1 | |
IL_006c: ldc.i4 0xee | |
IL_0071: ceq | |
IL_0073: and | |
IL_0074: ldloc.0 | |
IL_0075: ldc.i4.s 9 | |
IL_0077: ldelem.u1 | |
IL_0078: ldc.i4.s 22 | |
IL_007a: ceq | |
IL_007c: and | |
IL_007d: ldloc.0 | |
IL_007e: ldc.i4.s 10 | |
IL_0080: ldelem.u1 | |
IL_0081: ldc.i4.s 103 | |
IL_0083: ceq | |
IL_0085: and | |
IL_0086: ldloc.0 | |
IL_0087: ldc.i4.s 11 | |
IL_0089: ldelem.u1 | |
IL_008a: ldc.i4 0xe9 | |
IL_008f: ceq | |
IL_0091: and | |
IL_0092: ldloc.0 | |
IL_0093: ldc.i4.s 12 | |
IL_0095: ldelem.u1 | |
IL_0096: ldc.i4 0xd1 | |
IL_009b: ceq | |
IL_009d: and | |
IL_009e: ldloc.0 | |
IL_009f: ldc.i4.s 13 | |
IL_00a1: ldelem.u1 | |
IL_00a2: ldc.i4 0x87 | |
IL_00a7: ceq | |
IL_00a9: and | |
IL_00aa: ldloc.0 | |
IL_00ab: ldc.i4.s 14 | |
IL_00ad: ldelem.u1 | |
IL_00ae: ldc.i4.s 107 | |
IL_00b0: ceq | |
IL_00b2: and | |
IL_00b3: ldloc.0 | |
IL_00b4: ldc.i4.s 15 | |
IL_00b6: ldelem.u1 | |
IL_00b7: ldc.i4.s 39 | |
IL_00b9: ceq | |
IL_00bb: and | |
IL_00bc: ldloc.0 | |
IL_00bd: ldc.i4.s 16 | |
IL_00bf: ldelem.u1 | |
IL_00c0: ldc.i4 0xe4 | |
IL_00c5: ceq | |
IL_00c7: and | |
IL_00c8: ldloc.0 | |
IL_00c9: ldc.i4.s 17 | |
IL_00cb: ldelem.u1 | |
IL_00cc: ldc.i4 0xab | |
IL_00d1: ceq | |
IL_00d3: and | |
IL_00d4: ldloc.0 | |
IL_00d5: ldc.i4.s 18 | |
IL_00d7: ldelem.u1 | |
IL_00d8: ldc.i4.s 22 | |
IL_00da: ceq | |
IL_00dc: and | |
IL_00dd: ldloc.0 | |
IL_00de: ldc.i4.s 19 | |
IL_00e0: ldelem.u1 | |
IL_00e1: ldc.i4.s 78 | |
IL_00e3: ceq | |
IL_00e5: and | |
IL_00e6: ldloc.0 | |
IL_00e7: ldc.i4.s 20 | |
IL_00e9: ldelem.u1 | |
IL_00ea: ldc.i4 0xda | |
IL_00ef: ceq | |
IL_00f1: and | |
IL_00f2: ldloc.0 | |
IL_00f3: ldc.i4.s 21 | |
IL_00f5: ldelem.u1 | |
IL_00f6: ldc.i4 0xd5 | |
IL_00fb: ceq | |
IL_00fd: and | |
IL_00fe: ldloc.0 | |
IL_00ff: ldc.i4.s 22 | |
IL_0101: ldelem.u1 | |
IL_0102: ldc.i4.s 11 | |
IL_0104: ceq | |
IL_0106: and | |
IL_0107: ldloc.0 | |
IL_0108: ldc.i4.s 23 | |
IL_010a: ldelem.u1 | |
IL_010b: ldc.i4 0x83 | |
IL_0110: ceq | |
IL_0112: and | |
IL_0113: ldloc.0 | |
IL_0114: ldc.i4.s 24 | |
IL_0116: ldelem.u1 | |
IL_0117: ldc.i4.s 71 | |
IL_0119: ceq | |
IL_011b: and | |
IL_011c: ldloc.0 | |
IL_011d: ldc.i4.s 25 | |
IL_011f: ldelem.u1 | |
IL_0120: ldc.i4.s 17 | |
IL_0122: ceq | |
IL_0124: and | |
IL_0125: ldloc.0 | |
IL_0126: ldc.i4.s 26 | |
IL_0128: ldelem.u1 | |
IL_0129: ldc.i4 0xf1 | |
IL_012e: ceq | |
IL_0130: and | |
IL_0131: ldloc.0 | |
IL_0132: ldc.i4.s 27 | |
IL_0134: ldelem.u1 | |
IL_0135: ldc.i4 0xb4 | |
IL_013a: ceq | |
IL_013c: and | |
IL_013d: ldloc.0 | |
IL_013e: ldc.i4.s 28 | |
IL_0140: ldelem.u1 | |
IL_0141: ldc.i4.s 118 | |
IL_0143: ceq | |
IL_0145: and | |
IL_0146: ldloc.0 | |
IL_0147: ldc.i4.s 29 | |
IL_0149: ldelem.u1 | |
IL_014a: ldc.i4.s 9 | |
IL_014c: ceq | |
IL_014e: and | |
IL_014f: ldloc.0 | |
IL_0150: ldc.i4.s 30 | |
IL_0152: ldelem.u1 | |
IL_0153: ldc.i4 0xa3 | |
IL_0158: ceq | |
IL_015a: and | |
IL_015b: ldloc.0 | |
IL_015c: ldc.i4.s 31 | |
IL_015e: ldelem.u1 | |
IL_015f: ldc.i4 0xf9 | |
IL_0164: ceq | |
IL_0166: and | |
IL_0167: stloc.1 | |
IL_0168: ldloc.1 | |
IL_0169: brfalse.s IL_0179 | |
IL_016b: ldstr "The password is correct" | |
IL_0170: call valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult [System.Windows.Forms]System.Windows.Forms.MessageBox::Show(string) | |
IL_0175: pop | |
IL_0176: nop | |
IL_0177: br.s IL_0186 | |
IL_0179: nop | |
IL_017a: ldstr "The password is wrong" | |
IL_017f: call valuetype [System.Windows.Forms]System.Windows.Forms.DialogResult [System.Windows.Forms]System.Windows.Forms.MessageBox::Show(string) | |
IL_0184: pop | |
IL_0185: nop | |
IL_0186: ret | |
} // end of method Form1::ButtonCheckPassword_Click |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment