Function at 0x2c12690
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 0x2c33920
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1098
call fcn.02c1b050
mov eax, dword [0x2c43064]
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
push 0
lea eax, [ebp - 0x1040]
mov dword [ebp - 0x103c], 0
push eax
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1040], 0xc
push eax
lea eax, [ebp - 0x1044]
mov dword [ebp - 0x1038], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x2c12a08
mov eax, dword [ebp - 0x1048]
xorps xmm0, xmm0
mov dword [ebp - 0x1064], eax
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x10a0]
movlpd qword [ebp - 0x1074], xmm0
or dword [ebp - 0x1074], 0x100
push eax
push 0
push 0
push 0x8000000
push 1
push 0
push 0
push esi
push 0
movlpd qword [ebp - 0x109c], xmm0
movlpd qword [ebp - 0x1094], xmm0
movlpd qword [ebp - 0x108c], xmm0
movlpd qword [ebp - 0x1084], xmm0
movlpd qword [ebp - 0x107c], xmm0
movlpd qword [ebp - 0x106c], xmm0
mov dword [ebp - 0x1060], 0
mov dword [ebp - 0x10a0], 0x44
movups xmmword [ebp - 0x1058], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x2c129f8
push dword [ebp - 0x1048]
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x1034], xmm0
mov dword [ebp - 0x1024], 0
mov dword [ebp - 0x1020], 0xf
mov byte [ebp - 0x1034], 0
push 0
lea eax, [ebp - 0x101c]
mov dword [ebp - 4], 0
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1044]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x2c128ee
mov eax, dword [ebp - 0x101c]
test eax, eax
je 0x2c128e8
cmp eax, 0x1000
jae 0x2c12a2b
lea esi, [ebp - 0x1018]
mov byte [ebp + eax - 0x1018], 0
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x2c12850
mov edx, dword [ebp - 0x1020]
sub esi, ecx
mov ecx, dword [ebp - 0x1024]
mov eax, edx
sub eax, ecx
push esi
cmp esi, eax
ja 0x2c1289f
lea eax, [esi + ecx]
cmp edx, 0x10
mov dword [ebp - 0x1024], eax
lea edi, [ebp - 0x1034]
cmovae edi, dword [ebp - 0x1034]
lea eax, [ebp - 0x1018]
add edi, ecx
push eax
push edi
call fcn.02c1b700
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x2c128bf
lea eax, [ebp - 0x1018]
mov byte [ebp - 0x10a4], 0
push eax
push dword [ebp - 0x10a4]
lea ecx, [ebp - 0x1034]
push esi
call fcn.02c186b0
push 0
lea eax, [ebp - 0x101c]
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1044]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x2c12821
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x1044]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x1058]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1058]
call esi
push dword [ebp - 0x1054]
call esi
mov eax, dword [ebp - 0x1020]
lea ecx, [ebp - 0x1034]
mov edi, dword [ebp - 0x1034]
cmp eax, 0x10
mov esi, dword [ebp - 0x1024]
cmovae ecx, edi
test esi, esi
jne 0x2c129ca
mov edx, 0x2c3f873
sub esi, 4
jb 0x2c12955
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x2c1295a
add ecx, 4
add edx, 4
sub esi, 4
jae 0x2c12944
cmp esi, 0xfffffffc
je 0x2c1298e
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x2c12987
cmp esi, 0xfffffffd
je 0x2c1298e
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x2c12987
cmp esi, 0xfffffffe
je 0x2c1298e
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x2c12987
cmp esi, 0xffffffff
je 0x2c1298e
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x2c1298e
sbb eax, eax
or eax, 1
jmp 0x2c12990
xor eax, eax
test eax, eax
mov eax, dword [ebp - 0x1020]
jne 0x2c129ca
cmp eax, 0x10
jb 0x2c129c6
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x2c129bc
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c12a30
push ecx
push edi
call fcn.02c1a4fe
add esp, 8
xor eax, eax
jmp 0x2c12a0d
cmp eax, 0x10
jb 0x2c12a08
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x2c129ec
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x2c12a30
push ecx
push edi
call fcn.02c1a4fe
add esp, 8
jmp 0x2c12a08
push dword [ebp - 0x1044]
call esi
push dword [ebp - 0x1048]
call esi
mov eax, 1
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.02c1a2be
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.02c1a3f3
call fcn.02c20f0c
int3