Function at 0x1001f4a7
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, 0x100bf40f
call fcn.1008c851
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.10023793
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1008f060
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 0x1001f559
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.1006b733
add esp, 0x10
jmp 0x1001f76c
mov eax, dword [ebp - 0x6c]
lea ecx, [ebp - 0x14]
push str.systeminfo
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x14], ebx
call fcn.1000564f
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 0x1001f591
push ebx
lea ecx, [ebp - 0x14]
call fcn.100019bb
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 0x1001f5d8
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.1006b794
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
jmp 0x1001f63b
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 0x1001f612
sub eax, 1
je 0x1001f62b
sub eax, 0x101
je 0x1001f624
push 0x100f3e80
push ecx
push edx
call fcn.1006b794
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 0x1001f674
push 0x100f3e78
jmp 0x1001f608
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 0x1001f761
cmp dword [ebp - 0x18], 0
je 0x1001f68b
push edi
call fcn.10003f36
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.1001097a
cmp dword [ebp - 0x18], esi
jb 0x1001f68b
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x24]
call fcn.10023748
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 0x1001f64a
xor edi, edi
lea ecx, [ebp - 0x40]
push edi
push 1
call fcn.10011238
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.1006b794
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.1006b794
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.100111cd
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.100073e2
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.1006b794
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.100073e2
xor ebx, ebx
lea ecx, [ebp - 0x58]
cmp eax, 0xffffffff
push edi
setne bl
inc edi
push edi
call fcn.10005804
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.100018f3
lea ecx, [ebp - 0x24]
call fcn.10023d9c
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.10005804
mov eax, ebx
call fcn.1008c7fb
ret