Function at 0x1001effa
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, 0x100be783
call fcn.1008bbf4
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.100232e6
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1008e420
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 0x1001f0ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreatePipe_failed:__d
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006aae3
add esp, 0x10
jmp 0x1001f2bf
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push str.systeminfo
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], ebx
call fcn.1000563a
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 0x1001f0e4
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 0x1001f12b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed:__d
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006ab44
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
jmp 0x1001f18e
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.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
sub eax, ebx
je 0x1001f165
sub eax, 1
je 0x1001f17e
sub eax, 0x101
je 0x1001f177
push 0x100f2e00
push ecx
push edx
call fcn.1006ab44
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 0x1001f1c7
push 0x100f2df8
jmp 0x1001f15b
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 0x1001f2b4
cmp dword [ebp - 0x18], 0
je 0x1001f1de
push edi
call fcn.10003f26
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.1001091a
cmp dword [ebp - 0x18], esi
jb 0x1001f1de
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x24]
call fcn.1002329b
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 0x1001f19d
xor edi, edi
lea ecx, [ebp - 0x40]
push edi
push 1
call fcn.100111d8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov ebx, 0xd2
mov esi, str.D: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.1006ab44
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.1006ab44
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.1001116d
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.100073c2
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push str.IsInstallPatch_code:__d
push ebx
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006ab44
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.100073c2
xor ebx, ebx
lea ecx, [ebp - 0x58]
cmp eax, 0xffffffff
push edi
setne bl
inc edi
push edi
call fcn.100057ef
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018e3
lea ecx, [ebp - 0x24]
call fcn.100238ef
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.100057ef
mov eax, ebx
call fcn.1008bb9e
ret