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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9556
mov eax, dword fs:[0]
push eax
mov eax, 0x2828
call fcn.00479690
mov eax, dword [0x4e100c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x27f0], 0x2710
mov ecx, 0x10
mov esi, str.wmic_BaseBoard_get_SerialNumber
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
push str.SerialNumber
lea ecx, [ebp - 0x2794]
call fcn.00419670
mov dword [ebp - 4], 0
mov dword [ebp - 0x27b0], 0
mov dword [ebp - 0x27c4], 0
mov dword [ebp - 0x27b8], 0
push 0x2711
push 0
lea eax, [ebp - 0x2764]
push eax
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x277c]
call fcn.004196e0
mov byte [ebp - 4], 1
mov dword [ebp - 0x27c8], 0
mov dword [ebp - 0x27bc], 0
push 0x10
push 0
lea ecx, [ebp - 0x27e0]
push ecx
call fcn.004307d0
add esp, 0xc
push 0x44
push 0
lea edx, [ebp - 0x2834]
push edx
call fcn.004307d0
add esp, 0xc
push 0xc
push 0
lea eax, [ebp - 0x27ec]
push eax
call fcn.004307d0
add esp, 0xc
mov dword [ebp - 0x27e0], 0
mov dword [ebp - 0x27dc], 0
mov dword [ebp - 0x2834], 0x44
mov dword [ebp - 0x27ec], 0xc
mov dword [ebp - 0x27e8], 0
mov dword [ebp - 0x27e4], 1
push 0
lea ecx, [ebp - 0x27ec]
push ecx
lea edx, [ebp - 0x27b8]
push edx
lea eax, [ebp - 0x27c4]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x27b0], eax
cmp dword [ebp - 0x27b0], 0
jne 0x48533e
jmp 0x485563
lea ecx, [ebp - 0x2834]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov edx, dword [ebp - 0x27b8]
mov dword [ebp - 0x27f4], edx
mov eax, dword [ebp - 0x27b8]
mov dword [ebp - 0x27f8], eax
xor ecx, ecx
mov word [ebp - 0x2804], cx
mov dword [ebp - 0x2808], 0x101
lea edx, [ebp - 0x27e0]
push edx
lea eax, [ebp - 0x2834]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x50]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x27b0], eax
cmp dword [ebp - 0x27b0], 0
jne 0x4853b0
jmp 0x485563
push 0x1f4
mov edx, dword [ebp - 0x27e0]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
lea eax, [ebp - 0x27c8]
push eax
push 0x2710
lea ecx, [ebp - 0x2764]
push ecx
mov edx, dword [ebp - 0x27c4]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x27b0], eax
cmp dword [ebp - 0x27b0], 0
jne 0x4853f8
jmp 0x485563
mov dword [ebp - 0x27b0], 0
lea eax, [ebp - 0x2764]
push eax
lea ecx, [ebp - 0x277c]
call fcn.004194f0
push 0
lea ecx, [ebp - 0x2794]
push ecx
lea ecx, [ebp - 0x277c]
call fcn.004193b0
mov dword [ebp - 0x27bc], eax
cmp dword [ebp - 0x27bc], 0
jge 0x48543e
jmp 0x485563
push 0xffffffffffffffff
lea ecx, [ebp - 0x2794]
call fcn.00419430
add eax, dword [ebp - 0x27bc]
push eax
lea edx, [ebp - 0x27ac]
push edx
lea ecx, [ebp - 0x277c]
call fcn.00419360
mov dword [ebp - 0x27cc], eax
mov eax, dword [ebp - 0x27cc]
push eax
lea ecx, [ebp - 0x277c]
call fcn.00419560
lea ecx, [ebp - 0x27ac]
call fcn.00419510
push 0x2711
push 0
lea ecx, [ebp - 0x2764]
push ecx
call fcn.004307d0
add esp, 0xc
lea ecx, [ebp - 0x277c]
call fcn.00419450
push eax
lea edx, [ebp - 0x2764]
push edx
call fcn.0041b5d0
add esp, 8
mov dword [ebp - 0x27c0], 0
mov dword [ebp - 0x27b4], 0
jmp 0x4854dd
mov eax, dword [ebp - 0x27b4]
add eax, 1
mov dword [ebp - 0x27b4], eax
lea ecx, [ebp - 0x2764]
push ecx
call fcn.00439720
add esp, 4
cmp dword [ebp - 0x27b4], eax
jae 0x485559
mov edx, dword [ebp - 0x27b4]
movsx eax, byte [ebp + edx - 0x2764]
cmp eax, 0x20
je 0x485554
mov ecx, dword [ebp - 0x27b4]
movsx edx, byte [ebp + ecx - 0x2764]
cmp edx, 0xa
je 0x485554
mov eax, dword [ebp - 0x27b4]
movsx ecx, byte [ebp + eax - 0x2764]
cmp ecx, 0xd
je 0x485554
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x27c0]
mov eax, dword [ebp - 0x27b4]
mov cl, byte [ebp + eax - 0x2764]
mov byte [edx], cl
mov edx, dword [ebp - 0x27c0]
add edx, 1
mov dword [ebp - 0x27c0], edx
jmp 0x4854ce
mov dword [ebp - 0x27b0], 1
mov eax, dword [ebp - 0x27b8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x27c4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x27e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x27dc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x27b0]
mov dword [ebp - 0x27d0], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x277c]
call fcn.00419510
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2794]
call fcn.00419510
mov eax, dword [ebp - 0x27d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042eb1e
mov esp, ebp
pop ebp
ret