Function at 0x100172a0
Capabilities:
Create pipe
Create process on windows
Create thread
Create two anonymous pipes
Write and execute a file
Write file on windows
Write pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006db0d
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x1008f180]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], 0xc
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x48], 1
push eax
mov dword [ebp - 0x4c], 0
call esi
push 0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
xor eax, eax
mov dword [ebp - 0xac], 0x44
mov word [ebp - 0x76], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
xor eax, eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0x7a], ecx
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
lea eax, [ebp - 0x24]
movlpd qword [ebp - 0xa8], xmm0
push eax
or ecx, 0x100
movlpd qword [ebp - 0xa0], xmm0
push 0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x88], xmm0
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x24], 0x6d0063
mov dword [ebp - 0x20], 0x2e0064
mov dword [ebp - 0x1c], 0x780065
mov dword [ebp - 0x18], 0x65
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x38]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push dword [ebp - 0x3c]
call ebx
push 0xc
call fcn.1004d760
mov ecx, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [eax], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], 0x100175b0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push ecx
push 0
push eax
push 0x100127d0
push 0
push 0
call fcn.100554c4
add esp, 0x18
mov dword [ebp - 0x30], eax
test eax, eax
je 0x10017597
mov byte [ebp - 4], 2
nop dword [eax]
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10017410
cmp dword [edi + 0x14], 0xf
mov ecx, edi
mov esi, dword [ebp - 0x40]
jbe 0x10017424
mov ecx, dword [edi]
push 0
lea edx, [ebp - 0x34]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x34]
push eax
push 2
push 0x1007d8b4
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [edi + 0x14]
mov eax, edi
mov esi, dword [edi + 0x10]
cmp ecx, 0xf
jbe 0x10017456
mov eax, dword [edi]
cmp esi, 4
jne 0x10017512
mov edx, str.exit
sub esi, esi
jb 0x10017479
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x1001747e
add eax, 4
add edx, 4
sub esi, 4
jae 0x10017468
cmp esi, 0xfffffffc
je 0x100174b2
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x100174ab
cmp esi, 0xfffffffd
je 0x100174b2
mov cl, byte [eax + 1]
cmp cl, byte [edx + 1]
jne 0x100174ab
cmp esi, 0xfffffffe
je 0x100174b2
mov cl, byte [eax + 2]
cmp cl, byte [edx + 2]
jne 0x100174ab
cmp esi, 0xffffffff
je 0x100174b2
mov al, byte [eax + 3]
cmp al, byte [edx + 3]
je 0x100174b2
sbb eax, eax
or eax, 1
jmp 0x100174b4
xor eax, eax
test eax, eax
jne 0x1001750f
cmp dword [ebp - 0x2c], eax
je 0x1001757d
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x2c]
cmp ecx, eax
je 0x10017584
push 0
push ecx
push dword [ebp - 0x30]
call fcn.1004ba5f
add esp, 0xc
test eax, eax
jne 0x1001758b
push dword [ebp - 0x40]
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
call ebx
push dword [ebp - 0x44]
call ebx
push dword [ebp - 0x60]
call ebx
push dword [ebp - 0x5c]
call ebx
cmp dword [ebp - 0x2c], 0
jne 0x10017592
jmp 0x10017561
mov ecx, dword [edi + 0x14]
mov dword [edi + 0x10], 0
mov eax, edi
cmp ecx, 0xf
jbe 0x10017522
mov eax, dword [edi]
push 0x64
mov byte [eax], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10017410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004d713
mov esp, ebp
pop ebp
ret
push 1
call fcn.1004ba0c
push 5
call fcn.1004ba0c
push 2
call fcn.1004ba0c
call fcn.10054491
push 6
mov dword [ebp - 0x2c], 0
call fcn.1004ba0c
int3