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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404ead
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x409040]
xor eax, ebp
mov dword [ebp - 0x14], 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 - 0xd4], edi
mov dword [ebp - 0xcc], edi
push 0x40
lea eax, [ebp - 0xc4]
mov dword [ebp - 0xcc], edi
push 0
push eax
mov dword [ebp - 0xc8], 0x44
call sub.VCRUNTIME140.dll_memset
push esi
mov edx, 0x406308
lea ecx, [ebp - 0x3c]
call fcn.00402f50
add esp, 0x10
push 0
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x6c], 0xc
push eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x68], 0
push eax
mov dword [ebp - 0x64], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x401f87
push 0x406215
mov ecx, edi
call fcn.00402c30
jmp 0x4021e8
push 0
push 1
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x401fa9
push 0x406215
mov ecx, edi
call fcn.00402c30
jmp 0x4021e8
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x60]
push 2
push 1
push 0
push eax
call esi
push eax
push dword [ebp - 0x58]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x401fdd
push 0x406215
mov ecx, edi
call fcn.00402c30
jmp 0x4021e8
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x7c]
cmp dword [ebp - 0x28], 0xf
push ecx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x60]
push ecx
push 0
push 0
push 0x8000000
push 1
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x3c]
cmova eax, dword [ebp - 0x3c]
push 0
push 0
push eax
push str.C:WindowsSystem32cmd.exe
mov dword [ebp - 0x9c], 0x100
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x58]
test eax, eax
jne 0x40204f
call esi
push dword [ebp - 0x60]
call esi
push 0x406215
mov ecx, edi
call fcn.00402c30
jmp 0x4021e8
call esi
push dword [ebp - 0x60]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
push 0x1023
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.00403df5
add esp, 4
test eax, eax
je 0x402238
lea esi, [eax + 0x23]
and esi, 0xffffffe0
push 0x1000
push 0
push esi
mov dword [esi - 4], eax
lea eax, [esi + 0x1000]
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x18], eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
push 0
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
push eax
push 0x1000
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40217f
xor ecx, ecx
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x402179
mov edx, dword [ebp - 0x40]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x402143
push dword [ebp - 0xd0]
cmp edx, 0xf
lea esi, [ebp - 0x54]
lea eax, [edi + ecx]
cmova esi, dword [ebp - 0x54]
add esi, ecx
mov dword [ebp - 0x44], eax
push esi
call sub.VCRUNTIME140.dll_memmove
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0xd0]
jmp 0x40215a
push esi
mov byte [ebp - 0xcc], 0
lea ecx, [ebp - 0x54]
push dword [ebp - 0xcc]
push edi
call fcn.00403070
push 0
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x18]
sub eax, esi
push eax
push esi
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402179
mov ecx, dword [ebp - 0x44]
jmp 0x402103
mov edi, dword [ebp - 0xd4]
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
sub ecx, esi
mov dword [edi + 0x14], 0
movups xmm0, xmmword [ebp - 0x54]
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x44]
movq qword [edi + 0x10], xmm0
cmp ecx, 0x1000
jb 0x4021de
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x402238
mov esi, edx
push ecx
push esi
call fcn.0040418b
add esp, 8
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x402218
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40220e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402238
push ecx
push edx
call fcn.0040418b
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 - 0x14]
xor ecx, ebp
call fcn.00403de7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3