Function at 0x43c721
Capabilities:
Create pipe
Create process on windows
Read file on windows
Read pipe
Terminate process

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
xorps xmm0, xmm0
xor edx, edx
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x9c]
push ebx
push ecx
sub esp, 0x118
mov eax, dword [ecx]
mov dword [ebp - 0xbc], 0xc
mov dword [ebp - 0xb8], edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb4], 1
mov dword [ebp - 0xe8], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0xc8], 0xffffffff
mov dword [ebp - 0xec], eax
mov eax, dword [ecx + 0xc]
mov ecx, 0x10
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0xe0], eax
xor eax, eax
rep stosd dword es:[edi], eax
movups xmmword [ebp - 0xb0], xmm0
mov dword [esp], str._s_____d._______s
call fcn.0042c57c
cmp dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], eax
je 0x43c821
lea eax, [ebp - 0xbc]
mov dword [esp + 0xc], 0x1000
mov dword [esp + 8], eax
lea eax, [ebp - 0xc4]
mov dword [esp + 4], eax
lea eax, [ebp - 0xc8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
sub esp, 0x10
test eax, eax
jne 0x43c814
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x5c], eax
call fcn.0043df77
mov dword [esp], str.Could_not_set_commandline_pipe:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x43cd2e
mov edi, dword [ebp - 0xc4]
mov esi, 0x3101
jmp 0x43c825
xor edi, edi
xor esi, esi
mov eax, dword [ebp - 0xf4]
call fcn.0043adb3
mov ebx, eax
mov eax, dword [ebp - 0xe8]
call fcn.0043adb3
mov dword [ebp - 0x74], esi
mov ecx, 0x11
lea esi, [ebp - 0xa0]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
lea edi, [ebp - 0x5c]
mov dword [ebp - 0xa0], 0x44
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xe8], eax
xor eax, eax
call fcn.0043adb3
mov dword [ebp - 0x54], eax
xor eax, eax
call fcn.0043adb3
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xb0]
mov dword [esp + 0x24], eax
lea eax, [ebp - 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp - 0xe8]
mov dword [esp + 0x14], 0x8000020
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
sub esp, 0x28
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x43c8e5
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
test eax, eax
jne 0x43c8fa
test ebx, ebx
je 0x43c909
mov dword [esp], ebx
call sub.msvcrt.dll_free
jmp 0x43c909
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov dword [ebp - 0x50], eax
jmp 0x43c8ec
cmp dword [ebp - 0xe8], 0
je 0x43c920
mov eax, dword [ebp - 0xe8]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov dword [esp], edi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
push edi
test esi, esi
jne 0x43c95b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x5c], eax
call fcn.0043df77
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xf4]
mov dword [esp], str.Unable_to_launch_command__s:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
jmp 0x43cd2e
mov eax, dword [ebp - 0xec]
or eax, dword [ebp - 0xe0]
je 0x43ccd2
cmp dword [ebp - 0xe0], 0
je 0x43c99c
xor ebx, ebx
mov dword [esp], 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 4], ebx
call fcn.0044a2e0
mov eax, dword [0x4dfd80]
test eax, eax
jns 0x43ca3e
cmp ax, 0x4c7
jne 0x43ca3e
mov dword [esp + 4], 0x4c7
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push ecx
push ecx
test eax, eax
jne 0x43c9e2
call fcn.0043df77
mov dword [esp], str.Could_not_terminate_command:__s
mov dword [esp + 4], eax
jmp 0x43ca2d
mov dword [esp + 4], 0x1388
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edx
push edx
test eax, eax
je 0x43ca0f
cmp eax, 0x102
jne 0x43ca1d
mov dword [esp], str.Command_did_not_terminate_within_timeout_duration
jmp 0x43ca16
mov dword [esp], str.Command_was_terminated_by_user
call fcn.0043d9e0
jmp 0x43ca32
call fcn.0043df77
mov dword [esp], str.Error_while_waiting_for_command_to_be_terminated:__s
mov dword [esp + 4], eax
call fcn.0043d9e0
mov dword [ebp - 0x5c], 0x4c7
jmp 0x43cd2e
xor eax, eax
mov dword [esp + 8], 0x1000
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xcc]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_PeekNamedPipe]
sub esp, 0x18
test eax, eax
je 0x43cca4
mov ebx, dword [ebp - 0xcc]
test ebx, ebx
je 0x43cca4
lea eax, [ebx + 1]
mov dword [esp], eax
call sub.msvcrt.dll_malloc
mov dword [0x524b1c], eax
test eax, eax
je 0x43cc97
lea edx, [ebp - 0xd0]
xor edi, edi
mov dword [esp + 8], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc8]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
sub esp, 0x14
test eax, eax
je 0x43cc97
cmp dword [ebp - 0xd0], 0
mov eax, dword [0x524b1c]
je 0x43cc97
mov edx, dword [ebp - 0xcc]
cmp dword [ebp - 0xe0], 0
mov byte [eax + edx], 0
je 0x43cc79
lea edx, [ebp - 0xc0]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.0042c517
inc eax
je 0x43cc79
mov dword [ebp - 0x5c], 0
xor ebx, ebx
mov edx, dword [0x524b1c]
add edx, ebx
cmp ebx, dword [ebp - 0xcc]
jae 0x43cb45
mov al, byte [edx]
sub eax, 0x30
cmp al, 9
jbe 0x43cb45
inc ebx
jmp 0x43cb29
lea eax, [ebp - 0x5c]
mov dword [esp + 4], 0x4a610e
xor esi, esi
mov dword [esp + 8], eax
mov dword [esp], edx
call sub.msvcrt.dll_sscanf
xor ecx, ecx
mov dword [esp + 0x14], esi
fld dword [0x4a6470]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], 0x2710
fmul dword [ebp - 0x5c]
fld dword [0x4a6474]
fxch st(1)
fcomi st(1)
jae 0x43cbbe
fstp st(1)
fnstcw word [ebp - 0xda]
mov ax, word [ebp - 0xda]
or ah, 0xc
mov word [ebp - 0xdc], ax
fldcw word [ebp - 0xdc]
fistp qword [ebp - 0xe8]
fldcw word [ebp - 0xda]
mov eax, dword [ebp - 0xe8]
mov edx, dword [ebp - 0xe4]
jmp 0x43cbfb
fnstcw word [ebp - 0xda]
fsubrp st(1)
mov ax, word [ebp - 0xda]
or ah, 0xc
mov word [ebp - 0xdc], ax
fldcw word [ebp - 0xdc]
fistp qword [ebp - 0xe8]
fldcw word [ebp - 0xda]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe8]
add edx, 0x80000000
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [ebp - 0xe0]
mov dword [esp], 4
mov dword [esp + 4], eax
call fcn.0044a2e0
mov ecx, dword [ebp - 0xcc]
mov eax, dword [0x524b1c]
inc ebx
cmp ebx, ecx
jae 0x43cc36
mov dl, byte [eax + ebx]
cmp dl, 0xa
je 0x43cc36
cmp dl, 0xd
jne 0x43cc24
inc ebx
cmp ebx, ecx
jae 0x43cc97
mov dl, byte [eax + ebx]
cmp dl, 0xa
je 0x43cc36
cmp dl, 0xd
je 0x43cc36
add eax, ebx
lea edx, [ebp - 0xc0]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp], eax
call fcn.0042c517
inc eax
jne 0x43cb29
add ebx, dword [0x524b1c]
mov dword [esp + 4], ebx
jmp 0x43cc8b
cmp dword [ebp - 0xec], 0
mov eax, dword [0x524b1c]
je 0x43cc97
mov dword [esp + 4], eax
mov dword [esp], 0x4a6112
call fcn.0043d9e0
mov eax, dword [0x524b1c]
mov dword [esp], eax
call sub.msvcrt.dll_free
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edx
push edx
test eax, eax
je 0x43cceb
mov dword [esp], 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
push eax
jmp 0x43c99c
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push edi
push edi
lea eax, [ebp - 0x5c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push esi
push esi
test eax, eax
jne 0x43cd10
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xb0]
mov ebx, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esp], eax
call ebx
push ecx
mov eax, dword [ebp - 0xac]
mov dword [esp], eax
call ebx
push ebx
mov eax, dword [ebp - 0xc4]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x43cd50
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push edx
mov dword [ebp - 0xc4], 0xffffffff
mov eax, dword [ebp - 0xc8]
lea edx, [eax - 1]
cmp edx, 0xfffffffd
ja 0x43cd68
mov dword [esp], eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push eax
mov eax, dword [ebp - 0x5c]
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret