Function at 0x1000ff80
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003911c
mov eax, dword fs:[0]
push eax
mov eax, 0x1328
call fcn.1002e760
mov eax, dword [0x1004b6e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x268]
mov ecx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp - 0x12c4], eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x1000ffc5
push 0
lea eax, [ebp - 0x12e4]
mov dword [ebp - 0x12e4], 0xc
push eax
lea eax, [ebp - 0x12c0]
mov dword [ebp - 0x12dc], 1
push eax
lea eax, [ebp - 0x12b8]
mov dword [ebp - 0x12e0], 0
push eax
mov dword [ebp - 0x12b8], 0
mov dword [ebp - 0x12c0], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1001002f
xor al, al
jmp 0x1001035e
push 0
push 1
push dword [ebp - 0x12b8]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x10010028
push 0x44
lea eax, [ebp - 0x1330]
xorps xmm0, xmm0
push 0
push eax
movdqu xmmword [ebp - 0x12d8], xmm0
call fcn.10024020
mov eax, dword [ebp - 0x12c0]
add esp, 0xc
or dword [ebp - 0x1304], 0x100
mov dword [ebp - 0x12f0], eax
mov dword [ebp - 0x12f4], eax
lea eax, [ebp - 0x12d8]
push eax
lea eax, [ebp - 0x1330]
mov dword [ebp - 0x1330], 0x44
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x268]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10010028
push dword [ebp - 0x12c0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
xor eax, eax
mov dword [ebp - 0x1288], 0
mov dword [ebp - 0x1284], 0
mov dword [ebp - 0x12bc], 0
mov dword [ebp - 0x1284], 7
mov dword [ebp - 0x1288], 0
mov word [ebp - 0x1298], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x12a0], eax
mov dword [ebp - 0x129c], eax
mov dword [ebp - 0x129c], 7
mov dword [ebp - 0x12a0], eax
mov word [ebp - 0x12b0], ax
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x12c8], eax
jmp 0x10010140
push 1
push dword [ebp - 0x12d8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp - 0x12c8]
push eax
push 0x1000
lea eax, [ebp - 0x1268]
push eax
push dword [ebp - 0x12b8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10010237
mov eax, dword [ebp - 0x12c8]
test eax, eax
je 0x10010237
push dword [ebp - 0x12c4]
lea ecx, [ebp - 0x1268]
mov dword [ebp - 0x1270], 0
add eax, ecx
mov dword [ebp - 0x126c], 0
push eax
mov eax, ecx
mov dword [ebp - 0x126c], 0xf
push eax
lea ecx, [ebp - 0x1280]
mov dword [ebp - 0x1270], 0
mov byte [ebp - 0x1280], 0
call fcn.1001d5c0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x1298]
lea ecx, [ebp - 0x1280]
call fcn.10015ee0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x126c], 0x10
jb 0x10010201
push dword [ebp - 0x1280]
call fcn.1001f7c4
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x1298]
mov dword [ebp - 0x126c], 0xf
push eax
lea ecx, [ebp - 0x12b0]
mov dword [ebp - 0x1270], 0
mov byte [ebp - 0x1280], 0
call fcn.1001a5d0
jmp 0x10010140
lea eax, [ebp - 0x12bc]
push eax
push dword [ebp - 0x12d8]
call esi
test eax, eax
je 0x1001025a
cmp dword [ebp - 0x12bc], 0x103
je 0x10010140
push dword [ebp - 0x12b8]
call edi
push dword [ebp - 0x12d8]
call edi
push dword [ebp - 0x12d4]
call edi
push 0x10043448
lea ecx, [ebp - 0x1280]
call fcn.10015850
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1280]
mov edx, dword [ebp - 0x12c4]
lea ecx, [ebp - 0x12b0]
push eax
call fcn.1001be20
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x126c], 8
jb 0x100102bc
push dword [ebp - 0x1280]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x126c], 7
cmp dword [ebp - 0x12bc], eax
mov dword [ebp - 0x1270], 0
mov word [ebp - 0x1280], ax
sete byte [ebp - 0x12b1]
mov byte [ebp - 4], al
cmp dword [ebp - 0x129c], 8
jb 0x10010300
push dword [ebp - 0x12b0]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x129c], 7
mov dword [ebp - 0x12a0], 0
mov word [ebp - 0x12b0], ax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1284], 8
jb 0x1001033b
push dword [ebp - 0x1298]
call fcn.1001f7c4
add esp, 4
xor eax, eax
mov dword [ebp - 0x1284], 7
mov word [ebp - 0x1298], ax
mov al, byte [ebp - 0x12b1]
mov dword [ebp - 0x1288], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001ef7b
mov esp, ebp
pop ebp
ret 8