Function at 0x408760
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4478bd
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10a8
call fcn.00428bc0
mov eax, dword [0x45f080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10a8], esi
mov dword [ebp - 0x10ac], esi
mov dword [ebp - 0x10b4], esi
mov dword [ebp - 0x10b0], 1
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0
movups xmmword [esi], xmm0
push 0x456093
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040ad60
push 0
lea eax, [ebp - 0x1048]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x103c]
mov dword [ebp - 0x10b0], 1
push eax
lea eax, [ebp - 0x1038]
mov dword [ebp - 0x1048], 0xc
push eax
mov dword [ebp - 0x1040], 1
mov dword [ebp - 0x1044], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x408891
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x408871
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408867
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b7d
push ecx
push edx
call fcn.00427b27
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00427ae9
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebp - 0x103c]
lea ecx, [ebp - 0x10a0]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x1050], eax
lea ecx, [ebp - 0x1090]
movlpd qword [ebp - 0x1064], xmm0
or dword [ebp - 0x1064], 0x100
cmp dword [ebx + 0x1c], 7
push ecx
push 0
push 0
push 0x8000000
push 1
mov dword [ebp - 0x1054], eax
lea eax, [ebx + 8]
cmova eax, dword [ebx + 8]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0x108c], xmm0
movlpd qword [ebp - 0x1084], xmm0
movlpd qword [ebp - 0x107c], xmm0
movlpd qword [ebp - 0x1074], xmm0
movlpd qword [ebp - 0x106c], xmm0
movlpd qword [ebp - 0x105c], xmm0
mov dword [ebp - 0x1090], 0x44
movups xmmword [ebp - 0x10a0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x408b45
push dword [ebp - 0x103c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [ebp - 0x10a0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov dword [ebp - 0x101c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10a4], eax
movups xmmword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1024], eax
mov dword [ebp - 0x1020], 0xf
mov byte [ebp - 0x1034], al
push eax
lea eax, [ebp - 0x101c]
mov dword [ebp - 4], 2
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408a66
xor ecx, ecx
nop
mov edi, dword [ebp - 0x101c]
test edi, edi
je 0x408a60
mov edx, dword [ebp - 0x1020]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x4089fe
lea eax, [edi + ecx]
cmp edx, 0xf
mov dword [ebp - 0x1024], eax
lea esi, [ebp - 0x1034]
cmova esi, dword [ebp - 0x1034]
lea eax, [ebp - 0x1018]
add esi, ecx
push eax
push esi
call fcn.00429270
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x408a1e
lea eax, [ebp - 0x1018]
mov byte [ebp - 0x10ac], 0
push eax
push dword [ebp - 0x10ac]
lea ecx, [ebp - 0x1034]
push edi
call fcn.0040ac00
push 0
lea eax, [ebp - 0x101c]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x408a54
mov ecx, dword [ebp - 0x1024]
mov dword [ebp - 0x10a4], ecx
jmp 0x4089b0
mov eax, dword [ebp - 0x1024]
mov dword [ebp - 0x10a4], eax
mov esi, dword [ebp - 0x10a8]
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x1020]
lea eax, [ebp - 0x1034]
mov ecx, dword [ebp - 0x10a4]
lea edi, [ebp - 0x1034]
cmp edx, 0xf
cmova eax, dword [ebp - 0x1034]
cmova edi, dword [ebp - 0x1034]
add ecx, eax
mov dword [ebp - 0x10a4], ecx
cmp edi, ecx
je 0x408b15
mov eax, ecx
nop dword [eax]
mov cl, byte [edi]
mov byte [ebp - 0x10ac], cl
cmp cl, 0xa
je 0x408b0a
cmp cl, 0xd
je 0x408b0a
test cl, cl
je 0x408b0a
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 0x14]
jae 0x408ae8
cmp dword [esi + 0x14], 0xf
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jbe 0x408ade
mov eax, dword [esi]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x408b04
push dword [ebp - 0x10ac]
mov byte [ebp - 0x10a8], 0
mov ecx, esi
push dword [ebp - 0x10a8]
push 1
call fcn.0040ae50
mov eax, dword [ebp - 0x10a4]
inc edi
cmp edi, eax
jne 0x408ab0
mov edx, dword [ebp - 0x1020]
cmp edx, 0xf
jbe 0x408b45
mov ecx, dword [ebp - 0x1034]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x408b3b
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x408b7d
push edx
push ecx
call fcn.00427b27
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 7
jbe 0x408871
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408867
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408867
call fcn.0042c89f
int3