Function at 0x100021d0
Capabilities:
Create pipe

Disassembly:
jmp 0x100021d0
mov eax, 0x1034
call fcn.1000ef50
mov eax, dword [0x101daa88]
xor eax, esp
mov dword [esp + 0x1030], eax
mov eax, dword [esp + 0x1038]
mov ecx, dword [esp + 0x1044]
push ebx
mov ebx, dword [esp + 0x1040]
push ebp
mov ebp, dword [esp + 0x1048]
push esi
push edi
xor edi, edi
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor eax, eax
cmp ebp, edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], 0xc
mov dword [esp + 0x3c], 1
je 0x100022c2
mov eax, dword [ebp]
test eax, eax
je 0x10002270
push 1
push 1
push eax
call esi
mov edi, dword [ebp]
jmp 0x100022c2
push 0
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
push 0
je 0x100022a9
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push 1
push eax
mov dword [ebp], eax
call esi
test eax, eax
jne 0x100022c2
push edi
push str.StdErr_SetHandleInformation_failed
jmp 0x100022ae
push str.StdErr_pipe_creation_failed
call fcn.10001041
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100023ef
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1000233d
mov eax, dword [eax]
test eax, eax
je 0x100022e3
push 1
push 1
push eax
call esi
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
mov dword [esp + 0x20], eax
jmp 0x1000233d
push 0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x10002323
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push 0
push 1
push eax
mov dword [esp + 0x2c], ecx
mov dword [edx], eax
call esi
test eax, eax
jne 0x1000233d
push edi
push str.StdIn_SetHandleInformation_failed
jmp 0x10002329
push edi
push str.StdIn_pipe_creation_failed
call fcn.10001041
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100023ef
test ebx, ebx
je 0x100023a8
mov eax, dword [ebx]
test eax, eax
je 0x10002356
push 1
push 1
push eax
call esi
mov eax, dword [ebx]
mov dword [esp + 0x24], eax
jmp 0x100023a8
push 0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x10002392
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push 1
push eax
mov dword [esp + 0x30], ecx
mov dword [ebx], eax
call esi
test eax, eax
jne 0x100023a8
push edi
push str.StdOut_SetHandleInformation_failed
jmp 0x10002398
push edi
push str.StdOut_pipe_creation_failed
call fcn.10001041
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
jne 0x100023ef
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
push edx
call fcn.10002050
add esp, 4
test eax, eax
mov dword [esp + 0x28], eax
jne 0x100023eb
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
push str.Failed_to_launch_Child_process_r_n_r_nFailed_____s____r_n_r_nExecutable_may_not_be_present_or_readable.
push ecx
call fcn.1000eda0
lea edx, [esp + 0x4c]
push edi
push edx
call fcn.10001041
add esp, 0x14
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x30]
test ebp, ebp
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10002401
cmp edi, dword [ebp]
je 0x10002401
push edi
call esi
test ebx, ebx
je 0x10002410
mov eax, dword [esp + 0x24]
cmp eax, dword [ebx]
je 0x10002410
push eax
call esi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10002423
mov eax, dword [esp + 0x20]
cmp eax, dword [ecx]
je 0x10002423
push eax
call esi
cmp dword [esp + 0x10], 0
je 0x10002471
test ebp, ebp
je 0x1000243f
mov eax, dword [ebp]
cmp edi, eax
je 0x1000243f
push eax
call esi
mov dword [ebp], 0
test ebx, ebx
je 0x10002454
mov eax, dword [ebx]
cmp dword [esp + 0x24], eax
je 0x10002454
push eax
call esi
mov dword [ebx], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10002471
mov eax, dword [eax]
cmp dword [esp + 0x20], eax
je 0x10002471
push eax
call esi
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov ecx, dword [esp + 0x1040]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000ef34
add esp, 0x1034
ret