Function at 0x180058630
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 + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x2790]
mov eax, 0x2890
call fcn.180057740
sub rsp, rax
mov rax, qword [0x1800a6478]
xor rax, rsp
mov qword [rbp + 0x2780], rax
movaps xmm0, xmmword [str.wmic_BaseBoard_get_SerialNumber]
mov rsi, rcx
movaps xmm1, xmmword [0x18008e270]
lea rcx, [rbp + 0x60]
mov eax, dword [0x18008e2a8]
xor ebx, ebx
movaps xmmword [rbp + 0x20], xmm0
mov r8d, 0x2711
movaps xmm0, xmmword [0x18008e280]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [str.SerialNumber]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x18008e290]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x18008e2ac]
movsxd rdi, edx
xor edx, edx
movsd qword [rbp + 8], xmm0
movaps xmmword [rbp + 0x50], xmm1
mov byte [rbp + 0x14], al
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rbx
call fcn.18005f6a0
xorps xmm0, xmm0
mov dword [rbp], ebx
xor eax, eax
mov qword [rsp + 0x70], rbx
xor r9d, r9d
mov dword [rbp - 0xc], eax
lea r8, [rsp + 0x78]
mov qword [rsp + 0x78], 0x18
lea rdx, [rsp + 0x50]
mov qword [rbp - 0x78], 1
lea rcx, [rsp + 0x58]
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x6c], xmm0
mov qword [rbp - 0x80], rbx
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x180058758
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800588d7
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x50]
lea rdx, [rbp + 0x20]
mov qword [rbp - 0x10], rax
xor r9d, r9d
mov qword [rbp - 0x18], rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov word [rbp - 0x30], bx
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rbp - 0x70]
mov dword [rbp - 0x34], 0x101
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1800587ec
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1800588d7
mov rcx, qword [rsp + 0x60]
mov edx, 0x1f4
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
lea r9, [rbp]
mov r8d, 0x2710
mov qword [rsp + 0x20], rbx
lea rdx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800587b9
lea rcx, [0x18008e2b0]
call fcn.1800747a4
lea rax, [rbp + 8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x180058835
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x60]
call fcn.18005fa40
test eax, eax
jne 0x1800587b9
lea rdx, [0x18008b2ac]
lea rcx, [rbp + 0x60]
call fcn.18005e078
mov r8, rax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], bl
jne 0x180058870
test rax, rax
je 0x1800588d2
mov r11, rdi
mov r9, rbx
movabs rdi, 0x100002400
mov r10, r8
cmp r9, r11
jge 0x1800588d2
movsx rcx, byte [r10]
cmp cl, 0x20
ja 0x1800588a5
bt rdi, rcx
jb 0x1800588ac
mov byte [rsi + r9], cl
inc r9
inc ebx
mov rcx, 0xffffffffffffffff
inc r10
nop dword [rax + rax]
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1800588c0
movsxd rdx, ebx
cmp rdx, rcx
jb 0x180058891
mov eax, 1
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.180057710
lea r11, [rsp + 0x2890]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret