AlyxMP-Setup.exePE analysis report - Suspicious
Run integrity
sample ranThe guest staged the sample and launched it, so what follows describes this file rather than an empty desktop.
Suspicious
63/100
28 points past the suspicious line at 35, 7 short of malicious at 70.
Why this verdict
- Configuration parser matched without a decoded endpoint or key (RedLine): corroboration, not an identity
- 1 suspicious signature match(es)
- Malicious strings: injection / execution, keylogging / surveillance
- .NET source: Downloads and executes a remote payload
- Local ML score 77.8
- findings review (advisory, not scored): suspicious - unsigned dotnet installer, keylogger hook signature, embedded pe in overlay, registry key creation
Model reading
Evidence ledger above, row by row. Published verdict rests on this column and on nothing to its right.
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.
- HIGH Extracted RedLine malware configuration
- HIGH Injection/execution API strings
- HIGH Surveillance/keylogging strings
Analysis layers
Detection signatures
9 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 |
| HIGH |
Injection/execution API strings
MITRE T1055
|
string
downloadstring
matched string
string
setwindowshookex
matched string
|
static |
| HIGH |
Surveillance/keylogging strings
MITRE T1056
|
string
getasynckeystate
matched string
string
getforegroundwindow
matched string
|
static |
| MED |
High file entropy (encrypted/compressed payload)
MITRE T1027
|
entropy
7.32
threshold 7.20, maximum 8.00
|
static |
| MED |
Ransomware-related strings
MITRE T1486
|
string
.crypt
matched string
|
static |
| LOW |
Executes via ShellExecute
MITRE T1204
seen in 12% of benign software
|
string
shellexecute
found in the sample's strings
|
static |
| INFO |
.NET managed assembly (decompiled)
|
- | static |
| INFO |
Stages in the temp directory (GetTempPath)
MITRE T1074
seen in 15% of benign software
|
string
gettemppath
found in the sample's strings
|
static |
What the tests returned
8 testsEach test this run performed and what it returned. A test that was not performed says so rather than reading as a negative result.
| Test | Result |
|---|---|
| Persistence mechanisms | not tested - the autostart surfaces were snapshotted before the sample ran, but this run left no record of the comparison afterwards, so an empty result cannot be read as a clean one |
| Cross-process injection | none observed |
| Payloads written to disk | none observed |
| Network connections | not 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 engine | reported no detection |
| Anti-analysis / evasion checks | none above the reporting threshold - the anti-analysis calls this run did make are listed with their counts |
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
Structure only. Structural evidence only. Nothing matching this verdict was seen running. The one fact that decided it: capability analysis of the file's imports.
Instrument coverage
3 of 5 measuredWhat 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.
| Layer | Ran | What 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.
Sections & resources
How the file is laid out in memory, and what is embedded in it: section roles, access rights, entropy and every resource entry.
Signatures & packing
What matched and what is hidden: signature rules, detected capabilities, family attribution, packer detection, unpacked payloads and recovered configuration.
Strings
The readable content: embedded secrets, flagged strings and everything extraction recovered.
Code
What the sample would execute: the emulated API call sequence, and the disassembled entry point.
Antivirus engine
no signature matched signature set 28162 - 3.6M signaturesNothing 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 set | Value |
|---|---|
| Set version | 28162 |
| Signatures in the set | 3,642,894 |
| Set published | 23 Oct 2026 06:24 +0000 |
| Age when this file was scanned | same 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
77.8 of 100 8 strongest of 2568 featuresA gradient-boosted model running entirely on this host scored this file 77.8 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 feature | What it means | Pushes | Weight |
|---|---|---|---|
| image flag dll | Image flag: a library rather than a program | towards malicious | +1.2461 |
| feature column 649 | Text in the file matching the stub message a Windows program carries | towards malicious | +0.9684 |
| debug directory size | Size of the debug table (84) | towards benign | -0.7655 |
| parser warning: Suspicious flags set for section... | Header defect reported by the parse: Suspicious flags set for section... (0) | towards benign | -0.7455 |
| debug directory address | Location of the debug table (1947160) | towards benign | -0.4598 |
| resource directory size | Size of the resource table (37664) | towards benign | -0.4092 |
| optional.checksum | Header checksum, which is zero on most files that were never signed (0) | towards malicious | +0.3180 |
| feature column 603 | How often the character q appears in the file's text | towards benign | -0.2588 |
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.
- High-entropy resource (possible packed payload)
- .NET managed binary (no obfuscator signature matched)
Extracted malware config
RedLine| botnet | .alyxmp_write_test |
|---|
Secrets & malicious strings
5 flagged stringsFlagged string categories
| Indicator | Found in | Evidence from the sample |
|---|---|---|
| downloadstring | raw bytes | present in the file bytes only |
| setwindowshookex | raw bytes | present in the file bytes only |
| Indicator | Found in | Evidence from the sample |
|---|---|---|
| getasynckeystate | raw bytes | present in the file bytes only |
| getforegroundwindow | raw bytes | present in the file bytes only |
| Indicator | Found in | Evidence from the sample |
|---|---|---|
| .crypt | extracted string | System.Security.Cryptography |
Capabilities
1 behaviour bucket| Severity | Capability | MITRE | APIs |
|---|---|---|---|
| med | Evasion / stalling Sleeps, times, or otherwise stalls analysis |
T1497.003 | sleep |
Security mitigations
partial posture.NET managed
| Assembly | AlyxMP-Setup 0.6.1.0 |
|---|---|
| Streams | #~ #Strings #US #GUID #Blob |
| P/Invoke | 0 unmanaged import(s) |
| Resources | payload/game/hlvr\scripts\vscripts\alyxmp\main.lua, payload/game/hlvr\scripts\vscripts\alyxmp\precache.lua, p… |
Sections
3 sections · the file's memory layout| Section | Virtual addr | Raw size | Virtual size | Access | Entropy |
|---|---|---|---|---|---|
|
.textEP
Executable code
|
0x2000 |
1.8 MB
|
1.8 MB
|
EXECUTEREAD
|
7.3065
|
|
.rsrc
Resources
|
0x1dc000 |
37.0 KB
|
36.8 KB
|
READ
|
7.869
|
|
.reloc
Base relocations
|
0x1e6000 |
512.0 B
|
12.0 B
|
READ
|
0.1019
|
Imports
1 funcs / 1 DLL0 of these function were seen called at runtime.
Open the imports pageBinary metadata
what the headers declare about this build| Resource langs | NEU |
|---|---|
| Debug info | yes |
| TLS callbacks | no |
Code signing
UnsignedThis binary carries no Authenticode signature. Unsigned executables are a weak suspicious signal - most legitimate vendor software is signed.
Resources
Everything the binary carries inside it: icons, bitmaps, cursors, dialogs, string tables, the manifest and the version block. Select an entry to preview it and take a copy.
Resources
Resource Hacker viewSelect a resource from the tree to inspect its language, size, RVA offset, MD5, entropy and detected content signature - like opening the binary in Resource Hacker.
| Type | Group Icon |
|---|---|
| Name / ID | 32512 |
| Language | NEU |
| Size | 132.0 B |
| RVA offset | 0x1e4ad0 |
| Content signature | Icon |
| MD5 | 4be5352b03deeb32b2af67b628725827 |
| Entropy | 2.809 |
| Type | Icon |
|---|---|
| Name / ID | 1 |
| Language | NEU |
| Size | 611.0 B |
| RVA offset | 0x1dc200 |
| Content signature | PNG |
| MD5 | 49e21ed0d985987b3175538c24809cdc |
| Entropy | 7.586 |
| Type | Icon |
|---|---|
| Name / ID | 2 |
| Language | NEU |
| Size | 760.0 B |
| RVA offset | 0x1dc474 |
| Content signature | PNG |
| MD5 | 64b3c579493afa948657c80d781fe0be |
| Entropy | 7.647 |
| Type | Icon |
|---|---|
| Name / ID | 3 |
| Language | NEU |
| Size | 990.0 B |
| RVA offset | 0x1dc77c |
| Content signature | PNG |
| MD5 | 17a8c890c73754621177ca03956cde3a |
| Entropy | 7.733 |
| Type | Icon |
|---|---|
| Name / ID | 4 |
| Language | NEU |
| Size | 1.3 KB |
| RVA offset | 0x1dcb6c |
| Content signature | PNG |
| MD5 | a68d179144b8ea39107f0b6cc434c13b |
| Entropy | 7.828 |
| Type | Icon |
|---|---|
| Name / ID | 5 |
| Language | NEU |
| Size | 1.8 KB |
| RVA offset | 0x1dd0dc |
| Content signature | PNG |
| MD5 | 237975ff850c42bd9b994a086041402f |
| Entropy | 7.864 |
| Type | Icon |
|---|---|
| Name / ID | 6 |
| Language | NEU |
| Size | 2.2 KB |
| RVA offset | 0x1dd800 |
| Content signature | PNG |
| MD5 | a2d082922c83007ef54b78c70fc816f2 |
| Entropy | 7.901 |
| Type | Icon |
|---|---|
| Name / ID | 7 |
| Language | NEU |
| Size | 3.0 KB |
| RVA offset | 0x1de100 |
| Content signature | PNG |
| MD5 | d2d8df9eef7e7457129e6a90ef2e14e4 |
| Entropy | 7.929 |
| Type | Icon |
|---|---|
| Name / ID | 8 |
| Language | NEU |
| Size | 7.5 KB |
| RVA offset | 0x1ded1c |
| Content signature | PNG |
| MD5 | 79305db21e8fe07a1e8ee262002cb565 |
| Entropy | 7.958 |
| Type | Icon |
|---|---|
| Name / ID | 9 |
| Language | NEU |
| Size | 15.9 KB |
| RVA offset | 0x1e0b54 |
| Content signature | PNG |
| MD5 | aed133d3f130480feb8c899a19803cc8 |
| Entropy | 7.964 |
| Type | Manifest |
|---|---|
| Name / ID | 1 |
| Language | NEU |
| Size | 973.0 B |
| RVA offset | 0x1e4f4c |
| Content signature | XML manifest |
| MD5 | 83ad75a9ca8223257fc55ea92a58dad8 |
| Entropy | 5.026 |
<?xml version="1.0" encoding="utf-8"?>
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity version="1.0.0.0" name="AlyxMP.Setup"/>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
<security>
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
<!-- Steam libraries are normally user-writable; setup asks to restart elevated only when they aren't -->
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
</requestedPrivileges>
</security>
</trustInfo>
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
<application>
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
</application>
</compatibility>
<application xmlns="urn:schemas-microsoft-com:asm.v3">
<windowsSettings>
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
</windowsSettings>
</application>
</assembly>
| Type | Version Info |
|---|---|
| Name / ID | 1 |
| Language | NEU |
| Size | 984.0 B |
| RVA offset | 0x1e4b64 |
| Content signature | Version Info |
| MD5 | 17ef013ef52dc57758f104ac4366340e |
| Entropy | 3.455 |
| Comments | Alyx Multiplayer setup |
|---|---|
| CompanyName | AlyxMP-Setup |
| FileVersion | 0.6.1.0 |
| ProductName | Alyx Multiplayer |
| InternalName | AlyxMP-Setup.exe |
| LegalCopyright | Fan-made mod, not affiliated with Valve |
| ProductVersion | 0.6.1+7bd881283706e0cb91a8f9e1bd6e0863dc826f47 |
| FileDescription | AlyxMP-Setup |
| Assembly Version | 0.6.1.0 |
| OriginalFilename | AlyxMP-Setup.exe |
Similar samples
22 related samplesRanked 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.
| Relation | Sample | Verdict | Why it matched |
|---|---|---|---|
| related | SpyTeam.exe | Suspicious | identical import table (imphash) |
| related | EndcordInstaller.exe | Malicious | identical import table (imphash) |
| related | Dungeons2SkinLoader.exe | No threats detected | identical import table (imphash) |
| related | IronCrownSetup (2).exe | Malicious | identical import table (imphash) |
| related | XIAOMI BOOTLOADER TOOL.exe | Suspicious | identical import table (imphash) |
| related | M4R7HGroup.exe | Suspicious | identical import table (imphash) |
| related | VM.v2.1.exe | Malicious | identical import table (imphash) |
| related | cr-keygen.exe | Malicious | identical import table (imphash) |
| related | Capri-Setup.exe | Malicious | identical import table (imphash) |
| related | Capri-Setup.exe | Malicious | identical import table (imphash) |
| related | WeMod Geometry Dash Setup.exe | No threats detected | identical import table (imphash) |
| related | XWorm V3.1.exe | Malicious | identical import table (imphash) |
| related | Capri-Setup.exe | Malicious | identical import table (imphash) |
| related | dotnet_b64_3des_cbc_to_404keylo… | Malicious | identical import table (imphash) |
| related | MetaDataStringEditor.exe | No threats detected | identical import table (imphash) |
| related | Server.exe | Malicious | identical import table (imphash) |
| related | CrackPotassium.exe | Malicious | identical import table (imphash) |
| related | ZuLauncher.exe | Suspicious | identical import table (imphash) |
| related | Bind Remover.exe | Malicious | identical import table (imphash) |
| related | START.exe | Suspicious | identical import table (imphash) |
| related | svchost_update.exe | Malicious | identical import table (imphash) |
| related | dfsvc.exe | No threats detected | identical import table (imphash) |
Capability detection
29 capabilitiesThe 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.
| Capability | Namespace |
|---|---|
| write file in .NET | host-interaction/file-system/write |
| read file in .NET | host-interaction/file-system/read |
| create process in .NET | host-interaction/process/create |
| extract zip archive in .NET | data-manipulation/compression |
| suspend thread | host-interaction/thread/suspend |
| create or open registry key | - |
| delete file | host-interaction/file-system/delete |
| find process by name | host-interaction/process/list |
| get common file path | host-interaction/file-system |
| access .NET resource | executable/resource |
| create directory | host-interaction/file-system/create |
| create HTTP request | communication/http/client |
| set HTTP User-Agent in .NET | communication/http |
| receive HTTP response | communication/http/client |
| send HTTP request | communication/http/client |
| send data | communication |
| check if file exists | host-interaction/file-system/exists |
| check if directory exists | host-interaction/file-system/exists |
| delete directory | host-interaction/file-system/delete |
| create a process with modified I/O handles and window | host-interaction/process/create |
| query or enumerate registry value | host-interaction/registry |
| query or enumerate registry key | host-interaction/registry |
| find data using regex in .NET | data-manipulation/regex |
| copy file | host-interaction/file-system/copy |
| enumerate files in .NET | host-interaction/file-system/files/list |
| hash data with MD5 | data-manipulation/hashing/md5 |
| contains PDB path | executable/pe/pdb |
| compiled to the .NET platform | runtime/dotnet |
Signature matches
2 findings · 5 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 · 14 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.
|
|
CAP_HookExKeylogger
|
No description
3 of 3 strings matched
$str_Win32hookapi
SetWindowsHookEx
at 0x1c85f9
$str_Win32llkey
WH_KEYBOARD_LL
at 0x1c488d
$str_Win32key
WH_KEYBOARD
at 0x1c488d
|
Tier 3 - community corpus
casts no family vote; every measured false family match came from here
|
SCORED 0
Scored 0: the rule declares no category. No branch of the score model reads it.
|
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 4053- !This program cannot be run in DOS mode.
- .text
- `.rsrc
- @.reloc
- *.st
- #Strings
- #GUID
- <SetAutoReload>b__30_0
- <>c__DisplayClass30_0
- <>c__DisplayClass21_0
- <InstallNoVR>b__12_0
- <>c__DisplayClass22_0
- <HookPresent>b__13_0
- <>c__DisplayClass23_0
- <>c__DisplayClass3_0
- <EnsureHook>b__14_0
- <Uninstall>b__14_0
- <RemoveHook>b__15_0
- <.ctor>b__15_0
- <>c__DisplayClass5_0
- <>c__DisplayClass8_0
- <>c__DisplayClass29_0
- <OnInstallClicked>b__0
- <OnUninstallClicked>b__0
- <Section>b__0
- <Button>b__0
- <LibraryFolders>b__0
- <>c__DisplayClass23_1
- <Uninstall>b__14_1
- <.ctor>b__15_1
- <OnInstallClicked>b__1
- <OnUninstallClicked>b__1
- Nullable`1
- IEnumerable`1
- Predicate`1
- CallSite`1
- Action`1
- ReadOnlyCollection`1
- IEqualityComparer`1
- IEnumerator`1
- List`1
- Item1
- CS$<>8__locals1
- Microsoft.Win32
- ReadUInt32
- ToUInt32
- <>c__DisplayClass23_2
- <.ctor>b__15_2
- IGrouping`2
- Action`2
- IDictionary`2
- Item2
- CS$<>8__locals2
- <>c__DisplayClass23_3
- <.ctor>b__15_3
- ValueTuple`3
- Action`3
- Item3
- CS$<>8__locals3
- <>c__DisplayClass23_4
- <.ctor>b__15_4
- <>f__AnonymousType0`4
- CS$<>8__locals4
- ToUInt16
- get_UTF8
- <Module>
- System.Drawing.Drawing2D
- GetTypeFromProgID
- PointF
- System.IO
- removeNoVR
- InstallNoVR
- presetNoVR
- get_DpiX
- IsValidHla
- FindHla
- UseExtra
- payload/game/hlvr\scripts\vscripts\alyxmp\world.lua
- payload/game/hlvr\scripts\vscripts\alyxmp\precache.lua
- payload/game/hlvr\scripts\vscripts\alyxmp\main.lua
- payload/game/hlvr\scripts\vscripts\alyxmp\zones.lua
- FromArgb
- mscorlib
- set_Verb
- payload/game/hlvr\animgraphs\alyxmp_avatar.vanmgrph_c
- payload/game/hlvr\models\alyxmp\avatar.vmdl_c
- payload/game/hlvr\panorama\layout\alyxmp_nametag.vxml_c
- payload/game/hlvr\panorama\styles\alyxmp_nametag.vcss_c
- System.Collections.Generic
- BuildId
- OpenRead
- Thread
- RemoveAutoReload
- SetAutoReload
- Preload
- ExtractPayload
- add_EnabledChanged
- add_TextChanged
- get_Checked
- set_Checked
- OnInstallClicked
- OnUninstallClicked
- Interlocked
- get_Enabled
- set_Enabled
- NoVRInstalled
- ModInstalled
- installed
- get_IsDisposed
- get_Focused
- get_IsHandleCreated
- ThrowIfCancellationRequested
- Muted
- <Name>i__Field
- <Dir>i__Field
- <Bytes>i__Field
- <Ext>i__Field
- <Scale>k__BackingField
- TrimEnd
- get_Hand
- Round
- FromHwnd
- RemoveOldHud
- EnsureHud
- RemoveHud
- Replace
- <0>__IsNullOrWhiteSpace
- FlatButtonAppearance
- get_FlatAppearance
- CreateInstance
- CancellationTokenSource
- GetHashCode
- set_AutoScaleMode
- set_SmoothingMode
- tree
- get_Message
- AddRange
- CompareExchange
- BeginInvoke
- get_Scale
- set_Scale
- crcTable
- Enumerable
- IDisposable
- EnsureWritable
- RuntimeTypeHandle
- GetTypeFromHandle
- FillRectangle
- DrawFocusRectangle
- DrawRectangle
- ExtractToFile
- Title
- set_Style
- ProgressBarStyle
- set_BorderStyle
- set_FormBorderStyle
- set_FlatStyle
- SetStyle
- FontStyle
- style
- get_Name
- GetFileName
- get_FullName
- ShortcutName
- GetProcessesByName
- GetDirectoryName
- name
- Theme
- DateTime
- AppendLine
- SearchPathLine
- NoVRHookLine
- UseHookLine
- get_NewLine
- Combine
- LocalMachine
- done
- Escape
- ValueType
- SecurityProtocolType
- Where
- System.Core
- InstallerCore
- core
- Capture
- ButtonBase
- TextBoxBase
- get_OrdinalIgnoreCase
- HttpWebResponse
- GetResponse
- Close
- Dispose
- Parse
- Browse
- Invalidate
- update
- Create
- Delegate
- DebuggerBrowsableState
- Delete
No strings match this filter.
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)Nothing in this view
This sample produced no results for this part of the static analysis.
Import fingerprint
no related sample| Fingerprint | 3:rGsLdAIEK:tf |
|---|---|
| Imports read | 1 function from 1 library (1 distinct) |
| Comparable | no (fewer than 8 distinct imports) |
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 plansAI 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.
Decompiled .NET source
1 finding C# 12 types · 2002 linesDecompiled 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.
| Severity | Behavior detected in source | MITRE |
|---|---|---|
| high | Downloads and executes a remote payload | T1105 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Drawing.Drawing2D;
using System.IO;
using System.IO.Compression;
using System.Linq;
using System.Net;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Windows.Forms.Layout;
using Microsoft.CodeAnalysis;
using Microsoft.Win32;
[assembly: CompilationRelaxations(8)]
[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)]
[assembly: Debuggable(DebuggableAttribute.DebuggingModes.IgnoreSymbolStoreSequencePoints)]
[assembly: TargetFramework(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")]
[assembly: AssemblyCompany("AlyxMP-Setup")]
[assembly: AssemblyConfiguration("Release")]
[assembly: AssemblyCopyright("Fan-made mod, not affiliated with Valve")]
[assembly: AssemblyDescription("Alyx Multiplayer setup")]
[assembly: AssemblyFileVersion("0.6.1.0")]
[assembly: AssemblyInformationalVersion("0.6.1+7bd881283706e0cb91a8f9e1bd6e0863dc826f47")]
[assembly: AssemblyProduct("Alyx Multiplayer")]
[assembly: AssemblyTitle("AlyxMP-Setup")]
[assembly: AssemblyVersion("0.6.1.0")]
[module: RefSafetyRules(11)]
namespace Microsoft.CodeAnalysis
{
internal sealed class InstallOptions
{
public string GameDir;
public bool InstallNoVR;
public bool DesktopShortcut;
}
internal sealed class InstallerCore
{
private const string ShortcutName = "Alyx Multiplayer.lnk";
public event Action<string> Log;
public event Action<double, string> Progress;
private void Step(double fraction, string text)
{
this.Progress?.Invoke(fraction, text);
this.Log?.Invoke(text);
}
public static bool CanWrite(string dir)
{
try
{
string path = Path.Combine(dir, ".alyxmp_write_test");
File.WriteAllText(path, "x");
File.Delete(path);
return true;
}
catch (Exception)
{
return false;
}
}
private static void EnsureNotRunning()
{
if (GamePaths.GameRunning())
{
throw new InvalidOperationException("Close Half-Life: Alyx first, then try again.");
}
if (Process.GetProcessesByName("AlyxMP").Length != 0)
{
throw new InvalidOperationException("Close the Alyx Multiplayer launcher first, then try again.");
}
}
public void Install(InstallOptions o, CancellationToken cancel)
{
string gameDir = o.GameDir;
if (!GamePaths.IsValidHla(gameDir))
{
throw new InvalidOperationException("That folder doesn't contain Half-Life: Alyx.");
}
EnsureNotRunning();
double num = 0.0;
if (o.InstallNoVR)
{
InstallNoVR(gameDir, cancel);
num = 0.9;
}
Step(num, "Installing Alyx Multiplayer...");
int num2 = ExtractPayload(gameDir);
this.Log?.Invoke($" {num2} mod files installed");
Step(num + (1.0 - num) * 0.6, "Hooking the mod into the game...");
ModFiles.EnsureHook(gameDir);
if (ModFiles.NoVRInstalled(gameDir))
{
ModFiles.EnsureNoVRSearchPaths(gameDir);
ModFiles.EnsureNoVRUseHook(gameDir);
ModFiles.EnsureHud(gameDir);
}
Step(num + (1.0 - num) * 0.8, "Creating shortcuts...");
string target = ModFiles.LauncherExe(gameDir);
TryShortcut(Path.Combine(StartMenuDir(), "Alyx Multiplayer.lnk"), target);
if (o.DesktopShortcut)
{
TryShortcut(Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory), "Alyx Multiplayer.lnk"), target);
}
Step(1.0, "Done! Alyx Multiplayer is installed.");
}
private int ExtractPayload(string hla)
{
Assembly executingAssembly = Assembly.GetExecutingAssembly();
int num = 0;
string[] manifestResourceNames = executingAssembly.GetManifestResourceNames();
foreach (string text in manifestResourceNames)
{
string text2 = text.Replace('\\', '/');
if (!text2.StartsWith("payload/"))
{
continue;
}
string text3 = text2.Substring("payload/".Length);
string path;
if (text3.StartsWith("launcher/"))
{
path = Path.Combine(ModFiles.LauncherDir(hla), text3.Substring("launcher/".Length));
}
else
{
if (!text3.StartsWith("game/"))
{
continue;
}
path = Path.Combine(hla, text3.Replace('/', Path.DirectorySeparatorChar));
}
Directory.CreateDirectory(Path.GetDirectoryName(path));
using (Stream stream = executingAssembly.GetManifestResourceStream(text))
{
using FileStream destination = File.Create(path);
stream.CopyTo(destination);
}
num++;
}
if (num == 0)
{
throw new InvalidOperationException("This installer is missing its files - download it again.");
}
File.WriteAllText(Path.Combine(ModFiles.LauncherDir(hla), "README.txt"), "Alyx Multiplayer 0.6.1 Beta" + Environment.NewLine + "Start AlyxMP.exe, host or join a game, then launch Half-Life: Alyx from it." + Environment.NewLine + "To uninstall, run AlyxMP-Setup.exe and press Uninstall." + Environment.NewLine);
return num;
}
private void InstallNoVR(string hla, CancellationToken cancel)
{
string text = Path.Combine(Path.GetTempPath(), "alyxmp_hla_novr_main.zip");
Step(0.0, "Downloading HLA NoVR from github.com/HLANoVR/HLA-NoVR ...");
Download("https://github.com/HLANoVR/HLA-NoVR/archive/refs/heads/main.zip", text, 0.0, 0.7, cancel);
Step(0.7, "Installing HLA NoVR...");
List<string> list = new List<string>();
using (ZipArchive zipArchive = ZipFile.OpenRead(text))
{
List<ZipArchiveEntry> list2 = zipArchive.Entries.Where((ZipArchiveEntry e) => e.Name.Length > 0).ToList();
int num = 0;
foreach (ZipArchiveEntry item in list2)
{
cancel.ThrowIfCancellationRequested();
string text2 = item.FullName.Replace('\\', '/');
int num2 = text2.IndexOf('/');
if (num2 < 0)
{
continue;
}
string text3 = text2.Substring(num2 + 1);
if (text3.StartsWith("game/") && !text3.Equals("game/hlvr/gameinfo.gi", StringComparison.OrdinalIgnoreCase) && !text3.Contains(".."))
{
string text4 = Path.Combine(hla, text3.Replace('/', Path.DirectorySeparatorChar));
Directory.CreateDirectory(Path.GetDirectoryName(text4));
item.ExtractToFile(text4, overwrite: true);
list.Add(text3);
num++;
if (num % 5 == 0)
{
this.Progress?.Invoke(0.7 + 0.2 * (double)num / (double)list2.Count, $"Installing HLA NoVR... {num}/{list2.Count}");
}
}
}
}
try
{
File.Delete(text);
}
catch (Exception)
{
}
ModFiles.EnsureNoVRSearchPaths(hla);
ModFiles.EnsureNoVRUseHook(hla);
Directory.CreateDirectory(ModFiles.LauncherDir(hla));
File.WriteAllLines(ModFiles.NoVRFileList(hla), list);
this.Log?.Invoke($" NoVR installed ({list.Count} files, version {ModFiles.NoVRVersion(hla)})");
}
private void Download(string url, string path, double from, double to, CancellationToken cancel)
{
ServicePointManager.SecurityProtocol |= SecurityProtocolType.Tls12;
HttpWebRequest obj = (HttpWebRequest)WebRequest.Create(url);
obj.UserAgent = "AlyxMP-Installer/0.6.1";
obj.AllowAutoRedirect = true;
obj.Timeout = 30000;
obj.ReadWriteTimeout = 60000;
using HttpWebResponse httpWebResponse = (HttpWebResponse)obj.GetResponse();
using Stream stream = httpWebResponse.GetResponseStream();
using FileStream fileStream = File.Create(path);
long contentLength = httpWebResponse.ContentLength;
long num = 0L;
byte[] array = new byte[65536];
DateTime dateTime = DateTime.MinValue;
int num2;
while ((num2 = stream.Read(array, 0, array.Length)) > 0)
{
cancel.ThrowIfCancellationRequested();
fileStream.Write(array, 0, num2);
num += num2;
if ((DateTime.UtcNow - dateTime).TotalMilliseconds > 200.0)
{
dateTime = DateTime.UtcNow;
double num3 = ((contentLength > 0) ? ((double)num / (double)contentLength) : Math.Min(0.95, (double)num / 150000000.0));
string arg = ((contentLength > 0) ? $"Downloading HLA NoVR... {num / 1048576} / {contentLength / 1048576} MB" : $"Downloading HLA NoVR... {num / 1048576} MB");
this.Progress?.Invoke(from + (to - from) * num3, arg);
}
}
}
public void Uninstall(string hla, bool removeNoVR)
{
if (!GamePaths.IsValidHla(hla))
{
throw new InvalidOperationException("That folder doesn't contain Half-Life: Alyx.");
}
EnsureNotRunning();
Step(0.1, "Removing Alyx Multiplayer...");
List<string> list = null;
if (removeNoVR && File.Exists(ModFiles.NoVRFileList(hla)))
{
list = (from l in File.ReadAllLines(ModFiles.NoVRFileList(hla))
where l.Trim().Length > 0
select l).ToList();
}
DeleteDir(ModFiles.ScriptsDir(hla));
DeleteDir(Path.Combine(GamePaths.Hlvr(hla), "models", "alyxmp"));
try
{
File.Delete(Path.Combine(GamePaths.Hlvr(hla), "animgraphs", "alyxmp_avatar.vanmgrph_c"));
}
catch (Exception)
{
}
try
{
File.Delete(Path.Combine(GamePaths.Hlvr(hla), "panorama", "layout", "alyxmp_nametag.vxml_c"));
}
catch (Exception)
{
}
try
{
File.Delete(Path.Combine(GamePaths.Hlvr(hla), "panorama", "styles", "alyxmp_nametag.vcss_c"));
}
catch (Exception)
{
}
ModFiles.RemoveHook(hla);
ModFiles.RemoveNoVRUseHook(hla);
ModFiles.RemoveHud(hla);
ModFiles.RemoveAutoReload(hla);
DeleteDir(ModFiles.LauncherDir(hla));
string[] array = new string[2]
{
StartMenuDir(),
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory)
};
foreach (string path in array)
{
try
{
File.Delete(Path.Combine(path, "Alyx Multiplayer.lnk"));
}
catch (Exception)
{
}
}
if (removeNoVR)
{
Step(0.5, "Removing HLA NoVR...");
if (list != null)
{
foreach (string item in list)
{
if (!item.Contains("..") && item.StartsWith("game/") && !item.Equals("game/hlvr/cfg/skill_manifest.cfg", StringComparison.OrdinalIgnoreCase))
{
try
{
File.Delete(Path.Combine(hla, item.Replace('/', Path.DirectorySeparatorChar)));
}
catch (Exception)
{
}
}
}
}
DeleteDir(Path.Combine(hla, "game", "novr"));
DeleteDir(Path.Combine(hla, "game", "novr_viewmodels"));
DeleteDir(Path.Combine(hla, "game", "hlvr_addons", "novr"));
ModFiles.RemoveNoVRSearchPaths(hla);
string path2 = ModFiles.SkillManifest(hla);
if (File.Exists(path2))
{
List<string> list2 = (from l in File.ReadAllLines(path2)
where l.Trim() != "script_reload_code novr" && !l.Trim().StartsWith("exec skill")
select l).ToList();
if (list2.All(string.IsNullOrWhiteSpace))
{
File.Delete(path2);
}
else
{
File.WriteAllLines(path2, list2);
}
}
}
Step(1.0, "Uninstalled. Your saves were not touched.");
}
private static void DeleteDir(string dir)
{
if (Directory.Exists(dir))
{
Directory.Delete(dir, recursive: true);
}
}
private static string StartMenuDir()
{
return Environment.GetFolderPath(Environment.SpecialFolder.Programs);
}
private void TryShortcut(string lnk, string target)
{
try
{
dynamic val = Activator.CreateInstance(Type.GetTypeFromProgID("WScript.Shell"));
dynamic val2 = val.CreateShortcut(lnk);
val2.TargetPath = target;
val2.WorkingDirectory = Path.GetDirectoryName(target);
val2.Description = "Play Half-Life: Alyx with friends";
val2.IconLocation = target + ",0";
val2.Save();
Marshal.FinalReleaseComObject(val2);
Marshal.FinalReleaseComObject(val);
}
catch (Exception ex)
{
this.Log?.Invoke(" couldn't create shortcut " + Path.GetFileName(lnk) + ": " + ex.Message);
}
}
}
internal sealed class InstallerForm : Form
{
private readonly TextBox dirBox = Theme.TextBox();
private readonly Button browseButton = Theme.Button("Browse...");
private readonly Label dirStatus = Theme.Label("", Theme.UiBold);
private readonly CheckBox novrCheck = Theme.Check("Install HLA NoVR - play with mouse && keyboard, no VR headset needed");
private readonly Label novrNote = Theme.Label("", Theme.Ui, Theme.Muted);
private readonly CheckBox shortcutCheck = Theme.Check("Create a desktop shortcut", on: true);
private readonly Button installButton = Theme.Button("INSTALL", primary: true);
private readonly Button uninstallButton = Theme.Button("Uninstall");
private readonly ProgressBar progress = Theme.Progress();
private readonly Label progressLabel = Theme.Label("", Theme.Ui, Theme.Muted);
private readonly RichTextBox logBox = Theme.LogBox();
private CancellationTokenSource cancel;
private bool busy;
private bool installed;
private readonly bool update;
private string Dir => ((Control)dirBox).Text.Trim().Trim(new char[1] { '"' });
public InstallerForm(string presetDir, bool? presetNoVR, bool autoInstall = false, bool shortcut = true, bool update = false)
{
this.update = update;
((Control)this).Text = "Alyx Multiplayer Setup";
Theme.Apply((Form)(object)this);
((Form)this).FormBorderStyle = (FormBorderStyle)1;
((Form)this).MaximizeBox = false;
((Form)this).StartPosition = (FormStartPosition)1;
try
{
((Form)this).Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath);
}
catch (Exception)
{
}
Label val = Theme.Label("ALYX MULTIPLAYER", Theme.Title, Theme.Accent);
((Control)val).Location = new Point(18, 12);
Label val2 = Theme.Label("SETUP v0.6.1 Beta", Theme.UiBold, Theme.Muted);
((Control)val2).Location = new Point(400, 34);
Label val3 = Theme.Label("Adds online co-op to Half-Life: Alyx. Host a game, your friends join, and you play the\r\ncampaign together - everyone shows up as Alyx.", Theme.Ui, Theme.Text);
((Control)val3).Location = new Point(22, 62);
((Control)this).Controls.AddRange((Control[])(object)new Control[3]
{
(Control)val,
(Control)val2,
(Control)val3
});
Panel val4 = Theme.Section("Half-Life: Alyx folder", new Rectangle(20, 104, 600, 84));
((Control)dirBox).SetBounds(14, 30, 470, 22);
((Control)dirBox).TextChanged += delegate
{
CheckDir();
};
((Control)browseButton).SetBounds(492, 28, 94, 26);
((Control)browseButton).Click += delegate
{
Browse();
};
((Control)dirStatus).Location = new Point(14, 60);
((Control)val4).Controls.AddRange((Control[])(object)new Control[3]
{
(Control)dirBox,
(Control)browseButton,
(Control)dirStatus
});
((Control)this).Controls.Add((Control)(object)val4);
Panel val5 = Theme.Section("Options", new Rectangle(20, 198, 600, 100));
((Control)novrCheck).Location = new Point(14, 28);
((Control)novrNote).Location = new Point(32, 50);
((Control)shortcutCheck).Location = new Point(14, 72);
((Control)val5).Controls.AddRange((Control[])(object)new Control[3]
{
(Control)novrCheck,
(Control)novrNote,
(Control)shortcutCheck
});
((Control)this).Controls.Add((Control)(object)val5);
((Control)installButton).SetBounds(20, 310, 460, 44);
((Control)installButton).Click += delegate
{
OnInstallClicked();
};
((Control)uninstallButton).SetBounds(490, 310, 130, 44);
((Control)uninstallButton).Click += delegate
{
OnUninstallClicked();
};
((Control)progress).SetBounds(20, 366, 600, 14);
((Control)progressLabel).Location = new Point(20, 384);
((Control)logBox).SetBounds(20, 404, 600, 82);
((Control)this).Controls.AddRange((Control[])(object)new Control[5]
{
(Control)installButton,
(Control)uninstallButton,
(Control)progress,
(Control)progressLabel,
(Control)logBox
});
Theme.ScaleLayout((Form)(object)this, new Size(640, 500));
((Control)dirBox).Text = presetDir ?? GamePaths.FindHla() ?? "";
CheckDir();
if (presetNoVR.HasValue)
{
novrCheck.Checked = presetNoVR.Value;
}
shortcutCheck.Checked = shortcut;
if (autoInstall)
{
((Form)this).Shown += delegate
{
OnInstallClicked();
};
}
}
private void CheckDir()
{
string dir = Dir;
bool flag = GamePaths.IsValidHla(dir);
if (flag)
{
((Control)dirStatus).Text = "Found Half-Life: Alyx (build " + GamePaths.BuildId(dir) + ")" + (ModFiles.ModInstalled(dir) ? " - Alyx MP is already installed, Install updates it" : "");
((Control)dirStatus).ForeColor = Theme.Good;
if (ModFiles.NoVRInstalled(dir))
{
((Control)novrNote).Text = "NoVR is already installed (version " + ModFiles.NoVRVersion(dir) + "). Tick to update it to the latest version.";
if (!busy && !installed)
{
novrCheck.Checked = false;
}
}
else
{
((Control)novrNote).Text = "Downloads about 140 MB from github.com/HLANoVR/HLA-NoVR (GPL-3.0, by the NoVR team). Alyx MP modifies it slightly.";
if (!busy && !installed)
{
novrCheck.Checked = true;
}
}
}
else
{
((Control)dirStatus).Text = ((dir.Length == 0) ? "Pick the folder Half-Life: Alyx is installed in." : "That folder doesn't contain Half-Life: Alyx (it should contain a \"game\" folder).");
((Control)dirStatus).ForeColor = Theme.Bad;
((Control)novrNote).Text = "";
}
((Control)uninstallButton).Enabled = flag && !busy && (ModFiles.ModInstalled(dir) || Directory.Exists(ModFiles.LauncherDir(dir)));
if (!installed)
{
((Control)installButton).Enabled = flag && !busy;
}
}
private void Browse()
{
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
//IL_0011: Expected O, but got Unknown
//IL_002c: Unknown result type (might be due to invalid IL or missing references)
//IL_0032: Invalid comparison between Unknown and I4
FolderBrowserDialog val = new FolderBrowserDialog
{
Description = "Select your Half-Life Alyx folder (it contains a \"game\" folder)"
};
try
{
if (GamePaths.IsValidHla(Dir))
{
val.SelectedPath = Dir;
}
if ((int)((CommonDialog)val).ShowDialog((IWin32Window)(object)this) == 1)
{
((Control)dirBox).Text = val.SelectedPath;
}
}
finally
{
((IDisposable)val)?.Dispose();
}
}
private bool EnsureWritable(string dir)
{
//IL_001d: Unknown result type (might be due to invalid IL or missing references)
//IL_0023: Invalid comparison between Unknown and I4
if (InstallerCore.CanWrite(GamePaths.Hlvr(dir)))
{
return true;
}
if ((int)MessageBox.Show((IWin32Window)(object)this, "Setup needs administrator rights to write to this folder. Restart setup as administrator?", "Alyx Multiplayer Setup", (MessageBoxButtons)4, (MessageBoxIcon)32) == 6)
{
try
{
Process.Start(new ProcessStartInfo(Application.ExecutablePath, "--dir \"" + dir + "\" " + (novrCheck.Checked ? "--novr" : "--no-novr") + " " + (shortcutCheck.Checked ? "" : "--no-shortcut") + " --auto" + (update ? " --update" : ""))
{
Verb = "runas",
UseShellExecute = true
});
((Form)this).Close();
}
catch (Exception)
{
}
}
return false;
}
private void OnInstallClicked()
{
if (installed)
{
try
{
Process.Start(new ProcessStartInfo(ModFiles.LauncherExe(Dir))
{
UseShellExecute = true,
WorkingDirectory = ModFiles.LauncherDir(Dir)
});
}
catch (Exception ex)
{
AddLog("Couldn't start the launcher: " + ex.Message, Theme.Bad);
return;
}
((Form)this).Close();
return;
}
string dir = Dir;
if (!GamePaths.IsValidHla(dir) || !EnsureWritable(dir))
{
return;
}
InstallOptions opts = new InstallOptions
{
GameDir = dir,
InstallNoVR = novrCheck.Checked,
DesktopShortcut = shortcutCheck.Checked
};
Run(delegate(InstallerCore core)
{
core.Install(opts, cancel.Token);
}, delegate(bool ok)
{
if (ok)
{
installed = true;
((Control)installButton).Text = "PLAY - OPEN ALYX MULTIPLAYER";
((Control)installButton).Enabled = true;
if (update)
{
OnInstallClicked();
}
}
});
}
private void OnUninstallClicked()
{
//IL_0035: Unknown result type (might be due to invalid IL or missing references)
//IL_003b: Invalid comparison between Unknown and I4
//IL_005a: Unknown result type (might be due to invalid IL or missing references)
//IL_0060: Invalid comparison between Unknown and I4
string dir = Dir;
if (!GamePaths.IsValidHla(dir) || (int)MessageBox.Show((IWin32Window)(object)this, "Remove Alyx Multiplayer from Half-Life: Alyx?", "Uninstall", (MessageBoxButtons)4, (MessageBoxIcon)32) != 6)
{
return;
}
bool removeNoVR = ModFiles.NoVRInstalled(dir) && (int)MessageBox.Show((IWin32Window)(object)this, "Also remove HLA NoVR?", "Uninstall", (MessageBoxButtons)4, (MessageBoxIcon)32) == 6;
if (EnsureWritable(dir))
{
Run(delegate(InstallerCore core)
{
core.Uninstall(dir, removeNoVR);
}, delegate
{
installed = false;
((Control)installButton).Text = "INSTALL";
});
}
}
private void Run(Action<InstallerCore> work, Action<bool> done)
{
busy = true;
cancel = new CancellationTokenSource();
Button obj = installButton;
Button obj2 = uninstallButton;
Button obj3 = browseButton;
bool flag2 = (((Control)dirBox).Enabled = false);
bool flag4 = (((Control)obj3).Enabled = flag2);
bool enabled = (((Control)obj2).Enabled = flag4);
((Control)obj).Enabled = enabled;
CheckBox obj4 = novrCheck;
enabled = (((Control)shortcutCheck).Enabled = false);
((Control)obj4).Enabled = enabled;
InstallerCore core = new InstallerCore();
core.Log += delegate(string msg)
{
Ui(delegate
{
AddLog(msg, Theme.Text);
});
};
core.Progress += delegate(double f, string text)
{
Ui(delegate
{
progress.Value = Math.Max(0, Math.Min(1000, (int)(f * 1000.0)));
((Control)progressLabel).Text = text;
});
};
Task.Run(delegate
{
bool ok = false;
try
{
work(core);
ok = true;
}
catch (OperationCanceledException)
{
Ui(delegate
{
AddLog("Cancelled.", Theme.Bad);
});
}
catch (Exception ex2)
{
Exception ex3 = ex2;
Exception e = ex3;
Ui(delegate
{
AddLog(e.Message, Theme.Bad);
((Control)progressLabel).Text = "Something went wrong - see above.";
});
}
Ui(delegate
{
busy = false;
Button obj5 = browseButton;
bool enabled2 = (((Control)dirBox).Enabled = true);
((Control)obj5).Enabled = enabled2;
CheckBox obj6 = novrCheck;
enabled2 = (((Control)shortcutCheck).Enabled = true);
((Control)obj6).Enabled = enabled2;
CheckDir();
done(ok);
});
});
}
private void AddLog(string text, Color color)
{
Theme.AppendLine(logBox, text, color);
}
private void Ui(Action a)
{
if (((Control)this).IsDisposed || !((Control)this).IsHandleCreated)
{
return;
}
try
{
((Control)this).BeginInvoke((Delegate)a);
}
catch (Exception)
{
}
}
protected override void OnFormClosing(FormClosingEventArgs e)
{
//IL_0014: Unknown result type (might be due to invalid IL or missing references)
//IL_001a: Invalid comparison between Unknown and I4
if (busy)
{
if ((int)MessageBox.Show((IWin32Window)(object)this, "Setup is still working. Cancel it?", "Alyx Multiplayer Setup", (MessageBoxButtons)4) != 6)
{
((CancelEventArgs)(object)e).Cancel = true;
return;
}
cancel?.Cancel();
}
((Form)this).OnFormClosing(e);
}
}
internal static class Program
{
[STAThread]
private static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Theme.Init();
string presetDir = null;
bool? presetNoVR = null;
bool autoInstall = false;
bool shortcut = true;
bool flag = false;
for (int i = 0; i < args.Length; i++)
{
if (args[i] == "--dir" && i + 1 < args.Length)
{
presetDir = args[++i];
}
else if (args[i] == "--novr")
{
presetNoVR = true;
}
else if (args[i] == "--no-novr")
{
presetNoVR = false;
}
else if (args[i] == "--auto")
{
autoInstall = true;
}
else if (args[i] == "--no-shortcut")
{
shortcut = false;
}
else if (args[i] == "--update")
{
flag = true;
}
}
if (flag)
{
autoInstall = true;
presetNoVR = false;
shortcut = false;
for (int j = 0; j < 60; j++)
{
if (Process.GetProcessesByName("AlyxMP").Length == 0)
{
break;
}
Thread.Sleep(250);
}
}
Application.Run((Form)(object)new InstallerForm(presetDir, presetNoVR, autoInstall, shortcut, flag));
}
}
internal static class GamePaths
{
public const int AppId = 546560;
public static string SteamDir()
{
(RegistryKey, string, string)[] array = new(RegistryKey, string, string)[3]
{
(Registry.CurrentUser, "Software\\Valve\\Steam", "SteamPath"),
(Registry.LocalMachine, "SOFTWARE\\WOW6432Node\\Valve\\Steam", "InstallPath"),
(Registry.LocalMachine, "SOFTWARE\\Valve\\Steam", "InstallPath")
};
for (int i = 0; i < array.Length; i++)
{
var (registryKey, name, name2) = array[i];
try
{
using RegistryKey registryKey2 = registryKey.OpenSubKey(name);
if (registryKey2?.GetValue(name2) is string text && Directory.Exists(text))
{
return Path.GetFullPath(text.Replace('/', '\\'));
}
}
catch (Exception)
{
}
}
if (!Directory.Exists("C:\\Program Files (x86)\\Steam"))
{
return null;
}
return "C:\\Program Files (x86)\\Steam";
}
public static string SteamExe()
{
string text = SteamDir();
string text2 = ((text == null) ? null : Path.Combine(text, "steam.exe"));
if (text2 == null || !File.Exists(text2))
{
return null;
}
return text2;
}
public static List<string> LibraryFolders()
{
List<string> list = new List<string>();
string text = SteamDir();
if (text == null)
{
return list;
}
list.Add(text);
try
{
string path = Path.Combine(text, "steamapps", "libraryfolders.vdf");
if (!File.Exists(path))
{
return list;
}
foreach (Match item in Regex.Matches(File.ReadAllText(path), "\"path\"\\s+\"([^\"]+)\""))
{
string p = item.Groups[1].Value.Replace("\\\\", "\\");
if (!list.Exists((string r) => SamePath(r, p)))
{
list.Add(p);
}
}
}
catch (Exception)
{
}
return list;
}
public static string FindHla()
{
foreach (string item in LibraryFolders())
{
try
{
string text = Path.Combine(item, "steamapps", "common", "Half-Life Alyx");
string path = Path.Combine(item, "steamapps", $"appmanifest_{546560}.acf");
if (File.Exists(path))
{
Match match = Regex.Match(File.ReadAllText(path), "\"installdir\"\\s+\"([^\"]+)\"");
if (match.Success)
{
text = Path.Combine(item, "steamapps", "common", match.Groups[1].Value);
}
}
if (IsValidHla(text))
{
return text;
}
}
catch (Exception)
{
}
}
return null;
}
public static bool IsValidHla(string dir)
{
if (string.IsNullOrWhiteSpace(dir))
{
return false;
}
try
{
return File.Exists(Path.Combine(dir, "game", "hlvr", "pak01_dir.vpk")) && File.Exists(Path.Combine(dir, "game", "bin", "win64", "hlvr.exe"));
}
catch (Exception)
{
return false;
}
}
public static string Hlvr(string hla)
{
return Path.Combine(hla, "game", "hlvr");
}
public static string BuildId(string hla)
{
try
{
string fullPath = Path.GetFullPath(Path.Combine(hla, "..", "..", $"appmanifest_{546560}.acf"));
if (!File.Exists(fullPath))
{
return "?";
}
Match match = Regex.Match(File.ReadAllText(fullPath), "\"buildid\"\\s+\"(\\d+)\"");
return match.Success ? match.Groups[1].Value : "?";
}
catch (Exception)
{
return "?";
}
}
public static bool GameRunning()
{
Process[] processesByName = Process.GetProcessesByName("hlvr");
Process[] array = processesByName;
for (int i = 0; i < array.Length; i++)
{
array[i].Dispose();
}
return processesByName.Length != 0;
}
private static bool SamePath(string a, string b)
{
try
{
return string.Equals(Path.GetFullPath(a).TrimEnd(new char[1] { '\\' }), Path.GetFullPath(b).TrimEnd(new char[1] { '\\' }), StringComparison.OrdinalIgnoreCase);
}
catch (Exception)
{
return false;
}
}
}
internal static class ModFiles
{
public const string Version = "0.6.1";
public const string Label = "0.6.1 Beta";
public const string HookLine = "script_reload_code alyxmp/main";
public const string NoVRHookLine = "script_reload_code novr";
public const string NoVRZipUrl = "https://github.com/HLANoVR/HLA-NoVR/archive/refs/heads/main.zip";
public const string UseHookLine = "if AMP_OnUseExtra then AMP_OnUseExtra(thisEntity) end -- Alyx MP";
private const string GlowHudFolder = "alyxmp_glowhud";
private const string OldHudFolder = "alyxmp_hud";
private const string AutoReloadFolder = "alyxmp_autoreload";
private static readonly string[] Guns = new string[4] { "weapon_pistol", "weapon_shotgun", "weapon_smg1", "weapon_ar2" };
private static readonly Regex NoVRSearchPath = new Regex("^[ \\t]*Game[ \\t]+novr(_viewmodels)?[ \\t]*\\r?$", RegexOptions.Multiline);
public static string ScriptsDir(string hla)
{
return Path.Combine(GamePaths.Hlvr(hla), "scripts", "vscripts", "alyxmp");
}
public static string SkillManifest(string hla)
{
return Path.Combine(GamePaths.Hlvr(hla), "cfg", "skill_manifest.cfg");
}
public static string GameInfo(string hla)
{
return Path.Combine(GamePaths.Hlvr(hla), "gameinfo.gi");
}
public static string LauncherDir(string hla)
{
return Path.Combine(hla, "AlyxMP");
}
public static string LauncherExe(string hla)
{
return Path.Combine(LauncherDir(hla), "AlyxMP.exe");
}
public static string NoVRFileList(string hla)
{
return Path.Combine(LauncherDir(hla), "novr_files.txt");
}
public static bool ModInstalled(string hla)
{
return File.Exists(Path.Combine(ScriptsDir(hla), "main.lua"));
}
public static bool HookPresent(string hla)
{
string path = SkillManifest(hla);
if (File.Exists(path))
{
return File.ReadAllLines(path).Any((string l) => l.Trim() == "script_reload_code alyxmp/main");
}
return false;
}
public static void EnsureHook(string hla)
{
string path = SkillManifest(hla);
List<string> list = (File.Exists(path) ? File.ReadAllLines(path).ToList() : new List<string>());
if (!list.Any((string l) => l.Trim() == "script_reload_code alyxmp/main"))
{
Directory.CreateDirectory(Path.GetDirectoryName(path));
list.Add("script_reload_code alyxmp/main");
File.WriteAllLines(path, list);
}
}
public static void RemoveHook(string hla)
{
string path = SkillManifest(hla);
if (File.Exists(path))
{
List<string> list = (from l in File.ReadAllLines(path)
where l.Trim() != "script_reload_code alyxmp/main"
select l).ToList();
if (list.All(string.IsNullOrWhiteSpace))
{
File.Delete(path);
}
else
{
File.WriteAllLines(path, list);
}
}
}
public static bool NoVRInstalled(string hla)
{
if (File.Exists(Path.Combine(GamePaths.Hlvr(hla), "scripts", "vscripts", "novr.lua")))
{
return File.Exists(Path.Combine(hla, "game", "novr", "pak01_dir.vpk"));
}
return false;
}
public static string NoVRVersion(string hla)
{
try
{
string path = Path.Combine(GamePaths.Hlvr(hla), "scripts", "vscripts", "version.lua");
if (!File.Exists(path))
{
return null;
}
Match match = Regex.Match(File.ReadAllText(path), "NoVR Version: ([^\"]+)\"");
return match.Success ? match.Groups[1].Value.Trim() : "?";
}
catch (Exception)
{
return "?";
}
}
private static Regex SearchPathLine(string folder)
{
return new Regex("^[ \\t]*Game[ \\t]+" + Regex.Escape(folder) + "[ \\t]*\\r?$", RegexOptions.Multiline);
}
private static void MountFirst(string hla, string folder)
{
string text = GameInfo(hla);
string text2 = File.ReadAllText(text);
if (!SearchPathLine(folder).IsMatch(text2))
{
Match match = Regex.Match(text2, "^([ \\t]*)Game([ \\t]+)\\S+[ \\t]*\\r?$", RegexOptions.Multiline);
if (!match.Success)
{
throw new InvalidDataException("Couldn't find the SearchPaths block in gameinfo.gi");
}
string text3 = (text2.Contains("\r\n") ? "\r\n" : "\n");
string text4 = text + ".alyxmp_backup";
if (!File.Exists(text4))
{
File.Copy(text, text4);
}
File.WriteAllText(text, text2.Insert(match.Index, match.Groups[1].Value + "Game" + match.Groups[2].Value + folder + text3));
}
}
private static void Unmount(string hla, string folder)
{
string path = GameInfo(hla);
if (File.Exists(path))
{
string text = File.ReadAllText(path);
string text2 = Regex.Replace(text, "^[ \\t]*Game[ \\t]+" + Regex.Escape(folder) + "[ \\t]*\\r?\\n", "", RegexOptions.Multiline);
if (text2 != text)
{
File.WriteAllText(path, text2);
}
}
}
public static string GlowHudDir(string hla)
{
return Path.Combine(hla, "game", "alyxmp_glowhud");
}
public static void EnsureHud(string hla)
{
RemoveOldHud(hla);
string path = GlowHudDir(hla);
Dictionary<string, byte[]> dictionary = new Dictionary<string, byte[]>();
string[] array = new string[2] { "scripts", "resource" };
foreach (string text in array)
{
if (Directory.Exists(Path.Combine(path, text)))
{
string[] files = Directory.GetFiles(Path.Combine(path, text));
foreach (string path2 in files)
{
dictionary[text + "/" + Path.GetFileName(path2).ToLowerInvariant()] = File.ReadAllBytes(path2);
}
}
}
if (dictionary.Count == 0)
{
Unmount(hla, "alyxmp_glowhud");
return;
}
Vpk.Write(Path.Combine(path, "pak01_dir.vpk"), dictionary);
MountFirst(hla, "alyxmp_glowhud");
}
private static void RemoveOldHud(string hla)
{
Unmount(hla, "alyxmp_hud");
string path = Path.Combine(hla, "game", "alyxmp_hud");
try
{
if (Directory.Exists(path))
{
Directory.Delete(path, recursive: true);
}
}
catch (Exception)
{
}
}
public static void RemoveHud(string hla)
{
RemoveOldHud(hla);
Unmount(hla, "alyxmp_glowhud");
try
{
if (Directory.Exists(GlowHudDir(hla)))
{
Directory.Delete(GlowHudDir(hla), recursive: true);
}
}
catch (Exception)
{
}
}
public static string AutoReloadDir(string hla)
{
return Path.Combine(hla, "game", "alyxmp_autoreload");
}
public static void SetAutoReload(string hla, bool on)
{
if (!on || !NoVRInstalled(hla))
{
Unmount(hla, "alyxmp_autoreload");
return;
}
Vpk vpk = new Vpk(Path.Combine(hla, "game", "novr", "pak01_dir.vpk"));
Dictionary<string, byte[]> dictionary = new Dictionary<string, byte[]>();
string[] guns = Guns;
foreach (string text in guns)
{
byte[] array = vpk.Read("scripts/" + text + ".txt");
if (array != null)
{
string input = Encoding.UTF8.GetString(array).TrimStart(new char[1] { '\ufeff' });
input = Regex.Replace(input, "(\"item_flags\"\\s+\")(\\d+)(\")", (Match m) => m.Groups[1].Value + (int.Parse(m.Groups[2].Value) & -3) + m.Groups[3].Value);
dictionary["scripts/" + text + ".txt"] = Encoding.UTF8.GetBytes(input);
}
}
string text2 = AutoReloadDir(hla);
Directory.CreateDirectory(text2);
try
{
if (Directory.Exists(Path.Combine(text2, "scripts")))
{
Directory.Delete(Path.Combine(text2, "scripts"), recursive: true);
}
}
catch (Exception)
{
}
Vpk.Write(Path.Combine(text2, "pak01_dir.vpk"), dictionary);
MountFirst(hla, "alyxmp_autoreload");
}
public static void RemoveAutoReload(string hla)
{
Unmount(hla, "alyxmp_autoreload");
try
{
if (Directory.Exists(AutoReloadDir(hla)))
{
Directory.Delete(AutoReloadDir(hla), recursive: true);
}
}
catch (Exception)
{
}
}
private static string UseExtra(string hla)
{
return Path.Combine(GamePaths.Hlvr(hla), "scripts", "vscripts", "useextra.lua");
}
public static void EnsureNoVRUseHook(string hla)
{
string path = UseExtra(hla);
if (File.Exists(path))
{
string text = File.ReadAllText(path);
if (!text.Contains("if AMP_OnUseExtra then AMP_OnUseExtra(thisEntity) end -- Alyx MP"))
{
string text2 = (text.Contains("\r\n") ? "\r\n" : "\n");
File.WriteAllText(path, "if AMP_OnUseExtra then AMP_OnUseExtra(thisEntity) end -- Alyx MP" + text2 + text);
}
}
}
public static void RemoveNoVRUseHook(string hla)
{
string path = UseExtra(hla);
if (File.Exists(path))
{
string text = File.ReadAllText(path);
string text2 = Regex.Replace(text, "^" + Regex.Escape("if AMP_OnUseExtra then AMP_OnUseExtra(thisEntity) end -- Alyx MP") + "\\r?\\n", "", RegexOptions.Multiline);
if (text2 != text)
{
File.WriteAllText(path, text2);
}
}
}
public static bool NoVRSearchPathsPresent(string hla)
{
string path = GameInfo(hla);
if (File.Exists(path))
{
return NoVRSearchPath.Matches(File.ReadAllText(path)).Count >= 2;
}
return false;
}
public static void EnsureNoVRSearchPaths(string hla)
{
string text = GameInfo(hla);
string input = File.ReadAllText(text);
if (NoVRSearchPath.Matches(input).Count < 2)
{
input = NoVRSearchPath.Replace(input, "").Replace("\r\n\r\n\r\n", "\r\n\r\n");
Match match = Regex.Match(input, "^([ \\t]*)Game([ \\t]+)hlvr[ \\t]*\\r?$", RegexOptions.Multiline);
if (!match.Success)
{
throw new InvalidDataException("Couldn't find the SearchPaths block in gameinfo.gi");
}
string text2 = (input.Contains("\r\n") ? "\r\n" : "\n");
string value = match.Groups[1].Value;
string value2 = value + "Game" + match.Groups[2].Value + "novr_viewmodels" + text2 + value + "Game" + match.Groups[2].Value + "novr" + text2;
string text3 = text + ".alyxmp_backup";
if (!File.Exists(text3))
{
File.Copy(text, text3);
}
File.WriteAllText(text, input.Insert(match.Index, value2));
}
}
public static void RemoveNoVRSearchPaths(string hla)
{
string path = GameInfo(hla);
if (File.Exists(path))
{
string text = File.ReadAllText(path);
string text2 = Regex.Replace(text, "^[ \\t]*Game[ \\t]+novr(_viewmodels)?[ \\t]*\\r?\\n", "", RegexOptions.Multiline);
if (text2 != text)
{
File.WriteAllText(path, text2);
}
}
}
}
internal static class Theme
{
public static readonly Color Back = Color.FromArgb(36, 37, 34);
public static readonly Color Panel = Color.FromArgb(50, 51, 47);
public static readonly Color PanelHi = Color.FromArgb(66, 67, 62);
public static readonly Color Field = Color.FromArgb(24, 25, 23);
public static readonly Color Border = Color.FromArgb(92, 93, 86);
public static readonly Color Text = Color.FromArgb(226, 226, 218);
public static readonly Color Muted = Color.FromArgb(150, 150, 140);
public static readonly Color Accent = Color.FromArgb(255, 157, 0);
public static readonly Color AccentDim = Color.FromArgb(196, 120, 0);
public static readonly Color Good = Color.FromArgb(132, 214, 112);
public static readonly Color Bad = Color.FromArgb(232, 96, 72);
public static Font Ui;
public static Font UiBold;
public static Font Header;
public static Font Big;
public static Font Title;
public static Font Mono;
public static float Scale { get; private set; } = 1f;
public static void Init()
{
float num = 96f;
try
{
Graphics val = Graphics.FromHwnd(IntPtr.Zero);
try
{
num = val.DpiX;
}
finally
{
((IDisposable)val)?.Dispose();
}
}
catch (Exception)
{
}
float val2 = num / 96f;
float val3 = (float)Screen.PrimaryScreen.Bounds.Height / 1080f;
Scale = Math.Max(1f, Math.Min(3f, Math.Max(val2, val3)));
Ui = PxFont("Tahoma", 11.5f, (FontStyle)0);
UiBold = PxFont("Tahoma", 11.5f, (FontStyle)1);
Header = PxFont("Tahoma", 11.5f, (FontStyle)1);
Big = PxFont("Tahoma", 13.5f, (FontStyle)1);
Title = PxFont("Trebuchet MS", 29f, (FontStyle)1);
Mono = PxFont("Consolas", 11.5f, (FontStyle)0);
}
private static Font PxFont(string family, float px, FontStyle style)
{
//IL_0008: Unknown result type (might be due to invalid IL or missing references)
//IL_000a: Unknown result type (might be due to invalid IL or missing references)
//IL_0010: Expected O, but got Unknown
return new Font(family, px * Scale, style, (GraphicsUnit)2);
}
public static int Px(float v)
{
return (int)Math.Round(v * Scale);
}
public static void ScaleLayout(Form f, Size baseClientSize)
{
//IL_0069: Unknown result type (might be due to invalid IL or missing references)
((ContainerControl)f).AutoScaleMode = (AutoScaleMode)0;
f.ClientSize = new Size(Px(baseClientSize.Width), Px(baseClientSize.Height));
if (Math.Abs(Scale - 1f) < 0.01f)
{
return;
}
SizeF sizeF = new SizeF(Scale, Scale);
foreach (Control item in (ArrangedElementCollection)((Control)f).Controls)
{
item.Scale(sizeF);
}
}
public static void Apply(Form f)
{
((Control)f).BackColor = Back;
((Control)f).ForeColor = Text;
((Control)f).Font = Ui;
}
public static Label Label(string text, Font font = null, Color? color = null)
{
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_0023: Unknown result type (might be due to invalid IL or missing references)
//IL_0042: Unknown result type (might be due to invalid IL or missing references)
//IL_004e: Expected O, but got Unknown
return new Label
{
Text = text,
AutoSize = true,
Font = (font ?? Ui),
ForeColor = (color ?? Text),
BackColor = Color.Transparent
};
}
public static TextBox TextBox(string text = "")
{
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
//IL_0017: Unknown result type (might be due to invalid IL or missing references)
//IL_0022: Unknown result type (might be due to invalid IL or missing references)
//IL_0029: Unknown result type (might be due to invalid IL or missing references)
//IL_0035: Expected O, but got Unknown
return new TextBox
{
Text = text,
BackColor = Field,
ForeColor = Text,
BorderStyle = (BorderStyle)1,
Font = Ui
};
}
public static CheckBox Check(string text, bool on = false)
{
ThemeCheckBox themeCheckBox = new ThemeCheckBox();
((Control)themeCheckBox).Text = text;
((CheckBox)themeCheckBox).Checked = on;
return (CheckBox)(object)themeCheckBox;
}
public static Button Button(string text, bool primary = false)
{
//IL_000e: Unknown result type (might be due to invalid IL or missing references)
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_001a: Unknown result type (might be due to invalid IL or missing references)
//IL_0021: Unknown result type (might be due to invalid IL or missing references)
//IL_003b: Unknown result type (might be due to invalid IL or missing references)
//IL_0055: 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_007f: Unknown result type (might be due to invalid IL or missing references)
//IL_008b: Expected O, but got Unknown
Button b = new Button
{
Text = text,
FlatStyle = (FlatStyle)0,
Font = (primary ? Big : UiBold),
BackColor = (primary ? Accent : PanelHi),
ForeColor = (primary ? Color.FromArgb(26, 20, 8) : Text),
Cursor = Cursors.Hand,
UseVisualStyleBackColor = false
};
((ButtonBase)b).FlatAppearance.BorderColor = (primary ? AccentDim : Border);
((ButtonBase)b).FlatAppearance.MouseOverBackColor = (primary ? Color.FromArgb(255, 178, 50) : Color.FromArgb(84, 85, 79));
((ButtonBase)b).FlatAppearance.MouseDownBackColor = (primary ? AccentDim : Panel);
((Control)b).EnabledChanged += delegate
{
((Control)b).BackColor = ((!((Control)b).Enabled) ? Panel : (primary ? Accent : PanelHi));
((Control)b).ForeColor = ((!((Control)b).Enabled) ? Muted : (primary ? Color.FromArgb(26, 20, 8) : Text));
};
return b;
}
public static Panel Section(string caption, Rectangle bounds)
{
//IL_000e: Unknown result type (might be due to invalid IL or missing references)
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_001a: Unknown result type (might be due to invalid IL or missing references)
//IL_002a: Expected O, but got Unknown
//IL_0037: Unknown result type (might be due to invalid IL or missing references)
//IL_0041: Expected O, but got Unknown
Panel p = new Panel
{
Bounds = bounds,
BackColor = Panel
};
((Control)p).Paint += (PaintEventHandler)delegate(object s, PaintEventArgs e)
{
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
//IL_000b: Expected O, but got Unknown
Pen val = new Pen(Border);
try
{
e.Graphics.DrawRectangle(val, 0, 0, ((Control)p).Width - 1, ((Control)p).Height - 1);
}
finally
{
((IDisposable)val)?.Dispose();
}
TextRenderer.DrawText((IDeviceContext)(object)e.Graphics, caption.ToUpperInvariant(), Header, new Point(Px(8f), Px(6f)), Accent);
};
return p;
}
public static RichTextBox LogBox()
{
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
//IL_0017: Unknown result type (might be due to invalid IL or missing references)
//IL_0022: Unknown result type (might be due to invalid IL or missing references)
//IL_0029: Unknown result type (might be due to invalid IL or missing references)
//IL_0034: Unknown result type (might be due to invalid IL or missing references)
//IL_003b: Unknown result type (might be due to invalid IL or missing references)
//IL_0043: Expected O, but got Unknown
return new RichTextBox
{
ReadOnly = true,
BackColor = Field,
ForeColor = Text,
BorderStyle = (BorderStyle)0,
Font = Mono,
DetectUrls = false,
ScrollBars = (RichTextBoxScrollBars)2
};
}
public static void AppendLine(RichTextBox box, string text, Color color)
{
if (!((Control)box).IsDisposed)
{
if (((TextBoxBase)box).TextLength > 200000)
{
((TextBoxBase)box).Select(0, ((TextBoxBase)box).TextLength / 2);
((TextBoxBase)box).SelectedText = "";
}
((TextBoxBase)box).SelectionStart = ((TextBoxBase)box).TextLength;
((TextBoxBase)box).SelectionLength = 0;
box.SelectionColor = color;
((TextBoxBase)box).AppendText(text + Environment.NewLine);
box.SelectionColor = ((Control)box).ForeColor;
((TextBoxBase)box).ScrollToCaret();
}
}
public static ProgressBar Progress()
{
//IL_0000: Unknown result type (might be due to invalid IL or missing references)
//IL_0005: Unknown result type (might be due to invalid IL or missing references)
//IL_000c: Unknown result type (might be due to invalid IL or missing references)
//IL_0013: Unknown result type (might be due to invalid IL or missing references)
//IL_001f: Expected O, but got Unknown
return new ProgressBar
{
Style = (ProgressBarStyle)1,
Minimum = 0,
Maximum = 1000
};
}
}
internal sealed class ThemeCheckBox : CheckBox
{
private bool hover;
private int BoxSize => Theme.Px(16f);
private int Gap => Theme.Px(8f);
public ThemeCheckBox()
{
((Control)this).SetStyle((ControlStyles)141314, true);
((Control)this).AutoSize = true;
((Control)this).Font = Theme.Ui;
((Control)this).ForeColor = Theme.Text;
((Control)this).BackColor = Color.Transparent;
((Control)this).Cursor = Cursors.Hand;
}
public override Size GetPreferredSize(Size proposedSize)
{
Size size = TextRenderer.MeasureText(((Control)this).Text, ((Control)this).Font);
return new Size(BoxSize + Gap + size.Width + Theme.Px(2f), Math.Max(BoxSize, size.Height) + Theme.Px(4f));
}
protected override void OnMouseEnter(EventArgs e)
{
hover = true;
((Control)this).Invalidate();
((ButtonBase)this).OnMouseEnter(e);
}
protected override void OnMouseLeave(EventArgs e)
{
hover = false;
((Control)this).Invalidate();
((ButtonBase)this).OnMouseLeave(e);
}
protected override void OnPaint(PaintEventArgs e)
{
//IL_00b1: Unknown result type (might be due to invalid IL or missing references)
//IL_00b8: Expected O, but got Unknown
//IL_00e6: Unknown result type (might be due to invalid IL or missing references)
//IL_00ed: Expected O, but got Unknown
//IL_0139: Unknown result type (might be due to invalid IL or missing references)
//IL_0140: Expected O, but got Unknown
//IL_0146: Unknown result type (might be due to invalid IL or missing references)
//IL_014d: Unknown result type (might be due to invalid IL or missing references)
Graphics graphics = e.Graphics;
Control parent = ((Control)this).Parent;
Color color = ((parent != null) ? parent.BackColor : Theme.Panel);
graphics.Clear(color);
graphics.SmoothingMode = (SmoothingMode)4;
int boxSize = BoxSize;
Rectangle rectangle = new Rectangle(0, (((Control)this).Height - boxSize) / 2, boxSize - 1, boxSize - 1);
bool @checked = ((CheckBox)this).Checked;
Color obj = ((!((Control)this).Enabled) ? Theme.Panel : (@checked ? Theme.Accent : Theme.Field));
Color color2 = ((!((Control)this).Enabled) ? Theme.Border : (@checked ? Theme.AccentDim : (hover ? Theme.Accent : Color.FromArgb(150, 150, 140))));
SolidBrush val = new SolidBrush(obj);
try
{
graphics.FillRectangle((Brush)(object)val, rectangle);
}
finally
{
((IDisposable)val)?.Dispose();
}
Pen val2 = new Pen(color2, Math.Max(1f, Theme.Scale * 1.4f));
try
{
graphics.DrawRectangle(val2, rectangle);
}
finally
{
((IDisposable)val2)?.Dispose();
}
if (@checked)
{
Pen val3 = new Pen(((Control)this).Enabled ? Color.FromArgb(26, 20, 8) : Theme.Muted, Math.Max(2f, Theme.Scale * 2.2f));
try
{
LineCap startCap = (LineCap)2;
val3.EndCap = (LineCap)2;
val3.StartCap = startCap;
graphics.DrawLines(val3, new PointF[3]
{
new PointF((float)rectangle.Left + (float)boxSize * 0.22f, (float)rectangle.Top + (float)boxSize * 0.52f),
new PointF((float)rectangle.Left + (float)boxSize * 0.42f, (float)rectangle.Top + (float)boxSize * 0.72f),
new PointF((float)rectangle.Left + (float)boxSize * 0.78f, (float)rectangle.Top + (float)boxSize * 0.28f)
});
}
finally
{
((IDisposable)val3)?.Dispose();
}
}
Rectangle rectangle2 = new Rectangle(boxSize + Gap, 0, ((Control)this).Width - boxSize - Gap, ((Control)this).Height);
TextRenderer.DrawText((IDeviceContext)(object)graphics, ((Control)this).Text, ((Control)this).Font, rectangle2, ((Control)this).Enabled ? ((Control)this).ForeColor : Theme.Muted, (TextFormatFlags)32772);
if (((Control)this).Focused && ((Control)this).ShowFocusCues)
{
ControlPaint.DrawFocusRectangle(graphics, new Rectangle(rectangle2.Left - 2, 1, Math.Min(rectangle2.Width, TextRenderer.MeasureText(((Control)this).Text, ((Control)this).Font).Width) + 4, ((Control)this).Height - 2));
}
}
}
internal sealed class Vpk
{
private struct Entry
{
public ushort Archive;
public uint Offset;
public uint Length;
public byte[] Preload;
}
private readonly string dirPath;
private readonly long dataStart;
private readonly Dictionary<string, Entry> entries = new Dictionary<string, Entry>(StringComparer.OrdinalIgnoreCase);
private static uint[] crcTable;
public Vpk(string dirPath)
{
this.dirPath = dirPath;
using BinaryReader binaryReader = new BinaryReader(File.OpenRead(dirPath));
if (binaryReader.ReadUInt32() != 1437209140)
{
throw new InvalidDataException("not a VPK: " + dirPath);
}
uint num = binaryReader.ReadUInt32();
uint num2 = binaryReader.ReadUInt32();
int num3 = ((num == 2) ? 28 : 12);
binaryReader.BaseStream.Position = num3;
byte[] tree = binaryReader.ReadBytes((int)num2);
dataStart = num3 + num2;
Parse(tree);
}
private void Parse(byte[] tree)
{
int i = 0;
while (true)
{
string text = Str();
if (text.Length == 0)
{
break;
}
while (true)
{
string text2 = Str();
if (text2.Length == 0)
{
break;
}
while (true)
{
string text3 = Str();
if (text3.Length == 0)
{
break;
}
ushort num = BitConverter.ToUInt16(tree, i + 4);
Entry entry = default(Entry);
entry.Archive = BitConverter.ToUInt16(tree, i + 6);
entry.Offset = BitConverter.ToUInt32(tree, i + 8);
entry.Length = BitConverter.ToUInt32(tree, i + 12);
Entry value = entry;
i += 18;
value.Preload = new byte[num];
Array.Copy(tree, i, value.Preload, 0, num);
i += num;
string key = ((text2.Trim().Length == 0) ? (text3 + "." + text) : (text2 + "/" + text3 + "." + text));
entries[key] = value;
}
}
}
string Str()
{
int num2 = Array.IndexOf(tree, (byte)0, i);
string @string = Encoding.UTF8.GetString(tree, i, num2 - i);
i = num2 + 1;
return @string;
}
}
public bool Contains(string name)
{
return entries.ContainsKey(name);
}
public static void Write(string dirPath, IDictionary<string, byte[]> files)
{
byte[] array = Build(files);
if (!File.Exists(dirPath) || !File.ReadAllBytes(dirPath).SequenceEqual(array))
{
File.WriteAllBytes(dirPath, array);
}
}
private static byte[] Build(IDictionary<string, byte[]> files)
{
MemoryStream memoryStream = new MemoryStream();
MemoryStream memoryStream2 = new MemoryStream();
BinaryWriter w = new BinaryWriter(memoryStream);
foreach (var item in from f in files.Select(delegate(KeyValuePair<string, byte[]> kv)
{
string text = kv.Key.Replace('\\', '/');
int num = text.LastIndexOf('/');
string dir = ((num < 0) ? " " : text.Substring(0, num));
string text2 = ((num < 0) ? text : text.Substring(num + 1));
int num2 = text2.LastIndexOf('.');
return new
{
Ext = ((num2 < 0) ? " " : text2.Substring(num2 + 1)),
Dir = dir,
Name = ((num2 < 0) ? text2 : text2.Substring(0, num2)),
Bytes = kv.Value
};
}).ToList()
group f by f.Ext)
{
Str(item.Key);
foreach (var item2 in from f in item
group f by f.Dir)
{
Str(item2.Key);
foreach (var item3 in item2)
{
Str(item3.Name);
w.Write(Crc32(item3.Bytes));
w.Write((ushort)0);
w.Write((ushort)32767);
w.Write((uint)memoryStream2.Position);
w.Write((uint)item3.Bytes.Length);
w.Write(ushort.MaxValue);
memoryStream2.Write(item3.Bytes, 0, item3.Bytes.Length);
}
w.Write((byte)0);
}
w.Write((byte)0);
}
w.Write((byte)0);
w.Flush();
byte[] array = memoryStream.ToArray();
byte[] array2 = memoryStream2.ToArray();
MemoryStream memoryStream3 = new MemoryStream();
BinaryWriter binaryWriter = new BinaryWriter(memoryStream3);
binaryWriter.Write(1437209140u);
binaryWriter.Write(2u);
binaryWriter.Write((uint)array.Length);
binaryWriter.Write((uint)array2.Length);
binaryWriter.Write(0u);
binaryWriter.Write(48u);
binaryWriter.Write(0u);
binaryWriter.Write(array);
binaryWriter.Write(array2);
binaryWriter.Flush();
using (MD5 mD = MD5.Create())
{
byte[] buffer = mD.ComputeHash(array);
byte[] buffer2 = mD.ComputeHash(new byte[0]);
byte[] buffer3 = mD.ComputeHash(memoryStream3.ToArray());
binaryWriter.Write(buffer);
binaryWriter.Write(buffer2);
binaryWriter.Write(buffer3);
binaryWriter.Flush();
}
return memoryStream3.ToArray();
void Str(string s)
{
w.Write(Encoding.UTF8.GetBytes(s));
w.Write((byte)0);
}
}
private static uint Crc32(byte[] bytes)
{
if (crcTable == null)
{
uint[] array = new uint[256];
for (uint num = 0u; num < 256; num++)
{
uint num2 = num;
for (int i = 0; i < 8; i++)
{
num2 = (((num2 & (true ? 1u : 0u)) != 0) ? (0xEDB88320u ^ (num2 >> 1)) : (num2 >> 1));
}
array[num] = num2;
}
crcTable = array;
}
uint num3 = uint.MaxValue;
foreach (byte b in bytes)
{
num3 = crcTable[(num3 ^ b) & 0xFF] ^ (num3 >> 8);
}
return ~num3;
}
public byte[] Read(string name)
{
if (!entries.TryGetValue(name, out var value))
{
return null;
}
string path;
long position;
if (value.Archive == 32767)
{
path = dirPath;
position = dataStart + value.Offset;
}
else
{
path = dirPath.Replace("_dir.vpk", $"_{value.Archive:000}.vpk");
position = value.Offset;
}
byte[] array = new byte[value.Preload.Length + value.Length];
Array.Copy(value.Preload, array, value.Preload.Length);
using FileStream fileStream = File.OpenRead(path);
fileStream.Position = position;
int num;
for (int i = 0; i < value.Length; i += num)
{
num = fileStream.Read(array, value.Preload.Length + i, (int)value.Length - i);
if (num <= 0)
{
throw new EndOfStreamException(name);
}
}
return array;
}
}
[CompilerGenerated]
[Embedded]
internal sealed class EmbeddedAttribute : Attribute
{
}
[CompilerGenerated]
[Embedded]
[AttributeUsage(AttributeTargets.Module, AllowMultiple = false, Inherited = false)]
internal sealed class RefSafetyRulesAttribute : Attribute
{
public readonly int Version;
public RefSafetyRulesAttribute(int P_0)
{
Version = P_0;
}
}Screen recording
25 frames · screen recording · 52s · ended earlyThe run was ended early from the console, so the recording covers only the 52s the sample actually ran.
Behavior summary
ran 51s · ended early1 process(es) observed
Evasion / anti-analysis checks
1 checkStatically 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
2 APIs · 1 process hookedCalls 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.
| API | Signal | Calls | Sleep | Scored |
|---|---|---|---|---|
| GetTickCount | timing | 100 | - | no corroborates, never convicts on its own - ordinary software calls this |
| GetTickCount64 | timing | 100 | - | no corroborates, never convicts on its own - ordinary software calls this |
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 saw no cross-process reach. Kernel object-access auditing and the thread trace were active on this run and attributed no handle to another process, no remote or unbacked thread start and no spoofed parent to the sample tree. An observation, not a gap.
Module loads
2 notable · 17 from system directoriesModules 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.
| Process | Module | Loaded | Why listed |
|---|---|---|---|
| AlyxMP-Setup.exe 1616 | C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf… asked for comctl32.dll | yes | resolved by search order, not by a full path |
| AlyxMP-Setup.exe 1616 | C:\Windows\SYSTEM32\SSPICLI.DLL asked for sspicli.dll | yes | a module whose loader is the question |
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.
Command lines, unwrapped
1 read1 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.
Process tree
What ran during the detonation, and what each process did. Select a node to see the activity attributed to it.
AlyxMP-Setup.exe
1 processAttributed activity
Persistence mechanisms
cleanNo persistence established
None of the 90 auto-start methods below were established during this run.
Detection coverage
0 / 90Every 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".
- 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
- 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
- .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
- .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
- 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
- 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
- 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
- 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
Dropped payload analysis
not observedNo payload write was recorded and no capture ran on this run, so nothing here is a measurement about dropped files either way.
File & registry ops
0 file · 15 registry · sample scope
| Operation | Target | Process |
|---|---|---|
| create |
Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList
|
AlyxMP-Setup.exe pid 1616 |
| create |
Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached
|
AlyxMP-Setup.exe pid 1616 |
| create |
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders
|
AlyxMP-Setup.exe pid 1616 |
| create |
SOFTWARE\Classes\CLSID\{4336a54d-038b-4685-ab02-99bb52d3fb8b}\Instance
|
AlyxMP-Setup.exe pid 1616 |
| create |
Software\Microsoft\Windows\CurrentVersion\Explorer
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\windows.storage.dll,-9216 = This PC
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\windows.storage.dll,-50691 = Libraries
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
Local Settings\MuiCache\a\52C64B7E
@C:\Windows\system32\NetworkExplorer.dll,-1 = Network
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached
{F02C1A0D-BE21-4350-88B0-7367FC96EF3C} {000214E6-0000-0000-C000-000000000046} 0xFFFF = <16 bytes, type 3>
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Browse For Folder Width = 318
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer
Browse For Folder Height = 288
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
Local Settings\MuiCache\a\52C64B7E
@windows.storage.dll,-21825 = 3D Objects
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
Local Settings\MuiCache\a\52C64B7E
@C:\Program Files\Common Files\system\wab32res.dll,-10100 = Contacts
|
AlyxMP-Setup.exe pid 1616 |
| create |
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
ProxyBypass = 1
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
IntranetName = 1
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
UNCAsIntranet = 1
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap
AutoDetect = 0
|
AlyxMP-Setup.exe pid 1616 |
| create |
Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\
|
AlyxMP-Setup.exe pid 1616 |
| setvalue |
Local Settings\MuiCache\a\52C64B7E
@%CommonProgramFiles%\system\wab32res.dll,-10200 = Contains Contact files.
|
AlyxMP-Setup.exe pid 1616 |
| create |
SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\SyncRootManager
|
AlyxMP-Setup.exe pid 1616 |
No operations match your filter.
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.
File reputation
4 clear · 2 not checked| Source | Checks | Result | Detail | Feed |
|---|---|---|---|---|
| MalwareBazaar hash feed | File hash | clean | not in feed | 3,387 records 51 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,689 records 51 minutes ago |
| URLhaus payload hashes | File hash | clean | not in feed | 1,310 records 51 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
nothing of this kind to check| Source | Checks | Result | Detail | Feed |
|---|---|---|---|---|
| blocklist.de | IP / domain / URL | not checked | no IP, domain or URL observed to check | 26.3k records 51 minutes ago |
| CINS Army | IP / domain / URL | not checked | no IP, domain or URL observed to check | 15k records 51 minutes ago |
| Emerging Threats | IP / domain / URL | not checked | no IP, domain or URL observed to check | 511 records 51 minutes ago |
| Feodo Tracker | IP / domain / URL | not checked | no IP, domain or URL observed to check | 5 records 51 minutes ago |
| IPsum | IP / domain / URL | not checked | no IP, domain or URL observed to check | 18.4k records 51 minutes ago |
| Phishing.Database | IP / domain / URL | not checked | no IP, domain or URL observed to check | 391.5k records 4 hours ago |
| ThreatFox | IP / domain / URL | not checked | no IP, domain or URL observed to check | 1,689 records 51 minutes ago |
| URLhaus | IP / domain / URL | not checked | no IP, domain or URL observed to check | no records ingested |
TLS fingerprints
nothing of this kind to check| Source | Checks | Result | Detail | Feed |
|---|---|---|---|---|
| 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| Source | Checks | Result | Detail | Feed |
|---|---|---|---|---|
| Signature rules | Sample content | 2 matches | Embedded_PE_In_Overlay, CAP_HookExKeylogger | 110 records 52 minutes ago |
| Sigma rules | Behavior log | clean | - | 2,275 records 6 hours ago |
Tooling catalogs
4 clear| Source | Checks | Result | Detail | Feed |
|---|---|---|---|---|
| LOLBAS | Process image paths | clean | 1 process image path, none masqueraded | 245 records 52 minutes ago |
| LOLBootloaders | File hash | clean | not a known vulnerable bootloader | 520 records 51 minutes ago |
| LOLDrivers | File hash | clean | not a known vulnerable driver | 2,346 records 51 minutes ago |
| LOLRMM | Names and domains | clean | 2 name/domain indicators checked, no remote-management tooling | 358 records 51 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.
File indicators
3| Severity | Type | Indicator | Description |
|---|---|---|---|
| suspicious | sample_sha256 | 56034f49d358930bfdf3d776f2129e739253786fd3be525c34e30379e8e1a6e1 | Submitted sample (SHA256) |
| suspicious | sample_md5 | 8fc1e01d38e3f209e0fc233cc49a2755 | Submitted sample (MD5) |
| suspicious | imphash | f34d5f2d4577ed6d9ceec516c1f5a744 | Import table hash (imphash) |
Sigma detections
0 matches of 2275 rulesThe Sigma corpus was evaluated against this run's processes, registry, file, network, DNS and script activity. Nothing matched.
Generated rules
Sigma: auto_file_2942_sigma_reg
Auto-generatedtitle: Auto-generated registry behavior rule (sandbox scan 2942)
id: sandbox-auto-2942-reg
status: experimental
description: Auto-generated from sandbox scan 2942
logsource:
category: registry_event
product: windows
detection:
selection:
TargetObject|contains:
- 'Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.docx\OpenWithList'
- 'Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached'
- 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\DelegateFolders'
- 'SOFTWARE\Classes\CLSID\{4336a54d-038b-4685-ab02-99bb52d3fb8b}\Instance'
- 'Software\Microsoft\Windows\CurrentVersion\Explorer'
- 'Local Settings\MuiCache\a\52C64B7E'
- 'SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached'
- 'SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer'
condition: selection
level: mediumExtracted 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
1 file| Type | Name | Size | What it is | SHA-256 | Download | |
|---|---|---|---|---|---|---|
| Extracted file | embedded_pe_81b5ff74c413 | 181.5 KB | PEno detection | 81b5ff74c413005e35b2598ed2af9b74156a89463dbcafbf5ea9469cdbf8cf8f | ZIP |
Export & download
/s/2942Structured 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.
Headers
Body
Headers
Body
You are about to download the raw, live sample. It is real, potentially destructive malware and can harm your machine if opened or run. Only handle it inside an isolated analysis environment.
Delivered as a ZIP encrypted with the password infected so the bytes are never handled unprotected.
Report this analysis
Analysis reports are produced automatically from files, addresses and text submitted by visitors. If this one publishes your material, identifies you, or should not be public for any other reason, tell us why and an administrator will review it.
Public analyses of this file
1 run| Submitted | Environment | Verdict | Score |
|---|---|---|---|
| 2026-10-24 13:27 Shown below | Windows 10 22H2 | Suspicious | 63/100 |