Function at 0x1007f480
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 0x1013fdcb
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.10117200
mov eax, dword [0x10184f40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x104c], edi
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1014], 0xf
mov dword [ebp - 0x1018], 0
mov byte [ebp - 0x1028], 0
push 0
lea eax, [ebp - 0x1058]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1058], 0xc
push eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1054], 0
push eax
mov dword [ebp - 0x1050], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1007f553
push eax
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x1016fa9a
mov byte [edi], al
call fcn.1006f630
mov ecx, dword [ebp - 0x1014]
cmp ecx, 0x10
jb 0x1007f72b
inc ecx
push ecx
jmp 0x1007f71a
push 0x44
lea eax, [ebp - 0x10b0]
push 0
push eax
call fcn.1011a970
add esp, 0xc
mov dword [ebp - 0x10b0], 0x44
lea eax, [ebp - 0x10b0]
xorps xmm0, xmm0
movups xmmword [ebp - 0x106c], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x1070], eax
mov dword [ebp - 0x1074], eax
xor eax, eax
mov word [ebp - 0x1080], ax
lea eax, [ebp - 0x106c]
push eax
lea eax, [ebp - 0x10b0]
mov dword [ebp - 0x1084], 0x101
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str.cmd.exe__c_wmic_path_win32_physicalmedia_get_SerialNumber
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x1048]
test eax, eax
jne 0x1007f5fe
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1044]
call esi
push 0x1016fa9a
mov ecx, edi
call fcn.1006f360
jmp 0x1007f70d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.1011a970
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x104c]
add esp, 0xc
push 0
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
je 0x1007f694
cmp byte [ebp - 0x1010], 0
jne 0x1007f64e
xor ecx, ecx
jmp 0x1007f660
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007f657
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.1006d3a0
push 0
lea eax, [ebp - 0x104c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1044]
call esi
test eax, eax
jne 0x1007f641
push 2
push 0
push 0x1016f964
lea ecx, [ebp - 0x1028]
call fcn.1007ace0
test eax, eax
jne 0x1007f6e1
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp - 0x1028]
add eax, 0xfffffffe
push eax
push 2
lea eax, [ebp - 0x1040]
push eax
call fcn.1007abb0
push eax
lea ecx, [ebp - 0x1028]
call fcn.1006f2e0
lea ecx, [ebp - 0x1040]
call fcn.1006d1b0
push dword [ebp - 0x1044]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1068]
call esi
push dword [ebp - 0x106c]
call esi
lea eax, [ebp - 0x1028]
mov ecx, edi
push eax
call fcn.1006d1f0
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x1007f72b
inc eax
push eax
push dword [ebp - 0x1028]
lea ecx, [ebp - 0x1028]
call fcn.1006d640
mov eax, edi
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.10116580
mov esp, ebp
pop ebp
ret