Function at 0x408500
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 0x4463fd
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10a8
call fcn.00427550
mov eax, dword [0x45e068]
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 0x45508b
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.0040a440
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 0x408631
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x408611
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408607
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40891d
push ecx
push edx
call fcn.004264a3
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.00426465
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], 8
push ecx
push 0
push 0
push 0x8000000
push 1
mov dword [ebp - 0x1054], eax
lea eax, [ebx + 8]
cmovae 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 0x4088e5
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 0x408806
xor ecx, ecx
nop
mov edi, dword [ebp - 0x101c]
test edi, edi
je 0x408800
mov edx, dword [ebp - 0x1020]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x40879e
lea eax, [edi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x1024], eax
lea esi, [ebp - 0x1034]
cmovae esi, dword [ebp - 0x1034]
lea eax, [ebp - 0x1018]
add esi, ecx
push eax
push esi
call fcn.00427c00
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x4087be
lea eax, [ebp - 0x1018]
mov byte [ebp - 0x10ac], 0
push eax
push dword [ebp - 0x10ac]
lea ecx, [ebp - 0x1034]
push edi
call fcn.0040a2e0
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 0x4087f4
mov ecx, dword [ebp - 0x1024]
mov dword [ebp - 0x10a4], ecx
jmp 0x408750
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, 0x10
cmovae eax, dword [ebp - 0x1034]
cmovae edi, dword [ebp - 0x1034]
add ecx, eax
mov dword [ebp - 0x10a4], ecx
cmp edi, ecx
je 0x4088b5
mov eax, ecx
nop dword [eax]
mov cl, byte [edi]
mov byte [ebp - 0x10ac], cl
cmp cl, 0xa
je 0x4088aa
cmp cl, 0xd
je 0x4088aa
test cl, cl
je 0x4088aa
mov edx, dword [esi + 0x10]
cmp edx, dword [esi + 0x14]
jae 0x408888
cmp dword [esi + 0x14], 0x10
lea eax, [edx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
jb 0x40887e
mov eax, dword [esi]
mov byte [eax + edx], cl
mov byte [eax + edx + 1], 0
jmp 0x4088a4
push dword [ebp - 0x10ac]
mov byte [ebp - 0x10a8], 0
mov ecx, esi
push dword [ebp - 0x10a8]
push 1
call fcn.0040a530
mov eax, dword [ebp - 0x10a4]
inc edi
cmp edi, eax
jne 0x408850
mov edx, dword [ebp - 0x1020]
cmp edx, 0x10
jb 0x4088e5
mov ecx, dword [ebp - 0x1034]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4088db
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40891d
push edx
push ecx
call fcn.004264a3
add esp, 8
mov ecx, dword [ebx + 0x1c]
cmp ecx, 8
jb 0x408611
mov edx, dword [ebx + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x408607
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x408607
call fcn.0042b22f
int3