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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1450]
mov eax, 0x1550
call fcn.1400c3620
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1588], rbx
mov rax, qword [0x140150010]
xor rax, rsp
mov qword [rbp + 0x1440], rax
mov rsi, r9
mov rbx, r8
mov r14d, edx
mov r8, rcx
mov edx, 0x208
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x4c]
call fcn.1400c0ee0
mov dword [rbp - 0x50], 0x68
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
mov edi, r15d
test rsi, rsi
setne dil
test rsi, rsi
je 0x14004beee
mov qword [rbp - 0x68], reloc.OLEAUT32.dll_SafeArrayGetElement
mov qword [rbp - 0x58], 1
mov qword [rbp - 0x60], r15
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_namedpipe_l1_1_0.dll_CreatePipe]
test eax, eax
jne 0x14004bec4
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x14004c10f
movzx eax, ax
or eax, 0x80070000
jmp 0x14004c10f
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_SetHandleInformation]
test eax, eax
je 0x14004bea9
mov rax, qword [rsp + 0x78]
mov qword [rbp + 0x10], rax
mov qword [rbp + 8], rax
or dword [rbp - 0x14], 0x100
lea rcx, [rbp + 0x30]
call fcn.14004ad20
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
jne 0x14004bf67
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x30]
mov r8d, 0x23e1
lea rdx, str.CreateCommandProcess
lea rcx, str._s__d_CreateProcess_szCmd_s_bGetProcessConsoleOutput_d_GetLastError_d
call fcn.14005c7e0
xor eax, eax
jmp 0x14004c10f
test r14d, r14d
je 0x14004bf7b
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test rbx, rbx
je 0x14004bf8d
mov rdx, rbx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test rsi, rsi
je 0x14004c10a
mov dword [rbp + 0x20], r15d
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x440]
call fcn.1400c0ee0
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x20]
mov r8d, 0x1000
lea rdx, [rbp + 0x440]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_ReadFile]
test eax, eax
jne 0x14004c007
mov r8d, 0x23fd
lea rdx, str.CreateCommandProcess
lea rcx, str._s__d_PRINT_ON_FALSE
call fcn.14005c7e0
xor eax, eax
jmp 0x14004c10f
test rsi, rsi
je 0x14004c0ea
lea rax, [rsp + 0x50]
mov qword [rsp + 0x68], rax
call fcn.140004f00
mov rcx, rax
test rax, rax
je 0x14004c135
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x440]
lea rcx, [rsp + 0x50]
call fcn.14000be00
test al, al
jne 0x14004c061
lea rdx, [rbp + 0x440]
lea rcx, [rsp + 0x50]
call fcn.14000bf40
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140053d30
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rsi]
sub rbx, 0x18
mov edi, 0xffffffff
cmp rcx, rbx
je 0x14004c0ce
cmp dword [rbx + 0x10], 0
jl 0x14004c0c1
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14004c0c1
call fcn.140006ba0
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14004c0b8
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r14 + 0x18]
mov qword [rsi], rax
jmp 0x14004c0ce
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.140004940
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14004c0ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004c0fa
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14004c10a
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rbp + 0x1440]
xor rcx, rsp
call fcn.1400ba610
mov rbx, qword [rsp + 0x1588]
add rsp, 0x1550
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005030
int3