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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001d02e
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x10027740]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x10027740]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
push ecx
lea ecx, [esp + 0x84]
call fcn.10001da6
push 0x400
lea eax, [esp + 0x1c]
xor edi, edi
push eax
mov dword [esp + 0xc8], edi
lea eax, [esp + 0x18]
push eax
xor ebx, ebx
mov dword [esp + 0x28], edi
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], edi
inc ebx
mov dword [esp + 0x24], 0xc
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x100014f4
or esi, 0xffffffff
jmp 0x1000169b
cmp dword [esp + 0x94], 0x10
lea ecx, [esp + 0x80]
cmovae ecx, dword [esp + 0x80]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000150e
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x80]
push edi
sub ecx, edx
cmp dword [esp + 0x98], 0x10
push edi
cmovae eax, dword [esp + 0x88]
push ecx
push eax
push edi
push 0xfde9
call esi
test eax, eax
jg 0x1000154c
push 0xfffffffffffffffe
pop esi
jmp 0x1000169b
xor ecx, ecx
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], edi
mov word [esp + 0x98], cx
push edi
add eax, 0xa
mov byte [esp + 0xc4], bl
push eax
lea ecx, [esp + 0xa0]
call fcn.10002096
cmp dword [esp + 0x94], 0x10
lea edx, [esp + 0x80]
cmovae edx, dword [esp + 0x80]
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000159a
push dword [esp + 0xa8]
sub edx, ecx
lea eax, [esp + 0x84]
cmp dword [esp + 0xb0], 8
lea ecx, [esp + 0x9c]
cmovae ecx, dword [esp + 0x9c]
cmp dword [esp + 0x98], 0x10
push ecx
cmovae eax, dword [esp + 0x88]
push edx
push eax
push edi
push 0xfde9
call esi
test eax, eax
jg 0x100015eb
push 0xfffffffffffffffd
jmp 0x1000165b
push 0x40
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], edi
xorps xmm0, xmm0
push edi
push eax
movdqu xmmword [esp + 0x30], xmm0
call fcn.1000a8e0
add esp, 0xc
mov dword [esp + 0x60], 0x101
lea ecx, [esp + 0x24]
xor eax, eax
cmp dword [esp + 0xac], 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 edi
push edi
push edi
push ebx
mov dword [esp + 0x88], eax
lea eax, [esp + 0xb0]
cmovae eax, dword [esp + 0xb0]
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1000165e
push 0xfffffffffffffffc
pop esi
jmp 0x1000168d
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
mov esi, edi
push edi
push ebx
lea ecx, [esp + 0xa0]
call fcn.100020c4
push edi
push ebx
lea ecx, [esp + 0x88]
call fcn.10002052
mov eax, esi
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.10005e3f
mov esp, ebp
pop ebp
ret