Function at 0x1000d3f0
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 eax, 0x27c4
call fcn.10012480
mov eax, dword [str.wmic]
mov cx, word [0x10016fa0]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x48], eax
mov word [esp + 0x4c], cx
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x4e]
xor ebx, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x27e0]
cmp eax, ebx
jne 0x1000d438
lea edx, [esp + 0x48]
mov edi, str.BaseBoard_get_SerialNumber
jmp 0x1000d446
cmp eax, 1
jne 0x1000d46b
lea edx, [esp + 0x48]
mov edi, str.diskdrive_get_SerialNumber
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [str.SerialNumber]
mov ecx, dword [0x10016f58]
mov dword [esp + 0x38], eax
mov al, byte [0x10016f60]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x44], al
mov edx, dword [0x10016f5c]
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0xc1]
mov byte [esp + 0xc0], bl
mov dword [esp + 0x40], edx
rep stosd dword es:[edi], eax
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], ecx
lea edi, [esp + 0x7c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x24], ecx
mov ecx, 0x11
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x30], edx
push ebx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x8c], 0x44
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1000d541
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x27c4
ret
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x7c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x18]
lea edx, [esp + 0x48]
push eax
push ecx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push edx
push ebx
mov word [esp + 0xd4], bx
mov dword [esp + 0xd0], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1000d5c1
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov eax, dword [esp + 0x1c]
push eax
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x27c4
ret
mov ecx, dword [esp + 0x18]
push 0x1f4
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x34]
push ebx
push edx
lea eax, [esp + 0xc8]
push 0x2710
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000d622
mov edx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov ecx, dword [esp + 0x18]
push ecx
call esi
mov edx, dword [esp + 0x1c]
push edx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x27c4
ret
push 0x10016f50
call sub.MSVCRT.dll_system
lea edi, [esp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x38]
lea esi, [esp + 0xc0]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x1000d67d
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x27c4
ret
lea edx, [esp + 0xc0]
push 0x10016f4c
push edx
call sub.MSVCRT.dll_strstr
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
add esp, 8
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x1000d6d8
mov ebp, dword [esp + 0x27d8]
cmp ebx, dword [esp + 0x27dc]
jge 0x1000d6d8
mov al, byte [edx + esi]
cmp al, 0x20
je 0x1000d6c7
cmp al, 0xa
je 0x1000d6c7
cmp al, 0xd
je 0x1000d6c7
mov byte [ebx + ebp], al
inc ebx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
inc edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x1000d6ab
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x27c4
ret