Function at 0x486950
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 0x4b0c26
mov eax, dword fs:[0]
push eax
mov eax, 0x2828
call fcn.0047ad70
mov eax, dword [0x4ec00c]
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.00419750
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.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x277c]
call fcn.004197c0
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.00433ca0
add esp, 0xc
push 0x44
push 0
lea edx, [ebp - 0x2834]
push edx
call fcn.00433ca0
add esp, 0xc
push 0xc
push 0
lea eax, [ebp - 0x27ec]
push eax
call fcn.00433ca0
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 0x486aae
jmp 0x486cd3
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 0x486b20
jmp 0x486cd3
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 0x486b68
jmp 0x486cd3
mov dword [ebp - 0x27b0], 0
lea eax, [ebp - 0x2764]
push eax
lea ecx, [ebp - 0x277c]
call fcn.004195d0
push 0
lea ecx, [ebp - 0x2794]
push ecx
lea ecx, [ebp - 0x277c]
call fcn.00419490
mov dword [ebp - 0x27bc], eax
cmp dword [ebp - 0x27bc], 0
jge 0x486bae
jmp 0x486cd3
push 0xffffffffffffffff
lea ecx, [ebp - 0x2794]
call fcn.00419510
add eax, dword [ebp - 0x27bc]
push eax
lea edx, [ebp - 0x27ac]
push edx
lea ecx, [ebp - 0x277c]
call fcn.00419440
mov dword [ebp - 0x27cc], eax
mov eax, dword [ebp - 0x27cc]
push eax
lea ecx, [ebp - 0x277c]
call fcn.00419640
lea ecx, [ebp - 0x27ac]
call fcn.004195f0
push 0x2711
push 0
lea ecx, [ebp - 0x2764]
push ecx
call fcn.00433ca0
add esp, 0xc
lea ecx, [ebp - 0x277c]
call fcn.00419530
push eax
lea edx, [ebp - 0x2764]
push edx
call fcn.0041b6b0
add esp, 8
mov dword [ebp - 0x27c0], 0
mov dword [ebp - 0x27b4], 0
jmp 0x486c4d
mov eax, dword [ebp - 0x27b4]
add eax, 1
mov dword [ebp - 0x27b4], eax
lea ecx, [ebp - 0x2764]
push ecx
call fcn.0043d010
add esp, 4
cmp dword [ebp - 0x27b4], eax
jae 0x486cc9
mov edx, dword [ebp - 0x27b4]
movsx eax, byte [ebp + edx - 0x2764]
cmp eax, 0x20
je 0x486cc4
mov ecx, dword [ebp - 0x27b4]
movsx edx, byte [ebp + ecx - 0x2764]
cmp edx, 0xa
je 0x486cc4
mov eax, dword [ebp - 0x27b4]
movsx ecx, byte [ebp + eax - 0x2764]
cmp ecx, 0xd
je 0x486cc4
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 0x486c3e
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.004195f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2794]
call fcn.004195f0
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.0042f10e
mov esp, ebp
pop ebp
ret