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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516b55
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x28]
call fcn.0044c060
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x49]
movups xmmword [ebp - 0x78], xmm0
call fcn.0044a750
push eax
push 0x400
lea ecx, [ebp - 0x5c]
call fcn.004cdb90
push 0
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 1
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
lea eax, [ebp - 0x48]
movlpd qword [ebp - 0xc4], xmm0
push eax
lea eax, [ebp - 0x44]
movlpd qword [ebp - 0xbc], xmm0
push eax
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
mov dword [ebp - 0xc8], 0x44
mov dword [ebp - 0x9c], 0x100
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0xc
mov dword [ebp - 0x7c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4d4449
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreatePipe_failed:__d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
xor esi, esi
jmp 0x4d4648
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push str.systeminfo
mov dword [ebp - 0x8c], eax
call fcn.0044f140
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0xc8]
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x60]
call fcn.0044f690
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4d44c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed:__d
push 0x550bb8
call fcn.0048d880
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x44]
call esi
xor esi, esi
jmp 0x4d4640
push 0x1388
push 0
lea eax, [ebp - 0x78]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
sub eax, 0
je 0x4d4502
sub eax, 1
je 0x4d467f
sub eax, 0x101
je 0x4d4675
push 0x523f10
push 0x550bb8
call fcn.0048d880
add esp, 8
push dword [ebp - 0x48]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00482000
push eax
lea ecx, [ebp - 0x5c]
call fcn.004b24b0
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push dword [ebp - 0x44]
call esi
test eax, eax
je 0x4d458c
cmp dword [ebp - 0x50], 0
je 0x4d458c
lea ecx, [ebp - 0x5c]
call fcn.004b24b0
push eax
lea ecx, [ebp - 0x28]
call fcn.00464990
lea ecx, [ebp - 0x5c]
call fcn.00482000
cmp dword [ebp - 0x50], eax
jb 0x4d458c
lea ecx, [ebp - 0x5c]
call fcn.00482000
add eax, eax
lea ecx, [ebp - 0x5c]
push eax
call fcn.004d89d0
push 0
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
call fcn.00482000
push eax
lea ecx, [ebp - 0x5c]
call fcn.004b24b0
push eax
push dword [ebp - 0x44]
call esi
test eax, eax
jne 0x4d4534
push 0
lea ecx, [ebp - 0x28]
call fcn.0044ef70
lea ecx, [ebp - 0x28]
call fcn.0044a6f0
push eax
push str.cmd_output:__s
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x64]
push str.cmd_exit_code:__d
push 0x550bb8
call fcn.0048d880
add esp, 0xc
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x74]
call edi
push dword [ebp - 0x44]
call edi
push str.KB4474419
lea ecx, [ebp - 0x40]
call fcn.0044c020
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.00455790
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push ecx
push str.IsInstallPatch_code:__d
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00455790
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov dword [ebp - 0x68], ecx
lea ecx, [ebp - 0x40]
call fcn.0044a700
mov esi, dword [ebp - 0x68]
lea ecx, [ebp - 0x60]
call fcn.0044c080
lea ecx, [ebp - 0x5c]
call fcn.004ce280
lea ecx, [ebp - 0x28]
call fcn.0044a700
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
push 0x523f08
jmp 0x4d44f5
push dword [ebp - 0x78]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x48]
call esi
push dword [ebp - 0x44]
call esi
xor esi, esi
jmp 0x4d4640