Function at 0x1007b580
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 0x1013d4cb
mov eax, dword fs:[0]
push eax
mov eax, 0x10a4
call fcn.10115600
mov eax, dword [0x10182f40]
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 0x1007b653
push eax
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x1016d9aa
mov byte [edi], al
call fcn.1006f560
mov ecx, dword [ebp - 0x1014]
cmp ecx, 0x10
jb 0x1007b82b
inc ecx
push ecx
jmp 0x1007b81a
push 0x44
lea eax, [ebp - 0x10b0]
push 0
push eax
call fcn.10118ce0
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 0x1007b6fe
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1044]
call esi
push 0x1016d9aa
mov ecx, edi
call fcn.1006f290
jmp 0x1007b80d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1000
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.10118ce0
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 0x1007b794
cmp byte [ebp - 0x1010], 0
jne 0x1007b74e
xor ecx, ecx
jmp 0x1007b760
lea ecx, [ebp - 0x1010]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007b757
sub ecx, edx
push ecx
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x1028]
call fcn.1006d2a0
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 0x1007b741
push 2
push 0
push 0x1016d874
lea ecx, [ebp - 0x1028]
call fcn.10077370
test eax, eax
jne 0x1007b7e1
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp - 0x1028]
add eax, 0xfffffffe
push eax
push 2
lea eax, [ebp - 0x1040]
push eax
call fcn.10077240
push eax
lea ecx, [ebp - 0x1028]
call fcn.1006f210
lea ecx, [ebp - 0x1040]
call fcn.1006d0b0
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.1006d0f0
mov eax, dword [ebp - 0x1014]
cmp eax, 0x10
jb 0x1007b82b
inc eax
push eax
push dword [ebp - 0x1028]
lea ecx, [ebp - 0x1028]
call fcn.1006d540
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.101149a0
mov esp, ebp
pop ebp
ret