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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0xc
call fcn.004e0828
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 0x48
call fcn.004e0828
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x12
rep stosd dword es:[edi], eax
push 0x10
call fcn.004e0828
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 0xc
call fcn.004e0828
add esp, 4
mov dword [ebp - 0x24], eax
mov edi, eax
mov esi, 0x618c3a
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0xc
mov ebx, dword [ebp - 4]
add ebx, 4
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 1
mov dword [ebp - 0x30], esp
push 0
push dword [ebp - 4]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c1c1
push 0x84
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov dword [ebx], 0x44
mov ebx, dword [ebp - 0x10]
add ebx, 0x2c
mov dword [ebp - 0x30], ebx
push 0x80000301
push 0
push 0x100
push 0x80000301
push 0
push 1
push 2
mov ebx, 0xc8
call fcn.004e3710
add esp, 0x1c
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x30
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x30]
mov word [ebx], 0
mov ebx, dword [ebp - 0x10]
add ebx, 0x40
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0x44
mov dword [ebp - 0x30], ebx
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push 0
mov ebx, 0x8d4
call fcn.004e81a0
add esp, 4
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jg 0x41c464
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.command.com__c
mov ecx, 2
call fcn.00401b2b
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.004e0828
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 0x30]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41c397
push 0x206
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0041c056
call fcn.0041c056
call fcn.0041c056
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004e082e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c45f
push ebx
call fcn.004e082e
add esp, 4
jmp 0x41c669
mov ebx, dword [ebp + 8]
push dword [ebx]
push str.cmd.exe__c
mov ecx, 2
call fcn.00401b2b
add esp, 8
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
push eax
push 0x44
call fcn.004e0828
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push 0
push 0
push 0
push 1
push 0
push 0
push dword [ebp - 0x30]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41c5a1
push 0x290
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.0041c056
call fcn.0041c056
call fcn.0041c056
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
call fcn.004e082e
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c669
push ebx
call fcn.004e082e
add esp, 4
mov dword [ebp - 0x30], esp
push dword [ebp - 0xc]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c695
push 0x2fc
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
cmp dword [ebp - 0x18], 0xffffffff
je 0x41c9ad
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c6e3
push 0x34c
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x41c920
push 0x80000301
push 0
push 0x400
push 1
mov ebx, 0x1bc
call fcn.004e4310
add esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41c722
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0x3ff
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41c741
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c76b
push 0x3fd
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
push 0
push 0
push 0
push 0x80000301
push 0
push 0xa
push VariantClear
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41c790
mov eax, 0x617d55
push eax
push 3
mov ebx, 0x19c
call fcn.004e46b0
add esp, 0x28
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
cmp ecx, 0x80000004
je 0x41c7ce
push 0x450
push 0x40d7369
push 5
call fcn.004e0834
add esp, 0xc
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41c7e2
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x41c8ed
mov ebx, dword [ebp - 0x24]
call fcn.004023f4
mov eax, 0
cmp eax, ecx
jl 0x41c827
push 0x4b8
push 0x40d7369
push 1
call fcn.004e0834
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_lstrcpyn]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41c863
push 0x4d7
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebp - 0x30], esp
push 0
push 1
mov ebx, dword [ebp - 0x24]
call fcn.004023f4
push ebx
push dword [ebp + 0xc]
mov eax, 0x618bed
test eax, eax
je 0x41c88d
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.USER32.dll_CallWindowProcA]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c8b4
push 0x514
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
test eax, eax
je 0x41c8ed
mov dword [ebp - 0x30], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c8e8
push 0x7b1
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
jmp 0x41c9ad
push dword [ebp - 0x20]
push dword [ebp - 0x28]
mov ecx, 2
call fcn.00401b2b
add esp, 8
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41c917
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
jmp 0x41c996
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], esp
lea eax, [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0x30]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x41c958
push 0x831
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
cmp dword [ebp - 0x2c], 0x103
je 0x41c996
mov dword [ebp - 0x30], esp
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x41c991
push 0x891
push 0x40d7369
push 6
call fcn.004e0834
add esp, 0xc
jmp 0x41c9ad
push 0
mov ebx, 0x350
call fcn.004e4500
add esp, 4
jmp 0x41c695
push VariantClear
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x41c9c0
mov eax, 0x51934a
push eax
push 1
mov ebx, 0x198
call fcn.004e38f0
add esp, 0x10
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
call fcn.0040b6ad
mov dword [ebp - 0x34], eax
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x41c9f2
push ebx
call fcn.004e082e
add esp, 4
mov eax, dword [ebp - 0x34]
jmp 0x41c9fa
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ca1e
push ebx
call fcn.004e082e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ca32
push ebx
call fcn.004e082e
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x41ca46
push ebx
call fcn.004e082e
add esp, 4
pop ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41ca6b
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x41ca7b
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.004e082e
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41ca97
push ebx
call fcn.004e082e
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc