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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ce50
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x104], edi
mov dword [ebp - 0xf8], edi
push esi
mov edx, str.cmd.exe__C
mov dword [ebp - 0xf8], edi
lea ecx, [ebp - 0x8c]
call fcn.0043c7c0
push esi
mov edx, str.___Got_command_for_executing:
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0043c7c0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
push dword [ebp - 0x30]
cmova edx, dword [ebp - 0x40]
call fcn.0043d6f0
push eax
call fcn.0043c8b0
add esp, 0x10
mov dword [ebp - 0xa0], 0xc
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x98], 1
mov dword [ebp - 0x9c], 0
push 0
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
jne 0x43a312
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push str.____Error_creating_pipe.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00403cc0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
mov ecx, 0x4b0508
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
call fcn.00413370
push eax
call fcn.00410f20
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
add esp, 8
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp ecx, 7
jbe 0x43a2be
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a2b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
push ecx
push edx
call fcn.0046619b
add esp, 8
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x43a8f2
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a8e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
jmp 0x43a8e8
push 0
push 1
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.DLL_SetHandleInformation]
xorps xmm0, xmm0
test eax, eax
jne 0x43a3df
push 0x15
push str.____Pipe_setup_error.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], eax
call fcn.00403cc0
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0xf
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, 0x4b0508
call fcn.00413370
push eax
call fcn.00410f20
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
add esp, 8
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x28]
mov byte [ebp - 0x28], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
cmp ecx, 7
jbe 0x43a2be
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a2b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
jmp 0x43a2b4
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xf4]
movlpd qword [ebp - 0xc8], xmm0
or dword [ebp - 0xc8], 0x100
cmp dword [ebp - 0x78], 7
push ecx
push 0
push 0
push 0
push 1
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0x8c]
cmova eax, dword [ebp - 0x8c]
push 0
push 0
push eax
push 0
movlpd qword [ebp - 0xf0], xmm0
movlpd qword [ebp - 0xe8], xmm0
movlpd qword [ebp - 0xe0], xmm0
movlpd qword [ebp - 0xd8], xmm0
movlpd qword [ebp - 0xd0], xmm0
movlpd qword [ebp - 0xc0], xmm0
mov dword [ebp - 0xf4], 0x44
movups xmmword [ebp - 0xb0], xmm0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x43a4a1
push 0x1b
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
push str.____Error_creating_process.
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
movups xmmword [ebp - 0x28], xmm0
call fcn.00403cc0
mov byte [ebp - 4], 4
jmp 0x43a34a
push dword [ebp - 0x94]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [ebp - 0x64], xmm0
push 0x1023
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
call fcn.00466056
add esp, 4
test eax, eax
je 0x43a90f
lea esi, [eax + 0x23]
and esi, 0xffffffe0
push 0x1000
push 0
push esi
lea edi, [esi + 0x1000]
mov dword [ebp - 0x100], esi
mov dword [esi - 4], eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x5c], edi
call fcn.00468420
add esp, 0xc
mov dword [ebp - 0x60], edi
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
push 0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 6
push eax
push 0x1000
push esi
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x43a5c8
nop dword [eax]
mov edi, dword [ebp - 0x68]
test edi, edi
je 0x43a5c8
mov edx, dword [ebp - 0x44]
mov eax, edx
mov ecx, dword [ebp - 0x48]
sub eax, ecx
push edi
cmp edi, eax
ja 0x43a594
lea eax, [edi + ecx]
cmp edx, 0xf
lea esi, [ebp - 0x58]
mov dword [ebp - 0x48], eax
cmova esi, dword [ebp - 0x58]
mov eax, dword [ebp - 0x100]
add esi, ecx
push eax
push esi
call fcn.00467ea0
mov byte [edi + esi], 0
add esp, 0xc
mov esi, dword [ebp - 0x100]
jmp 0x43a5ab
push esi
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x58]
push dword [ebp - 0xf8]
push edi
call fcn.00404090
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x68]
push 0
push ecx
sub eax, esi
push eax
push esi
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x43a550
push 0xffffffffffffffff
push dword [ebp - 0xb0]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0xb0]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0xac]
call esi
push dword [ebp - 0x90]
call esi
cmp dword [ebp - 0x44], 0xf
lea eax, [ebp - 0x58]
push 0
cmova eax, dword [ebp - 0x58]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0x362
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
xor esi, esi
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
mov dword [ebp - 0xf8], eax
xor edi, edi
movq qword [ebp - 0x74], xmm0
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], edi
test eax, eax
je 0x43a6b5
cmp eax, 0x7fffffff
ja 0x43a914
lea edi, [eax + eax]
cmp edi, 0x1000
jb 0x43a67c
lea eax, [edi + 0x23]
cmp eax, edi
jbe 0x43a919
push eax
call fcn.00466056
add esp, 4
test eax, eax
je 0x43a90f
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x43a68f
test edi, edi
je 0x43a68d
push edi
call fcn.00466056
add esp, 4
mov esi, eax
jmp 0x43a68f
xor esi, esi
mov ecx, dword [ebp - 0xf8]
add edi, esi
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x6c], edi
lea eax, [ecx + ecx]
push eax
push 0
push esi
call fcn.00468420
add esp, 0xc
mov dword [ebp - 0x70], edi
push dword [ebp - 0xf8]
mov byte [ebp - 4], 7
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 0xf
push esi
cmova eax, dword [ebp - 0x58]
push 0xffffffffffffffff
push eax
push 0
push 0x362
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov edi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
push ecx
mov esi, eax
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x1c]
push esi
movq qword [ebp - 0x1c], xmm0
call fcn.0043bfb0
push 0
push 0
push esi
mov esi, dword [ebp - 0xfc]
mov byte [ebp - 4], 8
push dword [ebp - 0x1c]
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call edi
mov edx, str.___Command_executed_successfully._n___Output:_n
mov ecx, 0x4b0508
call fcn.00410c80
mov edx, dword [ebp - 0x1c]
mov ecx, eax
call fcn.00410c80
push eax
call fcn.00410f20
mov edi, dword [ebp - 0x104]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x1c]
add esp, 4
mov ecx, edx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea eax, [ecx + 1]
mov dword [edi + 0x14], 0
mov dword [ebp - 0x104], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43a778
sub ecx, dword [ebp - 0x104]
push ecx
push edx
mov ecx, edi
call fcn.00403cc0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x43a7c2
mov edx, dword [ebp - 0x14]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x43a7b8
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
push edx
push ecx
call fcn.0046619b
add esp, 8
test esi, esi
je 0x43a7f6
mov ecx, dword [ebp - 0x6c]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x43a7ec
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
push ecx
push esi
call fcn.0046619b
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x43a82a
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x43a820
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
push ecx
push edx
call fcn.0046619b
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x100]
sub ecx, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x1000
jb 0x43a865
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
mov eax, edx
push ecx
push eax
call fcn.0046619b
mov ecx, dword [ebp - 0x2c]
add esp, 8
cmp ecx, 7
jbe 0x43a8a5
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a89b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
push ecx
push edx
call fcn.0046619b
add esp, 8
mov ecx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp ecx, 7
jbe 0x43a8f2
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43a8e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a90f
push ecx
push edx
call fcn.0046619b
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
ret
call fcn.0046b31f
call fcn.00403680
call fcn.00401700
int3