Malwagon
file icon
IronCrownSetup (2).exe File Analysis · first seen Nov 2, 2026 19:40 · 1.2 MB
1proc 23files 19reg 2drops 6IOCs
Malicious100 Completed Public
Get sample Report Sign in

IronCrownSetup (2).exePE analysis report - Malicious

Run integrity

sample ran

The guest staged the sample and launched it, so what follows describes this file rather than an empty desktop.

51.9sto launch
303telemetry events
62observed
72agent notes

Malicious

100/100

30 points past the malicious line at 70.

Clean0-34 Suspicious35-69 Malicious70-100

Why this verdict

+117
Static analysis
  • Malware config extracted (RedLine)
  • 1 high-risk capability(ies): reflective code loading
  • 1 suspicious signature match(es)
  • .NET source: Downloads and executes a remote payload
  • Local ML score 100.0 (calibrated probability 0.89, gate 0.74)
+39
Runtime behavior
  • 3 evasion behavior(s)
  • Dropped an executable to disk (+1 more runtime behavior)

Model reading

Measured MALICIOUS100 of 100

Evidence ledger above, row by row. Published verdict rests on this column and on nothing to its right.

Model reads it asadvisory, no points NOT ASSESSEDnot shown on this page

Reads this report's derived findings, never the sample itself.

A model reading exists for this scan and is shown to the submitter and to staff only. It is a second opinion about evidence the score already priced, it is worth no points, and on a public page it would stand beside the verdict with no grounding a stranger could check.

Other high-severity findings
  • HIGH Extracted RedLine malware configuration

Analysis layers

Static ran moved the score
Dynamic ran moved the score
Threat intel local feeds only no points
AI not included

Sample

TypeFile
MIMEapplication/vnd.microsoft.portable-executable

Run conditions

Sandbox OSWindows 10
EnvironmentWorkgroup
InternetIsolated
Execution140s (ended early)
Guest hardware2 vCPU4095 MB RAM
Fake artifacts8 files 6 apps 5 URLs

Detection signatures

11 detected
Severity Detection Evidence Layer
HIGH
.NET source: Downloads and executes a remote payload
MITRE T1105
- dynamic
HIGH
Extracted RedLine malware configuration
MITRE T1071
- static
MED
Dropped an executable to disk
MITRE T1105
file C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe dropped
file C:\Users\user\Desktop\IronCrown\Uninstall.exe dropped
dynamic
MED
Evasion: anti debug
MITRE T1497
runtime anti debug evasion signal
dynamic
MED
Evasion: sleep
MITRE T1497
runtime sleep evasion signal
dynamic
MED
Evasion: veh present
MITRE T1497
runtime veh present evasion signal
dynamic
MED
Executes external code / commands
MITRE T1059
confirmed at runtime, seen in 30% of benign software statically
capability wscript.shell capability: execution
static
MED
High file entropy (encrypted/compressed payload)
MITRE T1027
entropy 7.90 threshold 7.20, maximum 8.00
static
MED
Ransomware-related strings
MITRE T1486
string .crypt matched string
static
MED
Timestomping
runtime timestomping observed in the guest
dynamic
INFO
.NET managed assembly (decompiled)
- static

What the tests returned

5 tests

Each test this run performed and what it returned. A test that was not performed says so rather than reading as a negative result.

TestResult
Persistence mechanismsnone established at runtime
Network connectionsnot tested - this run had no route out, so an empty network section is a property of the run and not an observation about the sample
Behavioural rule matches (Sigma)none observed
Known-malicious hash (reputation sources)no source reported this file
Local anti-virus enginereported no detection

Absence of an observation is not proof of absence - see Coverage for what this run could and could not test.

Arguing against malice

  • The local anti-virus engine reported no detection.
  • No reputation source reported this file as malicious.

How much weight this carries

Confirmed. Independent external evidence, or the same behaviour seen by more than one analysis layer. The one fact that decided it: several independent runtime observations.

Instrument coverage

3 of 5 measured

What this run was able to observe, as the run itself recorded it. A layer that did not run makes an empty result a fact about the sandbox rather than about the sample.

LayerRanWhat that means
Runtime anti-analysis watch measured Measured. The in-process hook group for debugger, timing and hypervisor checks armed on this run, so an empty signal list means something looked and saw nothing.
API call sequence measured Measured for the hooked anti-analysis calls. It is not a full API trace: the sequence carries interpreter spawns plus the hooked anti-analysis calls, and nothing else.
Explicit module loads measured Measured, with two limits. Only a module the sample asks for by hand is recorded, so one brought in by its own import table never appears, and the hooks arrive a few seconds after a process starts.
Network capture not on this plan Not included on this scan's plan.
Memory capture not measured Not measured. This run did not ask for the memory-dump option and nothing forced it, so the guest's memory was not read.
Live kernel introspection not measured Not measured. This run did not ask for the memory-dump option, which is what starts the introspection loop.

This lists the layers this run recorded for itself. A layer that is not listed was not recorded either way, so its absence here is not a result.

Structure

What the file is made of: headers, imports, how it was built and whether it was signed.

Signature
Microsoft Linker(11.0)
Not packed Unsigned
LinkerMicrosoft Linker(11.0)
Library.NET Framework(Legacy, CLR v4.0.30319)
Identity
File
typeexecutable
size1.2 MB
file arch32-bit (x86)
subsystemGUI
entropy7.9015
date2026-11-02 15:35:40 UTC
version3.0.0.0
descriptionРыцари: Железная Корона
productРыцари: Железная Корона
original nameIronCrownSetup.exe
languageNEU

Antivirus engine

no signature matched signature set 28172 - 3.6M signatures

Nothing in the signature set below matched this file. That is one engine's negative answer against one signature set on one day, and it is not a verdict. A signature engine only recognises what has already been named and published, so a file nobody has named yet scans exactly like a file that is harmless. What this file does when it runs is the stronger evidence; read the behaviour sections for that.

Signature setValue
Set version28172
Signatures in the set3,642,948
Set published02 Nov 2026 06:24 +0000
Age when this file was scannedsame day

A negative answer is only as good as the signature set that gave it, so the set is recorded with the result and the result can be reproduced against it.

Local ML assessment

100.0 of 100 8 strongest of 2568 features

A gradient-boosted model running entirely on this host scored this file 100.0 of 100 on structure alone: its headers, sections, imports, strings and signature. The file was not executed and nothing about it left this machine.

Read this as corroboration and not as a verdict. Measured across this corpus the model separates signed software from unsigned software more sharply than malicious from benign, so it is charged at most 15 of 100 verdict points and only on top of evidence this report measured for itself. The eight features below are the ones that moved it furthest.

Structural featureWhat it meansPushesWeight
image flag dll Image flag: a library rather than a program towards malicious +2.6282
feature column 649 Text in the file matching the stub message a Windows program carries towards malicious +0.8706
section entropy .rsrc Byte randomness of section .rsrc towards malicious +0.8584
debug directory address Location of the debug table (0) towards malicious +0.7072
debug directory size Size of the debug table (0) towards malicious +0.5392
feature column 684 Text in the file matching the pattern resource towards benign -0.5349
feature column 666 Text in the file matching the pattern install towards benign -0.4617
import mscoree.dll:_CorExeMain Calls _CorExeMain from mscoree.dll towards malicious +0.4242

A weight is a log-odds nudge away from the model's own baseline, not a percentage point. Where a feature names a section, an import or a build id, the number beside it is the model's own hashed cell for that name rather than a measurement of the file: two names can share one cell and the sign comes from the hash, so no number is shown for those rows.

Packing
Not packed
This file's code is readable on disk - nothing is compressed or encrypted around it.
.NET managed
8/100
packer confidence
Static analysis reads this file directly Nothing is hiding the code from a static pass, so what the file contains is what the report shows.
Indicators weighed 3 signals
  • High-entropy resource (possible packed payload)
  • High-entropy resource (possible packed payload)
  • .NET managed binary (no obfuscator signature matched)

Extracted malware config

RedLine
RedLine
rawAuthorization=IronCrownLauncher/3
botnetПроверка обновлений…

Secrets & malicious strings

1 flagged string

Flagged string categories

ransomware med 1 hit
IndicatorFound inEvidence from the sample
.crypt raw bytes present in the file bytes only

Capabilities

1 behaviour bucket
SeverityCapabilityMITREAPIs
med Code execution
Creates processes / runs commands or shellcode
T1059 wscript.shell

Security mitigations

partial posture
ON ASLR (DynamicBase)
OFF High-entropy ASLR (64-bit)
ON DEP / NX (NxCompat)
OFF Control Flow Guard
? SafeSEH
? Stack cookies (GS)
OFF Force Integrity
OFF AppContainer isolation
OFF Authenticode signed

Build and packaging

6 checks, none matched
CheckResultDetail
PyInstaller bundle not found analyser ran over the bytes, no marker
Nuitka build not found analyser ran over the bytes, no marker
Electron application (asar) not found analyser ran over the bytes, no marker
HTML / SVG smuggling not found analyser ran over the bytes, no marker
Rust / Nim / Zig toolchain not found analyser ran over the bytes, no marker
LLM-enabled code not found analyser ran over the bytes, no marker

.NET managed

AssemblyIronCrownSetup 3.0.0.0
Streams#~ #Strings #US #GUID #Blob
P/Invoke0 unmanaged import(s)
ResourcesTheme.xaml, bg.jpg, icon.ico, Setup.xaml, icon.png, IronCrownLauncher.exe

Sections

3 sections · the file's memory layout
SectionVirtual addrRaw sizeVirtual sizeAccessEntropy
.textEP
Executable code
0x2000
1.1 MB
1.1 MB
EXECUTEREAD
7.8943
.rsrc
Resources
0x124000
103.0 KB
102.8 KB
READ
7.9731
.reloc
Base relocations
0x13e000
512.0 B
12.0 B
READ
0.1019
code data imports/exports resources metadata packer non-standard Entropy above 7.0 means compressed or encrypted content.

Imports

1 funcs / 1 DLL

0 of these function were seen called at runtime.

Open the imports page

Binary metadata

what the headers declare about this build
Resource langsNEU
Debug infono
TLS callbacksno

Code signing

Unsigned

This binary carries no Authenticode signature. Unsigned executables are a weak suspicious signal - most legitimate vendor software is signed.

Similar samples

22 related samples

Ranked by fuzzy hash (TLSH distance - lower is closer) and ssdeep similarity, plus an identical import table and functions shared once library code is removed. A near-identical neighbour is usually the same build; a variant is the same family rebuilt or repacked.

RelationSampleVerdictWhy it matched
related XIAOMI BOOTLOADER TOOL.exe Suspicious identical import table (imphash)
related M4R7HGroup.exe Suspicious identical import table (imphash)
related SpyTeam.exe Suspicious identical import table (imphash)
related AlyxMP-Setup.exe Suspicious identical import table (imphash)
related Dungeons2SkinLoader.exe No threats detected identical import table (imphash)
related EndcordInstaller.exe Malicious identical import table (imphash)
related VM.v2.1.exe Malicious identical import table (imphash)
related cr-keygen.exe Malicious identical import table (imphash)
related dotnet_b64_3des_cbc_to_404keylo… Malicious identical import table (imphash)
related Capri-Setup.exe Malicious identical import table (imphash)
related Capri-Setup.exe Malicious identical import table (imphash)
related MetaDataStringEditor.exe No threats detected identical import table (imphash)
related WeMod Geometry Dash Setup.exe No threats detected identical import table (imphash)
related CrackPotassium.exe Malicious identical import table (imphash)
related ZuLauncher.exe Suspicious identical import table (imphash)
related Server.exe Malicious identical import table (imphash)
related Bind Remover.exe Malicious identical import table (imphash)
related XWorm V3.1.exe Malicious identical import table (imphash)
related Capri-Setup.exe Malicious identical import table (imphash)
related svchost_update.exe Malicious identical import table (imphash)
related START.exe Suspicious identical import table (imphash)
related dfsvc.exe No threats detected identical import table (imphash)

Capability detection

38 capabilities
list is incomplete here

The capability analysis reports a limitation on this class of file: (internal) .NET file limitation.

Read what follows as the capabilities of the code that could be read, not of the file as a whole.

