Function at 0x414120
Capabilities:
Create pipe
Create process on windows

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
mov esi, ecx
mov ebp, edx
sub esp, 0x58c
mov dword [esp + 4], 0x105
mov eax, dword [edx]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
call fcn.004caf10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5a0]
mov dword [esp + 4], esi
mov dword [esp], str.Starting_subprocess:_____s__s_____in_folder__s_
mov dword [esp + 8], eax
call fcn.004cc080
mov ebx, eax
mov dword [esp + 4], eax
mov eax, dword [0x522674]
mov dword [esp], eax
call fcn.00435c70
mov dword [esp], ebx
xor ebx, ebx
call fcn.004cd6d0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0x1c
call fcn.004cd640
lea ecx, [eax + 4]
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 0x18], 0
xor edx, edx
and ecx, 0xfffffffc
sub eax, ecx
add eax, 0x1c
and eax, 0xfffffffc
mov dword [ecx + edx], ebx
add edx, 4
cmp edx, eax
jb 0x4141bd
lea eax, [esp + 0xcc]
mov dword [esp + 0xcc], 0x94
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
sub esp, 4
cmp dword [esp + 0xdc], 2
je 0x414550
mov dword [esp + 0x6c], 0
lea eax, [esp + 0x58]
lea esi, [esp + 0x68]
mov dword [esp + 0x68], 0xc
mov dword [esp + 0x70], 1
mov dword [esp + 0xc], 0x10000
mov dword [esp + 4], eax
lea eax, [esp + 0x5c]
mov dword [esp + 8], esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
mov dword [esp + 0x38], 1
jne 0x414250
mov eax, dword [esp + 0x38]
add esp, 0x58c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x60]
mov dword [esp + 0xc], 0x10000
mov dword [esp + 8], esi
mov dword [esp + 4], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
je 0x414595
lea eax, [esp + 0x64]
mov dword [esp + 0xc], 0x10000
mov dword [esp + 8], esi
mov dword [esp + 4], eax
lea eax, [esp + 0x54]
mov dword [esp], eax
call ebx
sub esp, 0x10
test eax, eax
je 0x4145c2
lea eax, [esp + 0x88]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
xor eax, eax
sub esp, 4
mov word [esp + 0xb8], ax
mov eax, dword [esp + 0x60]
mov dword [esp + 0xb4], 0x101
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc0], eax
mov eax, dword [edi]
lea ebx, [eax + 0x10]
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 0x40], eax
call eax
mov esi, dword [esp + 0x50]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
call eax
mov edx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp], eax
mov ebx, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call ebx
sub esp, 0x1c
test eax, eax
je 0x414650
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call esi
mov eax, dword [edi]
sub esp, 4
lea edx, [eax + 0x14]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
call eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
call ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
call ebx
sub esp, 0x1c
test eax, eax
je 0x414600
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call esi
mov eax, dword [edi]
sub esp, 4
lea edx, [eax + 0x18]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
call eax
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
call ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp], eax
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
mov dword [esp + 4], ecx
call ebx
sub esp, 0x1c
test eax, eax
je 0x4146a3
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call esi
sub esp, 4
mov ebx, dword [esp + 0x3c]
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, ebx
cmp ebx, eax
je 0x414480
movzx edx, byte [eax]
cmp dl, 0x20
je 0x4146f2
cmp dl, 0x5c
mov ecx, dword [esp + 0x3c]
jne 0x414475
jmp 0x4146f2
movzx edx, byte [eax]
cmp dl, 0x5c
je 0x4146f2
cmp dl, 0x20
je 0x4146f2
sub eax, 1
cmp ecx, eax
jne 0x414460
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x5a0]
mov dword [esp + 8], eax
lea eax, [esp + 0xcc]
mov dword [esp + 4], 0x4e453c
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call sub.msvcrt.dll_sprintf
mov dword [esp + 4], 0x105
mov eax, dword [ebp]
mov ebx, dword [edi]
mov dword [esp], eax
call fcn.004caf10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x88]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 0x10
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
sub esp, 0x28
test eax, eax
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
je 0x4146fa
call esi
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0x38], 0
jmp 0x414241
lea ebx, [esp + 0x74]
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
sub esp, 8
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
sub esp, 0x10
mov dword [esp + 0x6c], ebx
jmp 0x4141fb
mov eax, dword [esp + 0x5c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x38]
add esp, 0x58c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x5c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x414241
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call esi
sub esp, 4
jmp 0x414241
mov eax, dword [esp + 0x5c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp], eax
call ebx
sub esp, 4
jmp 0x414241
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call esi
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call esi
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call esi
sub esp, 4
jmp 0x414241
add eax, 1
jmp 0x414480
call esi
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x60]
mov dword [esp], eax
call esi
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x10]
mov dword [esp], eax
call esi
sub esp, 4
mov eax, dword [esp + 0x64]
mov dword [esp], eax
call esi
mov eax, dword [edi]
sub esp, 4
mov eax, dword [eax + 0x14]
mov dword [esp], eax
call esi
sub esp, 4
mov dword [esp + 0x38], 1
jmp 0x414241