Function at 0x41bf10
Capabilities:
Create pipe
Create process on windows
Create process suspended
Create two anonymous pipes
Get common file path

Disassembly:
sub esp, 0x9ec
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 4]
lea edi, [ebx + 4]
test eax, eax
mov dword [esp + 0x24], edi
je 0x41bf41
mov eax, dword [ebx + 8]
test eax, eax
je 0x41bf41
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x9ec
ret
lea eax, [esp + 0x18]
push 0
lea ebp, [ebx + 0xc]
push eax
mov esi, 1
push edi
push ebp
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x41c157
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x18]
lea esi, [ebx + 0x10]
push 0
lea eax, [ebx + 8]
push ecx
push esi
push eax
mov dword [esp + 0x28], 0xc
mov dword [esp + 0x2c], 0
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x41bfe2
mov edx, dword [ebp]
push edx
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov eax, dword [edi]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov dword [edi], 0
pop edi
mov dword [ebp], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x9ec
ret
lea ecx, [esp + 0x28]
push ecx
call fcn.00419150
mov ecx, eax
call fcn.0041b5b0
mov eax, dword [esi]
mov edx, dword [ebp]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x54], 0x101
push eax
mov dword [esp + 0x64], edx
mov word [esp + 0x5c], 0
mov dword [esp + 0x70], 0x94
call fcn.00419150
mov ecx, eax
call fcn.0041b120
lea ecx, [esp + 0x100]
push 0x105
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [esp + 0x7c], 2
jne 0x41c0fd
mov edi, 0x437c74
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x100]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebx, 0x14
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x28]
push ebx
mov ecx, edx
push eax
push 0
and ecx, 3
push 0
push 0
rep movsb byte es:[edi], byte [esi]
push 1
push 0
push 0
lea ecx, [esp + 0x120]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x41c0f5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x1f4
xor eax, eax
lea edi, [esp + 0x22c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
push eax
push edx
lea eax, [esp + 0x234]
mov edx, dword [ecx]
push 0x7d0
push eax
push edx
call fcn.00419150
mov ecx, eax
call fcn.0041b480
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x9ec
ret
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov ecx, dword [edi]
push ecx
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov edx, dword [esi]
mov dword [ebp], 0
push edx
mov dword [edi], 0
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
push eax
call fcn.00419150
mov ecx, eax
call fcn.0041b350
mov dword [esi], 0
mov dword [edi], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x9ec
ret