Kaynak Kodu
namespace TCKimlik
{
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Runtime.CompilerServices;
using System.Windows.Forms;
using XjMQPipXU7Gar0XJXO;
public class MainForm : Form
{
private TextBox 6i2EQ1pRC;
private Panel 7MfjlIqcu;
private ToolStripSeparator A7J3GSmuZ;
private ToolStripMenuItem eYEUIV2oe;
private ContextMenuStrip H3FdZUMEx;
private ListBox h7EPuksR0;
private ToolStripMenuItem h8vmRyAvm;
private StatusStrip HCjb4OsBg;
private TextBox J1WDcitjG;
private GroupBox LHGoH6Fjt;
private GroupBox m2ARQqmyy;
private SplitContainer meFamlFoK;
private ListBox OCHGWG7GD;
private IContainer s5qIWcNE7 = null;
private ToolStripMenuItem SUtNoErux;
private ToolStripMenuItem t7A5otORs;
private ToolStripMenuItem wHHBAwV4w;
private ToolStripStatusLabel y14QqZG5R;
[MethodImpl(MethodImplOptions.NoInlining)]
public MainForm()
{
this.veSHvKBD1();
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void 0PxFgfgsQ(object, EventArgs)
{
ListBox sourceControl = (ListBox) this.H3FdZUMEx.SourceControl;
string str = "";
foreach (object obj2 in sourceControl.Items)
{
str = str + obj2.ToString() + Environment.NewLine;
}
str = (((str + Environment.NewLine + Environment.NewLine) + KJMXod41pRMvTFe6N1.pbSZeGKX3(0x182) + Environment.NewLine) + KJMXod41pRMvTFe6N1.pbSZeGKX3(0x1aa) + Environment.NewLine) + KJMXod41pRMvTFe6N1.pbSZeGKX3(510);
string path = Path.GetTempPath() + KJMXod41pRMvTFe6N1.pbSZeGKX3(0x234);
if (File.Exists(path))
{
File.Delete(path);
}
StreamWriter writer = new StreamWriter(path);
writer.Write(str);
writer.Flush();
writer.Close();
Process.Start(path);
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void 4nSnESmII(object, EventArgs)
{
this.q0rT8YcKv(this, new EventArgs());
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void 8S3JpUdBK(object, EventArgs)
{
this.RTLVg5CYy(this, new EventArgs());
Process.Start(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x11a));
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long 8yf2P4lyO(long num1)
{
if (num1.ToString().Length >= 9)
{
long num = this.lWa1HFp2h(num1);
long num2 = this.t0kpaj8nw(num1);
long num3 = (num * 3L) + num2;
long num6 = this.pbSZeGKX3(num3);
long num4 = num2 + num6;
long num5 = (num4 * 3L) + num;
return this.pbSZeGKX3(num5);
}
return 0L;
}
[MethodImpl(MethodImplOptions.NoInlining)]
protected override void Dispose(bool disposing)
{
if (disposing && (this.s5qIWcNE7 != null))
{
this.s5qIWcNE7.Dispose();
}
base.Dispose(disposing);
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void hbO8Tm1QT(object, EventArgs)
{
Process.Start(KJMXod41pRMvTFe6N1.pbSZeGKX3(0xb8));
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void ltywYUxgx(string text1, Color color1)
{
this.y14QqZG5R.ForeColor = color1;
this.y14QqZG5R.Text = text1;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long lWa1HFp2h(long num1)
{
string str = num1.ToString();
if (str.Length >= 9)
{
char ch = str[0];
ch = str[2];
ch = str[4];
ch = str[6];
ch = str[8];
return ((((long.Parse(ch.ToString()) + long.Parse(ch.ToString())) + long.Parse(ch.ToString())) + long.Parse(ch.ToString())) + long.Parse(ch.ToString()));
}
return 0L;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private bool M2q4r5F2b(long num1)
{
string str = num1.ToString();
if (str.Length == 11)
{
char ch = str[9];
return ((ch.ToString() == this.QnOsLrSQR(num1).ToString()) && ((ch = str[10]).ToString() == this.8yf2P4lyO(num1).ToString()));
}
return false;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long pbSZeGKX3(long num1)
{
long num = 10L - (num1 - ((num1 / 10L) * 10L));
if (num == 10L)
{
return 0L;
}
return num;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void q0rT8YcKv(object, EventArgs)
{
if (this.6i2EQ1pRC.Text.Length == 11)
{
try
{
long num = long.Parse(this.6i2EQ1pRC.Text);
if (this.M2q4r5F2b(num))
{
if (this.J1WDcitjG.Text != "")
{
int num5;
long num6;
long num7;
long num8;
int num2 = int.Parse(this.J1WDcitjG.Text);
long num3 = long.Parse(this.6i2EQ1pRC.Text.Substring(0, 9));
this.ltywYUxgx(KJMXod41pRMvTFe6N1.pbSZeGKX3(10), Color.Green);
this.OCHGWG7GD.Items.Clear();
this.h7EPuksR0.Items.Clear();
long num4 = num3 - 0x752fL;
for (num5 = 0; num5 < (num2 / 2); num5++)
{
this.OCHGWG7GD.Items.Add(num4.ToString() + this.QnOsLrSQR(num4) + this.8yf2P4lyO(num4));
num4 -= 0x752fL;
}
num4 = num3 + 0x752fL;
for (num5 = 0; num5 < (num2 / 2); num5++)
{
this.OCHGWG7GD.Items.Add(num4.ToString() + this.QnOsLrSQR(num4) + this.8yf2P4lyO(num4));
num4 += 0x752fL;
}
num4 = num;
for (num5 = 0; num5 < (num2 / 2); num5++)
{
num6 = this.waMOgOK3f(num4) - 6L;
num7 = this.ve7iOxQvL(num4) + 2L;
num8 = long.Parse(num6.ToString() + num7.ToString().PadLeft(4, '0'));
this.h7EPuksR0.Items.Add(num8.ToString() + this.QnOsLrSQR(num8) + this.8yf2P4lyO(num8));
num4 = num8;
}
num4 = num;
for (num5 = 0; num5 < (num2 / 2); num5++)
{
num6 = this.waMOgOK3f(num4) + 6L;
num7 = this.ve7iOxQvL(num4) - 2L;
num8 = long.Parse(num6.ToString() + num7.ToString().PadLeft(4, '0'));
this.h7EPuksR0.Items.Add(num8.ToString() + this.QnOsLrSQR(num8) + this.8yf2P4lyO(num8));
num4 = num8;
}
}
}
else
{
this.ltywYUxgx(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x48), Color.Red);
}
}
catch
{
}
}
else
{
this.ltywYUxgx(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x80), Color.Red);
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long QnOsLrSQR(long num1)
{
if (num1.ToString().Length >= 9)
{
long num = this.lWa1HFp2h(num1);
long num2 = this.t0kpaj8nw(num1);
long num3 = (num * 3L) + num2;
return this.pbSZeGKX3(num3);
}
return 0L;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void RTLVg5CYy(object, EventArgs)
{
ListBox sourceControl = (ListBox) this.H3FdZUMEx.SourceControl;
if (sourceControl.SelectedIndex >= 0)
{
Clipboard.SetText(sourceControl.SelectedItem.ToString());
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void RVFlHayB3(object, EventArgs)
{
ListBox sourceControl = (ListBox) this.H3FdZUMEx.SourceControl;
if (sourceControl.SelectedIndex >= 0)
{
this.6i2EQ1pRC.Text = sourceControl.SelectedItem.ToString();
}
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long t0kpaj8nw(long num1)
{
string str = num1.ToString();
if (str.Length >= 8)
{
char ch = str[1];
ch = str[3];
ch = str[5];
ch = str[7];
return (((long.Parse(ch.ToString()) + long.Parse(ch.ToString())) + long.Parse(ch.ToString())) + long.Parse(ch.ToString()));
}
return 0L;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long ve7iOxQvL(long num1)
{
string str = num1.ToString();
if (str.Length >= 9)
{
return long.Parse(str.Substring(5, 4));
}
return 0L;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void veSHvKBD1()
{
this.s5qIWcNE7 = new Container();
ComponentResourceManager manager = new ComponentResourceManager(typeof(MainForm));
this.m2ARQqmyy = new GroupBox();
this.meFamlFoK = new SplitContainer();
this.OCHGWG7GD = new ListBox();
this.H3FdZUMEx = new ContextMenuStrip(this.s5qIWcNE7);
this.SUtNoErux = new ToolStripMenuItem();
this.wHHBAwV4w = new ToolStripMenuItem();
this.eYEUIV2oe = new ToolStripMenuItem();
this.A7J3GSmuZ = new ToolStripSeparator();
this.t7A5otORs = new ToolStripMenuItem();
this.h7EPuksR0 = new ListBox();
this.LHGoH6Fjt = new GroupBox();
this.J1WDcitjG = new TextBox();
this.6i2EQ1pRC = new TextBox();
this.HCjb4OsBg = new StatusStrip();
this.y14QqZG5R = new ToolStripStatusLabel();
this.7MfjlIqcu = new Panel();
this.h8vmRyAvm = new ToolStripMenuItem();
this.m2ARQqmyy.SuspendLayout();
this.meFamlFoK.Panel1.SuspendLayout();
this.meFamlFoK.Panel2.SuspendLayout();
this.meFamlFoK.SuspendLayout();
this.H3FdZUMEx.SuspendLayout();
this.LHGoH6Fjt.SuspendLayout();
this.HCjb4OsBg.SuspendLayout();
this.7MfjlIqcu.SuspendLayout();
base.SuspendLayout();
this.m2ARQqmyy.Controls.Add(this.meFamlFoK);
this.m2ARQqmyy.Dock = DockStyle.Bottom;
this.m2ARQqmyy.Location = new Point(0, 0x48);
this.m2ARQqmyy.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x250);
this.m2ARQqmyy.Size = new Size(0x1c6, 0x1bd);
this.m2ARQqmyy.TabIndex = 0;
this.m2ARQqmyy.TabStop = false;
this.m2ARQqmyy.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x266);
this.meFamlFoK.Dock = DockStyle.Fill;
this.meFamlFoK.Location = new Point(3, 0x10);
this.meFamlFoK.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x2a4);
this.meFamlFoK.Panel1.Controls.Add(this.OCHGWG7GD);
this.meFamlFoK.Panel2.Controls.Add(this.h7EPuksR0);
this.meFamlFoK.Size = new Size(0x1c0, 0x1aa);
this.meFamlFoK.SplitterDistance = 0xde;
this.meFamlFoK.TabIndex = 2;
this.OCHGWG7GD.ContextMenuStrip = this.H3FdZUMEx;
this.OCHGWG7GD.Dock = DockStyle.Fill;
this.OCHGWG7GD.Font = new Font(KJMXod41pRMvTFe6N1.pbSZeGKX3(710), 20f, FontStyle.Regular, GraphicsUnit.Point, 0xa2);
this.OCHGWG7GD.FormattingEnabled = true;
this.OCHGWG7GD.ItemHeight = 0x1f;
this.OCHGWG7GD.Location = new Point(0, 0);
this.OCHGWG7GD.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x2f2);
this.OCHGWG7GD.Size = new Size(0xde, 0x197);
this.OCHGWG7GD.TabIndex = 0;
this.H3FdZUMEx.Items.AddRange(new ToolStripItem[] { this.SUtNoErux, this.h8vmRyAvm, this.wHHBAwV4w, this.eYEUIV2oe, this.A7J3GSmuZ, this.t7A5otORs });
this.H3FdZUMEx.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x306);
this.H3FdZUMEx.Size = new Size(0x99, 0x8e);
this.H3FdZUMEx.Opening += new CancelEventHandler(this.yecfh1Uta);
this.SUtNoErux.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x32c);
this.SUtNoErux.Size = new Size(0x98, 0x16);
this.SUtNoErux.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x35a);
this.SUtNoErux.Click += new EventHandler(this.RTLVg5CYy);
this.wHHBAwV4w.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x36e);
this.wHHBAwV4w.Size = new Size(0x98, 0x16);
this.wHHBAwV4w.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x3a0);
this.wHHBAwV4w.Click += new EventHandler(this.RVFlHayB3);
this.eYEUIV2oe.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x3b2);
this.eYEUIV2oe.Size = new Size(0x98, 0x16);
this.eYEUIV2oe.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x3ea);
this.eYEUIV2oe.Click += new EventHandler(this.8S3JpUdBK);
this.A7J3GSmuZ.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x404);
this.A7J3GSmuZ.Size = new Size(0x95, 6);
this.t7A5otORs.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x42e);
this.t7A5otORs.Size = new Size(0x98, 0x16);
this.t7A5otORs.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x456);
this.t7A5otORs.Click += new EventHandler(this.hbO8Tm1QT);
this.h7EPuksR0.ContextMenuStrip = this.H3FdZUMEx;
this.h7EPuksR0.Dock = DockStyle.Fill;
this.h7EPuksR0.Font = new Font(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x46c), 20f, FontStyle.Regular, GraphicsUnit.Point, 0xa2);
this.h7EPuksR0.FormattingEnabled = true;
this.h7EPuksR0.ItemHeight = 0x1f;
this.h7EPuksR0.Location = new Point(0, 0);
this.h7EPuksR0.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x498);
this.h7EPuksR0.Size = new Size(0xde, 0x197);
this.h7EPuksR0.TabIndex = 1;
this.LHGoH6Fjt.Controls.Add(this.J1WDcitjG);
this.LHGoH6Fjt.Controls.Add(this.6i2EQ1pRC);
this.LHGoH6Fjt.Dock = DockStyle.Top;
this.LHGoH6Fjt.Location = new Point(0, 0);
this.LHGoH6Fjt.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x4ac);
this.LHGoH6Fjt.Size = new Size(0x1c6, 0x42);
this.LHGoH6Fjt.TabIndex = 1;
this.LHGoH6Fjt.TabStop = false;
this.J1WDcitjG.Dock = DockStyle.Right;
this.J1WDcitjG.Font = new Font(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x4c2), 24f, FontStyle.Bold, GraphicsUnit.Point, 0xa2);
this.J1WDcitjG.Location = new Point(0x169, 0x10);
this.J1WDcitjG.MaxLength = 4;
this.J1WDcitjG.Multiline = true;
this.J1WDcitjG.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x4ee);
this.J1WDcitjG.Size = new Size(90, 0x2f);
this.J1WDcitjG.TabIndex = 1;
this.J1WDcitjG.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x502);
this.J1WDcitjG.TextChanged += new EventHandler(this.q0rT8YcKv);
this.6i2EQ1pRC.Dock = DockStyle.Left;
this.6i2EQ1pRC.Font = new Font(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x50a), 24f, FontStyle.Bold, GraphicsUnit.Point, 0xa2);
this.6i2EQ1pRC.Location = new Point(3, 0x10);
this.6i2EQ1pRC.MaxLength = 11;
this.6i2EQ1pRC.Multiline = true;
this.6i2EQ1pRC.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x536);
this.6i2EQ1pRC.Size = new Size(0x160, 0x2f);
this.6i2EQ1pRC.TabIndex = 0;
this.6i2EQ1pRC.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x54a);
this.6i2EQ1pRC.TextChanged += new EventHandler(this.q0rT8YcKv);
this.HCjb4OsBg.Items.AddRange(new ToolStripItem[] { this.y14QqZG5R });
this.HCjb4OsBg.Location = new Point(0, 0x205);
this.HCjb4OsBg.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x564);
this.HCjb4OsBg.Size = new Size(0x1c6, 0x16);
this.HCjb4OsBg.TabIndex = 2;
this.HCjb4OsBg.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x580);
this.y14QqZG5R.Font = new Font(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x59c), 12f, FontStyle.Bold);
this.y14QqZG5R.ForeColor = Color.Red;
this.y14QqZG5R.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x5ac);
this.y14QqZG5R.Size = new Size(0, 0x11);
this.7MfjlIqcu.Controls.Add(this.LHGoH6Fjt);
this.7MfjlIqcu.Controls.Add(this.m2ARQqmyy);
this.7MfjlIqcu.Dock = DockStyle.Fill;
this.7MfjlIqcu.Location = new Point(0, 0);
this.7MfjlIqcu.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x5c6);
this.7MfjlIqcu.Size = new Size(0x1c6, 0x205);
this.7MfjlIqcu.TabIndex = 3;
this.h8vmRyAvm.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x5d6);
this.h8vmRyAvm.Size = new Size(0x98, 0x16);
this.h8vmRyAvm.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x616);
this.h8vmRyAvm.Click += new EventHandler(this.0PxFgfgsQ);
base.AutoScaleDimensions = new SizeF(6f, 13f);
base.AutoScaleMode = AutoScaleMode.Font;
base.ClientSize = new Size(0x1c6, 0x21b);
base.Controls.Add(this.7MfjlIqcu);
base.Controls.Add(this.HCjb4OsBg);
base.FormBorderStyle = FormBorderStyle.FixedDialog;
base.Icon = (Icon) manager.GetObject(KJMXod41pRMvTFe6N1.pbSZeGKX3(0x628));
base.MaximizeBox = false;
base.MinimizeBox = false;
base.Name = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x640);
this.Text = KJMXod41pRMvTFe6N1.pbSZeGKX3(0x654);
base.Load += new EventHandler(this.4nSnESmII);
this.m2ARQqmyy.ResumeLayout(false);
this.meFamlFoK.Panel1.ResumeLayout(false);
this.meFamlFoK.Panel2.ResumeLayout(false);
this.meFamlFoK.ResumeLayout(false);
this.H3FdZUMEx.ResumeLayout(false);
this.LHGoH6Fjt.ResumeLayout(false);
this.LHGoH6Fjt.PerformLayout();
this.HCjb4OsBg.ResumeLayout(false);
this.HCjb4OsBg.PerformLayout();
this.7MfjlIqcu.ResumeLayout(false);
base.ResumeLayout(false);
base.PerformLayout();
}
[MethodImpl(MethodImplOptions.NoInlining)]
private long waMOgOK3f(long num1)
{
string str = num1.ToString();
if (str.Length >= 5)
{
return long.Parse(str.Substring(0, 5));
}
return 0L;
}
[MethodImpl(MethodImplOptions.NoInlining)]
private void yecfh1Uta(object, CancelEventArgs args1)
{
ListBox sourceControl = (ListBox) this.H3FdZUMEx.SourceControl;
if (sourceControl.SelectedIndex < 0)
{
args1.Cancel = true;
}
}
}
}