Function at 0x1001f00e
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, 0x100bdfd7
call fcn.1008b481
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.100226a9
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push ebx
push eax
call fcn.1008dc90
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 0x1001f0c0
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_11036542_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006a363
add esp, 0x10
jmp 0x1001f2d3
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 0x1001f0f8
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 0x1001f13f
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_11036542_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006a3c4
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x10
jmp 0x1001f1a2
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_11036542_1QQPCDownloadTxdlTxdlController.cpp
sub eax, ebx
je 0x1001f179
sub eax, 1
je 0x1001f192
sub eax, 0x101
je 0x1001f18b
push 0x100f1ab0
push ecx
push edx
call fcn.1006a3c4
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 0x1001f1db
push 0x100f1aa8
jmp 0x1001f16f
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 0x1001f2c8
cmp dword [ebp - 0x18], 0
je 0x1001f1f2
push edi
call fcn.10003f36
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.1001097a
cmp dword [ebp - 0x18], esi
jb 0x1001f1f2
lea eax, [esi + esi]
push eax
lea ecx, [ebp - 0x24]
call fcn.1002265e
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 0x1001f1b1
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_11036542_1QQPCDownloadTxdlTxdlController.cpp
cmovae eax, dword [ebp - 0x40]
push eax
push str.cmd_output:__s
push ebx
push esi
call fcn.1006a3c4
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.1006a3c4
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_11036542_1QQPCDownloadTxdlTxdlController.cpp
call fcn.1006a3c4
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.10022c67
push 0
push edi
lea ecx, [ebp - 0x40]
call fcn.10005804
mov eax, ebx
call fcn.1008b42b
ret