CapabilityNamespace
read file in .NET host-interaction/file-system/read
create process in .NET host-interaction/process/create
write file in .NET host-interaction/file-system/write
create thread host-interaction/thread/create
suspend thread host-interaction/thread/suspend
create or open registry key -
check if file exists host-interaction/file-system/exists
send HTTP request communication/http/client
create HTTP request communication/http/client
serialize JSON in .NET data-manipulation/json
send data communication
receive HTTP response communication/http/client
set HTTP User-Agent in .NET communication/http
deserialize JSON in .NET data-manipulation/json
contain loop -
move file host-interaction/file-system/move
get file size host-interaction/file-system/meta
create directory host-interaction/file-system/create
read and send data from client to server communication/c2/file-transfer
delete file host-interaction/file-system/delete
hash data using SHA256 data-manipulation/hashing/sha256
create a process with modified I/O handles and window host-interaction/process/create
write and execute a file communication/c2/file-transfer
access .NET resource executable/resource
get common file path host-interaction/file-system
query or enumerate registry value host-interaction/registry
query or enumerate registry key host-interaction/registry
set registry value host-interaction/registry/create
copy file host-interaction/file-system/copy
persist via lnk shortcut persistence/file-system
find process by name host-interaction/process/list
invoke .NET assembly method load-code/dotnet
manipulate unmanaged memory in .NET host-interaction/memory
delete registry key host-interaction/registry/delete
check if directory exists host-interaction/file-system/exists
compiled to the .NET platform runtime/dotnet
reference analysis tools strings anti-analysis
ATT&CK techniques
Defense Evasion::Modify Registry [T1112]Defense Evasion::Reflective Code Loading [T1620]Discovery::File and Directory Discovery [T1083]Discovery::Process Discovery [T1057]Discovery::Query Registry [T1012]Persistence::Boot or Logon Autostart Execution::Shortcut Modification [T1547.009]
Malware Behavior Catalog
Command and Control::C2 Communication::Send DataCommunication::HTTP Communication::Create RequestCommunication::HTTP Communication::Get ResponseCommunication::HTTP Communication::Send RequestCryptography::Cryptographic Hash::SHA256Discovery::Analysis Tool Discovery::Process detectionDiscovery::File and Directory DiscoveryExecution::Install Additional ProgramFile System::Copy FileFile System::Create DirectoryFile System::Delete FileFile System::Move FileFile System::Read FileFile System::Writes FileOperating System::Registry::Create Registry KeyOperating System::Registry::Delete Registry KeyOperating System::Registry::Open Registry KeyOperating System::Registry::Query Registry KeyOperating System::Registry::Query Registry ValueOperating System::Registry::Set Registry KeyProcess::Create ProcessProcess::Create ThreadProcess::Suspend Thread

Signature matches

1 finding · 4 file properties · 1 scored
Rule What it matched Corpus Weight
Embedded_PE_In_Overlay
A second MZ/PE header appears inside the file body
1 of 1 string matched
$mz MZ at 0x0 · 11 hits
Built-in
ruleset this platform ships, and the only one the score reads
SCORED 5
Scored 5, sharing a 15 point cap with every other anti-vm, anti-debug, dropper or packer match.
File properties - not findings
IsPE32IsNET_EXEIsWindowsGUIIsPacked

These say what the file IS or holds - bitness, subsystem, an overlay, an embedded macro stream, which compiler built it. Ordinary files match several, and none of them carry weight in the score.

Extracted strings

