Function at 0x10001560
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001eaf0
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x10029740]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
push edi
mov eax, dword [0x10029740]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edx, ecx
cmp byte [edx], 0
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
jne 0x100015c8
xor ecx, ecx
jmp 0x100015d9
lea esi, [ecx + 1]
jmp 0x100015d0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100015d0
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0xa0]
call fcn.10002630
push 0x400
lea eax, [esp + 0x1c]
mov dword [esp + 0xc4], 0
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0xc
push eax
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
movq qword [esp + 0x28], xmm0
push eax
mov dword [esp + 0x30], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10001649
or esi, 0xffffffff
jmp 0x10001849
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x98]
mov esi, dword [esp + 0x98]
cmp edx, 0x10
cmovae ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10001667
push 0
sub ecx, edi
lea eax, [esp + 0x9c]
push 0
cmp edx, 0x10
push ecx
cmovae eax, esi
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x1000169e
mov esi, 0xfffffffe
jmp 0x10001849
xor ecx, ecx
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], cx
mov byte [esp + 0xc0], 1
add eax, 0xa
jne 0x100016dc
mov dword [esp + 0x90], eax
mov word [esp + eax*2 + 0x80], cx
jmp 0x100016eb
push 0
push eax
lea ecx, [esp + 0x88]
call fcn.100028d0
mov esi, dword [esp + 0xac]
lea edx, [esp + 0x98]
mov edi, dword [esp + 0x98]
cmp esi, 0x10
cmovae edx, edi
lea ecx, [edx + 1]
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x10001710
push dword [esp + 0x90]
sub edx, ecx
lea eax, [esp + 0x9c]
cmp dword [esp + 0x98], 8
lea ecx, [esp + 0x84]
cmovae ecx, dword [esp + 0x84]
cmp esi, 0x10
push ecx
push edx
cmovae eax, edi
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x10001762
mov esi, 0xfffffffd
jmp 0x10001810
push 0x40
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 0
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [esp + 0x30], xmm0
call fcn.1000c390
add esp, 0xc
mov dword [esp + 0x60], 0x101
lea ecx, [esp + 0x24]
xor eax, eax
cmp dword [esp + 0x94], 8
mov word [esp + 0x64], ax
mov eax, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], eax
push ecx
push 0
push 0
push 0
push 1
mov dword [esp + 0x88], eax
lea eax, [esp + 0x98]
cmovae eax, dword [esp + 0x98]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100017e1
lea esi, [eax - 4]
jmp 0x10001810
push 0xfa0
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x10]
call esi
push dword [esp + 0x24]
call esi
push dword [esp + 0x28]
call esi
xor esi, esi
cmp dword [esp + 0x94], 8
jb 0x10001829
push dword [esp + 0x80]
call fcn.1000793f
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], 0
mov word [esp + 0x80], ax
cmp dword [esp + 0xac], 0x10
jb 0x10001862
push dword [esp + 0x98]
call fcn.1000793f
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.10007930
mov esp, ebp
pop ebp
ret