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

Disassembly:
push 0xbc
mov eax, 0x100be263
call fcn.1008b701
xor ebx, ebx
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov dword [ebp - 4], ebx
lea edi, [ebp - 0x7c]
xor eax, eax
stosd dword es:[edi], eax
push ecx
lea ecx, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.100232a7
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1008df10
xor eax, eax
mov dword [ebp - 0xc8], esi
lea edi, [ebp - 0x64]
mov dword [ebp - 0x9c], 0x100
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x64], 0xc
push eax
xor edi, edi
lea eax, [ebp - 0x68]
inc edi
push eax
mov dword [ebp - 0x5c], edi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1001f06d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreatePipe_failed:__d
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006a5e3
add esp, 0x10
jmp 0x1001f280
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push str.systeminfo
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], ebx
call fcn.100055e9
mov byte [ebp - 4], 2
mov edx, edi
mov eax, dword [ebp - 0x14]
sub edx, dword [eax - 4]
mov ecx, dword [eax - 8]
or ecx, edx
jge 0x1001f0a5
push ebx
lea ecx, [ebp - 0x14]
call fcn.100019ab
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0xc8]
push ecx
push ebx
push ebx
push 0x8000000
push edi
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1001f0ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed:__d
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006a644
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
jmp 0x1001f14f
push 0x1388
push ebx
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, 0xd2
mov edx, str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
sub eax, ebx
je 0x1001f126
sub eax, 1
je 0x1001f13f
sub eax, 0x101
je 0x1001f138
push 0x100f1df0
push ecx
push edx
call fcn.1006a644
add esp, 0xc
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x1001f188
push 0x100f1de8
jmp 0x1001f11c
push dword [ebp - 0x7c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x6c]
call esi
push dword [ebp - 0x68]
call esi
jmp 0x1001f275
cmp dword [ebp - 0x18], 0
je 0x1001f19f
push edi
call fcn.10003ed5
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.100108ca
cmp dword [ebp - 0x18], esi
jb 0x1001f19f
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x24]
call fcn.1002325c
push 0
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
mov esi, dword [ebp - 0x20]
push eax
sub esi, edi
push esi
push edi
push dword [ebp - 0x68]
call ebx
test eax, eax
jne 0x1001f15e
xor edi, edi
lea ecx, [ebp - 0x40]
push edi
push 1
call fcn.10011188
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ebx, 0xd2
mov esi, str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
cmovae eax, dword [ebp - 0x40]
push eax
push str.cmd_output:__s
push ebx
push esi
call fcn.1006a644
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
push str.cmd_exit_code:__d
push ebx
push esi
call fcn.1006a644
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
push dword [ebp - 0x7c]
call esi
push dword [ebp - 0x78]
call esi
push dword [ebp - 0x68]
call esi
push str.KB4474419
lea ecx, [ebp - 0x58]
call fcn.1001111d
mov byte [ebp - 4], 3
lea eax, [ebp - 0x58]
push dword [ebp - 0x48]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x40]
push edi
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.10007372
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push str.IsInstallPatch_code:__d
push ebx
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006a644
add esp, 0x10
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x40]
cmovae eax, dword [ebp - 0x58]
push dword [ebp - 0x48]
push edi
push eax
call fcn.10007372
xor ebx, ebx
lea ecx, [ebp - 0x58]
cmp eax, 0xffffffff
push edi
setne bl
inc edi
push edi
call fcn.1000579e
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018e3
lea ecx, [ebp - 0x24]
call fcn.10023905
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.1000579e
mov eax, ebx
call fcn.1008b6ab
ret