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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x2908
call fcn.14010a6d0
sub rsp, rax
mov dword [rsp + 0xc8], 0x2710
lea rax, [rsp + 0x190]
lea rcx, str.wmic_memorychip_get_SerialNumber
mov rdi, rax
mov rsi, rcx
mov ecx, 0x42
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x110]
lea rcx, [0x140153de8]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_listen
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x54], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0xf8]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x120]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x1e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x2711
rep stosb byte [rdi], al
mov dword [rsp + 0xe0], 0x18
mov qword [rsp + 0xe8], 0
mov dword [rsp + 0xf0], 1
xor r9d, r9d
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140105949
jmp 0x140105c9f
mov dword [rsp + 0x120], 0x68
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x178], rax
xor eax, eax
mov word [rsp + 0x160], ax
mov dword [rsp + 0x15c], 0x101
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x190]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x1401059f8
jmp 0x140105c9f
mov edx, 0x3e8
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x64]
mov r8d, 0x2710
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x54], 0
jne 0x140105a4a
jmp 0x140105c9f
xor r8d, r8d
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x1e0]
call fcn.140105d50
test eax, eax
je 0x140105a70
jmp 0x140105c9f
mov eax, dword [rsp + 0x64]
inc eax
mov eax, eax
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14010a720
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x140105aba
mov rdi, qword [rsp + 0x78]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xa8], rax
jmp 0x140105ac6
mov qword [rsp + 0xa8], 0
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x58], 0
jmp 0x140105af2
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x64]
cmp dword [rsp + 0x50], eax
jae 0x140105b5a
movsxd rax, dword [rsp + 0x50]
movsx eax, byte [rsp + rax + 0x1e0]
cmp eax, 0x20
je 0x140105b58
movsxd rax, dword [rsp + 0x50]
movsx eax, byte [rsp + rax + 0x1e0]
test eax, eax
je 0x140105b58
movsxd rax, dword [rsp + 0x50]
movsx eax, byte [rsp + rax + 0x1e0]
cmp eax, 9
je 0x140105b58
movsxd rax, dword [rsp + 0x50]
movsxd rcx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x88]
movzx eax, byte [rsp + rax + 0x1e0]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x58]
inc eax
mov dword [rsp + 0x58], eax
jmp 0x140105ae8
mov dword [rsp + 0x60], select
mov r8d, dword [rsp + 0x60]
lea rdx, [0x140153de4]
mov rcx, qword [rsp + 0x88]
call fcn.140105d50
mov dword [rsp + 0x5c], eax
cmp dword [rsp + 0x5c], 0xffffffff
jne 0x140105b90
jmp 0x140105c9f
mov eax, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x5c]
sub ecx, eax
mov eax, ecx
inc eax
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x70]
inc eax
cdqe
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14010a720
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
je 0x140105bf8
mov rdi, qword [rsp + 0x80]
xor eax, eax
mov rcx, qword [rsp + 0xb0]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xb8], rax
jmp 0x140105c04
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x90], rax
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call fcn.140105ce0
mov rcx, qword [rsp + 0x90]
call fcn.140105270
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.14010a008
mov r8, qword [rsp + 0xc0]
lea rdx, [0x140153df8]
mov rcx, qword [rsp + 0x2920]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.14010a008
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x2908
pop rdi
pop rsi
ret