Function at 0x1800513a0
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.180056f30
sub rsp, rax
mov rax, qword [0x18009e040]
xor rax, rsp
mov qword [rbp + 0x2780], rax
movaps xmm0, xmmword [str.wmic_BaseBoard_get_SerialNumber]
mov rsi, rcx
movaps xmm1, xmmword [0x18007efb0]
lea rcx, [rbp + 0x60]
mov eax, dword [0x18007efe8]
xor ebx, ebx
movaps xmmword [rbp + 0x20], xmm0
mov r8d, 0x2711
movaps xmm0, xmmword [0x18007efc0]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [str.SerialNumber]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x18007efd0]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x18007efec]
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.180079d00
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 0x1800514c8
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 0x180051647
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 0x18005155c
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 0x180051647
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 0x180051529
lea rcx, [0x18007eff0]
call fcn.180067c38
lea rax, [rbp + 8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1800515a5
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x60]
call fcn.18007a740
test eax, eax
jne 0x180051529
lea rdx, [0x180087f10]
lea rcx, [rbp + 0x60]
call fcn.18005911c
mov r8, rax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], bl
jne 0x1800515e0
test rax, rax
je 0x180051642
mov r11, rdi
mov r9, rbx
movabs rdi, 0x100002400
mov r10, r8
cmp r9, r11
jge 0x180051642
movsx rcx, byte [r10]
cmp cl, 0x20
ja 0x180051615
bt rdi, rcx
jb 0x18005161c
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 0x180051630
movsxd rdx, ebx
cmp rdx, rcx
jb 0x180051601
mov eax, 1
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.180056f00
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