Function at 0x14000e5e0
Capabilities:
Read file on windows
Read pipe

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3d8]
sub rsp, 0x4b0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14005c018]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov r15, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
xor r12d, r12d
mov r14d, r12d
mov qword [rbp - 0x80], r12
mov ebx, r12d
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x70], r12
mov dword [rbp - 0x68], 8
cmp qword [0x1400600d0], rbx
je 0x14000e756
mov dword [rsp + 0x7c], r12d
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r13d, 0x400
mov r8d, r13d
xor edx, edx
mov rcx, qword [0x1400600f0]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14000e756
mov esi, dword [rsp + 0x7c]
test esi, esi
je 0x14000e756
nop
mov r8d, esi
cmp esi, r13d
cmova r8d, r13d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, qword [0x1400600f0]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000e71f
mov edi, dword [rsp + 0x78]
lea rdx, [rbx + rdi]
lea rcx, [rbp - 0x80]
call fcn.140004390
mov r14, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x78]
test eax, eax
je 0x14000e717
lea rdx, [rbx + r14]
mov rax, r12
test rdi, rdi
je 0x14000e710
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rbp + rax - 0x60]
mov byte [rax + rdx], cl
inc rax
cmp rax, rdi
jb 0x14000e700
add rbx, rdi
mov qword [rbp - 0x78], rbx
sub esi, dword [rsp + 0x78]
jne 0x14000e6a0
jmp 0x14000e72a
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, r13d
xor edx, edx
mov rcx, qword [0x1400600f0]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x14000e693
test rbx, rbx
je 0x14000e824
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 8
test r14, r14
je 0x14000e7b5
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140004390
test eax, eax
je 0x14000e7b5
mov rcx, r12
test rbx, rbx
je 0x14000e7b0
mov rdx, qword [rsp + 0x30]
nop dword [rax + rax]
movzx eax, byte [rcx + r14]
mov byte [rdx + rcx], al
inc rcx
cmp rcx, rbx
jb 0x14000e7a0
mov qword [rsp + 0x38], rbx
mov r9, qword [r15 + 0x28]
add r9, 0x28
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000e870
nop
mov rdx, rax
mov rcx, qword [r15 + 0x28]
call fcn.14000ca30
nop
mov r8, qword [rsp + 0x50]
test r8, r8
je 0x14000e7f3
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], 8
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x14000e824
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
nop
test r14, r14
je 0x14000e83b
mov r8, r14
xor edx, edx
mov rcx, qword [0x1400600f8]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1400111c0
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret