Function at 0x10052330
Capabilities:
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101fa58d
mov eax, dword fs:[0]
push eax
mov eax, 0x109c
call fcn.101f66a0
mov eax, dword [0x102fc340]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov ecx, edi
mov dword [ebp - 0x10a8], edi
mov dword [ebp - 0x10a0], 1
push 0
movups xmmword [edi], xmm0
push 0x101fe8b6
mov dword [ebp - 0x10a4], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.10049860
push 0
lea eax, [ebp - 0x1058]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x10a0], 1
push eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1040], 0
push eax
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1044], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x1058], 0xc
mov dword [ebp - 0x1050], 1
mov dword [ebp - 0x1054], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x10052717
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 0
push 1
push dword [ebp - 0x1044]
call esi
test eax, eax
je 0x10052717
push 0
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x104c]
push eax
lea eax, [ebp - 0x1040]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x10052717
push 0
push 1
push dword [ebp - 0x1040]
call esi
test eax, eax
je 0x10052717
mov eax, dword [ebp - 0x1048]
xorps xmm0, xmm0
mov dword [ebp - 0x105c], eax
mov eax, dword [ebp - 0x104c]
mov dword [ebp - 0x1060], eax
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x109c]
movlpd qword [ebp - 0x1070], xmm0
or dword [ebp - 0x1070], 0x100
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push dword [ebp - 0x10a4]
movups xmmword [ebp - 0x1038], xmm0
push 0
movlpd qword [ebp - 0x1098], xmm0
movlpd qword [ebp - 0x1090], xmm0
movlpd qword [ebp - 0x1088], xmm0
movlpd qword [ebp - 0x1080], xmm0
movlpd qword [ebp - 0x1078], xmm0
movlpd qword [ebp - 0x1068], xmm0
mov dword [ebp - 0x109c], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x1048]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x104c]
call esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x103c]
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1040]
call esi
test eax, eax
je 0x1005261b
nop dword [eax + eax]
mov eax, dword [ebp - 0x103c]
test eax, eax
je 0x1005261b
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
push eax
lea ecx, [ebp - 0x1028]
movups xmmword [ebp - 0x1028], xmm0
call fcn.10049860
cmp dword [ebp - 0x1014], 0xf
lea eax, [ebp - 0x1028]
push dword [ebp - 0x1018]
cmova eax, dword [ebp - 0x1028]
mov ecx, edi
push eax
mov dword [ebp - 4], 1
call fcn.10050db0
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100525f6
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100525ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052734
push ecx
push edx
call fcn.101f616f
add esp, 8
push 0
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1040]
call esi
test eax, eax
jne 0x10052550
push 0
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x103c], 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
je 0x10052717
nop word [eax + eax]
mov eax, dword [ebp - 0x103c]
test eax, eax
je 0x10052717
push eax
lea eax, [ebp - 0x1010]
mov dword [ebp - 0x1018], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1014], 0
push eax
lea ecx, [ebp - 0x1028]
movups xmmword [ebp - 0x1028], xmm0
call fcn.10049860
cmp dword [ebp - 0x1014], 0xf
lea eax, [ebp - 0x1028]
push dword [ebp - 0x1018]
cmova eax, dword [ebp - 0x1028]
mov ecx, edi
push eax
mov dword [ebp - 4], 2
call fcn.10050db0
mov ecx, dword [ebp - 0x1014]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100526f2
mov edx, dword [ebp - 0x1028]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100526e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10052734
push ecx
push edx
call fcn.101f616f
add esp, 8
push 0
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
jne 0x10052650
mov eax, edi
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.101f5f34
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3