Function at 0x180046df0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Execute command
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.18004d0c0
sub rsp, rax
mov rax, qword [0x18005a080]
xor rax, rsp
mov qword [rbp + 0x2780], rax
movaps xmm0, xmmword [str.wmic_BaseBoard_get_SerialNumber]
mov rsi, rcx
movaps xmm1, xmmword [0x18004f800]
lea rcx, [rbp + 0x60]
mov eax, dword [0x18004f838]
xor ebx, ebx
movaps xmmword [rbp + 0x20], xmm0
mov r8d, 0x2711
movaps xmm0, xmmword [0x18004f810]
movaps xmmword [rbp + 0x40], xmm0
movsd xmm0, qword [str.SerialNumber]
movaps xmmword [rbp + 0x30], xmm1
movaps xmm1, xmmword [0x18004f820]
mov dword [rbp + 0x10], eax
movzx eax, byte [0x18004f83c]
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 sub.VCRUNTIME140.dll_memset
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 0x180046f18
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 0x180047097
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 0x180046fac
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 0x180047097
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 0x180046f79
lea rcx, [0x18004f840]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_system
lea rax, [rbp + 8]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x180046ff5
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x180046f79
lea rdx, [0x18004f844]
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_strstr
mov r8, rax
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [r8 + rax], bl
jne 0x180047030
test rax, rax
je 0x180047092
mov r11, rdi
mov r9, rbx
movabs rdi, 0x100002400
mov r10, r8
cmp r9, r11
jge 0x180047092
movsx rcx, byte [r10]
cmp cl, 0x20
ja 0x180047065
bt rdi, rcx
jb 0x18004706c
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 0x180047080
movsxd rdx, ebx
cmp rdx, rcx
jb 0x180047051
mov eax, 1
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.18004c400
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