Function at 0x40ab50
Capabilities:
Create process on windows
Create process suspended
Delete file

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
push esi
push ebx
mov ebx, eax
lea eax, [ebp - 0x34]
sub esp, 0x6c
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 1
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov dword [esp], str.fdopen.err
call dword [sym.imp.kernel32.dll_CreateFileA]
mov dword [ebx + 0x2c], 0x100
mov esi, dword [sym.imp.kernel32.dll_GetStdHandle]
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
mov dword [esp], 0xfffffff6
call esi
mov dword [ebx + 0x38], eax
mov eax, dword [ebp - 0x3c]
sub esp, 4
mov dword [ebx + 0x3c], eax
mov dword [esp], 0xfffffff4
call esi
mov dword [ebx + 0x40], eax
sub esp, 4
lea eax, [ebp - 0x28]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x4000020
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_CreateProcessA]
sub esp, 0x28
mov dword [esp + 4], 0x60b
mov dword [esp], 0x45a2c0
call fcn.0044c860
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.0044cdb0
mov eax, dword [ebp - 0x3c]
call fcn.0040aad0
mov ecx, dword [ebp + 8]
mov ebx, eax
test ecx, ecx
je 0x40ad31
mov dword [esp + 4], 0x60f
mov edi, str.Success
mov esi, ebx
mov dword [esp], 0x45a2c0
call fcn.0044c860
mov ecx, 8
mov dword [ebp - 0x44], edi
mov edx, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 4], str._s:_Error_file_shouldnt_contain_data_n
mov dword [esp + 8], edx
seta al
sbb al, 0
movsx eax, al
mov dword [esp], eax
call fcn.0044cad0
mov edx, dword [ebp - 0x40]
test edx, edx
je 0x40ad0a
mov eax, dword [ebp - 0x40]
mov edi, str.Success
call fcn.0040aad0
mov dword [esp + 4], 0x617
mov dword [esp], 0x45a2c0
mov ebx, eax
mov esi, ebx
call fcn.0044c860
mov ecx, 8
mov edx, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], str._s:_Wrong_stdout_data___s__n
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044cad0
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
sub esp, 4
mov dword [esp], str.fdopen.err
call dword [sym.imp.kernel32.dll_DeleteFileA]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x611
mov edi, str.Success
mov esi, ebx
mov dword [esp], 0x45a2c0
call fcn.0044c860
mov ecx, 8
mov dword [ebp - 0x44], edi
mov edx, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edx
mov dword [esp + 4], str._s:_Wrong_error_data___s__n
seta al
sbb al, 0
test al, al
sete al
movzx eax, al
mov dword [esp], eax
call fcn.0044cad0
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x40ad0a
mov eax, dword [ebp - 0x40]
call fcn.0040aad0
mov dword [esp + 4], 0x619
mov dword [esp], 0x45a2c0
mov esi, eax
call fcn.0044c860
mov edi, dword [ebp - 0x44]
mov ecx, 8
mov edx, dword [ebp + 0xc]
repe cmpsb byte [esi], byte es:[edi]
mov dword [esp + 8], edx
mov dword [esp + 4], str._s:_Stdout_file_shouldnt_contain_data_n
seta al
sbb al, 0
movsx eax, al
mov dword [esp], eax
call fcn.0044cad0
jmp 0x40ad0a