Function at 0x41cf38
Capabilities:
Create pipe
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff54
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa0], ebx
mov edi, ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00404b70
mov eax, dword [ebp - 0xc]
call fcn.00404b70
xor eax, eax
push ebp
push 0x41d286
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp + 0x18]
call fcn.004046c0
mov eax, dword [ebp + 0x14]
call fcn.004046c0
lea ecx, [ebp - 0xa0]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0041cd28
mov edx, dword [ebp - 0xa0]
lea eax, [ebp - 8]
call fcn.00404758
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x88], 0xc
mov dword [ebp - 0x80], 0xffffffff
xor eax, eax
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x9c]
xor ecx, ecx
mov edx, 0x14
call fcn.00402f60
mov dword [ebp - 0x94], 0xa
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x41d25b
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x41d25b
push 0
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
je 0x41d25b
mov eax, dword [ebp - 0x14]
mov dword [0x4377d8], eax
mov ebx, 6
lea esi, [ebp - 4]
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_SetCommTimeouts
add esi, 4
dec ebx
jne 0x41d05a
lea eax, [ebp - 0x6c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402f60
mov dword [ebp - 0x6c], 0x44
mov eax, dword [ebp - 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x40], 0x141
mov word [ebp - 0x3c], di
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0x40
push 0xffffffffffffffff
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x88]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b80
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x41d170
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0x15
lea eax, [ebp - 0xa4]
push eax
mov ecx, pe_nt_image_headers32
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404be0
push dword [ebp - 0xa4]
push 0x41d2a4
lea eax, [ebp - 0xa8]
call fcn.0041a844
push dword [ebp - 0xa8]
mov eax, dword [ebp + 0x14]
mov edx, 3
call fcn.00404a40
mov eax, dword [ebp - 8]
call fcn.00404980
cmp eax, 0x7ffe
jle 0x41d145
mov eax, dword [ebp + 0x14]
mov edx, 0x41d2b4
call fcn.00404714
cmp word [ebp + 0xa], 0
je 0x41d170
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
lea eax, [ebp - 0xac]
mov ecx, 0x41d2d8
call fcn.004049cc
mov edx, dword [ebp - 0xac]
lea ecx, [ebp - 0x26]
mov eax, dword [ebp + 0xc]
call dword [ebp + 8]
test bl, bl
je 0x41d245
mov esi, 0x64
cmp word [ebp + 0xa], 0
je 0x41d189
mov esi, 1
mov eax, dword [ebp + 0x18]
cmp dword [eax], 0
je 0x41d199
cmp esi, 0xa
jle 0x41d199
sub esi, 0xa
push esi
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x26]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
call fcn.0041cdfc
mov ebx, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x26]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
call fcn.0041cdfc
mov byte [ebp - 0x25], al
cmp byte [ebp - 0x26], 0
je 0x41d1e4
push 0xff
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp - 0x7c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0x103
je 0x41d189
test bl, bl
jne 0x41d189
cmp byte [ebp - 0x25], 0
jne 0x41d189
mov eax, dword [ebp + 0x10]
cdq
push edx
push eax
xor eax, eax
call fcn.004168f4
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x26]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x18]
call fcn.0041cdfc
push dword [ebp + 0xc]
push dword [ebp + 8]
lea ecx, [ebp - 0x26]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x20]
call fcn.0041cdfc
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0
sete byte [ebp - 0xd]
mov ebx, 6
lea esi, [ebp - 4]
mov eax, dword [esi]
push eax
call sub.kernel32.dll_CloseHandle_1
add esi, 4
dec ebx
jne 0x41d24d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41d28d
lea eax, [ebp - 0xac]
mov edx, 4
call fcn.004046e4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046e4
ret