Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ////////////////////
- //// AppFuscator.com
- ////////////////////
- private void a(object obj)
- {
- if (5626 != 5626)
- {
- goto IL_10B;
- }
- int num = (int)obj;
- object[] array = new object[7];
- int arg_17_0 = 3;
- while (true)
- {
- IL_17:
- int num2;
- switch (arg_17_0)
- {
- case 0:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num2 != -12912)
- {
- array = new object[5];
- array[0] = "Current Thread ";
- arg_17_0 = 2;
- continue;
- }
- goto IL_56;
- case 1:
- goto IL_56;
- case 2:
- goto IL_10B;
- case 3:
- IL_30:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- num2 = -5109;
- arg_17_0 = 4;
- continue;
- case 4:
- goto IL_78;
- }
- goto IL_30;
- IL_78:
- array[2] = " is created to process indexed item [";
- array[3] = num;
- if (num2 != 21203)
- {
- array[4] = "] at ";
- array[5] = DateTime.Now;
- num2 = -29939;
- arg_17_0 = 0;
- continue;
- }
- goto IL_10B;
- IL_56:
- array[3] = Thread.CurrentThread.CurrentCulture.ToString();
- array[4] = " during processing.";
- if (false)
- {
- goto IL_78;
- }
- break;
- }
- Trace.WriteLine(string.Concat(array));
- string text = string.Empty;
- uint value = 0u;
- object obj2;
- Monitor.Enter(obj2 = this.b);
- bool flag;
- try
- {
- int num3;
- if (!true)
- {
- IL_157:
- array[3] = DateTime.Now;
- array[4] = ".";
- if (false)
- {
- goto IL_190;
- }
- Debug.WriteLine(string.Concat(array));
- this.f[num].Set();
- return;
- }
- else
- {
- IL_1F2:
- flag = (this.e.Count <= 0);
- int arg_21D_0 = 8263 + 921;
- num3 = -11297;
- if (arg_21D_0 != 9184)
- {
- goto IL_1AF;
- }
- goto IL_221;
- }
- int arg_177_0;
- while (true)
- {
- IL_177:
- switch (arg_177_0)
- {
- case 0:
- array[2] = " is handling ";
- array[3] = text;
- arg_177_0 = 1;
- continue;
- case 1:
- goto IL_23D;
- case 2:
- goto IL_1AF;
- case 3:
- array = new object[5];
- array[0] = "Thread ";
- num3 = -15480;
- arg_177_0 = 2;
- continue;
- }
- goto IL_190;
- }
- IL_23D:
- Trace.WriteLine(string.Concat(array));
- goto IL_2B2;
- IL_190:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- arg_177_0 = 0;
- goto IL_177;
- IL_1AF:
- array[1] = Thread.CurrentThread.ManagedThreadId;
- array[2] = " is set because no more image to process at ";
- if (num3 != -6614)
- {
- goto IL_157;
- }
- IL_221:
- if (flag)
- {
- arg_177_0 = 3;
- goto IL_177;
- }
- gf gf = this.e.Dequeue();
- if (num3 != 4351)
- {
- text = gf.a;
- value = gf.a;
- array = new object[4];
- arg_177_0 = 4;
- goto IL_177;
- }
- goto IL_1F2;
- }
- finally
- {
- Monitor.Exit(obj2);
- }
- IL_2B2:
- int num4;
- do
- {
- flag = !this.d;
- num4 = -3424;
- }
- while (num4 == 14168);
- if (flag)
- {
- ExifMetadata exifMetadata = null;
- Image image = null;
- Image image2 = null;
- try
- {
- try
- {
- if (!true)
- {
- goto IL_337;
- }
- IL_363:
- flag = !this.g.KeepExif;
- int arg_38A_0 = (int)32253.0;
- int num5 = -11636;
- if (arg_38A_0 == -1244)
- {
- goto IL_337;
- }
- if (flag)
- {
- goto IL_3F3;
- }
- exifMetadata = new ExifMetadata(new Uri(text), true);
- int arg_32A_0 = 0;
- IL_32A:
- switch (arg_32A_0)
- {
- case 0:
- IL_337:
- array = new object[7];
- array[0] = "Thread ";
- num5 = -5705;
- arg_32A_0 = 1;
- goto IL_32A;
- case 1:
- do
- {
- array[1] = Thread.CurrentThread.ManagedThreadId;
- array[2] = " obtained EXIF for ";
- }
- while (num5 == -14963);
- array[3] = text;
- array[4] = " at ";
- if (false)
- {
- goto IL_363;
- }
- array[5] = DateTime.Now;
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- goto IL_3F3;
- }
- goto IL_337;
- IL_3F3:
- Stream stream = File.OpenRead(text);
- try
- {
- int arg_40F_0 = 8393;
- int num6 = 13986 + -5593;
- if (arg_40F_0 == num6)
- {
- goto IL_439;
- }
- IL_413:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- int num7 = -19581;
- switch (0)
- {
- case 0:
- do
- {
- IL_48B:
- array[2] = " opened ";
- array[3] = text;
- if (num7 == -18995)
- {
- goto IL_439;
- }
- array[4] = " at ";
- array[5] = DateTime.Now;
- }
- while (false);
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- goto IL_4D1;
- }
- goto IL_48B;
- IL_439:
- image = Image.FromStream(stream);
- array = new object[7];
- if ((int)5374.0 != 5374)
- {
- goto IL_413;
- }
- goto IL_413;
- }
- finally
- {
- flag = (stream == null);
- if (!flag)
- {
- ((IDisposable)stream).Dispose();
- }
- }
- IL_4D1:
- int num8;
- int num9;
- ImageFormat imageFormat;
- if (!true)
- {
- IL_4D7:
- num8 = -29350;
- if (!true)
- {
- goto IL_4E4;
- }
- flag = (num9 < this.g.WatermarkCollection.Count);
- if (num8 != -29350)
- {
- goto IL_A1C;
- }
- goto IL_D86;
- }
- else
- {
- imageFormat = this.a(text);
- if (!this.g.ThumbnailSetting.GenerateThumbnail)
- {
- goto IL_1283;
- }
- int arg_828_0 = (int)9831.0;
- num8 = -18080;
- if (arg_828_0 != 9831)
- {
- goto IL_1235;
- }
- goto IL_B81;
- }
- int arg_12E5_0;
- oe oe;
- IUnityContainer unityContainer;
- WatermarkImage watermarkImage;
- ae ae;
- xe xe;
- while (true)
- {
- IL_12E5:
- Color watermarkTextColor;
- switch (arg_12E5_0)
- {
- case 0:
- goto IL_716;
- case 1:
- goto IL_E4F;
- case 2:
- image = oe.a(image, null);
- array = new object[7];
- arg_12E5_0 = 6;
- continue;
- case 3:
- image = oe.a(image, null);
- array = new object[7];
- num8 = 32033;
- arg_12E5_0 = 30;
- continue;
- case 4:
- goto IL_781;
- case 5:
- IL_13BA:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- num8 = 13021;
- arg_12E5_0 = 31;
- continue;
- case 6:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- arg_12E5_0 = 14;
- continue;
- case 7:
- goto IL_B2A;
- case 8:
- goto IL_CD0;
- case 9:
- array[3] = text;
- array[4] = ", Watermark Text index: ";
- if (num8 != 22842)
- {
- array[5] = num9;
- array[6] = " before.";
- arg_12E5_0 = 12;
- continue;
- }
- goto IL_CFF;
- case 10:
- array[0] = "Current Thread: ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- num8 = 31568;
- arg_12E5_0 = 0;
- continue;
- case 11:
- goto IL_ECD;
- case 12:
- Debug.WriteLine(string.Concat(array));
- oe = unityContainer.Resolve<oe>("WatermarkText");
- arg_12E5_0 = 36;
- continue;
- case 13:
- {
- image = oe.a(image, this.g);
- array = new object[7];
- int arg_9DA_0 = num8;
- int arg_9DA_1 = 17031;
- num8 = 4643;
- if (arg_9DA_0 == arg_9DA_1)
- {
- goto IL_E34;
- }
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- int arg_CC6_0 = num8;
- int arg_CC6_1 = 4643;
- num8 = -6527;
- if (arg_CC6_0 != arg_CC6_1)
- {
- goto Block_58;
- }
- array[2] = " shrinked ";
- array[3] = text;
- int arg_10FA_0 = num8;
- int arg_10FA_1 = -6527;
- num8 = -11494;
- if (arg_10FA_0 != arg_10FA_1)
- {
- goto Block_73;
- }
- array[4] = " at ";
- array[5] = DateTime.Now;
- int arg_155B_0 = num8;
- int arg_155B_1 = 1846;
- num8 = -2103;
- if (arg_155B_0 != arg_155B_1)
- {
- goto Block_88;
- }
- goto IL_CD0;
- }
- case 14:
- array[2] = " applied GrayscaleEffect for ";
- array[3] = text;
- num8 = 9483;
- arg_12E5_0 = 22;
- continue;
- case 15:
- goto IL_675;
- case 16:
- image = oe.a(image, this.g);
- arg_12E5_0 = 38;
- continue;
- case 17:
- if (flag)
- {
- goto IL_507;
- }
- watermarkImage = (this.g.WatermarkCollection[num9] as WatermarkImage);
- if (num8 == 8676)
- {
- goto IL_4E4;
- }
- if (!string.IsNullOrEmpty(watermarkImage.WatermarkImageFile) && File.Exists(watermarkImage.WatermarkImageFile))
- {
- arg_12E5_0 = 19;
- continue;
- }
- goto IL_A02;
- case 18:
- {
- if (flag)
- {
- goto IL_C66;
- }
- oe = this.i.Resolve<oe>("DropShadow");
- int arg_14ED_0 = num8;
- int arg_14ED_1 = 19391;
- num8 = -25310;
- if (arg_14ED_0 != arg_14ED_1)
- {
- goto Block_86;
- }
- image = oe.a(image, this.g);
- array = new object[7];
- int arg_11FE_0 = num8;
- int arg_11FE_1 = 32264;
- num8 = -4873;
- if (arg_11FE_0 == arg_11FE_1)
- {
- goto IL_B81;
- }
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- if (num8 != -4873)
- {
- goto IL_626;
- }
- array[2] = " added dropshadow for ";
- array[3] = text;
- num8 = 27962;
- arg_12E5_0 = 44;
- continue;
- }
- case 19:
- goto IL_4E4;
- case 20:
- goto IL_E0E;
- case 21:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- arg_12E5_0 = 48;
- continue;
- case 22:
- goto IL_626;
- case 23:
- goto IL_1235;
- case 24:
- {
- array[4] = " at ";
- array[5] = DateTime.Now;
- int arg_A6C_0 = num8;
- int arg_A6C_1 = 11194;
- num8 = -12528;
- if (arg_A6C_0 != arg_A6C_1)
- {
- goto IL_7A0;
- }
- goto IL_B5B;
- }
- case 25:
- image = oe.a(image, this.g);
- array = new object[7];
- arg_12E5_0 = 42;
- continue;
- case 26:
- goto IL_146B;
- case 27:
- unityContainer.RegisterInstance<List<td>>(this.j).RegisterInstance<string>(this.k);
- arg_12E5_0 = 11;
- continue;
- case 28:
- {
- if (!flag)
- {
- ae = this.i.Resolve<ae>("SaveCompressedJpgImage");
- if (num8 != -25836)
- {
- goto IL_C16;
- }
- goto IL_D86;
- }
- else
- {
- if ((int)2772L != 2772)
- {
- goto IL_C16;
- }
- ae = this.i.Resolve<ae>("SaveNormalImage");
- }
- IL_B04:
- ae.a(image, imageFormat, xe);
- int arg_B23_0 = -13176;
- num8 = 21350;
- if (arg_B23_0 != -13176)
- {
- goto IL_626;
- }
- goto IL_AD1;
- IL_C16:
- ae.a = exifMetadata;
- goto IL_B04;
- }
- case 29:
- goto IL_F41;
- case 30:
- goto IL_1104;
- case 31:
- {
- array[2] = " processed thumbnail for ";
- array[3] = text;
- int arg_BC9_0 = num8;
- int arg_BC9_1 = 13021;
- num8 = -21244;
- if (arg_BC9_0 != arg_BC9_1)
- {
- goto Block_52;
- }
- array[4] = " at ";
- array[5] = DateTime.Now;
- int arg_11CD_0 = num8;
- int arg_11CD_1 = -16659;
- num8 = -19786;
- if (arg_11CD_0 != arg_11CD_1)
- {
- goto Block_77;
- }
- goto IL_675;
- }
- case 32:
- array[4] = " at ";
- array[5] = DateTime.Now;
- num8 = -14504;
- arg_12E5_0 = 20;
- continue;
- case 33:
- goto IL_697;
- case 34:
- goto IL_A02;
- case 35:
- image = oe.a(image, null);
- array = new object[7];
- if (num8 != -29050)
- {
- goto IL_105E;
- }
- goto IL_BD3;
- case 36:
- oe.a = text;
- image = oe.a(image, this.g);
- arg_12E5_0 = 26;
- continue;
- case 37:
- array[4] = " at ";
- array[5] = DateTime.Now;
- arg_12E5_0 = 21;
- continue;
- case 38:
- goto IL_505;
- case 39:
- {
- WatermarkText watermarkText;
- if (string.IsNullOrEmpty(watermarkText.Text))
- {
- goto IL_BD3;
- }
- watermarkTextColor = watermarkText.WatermarkTextColor;
- int arg_8C6_0 = num8;
- int arg_8C6_1 = -24547;
- num8 = -30793;
- if (arg_8C6_0 != arg_8C6_1)
- {
- goto IL_112E;
- }
- goto IL_4E4;
- }
- case 40:
- array[3] = text;
- array[4] = " at ";
- arg_12E5_0 = 51;
- continue;
- case 41:
- goto IL_6DD;
- case 42:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- arg_12E5_0 = 43;
- continue;
- case 43:
- array[2] = " added border for ";
- array[3] = text;
- arg_12E5_0 = 32;
- continue;
- case 44:
- {
- array[4] = " at ";
- array[5] = DateTime.Now;
- int arg_D7C_0 = num8;
- int arg_D7C_1 = 27962;
- num8 = -3987;
- if (arg_D7C_0 != arg_D7C_1)
- {
- goto Block_61;
- }
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num8 != 6682)
- {
- goto Block_47;
- }
- goto IL_F1C;
- }
- case 45:
- array[0] = "Current Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- num8 = 22469;
- arg_12E5_0 = 49;
- continue;
- case 46:
- goto IL_1028;
- case 47:
- array[2] = " applied OilPaintEffect for ";
- array[3] = text;
- if (num8 != 18574)
- {
- array[4] = " at ";
- array[5] = DateTime.Now;
- num8 = 28310;
- arg_12E5_0 = 50;
- continue;
- }
- goto IL_1208;
- case 48:
- goto IL_1519;
- case 49:
- goto IL_7A0;
- case 50:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num8 != -25497)
- {
- goto Block_71;
- }
- goto IL_AD1;
- case 51:
- goto IL_E6C;
- }
- goto IL_13BA;
- IL_626:
- array[4] = " at ";
- array[5] = DateTime.Now;
- if (num8 != 31387)
- {
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- arg_12E5_0 = 41;
- continue;
- }
- IL_112E:
- bool arg_BD4_0 = watermarkTextColor.A <= 0;
- goto IL_BD4;
- IL_675:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- arg_12E5_0 = 7;
- continue;
- IL_F41:
- ImageProcessType processType;
- switch (processType)
- {
- case ImageProcessType.GrayScale:
- oe = this.i.Resolve<oe>("GrayscaleEffect");
- arg_12E5_0 = 2;
- continue;
- case ImageProcessType.NagativeImage:
- goto IL_6E3;
- case ImageProcessType.OilPaint:
- oe = this.i.Resolve<oe>("OilPaintEffect");
- num8 = 27659;
- arg_12E5_0 = 35;
- continue;
- case ImageProcessType.Relief:
- oe = this.i.Resolve<oe>("ReliefEffect");
- arg_12E5_0 = 3;
- continue;
- }
- goto Block_68;
- IL_7A0:
- array[2] = " Culture ";
- array[3] = Thread.CurrentThread.CurrentCulture.ToString();
- int arg_7CA_0 = num8;
- int arg_7CA_1 = 22469;
- num8 = -22053;
- if (arg_7CA_0 != arg_7CA_1)
- {
- goto IL_F41;
- }
- IL_1208:
- array[4] = " before ApplyWatermarkText.";
- Debug.WriteLine(string.Concat(array));
- int arg_122B_0 = num8;
- int arg_122B_1 = -22053;
- num8 = 5274;
- if (arg_122B_0 != arg_122B_1)
- {
- goto Block_79;
- }
- array = new object[7];
- array[0] = "Current Thread: ";
- if (num8 != 23360)
- {
- goto Block_63;
- }
- goto IL_105E;
- IL_BD4:
- flag = arg_BD4_0;
- if (!flag)
- {
- array = new object[5];
- arg_12E5_0 = 45;
- continue;
- }
- goto IL_146C;
- IL_BD3:
- arg_BD4_0 = true;
- goto IL_BD4;
- IL_CD0:
- if (!flag)
- {
- WatermarkText watermarkText = this.g.WatermarkCollection[num9] as WatermarkText;
- num8 = -32019;
- arg_12E5_0 = 39;
- continue;
- }
- flag = !(this.g.WatermarkCollection[num9] is WatermarkImage);
- num8 = 329;
- arg_12E5_0 = 17;
- continue;
- IL_F1C:
- xe = this.i.Resolve<xe>("ThumbFileName");
- xe.a = this.g;
- arg_12E5_0 = 1;
- continue;
- IL_AD1:
- flag = (image2 == null);
- if (flag)
- {
- goto IL_1575;
- }
- if (num8 != 21350)
- {
- goto Block_49;
- }
- goto IL_F1C;
- IL_105E:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- num8 = 5842;
- arg_12E5_0 = 47;
- }
- IL_697:
- Trace.WriteLine(string.Concat(array));
- goto IL_6A5;
- IL_4E4:
- bool arg_A03_0 = watermarkImage.WatermarkImageOpacity <= 0.0;
- goto IL_A03;
- IL_505:
- IL_506:
- IL_507:
- num9++;
- int arg_525_0 = -29758 ^ 6164;
- num8 = -29350;
- if (arg_525_0 != 6111)
- {
- goto IL_4D7;
- }
- IL_E34:
- image = oe.a(image, null);
- array = new object[7];
- arg_12E5_0 = 15;
- goto IL_12E5;
- IL_558:
- bool arg_93C_0;
- if (this.g.ShrinkImage)
- {
- arg_93C_0 = (this.g.ShrinkPixelTo <= 0u);
- goto IL_93C;
- }
- IL_93B:
- arg_93C_0 = true;
- goto IL_93C;
- IL_5DE:
- array[4] = ", Watermark Image index: ";
- array[5] = num9;
- int arg_600_0 = num8;
- int arg_600_1 = -32189;
- num8 = -7037;
- if (arg_600_0 == arg_600_1)
- {
- IL_B2A:
- array[2] = " applied NegativeEffect for ";
- array[3] = text;
- num8 = 11194;
- arg_12E5_0 = 24;
- goto IL_12E5;
- }
- array[6] = " before.";
- Debug.WriteLine(string.Concat(array));
- if (num8 != -7037)
- {
- goto IL_F77;
- }
- oe = unityContainer.Resolve<oe>("WatermarkImage");
- oe.a = text;
- arg_12E5_0 = 16;
- goto IL_12E5;
- IL_6A5:
- flag = (this.g.BorderSetting.BorderWidth <= 0);
- int arg_6D3_0 = (int)7611L;
- num8 = 20809;
- if (arg_6D3_0 != 7611)
- {
- goto IL_832;
- }
- if (!flag)
- {
- oe = this.i.Resolve<oe>("AddBorder");
- arg_12E5_0 = 25;
- goto IL_12E5;
- }
- goto IL_968;
- IL_781:
- bool arg_782_0 = true;
- IL_782:
- flag = arg_782_0;
- if (!flag)
- {
- unityContainer = this.i.CreateChildContainer();
- arg_12E5_0 = 27;
- goto IL_12E5;
- }
- goto IL_6A5;
- IL_7D4:
- image2 = oe.a(image, this.g);
- array = new object[7];
- arg_12E5_0 = 5;
- goto IL_12E5;
- IL_832:
- array[1] = Thread.CurrentThread.ManagedThreadId;
- array[2] = "; Image File Name: ";
- num8 = -4476;
- arg_12E5_0 = 9;
- goto IL_12E5;
- IL_93C:
- flag = arg_93C_0;
- if (!flag)
- {
- oe = this.i.Resolve<oe>("ShrinkImage");
- num8 = 19918;
- arg_12E5_0 = 13;
- goto IL_12E5;
- }
- IL_D01:
- flag = (this.g.ProcessType == ImageProcessType.None);
- int arg_D27_0 = (int)-13823.0;
- num8 = -28425;
- if (arg_D27_0 != -10122)
- {
- goto IL_F00;
- }
- goto IL_B81;
- IL_968:
- flag = (this.g.DropShadowSetting.ShadowDepth <= 0);
- num8 = 19391;
- arg_12E5_0 = 18;
- goto IL_12E5;
- IL_A03:
- flag = arg_A03_0;
- if (!flag)
- {
- array = new object[7];
- arg_12E5_0 = 10;
- goto IL_12E5;
- }
- goto IL_506;
- IL_A1C:
- if (!flag)
- {
- xe = this.i.Resolve<xe>("BatchRenamedFileName");
- if (num8 != -17303)
- {
- goto IL_505;
- }
- goto IL_F78;
- }
- else
- {
- xe = this.i.Resolve<xe>("NormalFileName");
- int arg_10B2_0 = 9293;
- num8 = 14433;
- if (arg_10B2_0 != -27719)
- {
- goto IL_F77;
- }
- goto IL_5DE;
- }
- IL_B81:
- bool arg_1284_0 = this.g.ThumbnailSetting.ThumbnailSize <= 0u;
- goto IL_1284;
- IL_D86:
- if (!flag)
- {
- array = new object[7];
- array[0] = "Thread ";
- arg_12E5_0 = 23;
- goto IL_12E5;
- }
- unityContainer.RegisterInstance<int>(num9);
- int arg_EF6_0 = (int)19704.0;
- num8 = 31046;
- if (arg_EF6_0 != 7534)
- {
- flag = !(this.g.WatermarkCollection[num9] is WatermarkText);
- arg_12E5_0 = 8;
- goto IL_12E5;
- }
- IL_E4F:
- xe.a = new uint?(value);
- xe.a = text;
- if (false)
- {
- IL_E6C:
- array[5] = DateTime.Now;
- array[6] = ".";
- arg_12E5_0 = 33;
- goto IL_12E5;
- }
- ae.a(image2, imageFormat, xe);
- goto IL_1575;
- IL_F00:
- if (!flag)
- {
- ImageProcessType processType = this.g.ProcessType;
- arg_12E5_0 = 29;
- goto IL_12E5;
- }
- IL_151F:
- if (this.g.WatermarkCollection != null)
- {
- arg_12E5_0 = 46;
- goto IL_12E5;
- }
- goto IL_781;
- IL_F77:
- IL_F78:
- xe.a = this.g;
- xe.a = new uint?(value);
- int arg_FA4_0 = 14433;
- num8 = -7068;
- if (arg_FA4_0 == 14433)
- {
- IL_1422:
- xe.a = text;
- flag = (imageFormat != ImageFormat.Jpeg);
- num8 = 27019;
- arg_12E5_0 = 28;
- goto IL_12E5;
- }
- IL_1049:
- array[2] = " applied ReliefEffect for ";
- array[3] = text;
- arg_12E5_0 = 37;
- goto IL_12E5;
- IL_1104:
- array[0] = "Thread ";
- array[1] = Thread.CurrentThread.ManagedThreadId;
- if (num8 != 86)
- {
- goto IL_1049;
- }
- goto IL_A1C;
- IL_1235:
- array[1] = Thread.CurrentThread.ManagedThreadId;
- array[2] = " applied watermark(s) for ";
- arg_12E5_0 = 40;
- goto IL_12E5;
- IL_1283:
- arg_1284_0 = true;
- IL_1284:
- flag = arg_1284_0;
- if (flag)
- {
- goto IL_558;
- }
- oe = this.i.Resolve<oe>("ThumbImage");
- int arg_12B7_0 = -4887 + -4625;
- num8 = 10024;
- if (arg_12B7_0 != -9512)
- {
- goto IL_1104;
- }
- goto IL_7D4;
- IL_1575:
- goto IL_158B;
- IL_6DD:
- goto IL_151E;
- IL_6E3:
- oe = this.i.Resolve<oe>("NegativeEffect");
- int arg_70C_0 = 811 ^ -323;
- num8 = 26225;
- if (arg_70C_0 != 6483)
- {
- goto IL_E34;
- }
- IL_A02:
- arg_A03_0 = true;
- goto IL_A03;
- IL_716:
- array[2] = "; Image File Name: ";
- array[3] = text;
- int arg_732_0 = num8;
- int arg_732_1 = 9149;
- num8 = -18910;
- if (arg_732_0 != arg_732_1)
- {
- goto IL_5DE;
- }
- goto IL_1283;
- IL_966:
- goto IL_968;
- Block_47:
- goto IL_C66;
- Block_49:
- goto IL_1049;
- IL_B5B:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num8 != 16332)
- {
- goto IL_151E;
- }
- goto IL_7D4;
- Block_52:
- goto IL_146B;
- IL_C66:
- flag = !this.g.RenamingSetting.EnableBatchRename;
- int arg_C92_0 = 42575 + -10982;
- num8 = -17303;
- if (arg_C92_0 != 30296)
- {
- goto IL_A1C;
- }
- goto IL_F00;
- Block_58:
- goto IL_93B;
- IL_CFF:
- goto IL_D01;
- Block_61:
- goto IL_7D4;
- Block_63:
- goto IL_832;
- IL_E0E:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num8 != -12853)
- {
- goto IL_966;
- }
- goto IL_6DD;
- IL_ECD:
- num9 = 0;
- goto IL_4D7;
- Block_68:
- Block_71:
- goto IL_151E;
- IL_1028:
- arg_782_0 = (this.g.WatermarkCollection.Count <= 0);
- goto IL_782;
- Block_73:
- Block_77:
- goto IL_149F;
- Block_79:
- goto IL_ECD;
- IL_146B:
- IL_146C:
- goto IL_507;
- IL_149F:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num8 != 4346)
- {
- goto IL_558;
- }
- goto IL_1422;
- Block_86:
- goto IL_E0E;
- IL_1519:
- IL_151E:
- goto IL_151F;
- Block_88:
- array[6] = ".";
- Trace.WriteLine(string.Concat(array));
- if (num8 != 25658)
- {
- goto IL_CFF;
- }
- goto IL_966;
- }
- catch (Exception ex)
- {
- Trace.TraceError(ex.ToString());
- }
- IL_158B:;
- }
- finally
- {
- image.Dispose();
- image = null;
- flag = (image2 == null);
- if (!flag)
- {
- image2.Dispose();
- image2 = null;
- }
- of of = new of(text);
- this.a(of);
- }
- this.a(obj);
- return;
- }
- Debug.WriteLine("Thread " + Thread.CurrentThread.ManagedThreadId + " is set because stop requested.");
- if (false)
- {
- IL_306:
- this.f[num].Set();
- return;
- }
- goto IL_306;
- IL_10B:
- array[1] = Thread.CurrentThread.ManagedThreadId;
- array[2] = " Culture ";
- arg_17_0 = 1;
- goto IL_17;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement