Function at 0x1000ee70
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006f4ab
mov eax, dword fs:[0]
push eax
mov eax, 0x3894
call fcn.10068af0
mov eax, dword [0x10087040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x3898], ebx
mov dword [ebp - 0x3818], ebx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x3810]
push 0x2800
push 0
push eax
mov dword [ebp - 0x3818], ebx
call fcn.10043f30
add esp, 0xc
lea eax, [ebp - 0x3810]
test esi, esi
je 0x1000eef0
push esi
push str.regsvr32__s
push str._s__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x1000ef04
push str.regsvr32__s
push 0x1007c014
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
call fcn.10003fc0
mov ecx, eax
test ecx, ecx
je 0x1000f205
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x3814], eax
push 0x1007bfe8
lea ecx, [ebp - 0x3814]
mov dword [ebp - 4], 1
call fcn.10006470
test al, al
jne 0x1000ef4e
push 0
push 0x1007bfe8
lea ecx, [ebp - 0x3814]
call fcn.10006600
push 0
lea eax, [ebp - 0x382c]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x3820]
mov dword [ebp - 0x381c], 0
push eax
lea eax, [ebp - 0x381c]
mov dword [ebp - 0x3820], 0
push eax
mov dword [ebp - 0x382c], 0xc
mov dword [ebp - 0x3828], 0
mov dword [ebp - 0x3824], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x1000f18f
lea eax, [ebp - 0x3888]
mov dword [ebp - 0x3888], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x3820]
mov dword [ebp - 0x3848], eax
mov dword [ebp - 0x384c], eax
xor eax, eax
mov word [ebp - 0x3858], ax
lea eax, [ebp - 0x383c]
push eax
lea eax, [ebp - 0x3888]
mov dword [ebp - 0x385c], 0x101
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x3810]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000f18f
push dword [ebp - 0x3820]
call edi
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10043f30
add esp, 0xc
lea eax, [ebp - 0x3818]
push 0
push eax
push 0xfff
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x381c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000f18f
mov esi, dword [ebp - 0x3814]
nop dword [eax]
lea eax, [ebp - 0x1010]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000f080
mov edi, dword [esi - 0xc]
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x3894], ecx
sub ecx, esi
sub eax, edx
mov dword [ebp - 0x3890], ecx
mov dword [ebp - 0x388c], edi
js 0x1000f20f
push eax
lea eax, [ebp - 0x1010]
push eax
call fcn.1004d0fe
mov ebx, eax
mov ecx, SysReAllocString
sub ecx, ebx
add esp, 8
cmp ecx, edi
jl 0x1000f20f
add edi, ebx
js 0x1000f20f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x1000f0f8
push edi
lea ecx, [ebp - 0x3814]
call fcn.10006750
mov esi, dword [ebp - 0x3814]
mov eax, dword [ebp - 0x388c]
mov ecx, dword [ebp - 0x3890]
cmp ecx, eax
ja 0x1000f10c
add ecx, esi
jmp 0x1000f112
mov ecx, dword [ebp - 0x3894]
add eax, esi
test ebx, ebx
je 0x1000f148
test eax, eax
je 0x1000f138
push ebx
test ecx, ecx
je 0x1000f12d
push ecx
push eax
call fcn.100439b0
add esp, 0xc
jmp 0x1000f148
push 0
push eax
call fcn.10043f30
add esp, 0xc
call fcn.10045eb2
mov dword [eax], 0x16
call fcn.10045db4
cmp edi, dword [esi - 8]
jg 0x1000f20f
push 0
lea eax, [ebp - 0x3818]
mov dword [esi - 0xc], edi
push eax
push 0xfff
lea eax, [ebp - 0x1010]
mov byte [edi + esi], 0
push eax
push dword [ebp - 0x381c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000f070
mov ebx, dword [ebp - 0x3898]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000f195
mov esi, dword [ebp - 0x3814]
mov eax, dword [ebp - 0x381c]
test eax, eax
je 0x1000f1ac
push eax
call edi
mov dword [ebp - 0x381c], 0
push dword [ebp - 0x383c]
call edi
push dword [ebp - 0x3838]
call edi
add esi, 0xfffffff0
mov ecx, esi
call fcn.10009cc0
add eax, 0x10
mov dword [ebp - 4], 0xffffffff
mov dword [ebx], eax
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000f1e7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10041e20
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100013a0
push 0x80070057
call fcn.100013a0
int3