showing 200 of 568
  • !This program cannot be run in DOS mode.
  • .text
  • `.rsrc
  • @.reloc
  • Window.Resources
  • <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
  • <Color x:Key="CPurple">#FF8B4DFF</Color>
  • <Color x:Key="CPurpleDark">#FF5E2BC4</Color>
  • <SolidColorBrush x:Key="Purple" Color="#FF8B4DFF"/>
  • <SolidColorBrush x:Key="PurpleLight" Color="#FFB48BFF"/>
  • <SolidColorBrush x:Key="Ink" Color="#FFF2EEF8"/>
  • <SolidColorBrush x:Key="Dim" Color="#FFA59DBA"/>
  • <SolidColorBrush x:Key="Dim2" Color="#FF7D7591"/>
  • <SolidColorBrush x:Key="PanelBg" Color="#F2110E1A"/>
  • <SolidColorBrush x:Key="PanelLine" Color="#FF2A2340"/>
  • <SolidColorBrush x:Key="Field" Color="#FF191524"/>
  • <SolidColorBrush x:Key="Green" Color="#FF4BE36A"/>
  • <SolidColorBrush x:Key="Red" Color="#FFFF6178"/>
  • <LinearGradientBrush x:Key="PurpleGrad" StartPoint="0,0" EndPoint="0,1">
  • <GradientStop Color="#FF9A5CFF" Offset="0"/>
  • <GradientStop Color="#FF7436E8" Offset="0.55"/>
  • <GradientStop Color="#FF5F28CF" Offset="1"/>
  • </LinearGradientBrush>
  • <LinearGradientBrush x:Key="PurpleGradHot" StartPoint="0,0" EndPoint="0,1">
  • <GradientStop Color="#FFAE7BFF" Offset="0"/>
  • <GradientStop Color="#FF8547F5" Offset="0.55"/>
  • <GradientStop Color="#FF6B30DD" Offset="1"/>
  • <LinearGradientBrush x:Key="BarGrad" StartPoint="0,0" EndPoint="1,0">
  • <GradientStop Color="#FF6A33E0" Offset="0"/>
  • <GradientStop Color="#FF9558FF" Offset="0.8"/>
  • <GradientStop Color="#FFB98EFF" Offset="1"/>
  • <Style x:Key="T" TargetType="TextBlock">
  • <Setter Property="FontFamily" Value="Segoe UI"/>
  • <Setter Property="Foreground" Value="{StaticResource Ink}"/>
  • <Setter Property="TextOptions.TextFormattingMode" Value="Ideal"/>
  • <Setter Property="TextOptions.TextRenderingMode" Value="ClearType"/>
  • <Style x:Key="TSemi" TargetType="TextBlock" BasedOn="{StaticResource T}">
  • <Setter Property="FontFamily" Value="Segoe UI Semibold"/>
  • <Style x:Key="Ico" TargetType="Path">
  • <Setter Property="Stroke" Value="{StaticResource Ink}"/>
  • <Setter Property="StrokeThickness" Value="1.8"/>
  • <Setter Property="StrokeLineJoin" Value="Round"/>
  • <Setter Property="StrokeStartLineCap" Value="Round"/>
  • <Setter Property="StrokeEndLineCap" Value="Round"/>
  • <Setter Property="Stretch" Value="Uniform"/>
  • (RadioButton, GroupName=nav):
  • <Style x:Key="Nav" TargetType="RadioButton">
  • <Setter Property="Cursor" Value="Hand"/>
  • <Setter Property="Template">
  • <Setter.Value>
  • <ControlTemplate TargetType="RadioButton">
  • <Grid Background="Transparent">
  • <Path x:Name="act" Data="M6,0 H234 L248,14 V51 L234,65 H6 A6,6 0 0 1 0,59 V6 A6,6 0 0 1 6,0 Z" Opacity="0" StrokeThickness="1">
  • <Path.Fill>
  • <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
  • <GradientStop Color="#FF8E4FFF" Offset="0"/>
  • <GradientStop Color="#FF6A31DC" Offset="0.6"/>
  • <GradientStop Color="#FF4A1FA6" Offset="1"/>
  • </LinearGradientBrush>
  • </Path.Fill>
  • <Path.Stroke>
  • <GradientStop Color="#FFC9A6FF" Offset="0"/>
  • <GradientStop Color="#557A4BE0" Offset="1"/>
  • </Path.Stroke>
  • <Path.Effect><DropShadowEffect Color="#FF8B4DFF" BlurRadius="26" ShadowDepth="0" Opacity="0.55"/></Path.Effect>
  • <ContentPresenter Margin="30,0,0,0" VerticalAlignment="Center"/>
  • <ControlTemplate.Triggers>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="hot" Property="Opacity" Value="1"/></Trigger>
  • <Trigger Property="IsChecked" Value="True"><Setter TargetName="act" Property="Opacity" Value="1"/><Setter TargetName="hot" Property="Opacity" Value="0"/></Trigger>
  • </ControlTemplate.Triggers>
  • </ControlTemplate>
  • </Setter.Value>
  • </Setter>
  • <Style x:Key="Big" TargetType="Button">
  • <Setter Property="Foreground" Value="White"/>
  • <ControlTemplate TargetType="Button">
  • <Grid>
  • <Border x:Name="b" CornerRadius="6" Background="{StaticResource PurpleGrad}" BorderThickness="1">
  • <Border.BorderBrush>
  • <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"><GradientStop Color="#FFD2B6FF" Offset="0"/><GradientStop Color="#FF7A45E6" Offset="1"/></LinearGradientBrush>
  • </Border.BorderBrush>
  • <Border.Effect><DropShadowEffect x:Name="glow" Color="#FF8B4DFF" BlurRadius="28" ShadowDepth="0" Opacity="0.5"/></Border.Effect>
  • </Border>
  • <Border CornerRadius="6,6,0,0" Height="2" VerticalAlignment="Top" Margin="8,1,8,0" Background="#40FFFFFF"/>
  • <ContentPresenter x:Name="c" HorizontalAlignment="Center" VerticalAlignment="Center"/>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="Background" Value="{StaticResource PurpleGradHot}"/></Trigger>
  • <Trigger Property="IsPressed" Value="True"><Setter TargetName="c" Property="RenderTransform"><Setter.Value><TranslateTransform Y="1"/></Setter.Value></Setter><Setter TargetName="b" Property="Opacity" Value="0.88"/></Trigger>
  • <Trigger Property="IsEnabled" Value="False"><Setter TargetName="b" Property="Opacity" Value="0.5"/><Setter TargetName="b" Property="Effect" Value="{x:Null}"/><Setter Property="Foreground" Value="#FFE4D9FF"/></Trigger>
  • <Style x:Key="Dark" TargetType="Button">
  • <Setter Property="FontSize" Value="17"/>
  • <Border x:Name="b" CornerRadius="6" Background="#FF1E1A2C" BorderBrush="#FF3A3252" BorderThickness="1" Padding="{TemplateBinding Padding}">
  • <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
  • </Border>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="Background" Value="#FF2A2340"/><Setter TargetName="b" Property="BorderBrush" Value="#FF7B4FE0"/></Trigger>
  • <Trigger Property="IsPressed" Value="True"><Setter TargetName="b" Property="Background" Value="#FF171322"/></Trigger>
  • <Trigger Property="IsEnabled" Value="False"><Setter TargetName="b" Property="Opacity" Value="0.45"/></Trigger>
  • <Style x:Key="Flat" TargetType="Button">
  • <Border x:Name="b" Background="Transparent" CornerRadius="5"><ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/></Border>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="Background" Value="#22FFFFFF"/></Trigger>
  • <Trigger Property="IsPressed" Value="True"><Setter TargetName="b" Property="Background" Value="#33FFFFFF"/></Trigger>
  • <Style x:Key="FlatClose" TargetType="Button" BasedOn="{StaticResource Flat}">
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="Background" Value="#CCE0324E"/></Trigger>
  • <Style x:Key="Link" TargetType="Button">
  • <Setter Property="Foreground" Value="#FFC9C1DD"/>
  • <ContentPresenter x:Name="c" TextBlock.Foreground="{TemplateBinding Foreground}"/>
  • <Trigger Property="IsMouseOver" Value="True"><Setter Property="Foreground" Value="White"/></Trigger>
  • <Style x:Key="Input" TargetType="TextBox">
  • <Setter Property="FontSize" Value="19"/>
  • <Setter Property="CaretBrush" Value="{StaticResource PurpleLight}"/>
  • <Setter Property="SelectionBrush" Value="#FF8B4DFF"/>
  • <ControlTemplate TargetType="TextBox">
  • <Border x:Name="b" CornerRadius="6" Background="{StaticResource Field}" BorderBrush="#FF3A3252" BorderThickness="1" Padding="14,0">
  • <ScrollViewer x:Name="PART_ContentHost" VerticalAlignment="Center" Focusable="False" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Hidden"/>
  • <Trigger Property="IsKeyboardFocused" Value="True"><Setter TargetName="b" Property="BorderBrush" Value="#FF9A63FF"/></Trigger>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="Background" Value="#FF1F1A2D"/></Trigger>
  • <Style x:Key="Pass" TargetType="PasswordBox">
  • <ControlTemplate TargetType="PasswordBox">
  • <Style x:Key="Check" TargetType="CheckBox">
  • <ControlTemplate TargetType="CheckBox">
  • <StackPanel Orientation="Horizontal" Background="Transparent">
  • <Border x:Name="box" Width="22" Height="22" CornerRadius="5" Background="{StaticResource Field}" BorderBrush="#FF4A3F66" BorderThickness="1.5">
  • <Path x:Name="mark" Data="M1,6 L5,10 13,1" Stroke="White" StrokeThickness="2.4" StrokeStartLineCap="Round" StrokeEndLineCap="Round" StrokeLineJoin="Round" Margin="3,4,0,0" Visibility="Collapsed"/>
  • <ContentPresenter Margin="12,0,0,0" VerticalAlignment="Center"/>
  • </StackPanel>
  • <Trigger Property="IsChecked" Value="True"><Setter TargetName="mark" Property="Visibility" Value="Visible"/><Setter TargetName="box" Property="Background" Value="{StaticResource PurpleGrad}"/><Setter TargetName="box" Property="BorderBrush" Value="#FFB48BFF"/></Trigger>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="box" Property="BorderBrush" Value="#FF9A63FF"/></Trigger>
  • <Style x:Key="Switch" TargetType="CheckBox">
  • <Grid Width="54" Height="30" Background="Transparent">
  • <Border x:Name="track" CornerRadius="15" Background="#FF2A2438" BorderBrush="#FF453B5E" BorderThickness="1"/>
  • <Ellipse x:Name="knob" Width="22" Height="22" Fill="#FFCFC8DF" HorizontalAlignment="Left" Margin="4,0,0,0">
  • <Ellipse.Effect><DropShadowEffect BlurRadius="6" ShadowDepth="1" Opacity="0.5"/></Ellipse.Effect>
  • </Ellipse>
  • <Trigger Property="IsChecked" Value="True">
  • <Setter TargetName="track" Property="Background" Value="{StaticResource PurpleGrad}"/>
  • <Setter TargetName="track" Property="BorderBrush" Value="#FFB48BFF"/>
  • <Setter TargetName="knob" Property="HorizontalAlignment" Value="Right"/>
  • <Setter TargetName="knob" Property="Margin" Value="0,0,4,0"/>
  • <Setter TargetName="knob" Property="Fill" Value="White"/>
  • </Trigger>
  • (RadioButton-
  • <Style x:Key="Pill" TargetType="RadioButton">
  • <Setter Property="Margin" Value="0,0,10,0"/>
  • <Border x:Name="b" CornerRadius="6" Background="#FF1E1A2C" BorderBrush="#FF3A3252" BorderThickness="1" Padding="18,9">
  • <ContentPresenter HorizontalAlignment="Center"/>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="BorderBrush" Value="#FF7B4FE0"/></Trigger>
  • <Trigger Property="IsChecked" Value="True"><Setter TargetName="b" Property="Background" Value="{StaticResource PurpleGrad}"/><Setter TargetName="b" Property="BorderBrush" Value="#FFB48BFF"/></Trigger>
  • <Style TargetType="ScrollBar">
  • <Setter Property="Width" Value="8"/>
  • <ControlTemplate TargetType="ScrollBar">
  • <Border CornerRadius="4" Background="#22FFFFFF"/>
  • <Track x:Name="PART_Track" IsDirectionReversed="True">
  • <Track.Thumb>
  • <Thumb>
  • <Thumb.Template><ControlTemplate TargetType="Thumb"><Border CornerRadius="4" Background="#FF6B44C4"/></ControlTemplate></Thumb.Template>
  • </Track.Thumb>
  • <Style TargetType="ToolTip">
  • <Setter Property="Background" Value="#FF1A1626"/>
  • <Setter Property="BorderBrush" Value="#FF5A3FA0"/>
  • <Setter Property="FontSize" Value="14"/>
  • <Setter Property="Padding" Value="10,6"/>
  • <Style x:Key="MenuItemBtn" TargetType="Button">
  • <Setter Property="HorizontalContentAlignment" Value="Left"/>
  • <Border x:Name="b" Background="Transparent" CornerRadius="5" Padding="16,11"><ContentPresenter HorizontalAlignment="Left"/></Border>
  • <Trigger Property="IsMouseOver" Value="True"><Setter TargetName="b" Property="Background" Value="#FF3A2A66"/></Trigger>
  • </ResourceDictionary>
  • m.clgt
  • 8H.Tb
  • Yjq%s
  • nDAX
  • MLE^i
  • ).fgF
  • msRO
  • @pASZ
  • RYZDe
  • ~.xO
  • #'.Ef
  • .qCW
  • y!dmth
  • sace$
  • .vPK
  • .PGB
  • .yww%
  • OMSY
  • SHoq
  • .fHn
  • .dFO
  • ].fY
  • ouy,t
  • CHXv
  • j#%s
  • llmw
  • cokjn
  • tMCO
  • .Fs:
  • Oidl
  • tio|]a
  • QLO)Tt
  • E"vea
  • ]ihik
  • vg-dem

Stack and decoded strings were not recovered: no reason was recorded. Only literal strings present in the file are listed above.

Disassembly

entry point · x86 · 60 insns (listing capped)
AddressBytesMnemonicOperands
0x522c0eff2500204000jmpdword ptr [0x402000]
0x522c140000addbyte ptr [eax], al
0x522c160000addbyte ptr [eax], al
0x522c180000addbyte ptr [eax], al
0x522c1a0000addbyte ptr [eax], al
0x522c1c0000addbyte ptr [eax], al
0x522c1e0000addbyte ptr [eax], al
0x522c200000addbyte ptr [eax], al
0x522c220000addbyte ptr [eax], al
0x522c240000addbyte ptr [eax], al
0x522c260000addbyte ptr [eax], al
0x522c280000addbyte ptr [eax], al
0x522c2a0000addbyte ptr [eax], al
0x522c2c0000addbyte ptr [eax], al
0x522c2e0000addbyte ptr [eax], al
0x522c300000addbyte ptr [eax], al
0x522c320000addbyte ptr [eax], al
0x522c340000addbyte ptr [eax], al
0x522c360000addbyte ptr [eax], al
0x522c380000addbyte ptr [eax], al
0x522c3a0000addbyte ptr [eax], al
0x522c3c0000addbyte ptr [eax], al
0x522c3e0000addbyte ptr [eax], al
0x522c400000addbyte ptr [eax], al
0x522c420000addbyte ptr [eax], al
0x522c440000addbyte ptr [eax], al
0x522c460000addbyte ptr [eax], al
0x522c480000addbyte ptr [eax], al
0x522c4a0000addbyte ptr [eax], al
0x522c4c0000addbyte ptr [eax], al
0x522c4e0000addbyte ptr [eax], al
0x522c500000addbyte ptr [eax], al
0x522c520000addbyte ptr [eax], al
0x522c540000addbyte ptr [eax], al
0x522c560000addbyte ptr [eax], al
0x522c580000addbyte ptr [eax], al
0x522c5a0000addbyte ptr [eax], al
0x522c5c0000addbyte ptr [eax], al
0x522c5e0000addbyte ptr [eax], al
0x522c600000addbyte ptr [eax], al
0x522c620000addbyte ptr [eax], al
0x522c640000addbyte ptr [eax], al
0x522c660000addbyte ptr [eax], al
0x522c680000addbyte ptr [eax], al
0x522c6a0000addbyte ptr [eax], al
0x522c6c0000addbyte ptr [eax], al
0x522c6e0000addbyte ptr [eax], al
0x522c700000addbyte ptr [eax], al
0x522c720000addbyte ptr [eax], al
0x522c740000addbyte ptr [eax], al
0x522c760000addbyte ptr [eax], al
0x522c780000addbyte ptr [eax], al
0x522c7a0000addbyte ptr [eax], al
0x522c7c0000addbyte ptr [eax], al
0x522c7e0000addbyte ptr [eax], al
0x522c800000addbyte ptr [eax], al
0x522c820000addbyte ptr [eax], al
0x522c840000addbyte ptr [eax], al
0x522c860000addbyte ptr [eax], al
0x522c880000addbyte ptr [eax], al
callbranchretstackarithregisterimmediatememory

Import fingerprint

no related sample
Fingerprint3:rGsLdAIEK:tf
Imports read1 function from 1 library (1 distinct)
Comparableno (fewer than 8 distinct imports)
Samples built on the same import table

No comparison was run: this import table is not distinctive enough for a match to mean anything.

AI security review

not on this plan paid plans

AI security review is on the paid plans

On a paid scan a model reads the decompiled code end to end and returns a verdict with the lines it rests on, above the source.

Nothing is being withheld here. No model read this assembly, so no verdict is stored behind the lock. Findings, the type tree and the full decompiled source below are on every plan and are unaffected.

Create an account See plans

Decompiled .NET source

1 finding C# 9 types · 1421 lines

Decompiled from IL. Every type defined in the assembly is listed below; on a merged or packed sample some of it belongs to a bundled library rather than to the author. Behaviour review and the AI layer read only the author's own types.

Assembly contents 8 types
SeverityBehavior detected in sourceMITRE
high Downloads and executes a remote payload T1105
using System;
using System.Collections;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Net;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Security.Cryptography;
using System.Text;
using System.Threading;
using System.Web.Script.Serialization;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Forms;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
using System.Windows.Shell;
using System.Windows.Threading;
using Microsoft.Win32;

[assembly: AssemblyCompany("Vaylorn Studio")]
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: AssemblyProduct("Рыцари: Железная Корона")]
[assembly: AssemblyTitle("Рыцари: Железная Корона")]
[assembly: AssemblyVersion("3.0.0.0")]
namespace IronCrownLauncher;

internal static class Program
{
	public const string Version = "3";

	public const string DefaultServer = "https://game.vaylorn.online";

	public const string SiteUrl = "https://vaylorn.online";

	public static readonly string Root = AppDomain.CurrentDomain.BaseDirectory;

	public static string ServerUrl()
	{
		string text = "";
		string path = Path.Combine(Root, "server.txt");
		try
		{
			if (File.Exists(path))
			{
				text = File.ReadAllText(path).Trim().TrimEnd(new char[1] { '/' });
			}
		}
		catch
		{
		}
		if (text.Length == 0)
		{
			text = "https://game.vaylorn.online";
		}
		if (!text.StartsWith("http"))
		{
			text = "http://" + text;
		}
		return text;
	}

	public static void Open(string url)
	{
		try
		{
			Process.Start(url);
		}
		catch
		{
		}
	}
}

internal static class Net
{
	public static JavaScriptSerializer Js;

	static Net()
	{
		//IL_0000: Unknown result type (might be due to invalid IL or missing references)
		//IL_0006: Expected O, but got Unknown
		JavaScriptSerializer val = new JavaScriptSerializer();
		val.MaxJsonLength = 67108864;
		Js = val;
		ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;
		ServicePointManager.DefaultConnectionLimit = 8;
	}

	public static int Call(string method, string url, object body, string token, out Dictionary<string, object> resp)
	{
		resp = null;
		try
		{
			HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
			httpWebRequest.Method = method;
			httpWebRequest.Timeout = 15000;
			httpWebRequest.UserAgent = "IronCrownLauncher/3";
			if (token != null)
			{
				httpWebRequest.Headers["Authorization"] = "Bearer " + token;
			}
			if (body != null)
			{
				byte[] bytes = Encoding.UTF8.GetBytes(Js.Serialize(body));
				httpWebRequest.ContentType = "application/json; charset=utf-8";
				httpWebRequest.ContentLength = bytes.Length;
				using Stream stream = httpWebRequest.GetRequestStream();
				stream.Write(bytes, 0, bytes.Length);
			}
			else if (method == "POST")
			{
				httpWebRequest.ContentLength = 0L;
			}
			using HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
			resp = Read(httpWebResponse);
			return (int)httpWebResponse.StatusCode;
		}
		catch (WebException ex)
		{
			if (!(ex.Response is HttpWebResponse httpWebResponse2))
			{
				return 0;
			}
			try
			{
				resp = Read(httpWebResponse2);
			}
			catch
			{
			}
			return (int)httpWebResponse2.StatusCode;
		}
		catch
		{
			return 0;
		}
	}

	private static Dictionary<string, object> Read(HttpWebResponse w)
	{
		using StreamReader streamReader = new StreamReader(w.GetResponseStream(), Encoding.UTF8);
		string text = streamReader.ReadToEnd();
		try
		{
			return Js.Deserialize<Dictionary<string, object>>(text);
		}
		catch
		{
			return new Dictionary<string, object>();
		}
	}

	public static string Err(int code, Dictionary<string, object> r)
	{
		if (r != null && r.ContainsKey("error"))
		{
			return Convert.ToString(r["error"]);
		}
		if (code != 0)
		{
			return "Ошибка сервера (" + code + ")";
		}
		return "Нет связи с сервером";
	}

	public static string S(Dictionary<string, object> d, string k)
	{
		if (d == null || !d.ContainsKey(k) || d[k] == null)
		{
			return "";
		}
		return Convert.ToString(d[k]);
	}

	public static long N(Dictionary<string, object> d, string k)
	{
		try
		{
			return (d != null && d.ContainsKey(k) && d[k] != null) ? Convert.ToInt64(d[k]) : 0;
		}
		catch
		{
			return 0L;
		}
	}

	public static List<Dictionary<string, object>> L(Dictionary<string, object> d, string k)
	{
		List<Dictionary<string, object>> list = new List<Dictionary<string, object>>();
		if (d != null && d.ContainsKey(k) && d[k] is ArrayList)
		{
			foreach (object item in (ArrayList)d[k])
			{
				if (item is Dictionary<string, object>)
				{
					list.Add((Dictionary<string, object>)item);
				}
			}
		}
		return list;
	}
}

internal class Settings
{
	public int ResX = 1600;

	public int ResY = 900;

	public bool Fullscreen;

	public bool LowQuality;

	public bool CloseOnPlay = true;

	public bool Remember = true;

	public string Token = "";

	public string Nick = "";

	private static string PathOf()
	{
		return Path.Combine(Program.Root, "launcher_settings.json");
	}

	public static Settings Load()
	{
		Settings settings = new Settings();
		try
		{
			if (!File.Exists(PathOf()))
			{
				return settings;
			}
			Dictionary<string, object> d = Net.Js.Deserialize<Dictionary<string, object>>(File.ReadAllText(PathOf()));
			settings.ResX = (int)Net.N(d, "resX");
			settings.ResY = (int)Net.N(d, "resY");
			if (settings.ResX < 640)
			{
				settings.ResX = 1600;
				settings.ResY = 900;
			}
			settings.Fullscreen = Net.S(d, "fullscreen") == "True";
			settings.LowQuality = Net.S(d, "lowQuality") == "True";
			settings.CloseOnPlay = Net.S(d, "closeOnPlay") != "False";
			settings.Remember = Net.S(d, "remember") != "False";
			settings.Token = Net.S(d, "token");
			settings.Nick = Net.S(d, "nick");
		}
		catch
		{
		}
		return settings;
	}

	public void Save()
	{
		Dictionary<string, object> dictionary = new Dictionary<string, object>();
		dictionary["resX"] = ResX;
		dictionary["resY"] = ResY;
		dictionary["fullscreen"] = Fullscreen;
		dictionary["lowQuality"] = LowQuality;
		dictionary["closeOnPlay"] = CloseOnPlay;
		dictionary["remember"] = Remember;
		dictionary["token"] = (Remember ? Token : "");
		dictionary["nick"] = Nick;
		try
		{
			File.WriteAllText(PathOf(), Net.Js.Serialize((object)dictionary), Encoding.UTF8);
		}
		catch
		{
		}
	}
}

internal enum Phase
{
	Checking,
	Verifying,
	Downloading,
	Paused,
	Stopped,
	Ready,
	Offline,
	Error,
	SelfUpdate
}

internal class Updater
{
	private class FileRec
	{
		public string p;

		public long s;

		public string h;
	}

	public readonly string Server;

	public readonly string GameDir;

	public string ExeRel = "IronCrown.exe";

	public volatile Phase State;

	public string Title = "Проверка обновлений…";

	public string Detail = "";

	public string Version = "";

	public string VersionTitle = "";

	public string Note = "";

	public long Done;

	public long Total;

	public double Speed;

	public long Released;

	public bool HadUpdate;

	private readonly ManualResetEvent run = new ManualResetEvent(initialState: true);

	private volatile bool cancel;

	private volatile bool working;

	private readonly Queue<KeyValuePair<DateTime, long>> samples = new Queue<KeyValuePair<DateTime, long>>();

	public bool GameReady => State == Phase.Ready;

	public bool GameOnDisk => File.Exists(Path.Combine(GameDir, ExeRel));

	public bool Working => working;

	public event Action Changed;

	public event Action RestartForSelfUpdate;

	public Updater(string server, string gameDir)
	{
		Server = server;
		GameDir = gameDir;
	}

	public void Start(bool forceVerify)
	{
		if (working)
		{
			return;
		}
		working = true;
		cancel = false;
		run.Set();
		Thread thread = new Thread((ThreadStart)delegate
		{
			try
			{
				Work(forceVerify);
			}
			finally
			{
				working = false;
			}
		});
		thread.IsBackground = true;
		Thread thread2 = thread;
		thread2.Start();
	}

	public void Pause()
	{
		if (State == Phase.Downloading)
		{
			run.Reset();
			State = Phase.Paused;
			Title = "Пауза";
			Fire();
		}
	}

	public void Resume()
	{
		if (State == Phase.Paused)
		{
			run.Set();
			State = Phase.Downloading;
			Fire();
		}
	}

	public void Stop()
	{
		cancel = true;
		run.Set();
	}

	private void Fire()
	{
		Action changed = this.Changed;
		if (changed != null)
		{
			try
			{
				changed();
			}
			catch
			{
			}
		}
	}

	private void Set(Phase p, string title, string detail)
	{
		State = p;
		Title = title;
		Detail = detail ?? "";
		Fire();
	}

	private void Work(bool forceVerify)
	{
		try
		{
			Done = (Total = 0L);
			Speed = 0.0;
			Set(Phase.Checking, "Проверка обновлений…", "");
			Dictionary<string, object> dictionary;
			try
			{
				HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(Server + "/update/manifest.json");
				httpWebRequest.Timeout = 15000;
				httpWebRequest.UserAgent = "IronCrownLauncher/3";
				using WebResponse webResponse = httpWebRequest.GetResponse();
				using StreamReader streamReader = new StreamReader(webResponse.GetResponseStream(), Encoding.UTF8);
				dictionary = Net.Js.Deserialize<Dictionary<string, object>>(streamReader.ReadToEnd());
			}
			catch (Exception ex)
			{
				Set(Phase.Offline, "Нет связи с сервером", ex.Message);
				return;
			}
			if (dictionary.ContainsKey("exe"))
			{
				ExeRel = (string)dictionary["exe"];
			}
			Version = Net.S(dictionary, "version");
			VersionTitle = Net.S(dictionary, "title");
			Note = Net.S(dictionary, "note");
			Released = Net.N(dictionary, "released");
			Fire();
			if (dictionary.ContainsKey("launcher") && dictionary["launcher"] is Dictionary<string, object>)
			{
				Dictionary<string, object> dictionary2 = (Dictionary<string, object>)dictionary["launcher"];
				string location = Assembly.GetEntryAssembly().Location;
				if (!string.Equals(Sha(location), (string)dictionary2["h"], StringComparison.OrdinalIgnoreCase))
				{
					SelfUpdate(location, (string)dictionary2["h"], Convert.ToInt64(dictionary2["s"]));
					return;
				}
			}
			List<FileRec> list = new List<FileRec>();
			foreach (Dictionary<string, object> item in Net.L(dictionary, "files"))
			{
				FileRec fileRec = new FileRec();
				fileRec.p = ((string)item["p"]).Replace('/', '\\');
				fileRec.s = Convert.ToInt64(item["s"]);
				fileRec.h = (string)item["h"];
				if (!fileRec.p.Contains("..") && !Path.IsPathRooted(fileRec.p))
				{
					list.Add(fileRec);
				}
			}
			string path = Path.Combine(GameDir, ".installed.json");
			Dictionary<string, object> dictionary3 = new Dictionary<string, object>();
			try
			{
				if (!forceVerify && File.Exists(path))
				{
					dictionary3 = Net.Js.Deserialize<Dictionary<string, object>>(File.ReadAllText(path));
				}
			}
			catch
			{
			}
			Dictionary<string, object> dictionary4 = (dictionary3.ContainsKey("files") ? ((Dictionary<string, object>)dictionary3["files"]) : new Dictionary<string, object>());
			List<FileRec> list2 = new List<FileRec>();
			Dictionary<string, object> dictionary5 = new Dictionary<string, object>();
			long num = 0L;
			for (int i = 0; i < list.Count; i++)
			{
				if (cancel)
				{
					Set(Phase.Stopped, "Проверка остановлена", "");
					return;
				}
				FileRec fileRec2 = list[i];
				string text = Path.Combine(GameDir, fileRec2.p);
				Done = i;
				Total = list.Count;
				if (i % 3 == 0)
				{
					Set(Phase.Verifying, "Проверка файлов игры…", "");
				}
				FileInfo fileInfo = new FileInfo(text);
				bool flag = false;
				if (fileInfo.Exists && fileInfo.Length == fileRec2.s)
				{
					if (dictionary4.TryGetValue(fileRec2.p, out var value) && value is Dictionary<string, object>)
					{
						Dictionary<string, object> dictionary6 = (Dictionary<string, object>)value;
						flag = (string)dictionary6["h"] == fileRec2.h && Convert.ToInt64(dictionary6["t"]) == fileInfo.LastWriteTimeUtc.Ticks;
					}
					if (!flag)
					{
						flag = string.Equals(Sha(text), fileRec2.h, StringComparison.OrdinalIgnoreCase);
					}
				}
				if (flag)
				{
					dictionary5[fileRec2.p] = Rec(fileRec2.h, fileInfo.LastWriteTimeUtc.Ticks);
					continue;
				}
				list2.Add(fileRec2);
				num += fileRec2.s;
			}
			HadUpdate = list2.Count > 0;
			long num2 = 0L;
			Done = 0L;
			Total = num;
			samples.Clear();
			string title = ((dictionary4.Count == 0 && list2.Count == list.Count) ? "Загрузка игры…" : "Загрузка обновления…");
			for (int j = 0; j < list2.Count; j++)
			{
				FileRec fileRec3 = list2[j];
				string text2 = Path.Combine(GameDir, fileRec3.p);
				Directory.CreateDirectory(Path.GetDirectoryName(text2));
				long before = num2;
				Set(Phase.Downloading, title, "");
				Download(Server + "/update/blob/" + fileRec3.h, text2 + ".part", fileRec3.s, delegate(long got)
				{
					Done = before + got;
					Speed = Rate(Done);
					Fire();
				});
				if (!string.Equals(Sha(text2 + ".part"), fileRec3.h, StringComparison.OrdinalIgnoreCase))
				{
					File.Delete(text2 + ".part");
					throw new Exception("файл повреждён при загрузке — нажми «Повторить»");
				}
				if (File.Exists(text2))
				{
					File.Delete(text2);
				}
				File.Move(text2 + ".part", text2);
				num2 += fileRec3.s;
				dictionary5[fileRec3.p] = Rec(fileRec3.h, new FileInfo(text2).LastWriteTimeUtc.Ticks);
				SaveState(path, Version, dictionary5, dictionary4);
			}
			foreach (string key in dictionary4.Keys)
			{
				if (!dictionary5.ContainsKey(key))
				{
					try
					{
						File.Delete(Path.Combine(GameDir, key));
					}
					catch
					{
					}
				}
			}
			SaveState(path, Version, dictionary5, null);
			Done = Total;
			Set(Phase.Ready, "Игра готова к запуску", (list2.Count > 0) ? "Обновление установлено" : "У вас последняя версия");
		}
		catch (OperationCanceledException)
		{
			Set(Phase.Stopped, "Загрузка остановлена", "Нажмите ▶, чтобы продолжить — скачанное не пропадёт");
		}
		catch (Exception ex3)
		{
			Set(Phase.Error, "Ошибка обновления", ex3.Message);
		}
	}

	private double Rate(long cur)
	{
		DateTime utcNow = DateTime.UtcNow;
		samples.Enqueue(new KeyValuePair<DateTime, long>(utcNow, cur));
		while (samples.Count > 2 && (utcNow - samples.Peek().Key).TotalSeconds > 3.0)
		{
			samples.Dequeue();
		}
		KeyValuePair<DateTime, long> keyValuePair = samples.Peek();
		double totalSeconds = (utcNow - keyValuePair.Key).TotalSeconds;
		if (!(totalSeconds > 0.2))
		{
			return Speed;
		}
		return (double)(cur - keyValuePair.Value) / totalSeconds;
	}

	private static Dictionary<string, object> Rec(string h, long t)
	{
		Dictionary<string, object> dictionary = new Dictionary<string, object>();
		dictionary["h"] = h;
		dictionary["t"] = t;
		return dictionary;
	}

	private static void SaveState(string path, string ver, Dictionary<string, object> files, Dictionary<string, object> keepOld)
	{
		Dictionary<string, object> dictionary = new Dictionary<string, object>(files);
		if (keepOld != null)
		{
			foreach (KeyValuePair<string, object> item in keepOld)
			{
				if (!dictionary.ContainsKey(item.Key))
				{
					dictionary[item.Key] = item.Value;
				}
			}
		}
		Dictionary<string, object> dictionary2 = new Dictionary<string, object>();
		dictionary2["version"] = ver;
		dictionary2["files"] = dictionary;
		Directory.CreateDirectory(Path.GetDirectoryName(path));
		File.WriteAllText(path, Net.Js.Serialize((object)dictionary2), Encoding.UTF8);
	}

	private void Download(string url, string path, long size, Action<long> onProgress)
	{
		int num = 0;
		while (true)
		{
			long num2 = (File.Exists(path) ? new FileInfo(path).Length : 0);
			if (num2 > size)
			{
				File.Delete(path);
				num2 = 0L;
			}
			if (num2 == size)
			{
				break;
			}
			try
			{
				HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create(url);
				httpWebRequest.Timeout = 20000;
				httpWebRequest.ReadWriteTimeout = 30000;
				httpWebRequest.UserAgent = "IronCrownLauncher/3";
				if (num2 > 0)
				{
					httpWebRequest.AddRange(num2);
				}
				using (HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse())
				{
					if (num2 > 0 && httpWebResponse.StatusCode != HttpStatusCode.PartialContent)
					{
						num2 = 0L;
					}
					using Stream stream = httpWebResponse.GetResponseStream();
					using FileStream fileStream = new FileStream(path, (num2 > 0) ? FileMode.Append : FileMode.Create, FileAccess.Write);
					byte[] array = new byte[131072];
					long num3 = num2;
					DateTime dateTime = DateTime.MinValue;
					int num4;
					while ((num4 = stream.Read(array, 0, array.Length)) > 0)
					{
						fileStream.Write(array, 0, num4);
						num3 += num4;
						if ((DateTime.UtcNow - dateTime).TotalMilliseconds > 120.0)
						{
							onProgress(num3);
							dateTime = DateTime.UtcNow;
						}
						if (!run.WaitOne(0))
						{
							fileStream.Flush();
							onProgress(num3);
							run.WaitOne();
							if (cancel)
							{
								throw new OperationCanceledException();
							}
							num = -1;
							break;
						}
						if (cancel)
						{
							throw new OperationCanceledException();
						}
					}
					onProgress(num3);
				}
				if (new FileInfo(path).Length == size)
				{
					return;
				}
			}
			catch (OperationCanceledException)
			{
				throw;
			}
			catch (Exception)
			{
				if (cancel)
				{
					throw new OperationCanceledException();
				}
				if (num >= 5)
				{
					throw;
				}
				Thread.Sleep(2000 * (num + 1));
			}
			num++;
		}
		onProgress(size);
	}

	public static string Sha(string path)
	{
		using SHA256 sHA = SHA256.Create();
		using FileStream inputStream = new FileStream(path, FileMode.Open, FileAccess.Read, FileShare.ReadWrite, 1048576);
		byte[] array = sHA.ComputeHash(inputStream);
		StringBuilder stringBuilder = new StringBuilder(64);
		byte[] array2 = array;
		foreach (byte b in array2)
		{
			stringBuilder.Append(b.ToString("x2"));
		}
		return stringBuilder.ToString();
	}

	private void SelfUpdate(string self, string hash, long size)
	{
		Set(Phase.SelfUpdate, "Обновление лаунчера…", "");
		string text = self + ".new";
		if (File.Exists(text))
		{
			File.Delete(text);
		}
		Download(Server + "/update/blob/" + hash, text, size, delegate
		{
		});
		if (!string.Equals(Sha(text), hash, StringComparison.OrdinalIgnoreCase))
		{
			File.Delete(text);
			Set(Phase.Error, "Не удалось обновить лаунчер", "Запустите его ещё раз");
			return;
		}
		string text2 = Path.Combine(Path.GetTempPath(), "ironcrown_launcher_update.cmd");
		File.WriteAllText(text2, "@echo off\r\nchcp 65001 >nul\r\n:w\r\ntimeout /t 1 /nobreak >nul\r\nmove /y \"" + text + "\" \"" + self + "\" >nul || goto w\r\nstart \"\" \"" + self + "\"\r\ndel \"%~f0\"\r\n", new UTF8Encoding(encoderShouldEmitUTF8Identifier: false));
		ProcessStartInfo processStartInfo = new ProcessStartInfo("cmd.exe", "/c \"" + text2 + "\"");
		processStartInfo.WindowStyle = ProcessWindowStyle.Hidden;
		processStartInfo.CreateNoWindow = true;
		Process.Start(processStartInfo);
		this.RestartForSelfUpdate?.Invoke();
	}

	public string Launch(Settings cfg)
	{
		string text = Path.Combine(GameDir, ExeRel);
		if (!File.Exists(text))
		{
			return "Игра ещё не скачана";
		}
		try
		{
			string arguments = string.Format("-Server=\"{0}\" -Token={1} -Nick=\"{2}\" -ResX={3} -ResY={4} {5} -Quality={6}", Server, cfg.Token, cfg.Nick, cfg.ResX, cfg.ResY, cfg.Fullscreen ? "-fullscreen" : "-windowed", cfg.LowQuality ? "low" : "high");
			ProcessStartInfo processStartInfo = new ProcessStartInfo(text, arguments);
			processStartInfo.WorkingDirectory = Path.GetDirectoryName(text);
			Process.Start(processStartInfo);
			return null;
		}
		catch (Exception ex)
		{
			return "Не удалось запустить игру: " + ex.Message;
		}
	}

	public static string Size(long b)
	{
		if (b < 1073741824)
		{
			return $"{(double)b / 1048576.0:0.0} МБ";
		}
		return $"{(double)b / 1073741824.0:0.00} ГБ";
	}
}

internal static class Assets
{
	public static Stream Stream(string name)
	{
		return Assembly.GetExecutingAssembly().GetManifestResourceStream(name);
	}

	public static string Text(string name)
	{
		using Stream stream = Stream(name);
		using StreamReader streamReader = new StreamReader(stream, Encoding.UTF8);
		return streamReader.ReadToEnd();
	}

	public static BitmapImage Image(string name)
	{
		//IL_0000: Unknown result type (might be due to invalid IL or missing references)
		//IL_0006: Expected O, but got Unknown
		BitmapImage val = new BitmapImage();
		val.BeginInit();
		val.StreamSource = Stream(name);
		val.CacheOption = (BitmapCacheOption)1;
		val.EndInit();
		((Freezable)val).Freeze();
		return val;
	}

	public static Window Window(string xamlName)
	{
		//IL_0034: Unknown result type (might be due to invalid IL or missing references)
		//IL_003a: Expected O, but got Unknown
		string text = Text("Theme.xaml");
		text = text.Substring(text.IndexOf("<ResourceDictionary", StringComparison.Ordinal));
		Window val = (Window)XamlReader.Parse(Text(xamlName).Replace("__THEME__", text));
		try
		{
			val.Icon = (ImageSource)(object)BitmapFrame.Create(Stream("icon.ico"));
		}
		catch
		{
		}
		return val;
	}
}

internal static class SetupProgram
{
	public const string Title = "Рыцари: Железная Корона";

	public const string Folder = "IronCrown";

	public const string LauncherExe = "IronCrownLauncher.exe";

	public const string UninstallExe = "Uninstall.exe";

	public const string ShortcutName = "Рыцари - Железная Корона.lnk";

	public const string RegKey = "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\IronCrown";

	[STAThread]
	private static int Main(string[] args)
	{
		//IL_0000: Unknown result type (might be due to invalid IL or missing references)
		//IL_0006: Expected O, but got Unknown
		Application val = new Application();
		val.ShutdownMode = (ShutdownMode)1;
		Application val2 = val;
		SetupWindow setupWindow = new SetupWindow(args);
		return val2.Run(setupWindow.Win);
	}
}

internal class SetupWindow
{
	public readonly Window Win;

	private readonly bool uninstall;

	private readonly string shotFile;

	private readonly string shotState;

	private int stage;

	private string unDir;

	private bool unOurs;

	private T E<T>(string name) where T : class
	{
		return (T)((FrameworkElement)Win).FindName(name);
	}

	public SetupWindow(string[] args)
	{
		//IL_00b0: Unknown result type (might be due to invalid IL or missing references)
		//IL_00b6: Expected O, but got Unknown
		//IL_00cf: Unknown result type (might be due to invalid IL or missing references)
		//IL_00fe: Unknown result type (might be due to invalid IL or missing references)
		//IL_0155: Unknown result type (might be due to invalid IL or missing references)
		//IL_015c: Expected O, but got Unknown
		//IL_0182: Unknown result type (might be due to invalid IL or missing references)
		//IL_01d6: Unknown result type (might be due to invalid IL or missing references)
		//IL_01dd: Expected O, but got Unknown
		//IL_01fa: Unknown result type (might be due to invalid IL or missing references)
		//IL_0201: Expected O, but got Unknown
		//IL_021e: Unknown result type (might be due to invalid IL or missing references)
		//IL_0225: Expected O, but got Unknown
		//IL_0242: Unknown result type (might be due to invalid IL or missing references)
		//IL_0249: Expected O, but got Unknown
		//IL_0266: Unknown result type (might be due to invalid IL or missing references)
		//IL_026d: Expected O, but got Unknown
		//IL_0305: Unknown result type (might be due to invalid IL or missing references)
		//IL_030f: Expected O, but got Unknown
		//IL_03dc: Unknown result type (might be due to invalid IL or missing references)
		//IL_03e3: Expected O, but got Unknown
		MouseButtonEventHandler val = null;
		RoutedEventHandler val2 = null;
		RoutedEventHandler val3 = null;
		RoutedEventHandler val4 = null;
		RoutedEventHandler val5 = null;
		RoutedEventHandler val6 = null;
		base..ctor();
		uninstall = Array.Exists(args, (string a) => a.Equals("/uninstall", StringComparison.OrdinalIgnoreCase));
		int num = Array.IndexOf(args, "/shot");
		if (num >= 0 && num + 1 < args.Length)
		{
			shotFile = args[num + 1];
			shotState = ((num + 2 < args.Length) ? args[num + 2] : "choose");
			if (shotState == "uninstall")
			{
				uninstall = true;
			}
		}
		Win = Assets.Window("Setup.xaml");
		Window win = Win;
		WindowChrome val7 = new WindowChrome();
		val7.CaptionHeight = 0.0;
		val7.ResizeBorderThickness = new Thickness(0.0);
		val7.GlassFrameThickness = new Thickness(0.0, 0.0, 0.0, 1.0);
		val7.UseAeroCaptionButtons = false;
		WindowChrome.SetWindowChrome(win, val7);
		Win.Title = "Рыцари: Железная Корона" + (uninstall ? " — удаление" : " — установка");
		BitmapImage val8 = Assets.Image("bg.jpg");
		Rectangle obj = E<Rectangle>("Art");
		ImageBrush val9 = new ImageBrush((ImageSource)(object)val8);
		((TileBrush)val9).Viewbox = new Rect(272.0, 0.0, 1400.0, 560.0);
		((TileBrush)val9).ViewboxUnits = (BrushMappingMode)0;
		((TileBrush)val9).Stretch = (Stretch)3;
		((TileBrush)val9).AlignmentY = (AlignmentY)0;
		((Shape)obj).Fill = (Brush)(object)val9;
		E<Image>("Logo").Source = (ImageSource)(object)Assets.Image("icon.png");
		Window win2 = Win;
		if (val == null)
		{
			val = (MouseButtonEventHandler)delegate(object s, MouseButtonEventArgs e)
			{
				if (((RoutedEventArgs)e).OriginalSource is Rectangle || ((RoutedEventArgs)e).OriginalSource is Grid || ((RoutedEventArgs)e).OriginalSource is Border)
				{
					try
					{
						Win.DragMove();
					}
					catch
					{
					}
				}
			};
		}
		((UIElement)win2).MouseLeftButtonDown += val;
		Button obj2 = E<Button>("Close");
		if (val2 == null)
		{
			val2 = (RoutedEventHandler)delegate
			{
				if (stage != 1)
				{
					Win.Close();
				}
			};
		}
		((ButtonBase)obj2).Click += val2;
		Button obj3 = E<Button>("Second");
		if (val3 == null)
		{
			val3 = (RoutedEventHandler)delegate
			{
				Win.Close();
			};
		}
		((ButtonBase)obj3).Click += val3;
		Button obj4 = E<Button>("Browse");
		if (val4 == null)
		{
			val4 = (RoutedEventHandler)delegate
			{
				Browse();
			};
		}
		((ButtonBase)obj4).Click += val4;
		Button obj5 = E<Button>("Main");
		if (val5 == null)
		{
			val5 = (RoutedEventHandler)delegate
			{
				if (uninstall)
				{
					if (stage == 2)
					{
						Win.Close();
					}
					else
					{
						DoUninstall();
					}
				}
				else if (stage == 2)
				{
					Finish();
				}
				else
				{
					DoInstall();
				}
			};
		}
		((ButtonBase)obj5).Click += val5;
		Win.Closed += delegate
		{
			AfterUninstall();
		};
		if (uninstall)
		{
			E<TextBlock>("Heading").Text = "Удаление игры";
			((UIElement)E<StackPanel>("ChooseBox")).Visibility = (Visibility)2;
			((UIElement)E<StackPanel>("ProgressBox")).Visibility = (Visibility)0;
			E<TextBlock>("Status").Text = "Будут удалены лаунчер, скачанная игра и ярлыки.\nЗамки и кристаллы хранятся на сервере — войдёте снова, и всё будет на месте.";
			E<TextBlock>("Status").Foreground = (Brush)((FrameworkElement)Win).FindResource((object)"Ink");
			((FrameworkElement)E<Border>("BarFill")).Parent.SetValue(UIElement.VisibilityProperty, (object)(Visibility)2);
			E<TextBlock>("MainText").Text = "Удалить";
			((UIElement)E<Button>("Second")).Visibility = (Visibility)0;
		}
		else
		{
			string text = InstalledDir();
			E<TextBlock>("Heading").Text = ((text != null) ? "Обновление лаунчера" : "Установка игры");
			E<TextBox>("Dir").Text = text ?? DefaultDir();
			E<TextBlock>("Note").Text = "Лаунчер сам скачает игру (около 750 МБ)";
			if (text != null)
			{
				E<TextBlock>("MainText").Text = "Обновить";
			}
		}
		if (shotFile == null)
		{
			return;
		}
		Window win3 = Win;
		if (val6 == null)
		{
			val6 = (RoutedEventHandler)delegate
			{
				Shot();
			};
		}
		((FrameworkElement)win3).Loaded += val6;
	}

	private static string DefaultDir()
	{
		string folderPath = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData);
		bool flag = true;
		string text = folderPath;
		foreach (char c in text)
		{
			if (c > '\u007f')
			{
				flag = false;
				break;
			}
		}
		if (flag && folderPath.Length > 0)
		{
			return Path.Combine(Path.Combine(folderPath, "Programs"), "IronCrown");
		}
		return Path.Combine(Path.GetPathRoot(Environment.SystemDirectory) ?? "C:\\", Path.Combine("Games", "IronCrown"));
	}

	private static string InstalledDir()
	{
		try
		{
			using RegistryKey registryKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\IronCrown");
			string text = ((registryKey != null) ? (registryKey.GetValue("InstallLocation") as string) : null);
			return (text != null && File.Exists(Path.Combine(text, "IronCrownLauncher.exe"))) ? text : null;
		}
		catch
		{
			return null;
		}
	}

	private void Browse()
	{
		//IL_0000: Unknown result type (might be due to invalid IL or missing references)
		//IL_0006: Expected O, but got Unknown
		//IL_001b: Unknown result type (might be due to invalid IL or missing references)
		//IL_0021: Invalid comparison between Unknown and I4
		FolderBrowserDialog val = new FolderBrowserDialog();
		val.Description = "Куда установить игру? Внутри будет создана папка IronCrown.";
		val.ShowNewFolderButton = true;
		FolderBrowserDialog val2 = val;
		try
		{
			if ((int)((CommonDialog)val2).ShowDialog() == 1)
			{
				string text = val2.SelectedPath.TrimEnd(new char[1] { '\\' });
				E<TextBox>("Dir").Text = (text.EndsWith("\\IronCrown", StringComparison.OrdinalIgnoreCase) ? text : Path.Combine(text, "IronCrown"));
			}
		}
		finally
		{
			((IDisposable)val2)?.Dispose();
		}
	}

	private void Step(double p, string text)
	{
		//IL_0023: Unknown result type (might be due to invalid IL or missing references)
		//IL_0029: Expected O, but got Unknown
		//IL_006f: Unknown result type (might be due to invalid IL or missing references)
		//IL_0074: Unknown result type (might be due to invalid IL or missing references)
		//IL_007e: Expected O, but got Unknown
		E<TextBlock>("Status").Text = text;
		Border val = E<Border>("BarFill");
		FrameworkElement val2 = (FrameworkElement)((FrameworkElement)val).Parent;
		((UIElement)val).BeginAnimation(FrameworkElement.WidthProperty, (AnimationTimeline)new DoubleAnimation(Math.Max(14.0, ((val2.ActualWidth > 0.0) ? val2.ActualWidth : 520.0) * p), Duration.op_Implicit(TimeSpan.FromMilliseconds(180.0))));
		((DispatcherObject)Win).Dispatcher.Invoke((DispatcherPriority)7, (Delegate)(Action)delegate
		{
		});
		Thread.Sleep(90);
	}

	private void Error(string s)
	{
		TextBlock val = E<TextBlock>("Error");
		val.Text = s;
		((UIElement)val).Visibility = (Visibility)((s.Length <= 0) ? 2 : 0);
		((UIElement)E<TextBlock>("Note")).Visibility = (Visibility)((s.Length > 0) ? 2 : 0);
	}

	private void DoInstall()
	{
		Error("");
		string text = E<TextBox>("Dir").Text.Trim().TrimEnd(new char[1] { '\\' });
		if (text.Length < 4 || !Path.IsPathRooted(text))
		{
			Error("Укажите полный путь, например C:\\Games\\IronCrown");
			return;
		}
		string text2 = Path.Combine(text, "IronCrownLauncher.exe");
		if (Running(text))
		{
			Error("Лаунчер или игра сейчас открыты — закройте их и нажмите ещё раз.");
			return;
		}
		stage = 1;
		((UIElement)E<StackPanel>("ChooseBox")).Visibility = (Visibility)2;
		((UIElement)E<StackPanel>("ProgressBox")).Visibility = (Visibility)0;
		((UIElement)E<Button>("Main")).IsEnabled = false;
		E<TextBlock>("Note").Text = text;
		try
		{
			Step(0.1, "Создаю папку…");
			Directory.CreateDirectory(text);
			Step(0.35, "Распаковываю лаунчер…");
			using (Stream stream = Assets.Stream("IronCrownLauncher.exe"))
			{
				string text3 = text2 + ".new";
				using (FileStream destination = File.Create(text3))
				{
					stream.CopyTo(destination);
				}
				if (File.Exists(text2))
				{
					File.Delete(text2);
				}
				File.Move(text3, text2);
			}
			string location = Assembly.GetEntryAssembly().Location;
			string text4 = Path.Combine(text, "Uninstall.exe");
			if (!string.Equals(Path.GetFullPath(location), Path.GetFullPath(text4), StringComparison.OrdinalIgnoreCase))
			{
				File.Copy(location, text4, overwrite: true);
			}
			Step(0.6, "Создаю ярлыки…");
			Shortcut(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Programs), "Рыцари - Железная Корона.lnk"), text2, text);
			string text5 = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Рыцари - Железная Корона.lnk");
			if (((ToggleButton)E<CheckBox>("ChkDesktop")).IsChecked == true)
			{
				Shortcut(text5, text2, text);
			}
			else if (File.Exists(text5))
			{
				File.Delete(text5);
			}
			Step(0.85, "Регистрирую в Windows…");
			using (RegistryKey registryKey = Registry.CurrentUser.CreateSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\IronCrown"))
			{
				registryKey.SetValue("DisplayName", "Рыцари: Железная Корона");
				registryKey.SetValue("DisplayIcon", text2);
				registryKey.SetValue("DisplayVersion", "3");
				registryKey.SetValue("Publisher", "Vaylorn Studio");
				registryKey.SetValue("InstallLocation", text);
				registryKey.SetValue("UninstallString", "\"" + text4 + "\" /uninstall");
				registryKey.SetValue("URLInfoAbout", "https://vaylorn.online");
				registryKey.SetValue("EstimatedSize", 780000, RegistryValueKind.DWord);
				registryKey.SetValue("NoModify", 1, RegistryValueKind.DWord);
				registryKey.SetValue("NoRepair", 1, RegistryValueKind.DWord);
			}
			Step(1.0, "Готово! Лаунчер установлен — он сам скачает игру.");
			Done();
		}
		catch (Exception ex)
		{
			stage = 0;
			((UIElement)E<Button>("Main")).IsEnabled = true;
			((UIElement)E<StackPanel>("ChooseBox")).Visibility = (Visibility)0;
			((UIElement)E<StackPanel>("ProgressBox")).Visibility = (Visibility)2;
			Error((ex is UnauthorizedAccessException) ? "Нет доступа к папке — выберите другую." : ("Не получилось: " + ex.Message));
		}
	}

	private void Done()
	{
		stage = 2;
		E<TextBlock>("Heading").Text = "Готово";
		((UIElement)E<Button>("Main")).IsEnabled = true;
		bool flag = ((ToggleButton)E<CheckBox>("ChkRun")).IsChecked == true;
		E<TextBlock>("MainText").Text = (flag ? "Играть" : "Закрыть");
	}

	private void Finish()
	{
		if (((ToggleButton)E<CheckBox>("ChkRun")).IsChecked == true)
		{
			string text = E<TextBox>("Dir").Text.Trim().TrimEnd(new char[1] { '\\' });
			try
			{
				ProcessStartInfo processStartInfo = new ProcessStartInfo(Path.Combine(text, "IronCrownLauncher.exe"));
				processStartInfo.WorkingDirectory = text;
				processStartInfo.UseShellExecute = true;
				Process.Start(processStartInfo);
			}
			catch
			{
			}
		}
		Win.Close();
	}

	private static bool Running(string dir)
	{
		string[] array = new string[3] { "IronCrownLauncher", "IronCrown", "IronCrown-Win64-Shipping" };
		foreach (string processName in array)
		{
			Process[] processesByName = Process.GetProcessesByName(processName);
			foreach (Process process in processesByName)
			{
				try
				{
					if (process.MainModule.FileName.StartsWith(dir + "\\", StringComparison.OrdinalIgnoreCase))
					{
						return true;
					}
				}
				catch
				{
				}
			}
		}
		return false;
	}

	private static void Shortcut(string lnk, string target, string workDir)
	{
		Type typeFromProgID = Type.GetTypeFromProgID("WScript.Shell");
		object obj = Activator.CreateInstance(typeFromProgID);
		try
		{
			object obj2 = typeFromProgID.InvokeMember("CreateShortcut", BindingFlags.InvokeMethod, null, obj, new object[1] { lnk });
			Type type = obj2.GetType();
			type.InvokeMember("TargetPath", BindingFlags.SetProperty, null, obj2, new object[1] { target });
			type.InvokeMember("WorkingDirectory", BindingFlags.SetProperty, null, obj2, new object[1] { workDir });
			type.InvokeMember("IconLocation", BindingFlags.SetProperty, null, obj2, new object[1] { target + ",0" });
			type.InvokeMember("Description", BindingFlags.SetProperty, null, obj2, new object[1] { "Рыцари: Железная Корона" });
			type.InvokeMember("Save", BindingFlags.InvokeMethod, null, obj2, null);
			Marshal.FinalReleaseComObject(obj2);
		}
		finally
		{
			Marshal.FinalReleaseComObject(obj);
		}
	}

	private void DoUninstall()
	{
		//IL_00af: Unknown result type (might be due to invalid IL or missing references)
		//IL_00d5: Unknown result type (might be due to invalid IL or missing references)
		//IL_00df: Expected O, but got Unknown
		string text = (unDir = AppDomain.CurrentDomain.BaseDirectory.TrimEnd(new char[1] { '\\' }));
		unOurs = File.Exists(Path.Combine(text, "IronCrownLauncher.exe")) && Path.GetPathRoot(text).TrimEnd(new char[1] { '\\' }) != text;
		if (Running(text))
		{
			Error("Лаунчер или игра сейчас открыты — закройте их и нажмите ещё раз.");
			return;
		}
		stage = 1;
		((UIElement)E<Button>("Main")).IsEnabled = false;
		((UIElement)E<Button>("Second")).Visibility = (Visibility)2;
		((UIElement)(FrameworkElement)((FrameworkElement)E<Border>("BarFill")).Parent).Visibility = (Visibility)0;
		E<TextBlock>("Status").Foreground = (Brush)((FrameworkElement)Win).FindResource((object)"Dim");
		Step(0.3, "Удаляю ярлыки…");
		string[] array = new string[2]
		{
			Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Рыцари - Железная Корона.lnk"),
			Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Programs), "Рыцари - Железная Корона.lnk")
		};
		foreach (string path in array)
		{
			try
			{
				if (File.Exists(path))
				{
					File.Delete(path);
				}
			}
			catch
			{
			}
		}
		Step(0.6, "Убираю из списка программ…");
		try
		{
			Registry.CurrentUser.DeleteSubKeyTree("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\IronCrown", throwOnMissingSubKey: false);
		}
		catch
		{
		}
		Step(1.0, unOurs ? "Готово. Папка с игрой удалится, когда закроете это окно." : "Готово.");
		stage = 2;
		E<TextBlock>("Heading").Text = "Игра удалена";
		((UIElement)E<Button>("Main")).IsEnabled = true;
		E<TextBlock>("MainText").Text = "Закрыть";
	}

	private void AfterUninstall()
	{
		if (!uninstall || stage != 2 || !unOurs || !Directory.Exists(unDir))
		{
			return;
		}
		try
		{
			ProcessStartInfo processStartInfo = new ProcessStartInfo("cmd.exe", "/c timeout /t 2 /nobreak >nul & rmdir /s /q \"" + unDir + "\"");
			processStartInfo.CreateNoWindow = true;
			processStartInfo.WindowStyle = ProcessWindowStyle.Hidden;
			processStartInfo.WorkingDirectory = Path.GetTempPath();
			processStartInfo.UseShellExecute = false;
			Process.Start(processStartInfo);
		}
		catch
		{
		}
	}

	private void Shot()
	{
		//IL_00bd: Unknown result type (might be due to invalid IL or missing references)
		//IL_00c3: Expected O, but got Unknown
		if (shotState == "done")
		{
			stage = 1;
			((UIElement)E<StackPanel>("ChooseBox")).Visibility = (Visibility)2;
			((UIElement)E<StackPanel>("ProgressBox")).Visibility = (Visibility)0;
			E<TextBlock>("Status").Text = "Готово! Лаунчер установлен — он сам скачает игру.";
			E<TextBlock>("Note").Text = E<TextBox>("Dir").Text;
			((FrameworkElement)E<Border>("BarFill")).Width = 520.0;
			Done();
		}
		Win.Left = -4000.0;
		Win.ShowInTaskbar = false;
		DispatcherTimer val = new DispatcherTimer();
		val.Interval = TimeSpan.FromSeconds(1.0);
		DispatcherTimer t = val;
		t.Tick += delegate
		{
			//IL_003c: Unknown result type (might be due to invalid IL or missing references)
			//IL_0041: Unknown result type (might be due to invalid IL or missing references)
			//IL_0047: Expected O, but got Unknown
			//IL_004e: Unknown result type (might be due to invalid IL or missing references)
			//IL_0054: Expected O, but got Unknown
			t.Stop();
			FrameworkElement val2 = (FrameworkElement)(object)E<Grid>("Root");
			RenderTargetBitmap val3 = new RenderTargetBitmap((int)val2.ActualWidth, (int)val2.ActualHeight, 96.0, 96.0, PixelFormats.Pbgra32);
			val3.Render((Visual)(object)val2);
			PngBitmapEncoder val4 = new PngBitmapEncoder();
			((BitmapEncoder)val4).Frames.Add(BitmapFrame.Create((BitmapSource)(object)val3));
			using (FileStream fileStream = File.Create(shotFile))
			{
				((BitmapEncoder)val4).Save((Stream)fileStream);
			}
			Win.Close();
		};
		t.Start();
	}
}

Screen recording

46 frames · screen recording · 140s · ended early

The run was ended early from the console, so the recording covers only the 140s the sample actually ran.

Screen recording frame
1 / 46
0:00 · 1/46
Download this recording Download video (.mp4) Download GIF (.gif) Building the file runs an encode on this platform, so it is kept to signed-in accounts. Signing in brings you back to this report.

Behavior summary

ran 140s · ended early

1 process(es) observed; malicious behavior: dropped_executable, registry_persistence, timestomping; 2 dropped executable(s)

LaunchedC:\Users\user\Desktop\IronCrownSetup__2_.exe
Privilegestandard
Defense Evasion::Timestomp [T1070.006]Persistence::Registry Run Keys [T1547.001]
dropped_executabletimestomping
Telemetry sources: Kernel ETW (0 events) agent poll: 20Process audit: 1In-process monitor: 253

Evasion / anti-analysis checks

6 checks
HIGH
SLDT descriptor-table read (red pill anti-VM) static-instruction
MITRE T1497.001 · 1x sldt
HIGH
ICEBP (INT1) anti-debug trap static-instruction
MITRE T1622 · 1x icebp
MED
Reference analysis tools strings Capability rule
MITRE T1497 · Anti-analysis
MED
Anti-debug check dynamic
MITRE T1622 · anti_debug
MED
Veh present dynamic
MITRE T1497 · veh_present
LOW
Sleep / time-based stalling dynamic
MITRE T1497.003 · sleep

monitor intact 92 monitor trampolines on 2 pages were watched from the shipper thread and none was overwritten; the ETW and AMSI stubs kept their bytes. Measured, not assumed.

Statically visible checks (RDTSC/CPUID/red-pill instructions, anti-debug APIs) plus runtime evasion signals. Instruction-level interception at runtime requires hypervisor introspection (VMI).

Anti-analysis API trace

5 APIs · 1 process hooked

Calls counted inside the running sample by in-process hooks. Scored means the call crossed the threshold that separates a deliberate check from what ordinary software does; a call that scored nothing is still listed, with the reason.

APISignalCallsSleepScored
GetTickCount timing 10000 - no corroborates, never convicts on its own - ordinary software calls this
GetTickCount64 timing 10000 - no corroborates, never convicts on its own - ordinary software calls this
GetVolumeInformationW anti_vm 1 - no corroborates, never convicts on its own - ordinary software calls this
IsDebuggerPresent anti_debug 1000 - yes
Sleep sleep 10 2147483647 ms total · 2147483647 ms max yes
Call order 17 events sampled
IsDebuggerPresentGetTickCountSleepGetTickCount64GetTickCountGetTickCount64IsDebuggerPresentGetTickCountGetTickCount64IsDebuggerPresentGetVolumeInformationWGetTickCountGetTickCount64IsDebuggerPresentSleepGetTickCountGetTickCount64

How to read the numbers: a repeated call is sampled at 1, 10, 100 and so on while the run is live and made exact when the process exits, so a count is a floor and not a total. The count kept for a name is the highest a single process reported, not a sum across the process tree. The hooks are placed a few seconds after a process starts, so a check made in the first moments of a launch is missed - and a sample that exits in those first seconds is never watched at all.

Kernel audit

1 row

Recorded by the kernel's own object-access audit and thread trace, so a direct syscall or an unhooked ntdll does not hide it. Every row is the sample tree reaching into another process, placing a thread, or declaring a parent it did not have.

Cross-process handles and controls (1)

CallerDidTargetRightsStatus
pid 4720 opened a handle to explorer.exe pid 3556 outside the sample tree 0x40 write / thread rights 0xc0000022

Module loads

7 notable · 32 from system directories

Modules the sample asked for by name while it ran, recorded inside its own process. Loads from system and installed-program directories are counted but not listed - what is listed is a module from somewhere else, a load that failed, or one whose loader is the question.

ProcessModuleLoadedWhy listed
IronCrownSetup__2_.exe 4720 C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c5… no the load failed
IronCrownSetup__2_.exe 4720 C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Drawing\cebdec39a… yes outside the system and installed-program directories
IronCrownSetup__2_.exe 4720 C:\Windows\assembly\NativeImages_v4.0.30319_64\System.Windows.Forms\c77… yes outside the system and installed-program directories
IronCrownSetup__2_.exe 4720 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf… asked for comctl32.dll yes resolved by search order, not by a full path
IronCrownSetup__2_.exe 4720 C:\Windows\SYSTEM32\SspiCli.dll asked for sspicli.dll yes a module whose loader is the question
IronCrownSetup__2_.exe 4720 C:\Windows\SYSTEM32\amsi.dll asked for amsi.dll yes a module whose loader is the question
IronCrownSetup__2_.exe 4720 C:\Program Files\Windows Defender\MpOav.dll no the load failed

What this list cannot say: only an explicit LoadLibrary call is recorded, so a module the sample brought in through its own import table never appears here - absence from this list is not absence from the process. There is no signature check behind these rows, so an unlisted module is not a module that was verified. The hooks are placed a few seconds after a process starts, so the first loads of a launch are missed.

No WMI attributed to the sample. The WMI-Activity trace was running and recorded 860 operations on the machine during the run; 6 came from the sample's process tree but could not be resolved to a class.

Cross-process injection

1 call

Seen from inside the calling process, so it names which process reached into which - something a dump of the result cannot show. Only calls whose target is another process are listed.

open_process pid 4720 → pid 3556
access 0x40 explorer.exe

File timestamp writes

2 files

Captured in the calling process, so the values are the ones the sample asked for rather than what the file ended up with. Setting file times is ordinary - installers and archivers do it - so only a write that moves a file's history backwards is marked as timestomping.

BACKDATED
C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe pid 4720
created=unchanged modified=2026-10-25T01:37:25Z accessed=unchanged
was created=2026-11-02T16:49:06Z modified=2026-11-02T16:49:06Z
BACKDATED
C:\Users\user\Desktop\IronCrown\Uninstall.exe pid 4720
created=unchanged modified=2026-10-25T01:37:25Z accessed=unchanged
was created=2026-11-02T16:49:36Z modified=2026-11-02T16:49:36Z

WMI method invocations

1 call

Methods the sample invoked through WMI, with their arguments. A process created this way is spawned by the WMI provider host, so the operating system records no parent link back to the sample - the caller is named by the WMI-Activity trace and the argument is captured in the calling process itself.

Connect pid 4720

Command lines, unwrapped

1 read

1 captured text was read and unwrapped locally. No address was recovered from any of them, and none of them was hiding its own contents behind an encoding or a format string. This is a result, not a gap.

Network activity

The network section is a paid-plan layer: the DNS the sample resolved, the connections it opened, the TLS it negotiated, and the rule engine's reading of the capture.

This run was captured, and what it captured is on a paid plan rather than absent. An internet-connected detonation is the same plan, so a paid run also shows what the sample reached rather than only what it tried.

See plans Create an account

Process tree

What ran during the detonation, and what each process did. Select a node to see the activity attributed to it.

1process
16file operations
19registry operations
2dropped files

IronCrownSetup (2).exe

1 process
1 process

Attributed activity

Not attributed to any process

1 kind

These operations were captured but carry no pid this tree could match, so they are not shown against any node above.

File operations7
0Mechanisms found
90Methods checked
0ATT&CK techniques
NONEHighest severity

Persistence mechanisms

clean

No persistence established

None of the 90 auto-start methods below were established during this run.

Detection coverage

0 / 90

Every auto-start method checked on this sample, grouped by family. A method with no result is reported clean, and one the sample only names in its own strings reads "named" rather than "detected".

Logon & Startup 22 clean
  • Active Setup Installed Component T1547.014 clean
  • Explorer Delay-Load Object T1547.001 clean
  • Explorer Run Key T1547.001 clean
  • Explorer SharedTaskScheduler T1547.001 clean
  • Group Policy Extension DLL T1547.004 clean
  • Group Policy Run Key T1547.001 clean
  • Logon Script T1037.001 clean
  • RDP WDS Startup Program T1547.001 clean
  • Registry Run Key T1547.001 clean
  • Registry RunEx Key T1547.001 clean
  • Registry RunOnce Key T1547.001 clean
  • Registry RunOnceEx Key T1547.001 clean
  • Registry RunServices Key T1547.001 clean
  • Startup Folder Item T1547.001 clean
  • Startup Folder Redirection T1547.001 clean
  • Terminal Services Initial Program T1547.001 clean
  • Winlogon GINA DLL T1547.004 clean
  • Winlogon MPNotify Value T1547.004 clean
  • Winlogon Notify Package T1547.004 clean
  • Winlogon Shell Value T1547.004 clean
  • Winlogon Taskman Value T1547.004 clean
  • Winlogon Userinit Value T1547.004 clean
Services & Tasks 9 clean
  • BITS Job T1197 clean
  • Print Monitor DLL T1547.010 clean
  • Print Processor DLL T1547.012 clean
  • Scheduled Task T1053.005 clean
  • Scheduled Task Registry Implant T1053.005 clean
  • Service Control Manager Security Descriptor T1574.011 clean
  • Service DLL Hijack T1543.003 clean
  • Time Provider DLL T1547.003 clean
  • Windows Service Creation T1543.003 clean
Execution Hijack 17 clean
  • .NET Managed Debugger T1546.012 clean
  • Accessibility Tool Hijack T1546.008 clean
  • AeDebug Postmortem Debugger T1546.012 clean
  • App Paths Hijack T1546.012 clean
  • Application Shim Database T1546.011 clean
  • Boot Verification Program T1547.002 clean
  • Command Processor AutoRun T1546.011 clean
  • Explorer Load Value T1547.001 clean
  • Explorer MyComputer Tool Hijack T1546.001 clean
  • Registry Image File Execution Options T1546.012 clean
  • Screensaver Hijack T1546.002 clean
  • Setup ErrorHandler Script T1546 clean
  • Shell Open Command Hijack T1546.001 clean
  • SilentProcessExit Monitor T1546.012 clean
  • Telemetry Controller Command T1546.015 clean
  • WER ReflectDebugger T1546.012 clean
  • Windows Error Reporting Debugger T1546.012 clean
DLL Load Order 12 clean
  • .NET CLR Profiler DLL T1574.012 clean
  • .NET Startup Hook DLL T1574 clean
  • AppCert DLLs T1546.009 clean
  • AppInit DLLs T1546.010 clean
  • AutodialDLL Winsock Injection T1546.006 clean
  • DLL Search-Order Hijack T1574.001 T1574.002 clean
  • DNS Server Plugin DLL T1574.001 clean
  • HTML Help Helper DLL T1546 clean
  • KnownDLLs Manipulation T1574.001 clean
  • Natural Language Platform DLL Override T1546 clean
  • Netsh Helper DLL T1546.007 clean
  • Winsock Layered Service Provider T1546.006 clean
COM & Browser 6 clean
  • Browser Extension T1176 clean
  • Browser Helper Object T1176 clean
  • COM Server Hijack T1546.015 clean
  • HTML Help COM Object Hijack T1546.015 clean
  • Shell Context Menu Handler T1546.001 clean
  • Shell Extension Handler T1546.001 clean
Security Providers & Accounts 11 clean
  • Account RID Hijack T1098 clean
  • AMSI Provider T1562.001 clean
  • Credential Provider T1547.014 clean
  • DSRM Admin Logon Backdoor T1556 clean
  • Hidden Local Account T1136.001 clean
  • LSA Authentication Package T1547.002 clean
  • LSA Extension DLL T1547.005 clean
  • LSA Notification Package T1547.005 clean
  • LSA Security Package T1547.005 clean
  • Network Provider DLL T1556.008 clean
  • Security Support Provider T1547.005 clean
Scripting & Applications 9 clean
  • Netsh Port Proxy T1090.001 clean
  • Office Add-in T1137.006 clean
  • Office Executable Sideload T1574.002 clean
  • Office Startup Template T1137.001 clean
  • Office Test Key T1137.002 clean
  • Power Automate Flow T1546 clean
  • PowerShell Profile T1546.013 clean
  • Windows Terminal Startup Action T1546 clean
  • WMI Event Subscription T1546.003 clean
Boot & Firmware 4 clean
  • BootExecute Native Image T1547.002 clean
  • PlatformExecute Native Image T1547.002 clean
  • SetupExecute Native Image T1547.002 clean
  • UEFI / Bootkit Artifact T1542.003 T1542.001 clean

File activity summary

create 10 write 0 modify 7 delete 4 rename 2

Dropped files

2 payloads

Downloadable copies were kept for 2 distinct payloads. 2 further writes had identical content - a payload copied into many folders is one file, not many.

PathSHA-256SizeProcessTimeDownload
C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe d225e88a32f837bbeae55efe… 1.2 MB IronCrownSetup__2_.exe pid 4720 2026-11-02T16:49:06.689Z ZIP
C:\Users\user\Desktop\IronCrown\Uninstall.exe d225e88a32f837bbeae55efe… 1.2 MB IronCrownSetup__2_.exe pid 4720 2026-11-02T16:49:37.481Z ZIP

Dropped payload analysis

2 payloads examined

Each payload the sample wrote and this run kept was scanned by the antivirus engine and identified locally. 2 of them were examined and none was flagged. That is a result about these bytes only: a payload the caps turned away, or one the capture never kept, is reported separately.

Whether any of these payloads is already known to an outside source was not established for this scan: reputation enrichment is a paid-plan layer. The antivirus result and the identification below ran locally and are complete.

PayloadWhere it landedWhat it isAntivirusDownload
IronCrownLauncher.exe C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe
Windows executable
no detection ZIP
Uninstall.exe C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe
Windows executable1 signature match
no detection ZIP

File & registry ops

23 file · 19 registry · sample scope

File operation times: 18 timed4 operation time1 not observed

OperationTargetProcess
create
\\.\PIPE\UIA_PIPE_4720_4fd50022
in-process only
IronCrownSetup__2_.exe pid 4720 not observed
create
C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe.new
in-process only
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:06.689
create
C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe.new
kernel trace
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:06.689operation time
create
C:\Users\user\AppData\Local\Programs
same pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:06.689
create
C:\Users\user\AppData\Local\Programs\IronCrown
same pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:06.689
renamepayload
C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe
628.0 KBsame pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:06.689
createpayload
C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe
1.2 MBsame pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:06.689
modify
C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe.new
same pathpoll
- 2026-11-02 19:49:06.689
modify
C:\Users\user\AppData\Local\Programs\IronCrown
same pathpoll
- 2026-11-02 19:49:06.689
modifypayload
C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe
1.2 MBsame pathpoll
- 2026-11-02 19:49:06.689
modify
C:\Users\user\AppData\Local\Programs
same pathpoll
- 2026-11-02 19:49:06.705
delete
C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe
in-process only
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:24.805
delete
C:\Users\user\AppData\Local\Programs\IronCrown\IronCrownLauncher.exe
kernel trace
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:24.805operation time
create
C:\Users\user\Desktop\IronCrown\IronCrownLauncher.exe.new
in-process only
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:37.481
create
C:\Users\user\Desktop\IronCrown\IronCrownLauncher.exe.new
kernel trace
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:37.481operation time
create
C:\Users\user\Desktop\IronCrown
same pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:37.481
renamepayload
C:\Users\user\Desktop\IronCrown\IronCrownLauncher.exe
628.0 KBsame pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:37.481
createpayload
C:\Users\user\Desktop\IronCrown\Uninstall.exe
1.2 MBsame pathkernel tracepoll
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:37.481
modify
C:\Users\user\Desktop\IronCrown\IronCrownLauncher.exe.new
same pathpoll
- 2026-11-02 19:49:37.481
modify
C:\Users\user\Desktop\IronCrown
same pathpoll
- 2026-11-02 19:49:37.481
modifypayload
C:\Users\user\Desktop\IronCrown\Uninstall.exe
1.2 MBsame pathpoll
- 2026-11-02 19:49:37.481
delete
C:\Users\user\Desktop\IronCrown\IronCrownLauncher.exe
in-process only
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:58.755
delete
C:\Users\user\Desktop\IronCrown\IronCrownLauncher.exe
kernel trace
IronCrownSetup__2_.exe pid 4720 2026-11-02 19:49:58.755operation time
create
Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList
kernel tracein-process
IronCrownSetup__2_.exe pid 4720 not timed
create
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders
in-process
IronCrownSetup__2_.exe pid 4720 not timed
create
SOFTWARE\Classes\CLSID\{4336a54d-038b-4685-ab02-99bb52d3fb8b}\Instance
in-process
IronCrownSetup__2_.exe pid 4720 not timed
create
Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached
kernel tracein-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\windows.storage.dll,-9216 = This PC
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\windows.storage.dll,-50691 = Libraries
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\NetworkExplorer.dll,-1 = Network
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached
{F02C1A0D-BE21-4350-88B0-7367FC96EF3C} {000214E6-0000-0000-C000-000000000046} 0xFFFF = <16 bytes, type 3>
in-process
IronCrownSetup__2_.exe pid 4720 not timed
create
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
kernel tracein-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Browse For Folder Width = 318
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Browse For Folder Height = 346
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@windows.storage.dll,-34584 = Music
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@windows.storage.dll,-34620 = Videos
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@windows.storage.dll,-34575 = Documents
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@windows.storage.dll,-34595 = Pictures
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\NetworkExplorer.dll,-2 = Access the computers and devices that are on your network.
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@%systemroot%\system32\dtsh.dll,-40001 = Network discovery and file sharing
in-process
IronCrownSetup__2_.exe pid 4720 not timed
create
SYSTEM\ControlSet001\Services\SharedAccess\Epoch
in-process
IronCrownSetup__2_.exe pid 4720 not timed
setvalue
Local Settings\MuiCache\a\52C64B7E
@%systemroot%\system32\FirewallControlPanel.dll,-12122 = Windows Defender Firewall
in-process
IronCrownSetup__2_.exe pid 4720 not timed

External reputation was not produced for this scan. Threat intelligence enrichment is a paid-plan layer: every extracted indicator - hashes, addresses, hostnames - is checked against the external reputation services. Our own ingested feeds ran on this scan and every result below is theirs. Adding the paid layer adds an external reputation verdict on each indicator, so MalwareBazaar and filescan.io are listed below as not checked. See plans.

1 reported a hit 16 answered no 1 could not answer 4 had nothing to check
1Sources with a hit
18Sources queriedof 22 available
469.1kFeed records
1Could not answer

File reputation

4 clear · 2 not checked
SourceChecksResultDetailFeed
MalwareBazaar hash feed File hash clean not in feed 3,396 records
0 minutes ago
MalwareBazaar ransomware feed File hash clean not in feed 3,348 records
4 hours ago
ThreatFox hash IOCs File hash clean not in feed 1,681 records
0 minutes ago
URLhaus payload hashes File hash clean not in feed 1,320 records
0 minutes ago
filescan.io File hash not checked no hash lookup ran for this scan live lookup
MalwareBazaar File hash not checked no hash lookup ran for this scan live lookup

Hash lookups only - the sample itself is never uploaded to any third party.

Network indicators

7 clear · 1 could not answer
SourceChecksResultDetailFeed
URLhaus IP / domain / URL feed unavailable 7 observed indicators, none listed no records ingested
blocklist.de IP / domain / URL clean 7 observed indicators, none listed 26.3k records
0 minutes ago
CINS Army IP / domain / URL clean 7 observed indicators, none listed 15k records
0 minutes ago
Emerging Threats IP / domain / URL clean 7 observed indicators, none listed 511 records
0 minutes ago
Feodo Tracker IP / domain / URL clean 7 observed indicators, none listed 5 records
1 minute ago
IPsum IP / domain / URL clean 7 observed indicators, none listed 18.4k records
0 minutes ago
Phishing.Database IP / domain / URL clean 7 observed indicators, none listed 391.5k records
4 hours ago
ThreatFox IP / domain / URL clean 7 observed indicators, none listed 1,681 records
0 minutes ago

TLS fingerprints

nothing of this kind to check
SourceChecksResultDetailFeed
JA3 / JA4 fingerprint blocklists JA3 / JA4 not checked no TLS client fingerprint observed 97 records
11 hours ago
SSL blocklist Server certificate not checked no server certificate fingerprint is extracted to check live lookup

Detection rules

1 of 2 listed
SourceChecksResultDetailFeed
Signature rules Sample content 1 match Embedded_PE_In_Overlay 110 records
1 minute ago
Sigma rules Behavior log clean - 2,275 records
6 hours ago

Tooling catalogs

4 clear
SourceChecksResultDetailFeed
LOLBAS Process image paths clean 1 process image path, none masqueraded 245 records
1 minute ago
LOLBootloaders File hash clean not a known vulnerable bootloader 520 records
0 minutes ago
LOLDrivers File hash clean not a known vulnerable driver 2,346 records
1 minute ago
LOLRMM Names and domains clean 3 name/domain indicators checked, no remote-management tooling 358 records
0 minutes ago

AI analysis

The AI layer is a paid-plan feature. It reads what the other layers produced - the behaviour summary, the call sequence, the indicator list - and writes the narrative and the kill-chain walkthrough.

Nothing is being withheld. This layer did not run for this scan, so there is no result stored behind the lock.

See plans Create an account

3 malicious 3 suspicious 0 info

File indicators

5
SeverityTypeIndicatorDescription
malicious sample_sha256 d225e88a32f837bbeae55efe38f075a5f1e102c2161e325328fa7f3bf31afc7a Submitted sample (SHA256)
malicious sample_md5 b7a7860efc7ad9909aed1114588d84f1 Submitted sample (MD5)
malicious imphash f34d5f2d4577ed6d9ceec516c1f5a744 Import table hash (imphash)
suspicious dropped_file C:\Users\user\AppData\Local\Programs\IronCrown\Uninstall.exe Executable written to disk during execution
suspicious dropped_file C:\Users\user\Desktop\IronCrown\Uninstall.exe Executable written to disk during execution

Registry indicators

1
SeverityTypeIndicatorDescription
suspicious registry_key SYSTEM\ControlSet001\Services\SharedAccess\Epoch Autostart / persistence key

MITRE ATT&CK

2 techniques
Defense Evasion
Timestomp
T1070.006
Persistence
Registry Run Keys
T1547.001

Sigma detections

0 matches of 2275 rules

The Sigma corpus was evaluated against this run's processes, registry, file, network, DNS and script activity. Nothing matched.

Generated rules

Sigma: auto_file_3101_sigma_reg

Auto-generated
title: Auto-generated registry behavior rule (sandbox scan 3101)
id: sandbox-auto-3101-reg
status: experimental
description: Auto-generated from sandbox scan 3101
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        TargetObject|contains:
            - 'Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList'
            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders'
            - 'SOFTWARE\Classes\CLSID\{4336a54d-038b-4685-ab02-99bb52d3fb8b}\Instance'
            - 'Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached'
            - 'Local Settings\MuiCache\a\52C64B7E'
            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached'
            - 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer'
            - 'SYSTEM\ControlSet001\Services\SharedAccess\Epoch'
    condition: selection
level: medium

Extracted files

What came out of the sample: unpacked payloads, carved objects and captured memory. Each one is stored by content hash, so the same object extracted twice is the same row.

Artifacts

3 files
TypeNameSizeWhat it isSHA-256Download
Dropped file IronCrownLauncher.exe 628.0 KB PEno detection acda5a84e070e26e570b7b41a28eb69ab482cfbe18a70cdf3f7a6eaf764e699a ZIP
Dropped file Uninstall.exe 1.2 MB - d225e88a32f837bbeae55efe38f075a5f1e102c2161e325328fa7f3bf31afc7a ZIP
Extracted file embedded_pe_acda5a84e070 628.0 KB PEno detection acda5a84e070e26e570b7b41a28eb69ab482cfbe18a70cdf3f7a6eaf764e699a ZIP

Export & download

/s/3101

Structured exports for your SIEM/TIP - ATT&CK Navigator layer, STIX 2.1 bundle, MISP event and a defanged IOC list - are free on every report. The packet capture follows this scan's plan, because a capture is the rawest network output this platform produces.

Analysis report

PDF and DOCX reports are available to signed-in accounts on every plan, free included. Sign in to generate one.

Public analyses of this file

1 run
SubmittedEnvironmentVerdictScore
2026-11-02 19:40 Shown below Windows 10 22H2 Malicious 100/100