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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xfd0]
mov eax, 0x10d0
call fcn.1401212c0
sub rsp, rax
movaps xmmword [rsp + 0x10c0], xmm6
mov rax, qword [0x140156040]
xor rax, rsp
mov qword [rbp + 0xfb0], rax
mov rdi, r8
mov rbx, rdx
movdqa xmm0, xmmword [0x140140940]
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140140930]
movdqu xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x140140840]
movdqu xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140140950]
movdqu xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1401408c0]
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x1401409a0]
movdqu xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x140140960]
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x140140a10]
movdqu xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x140140720]
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1401406b0]
movdqu xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x140140820]
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x1401406f0]
movdqu xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x140140990]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x140140770]
movdqu xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x140140850]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x140140970]
movdqu xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x1401409b0]
movdqu xmmword [rbp + 0xb0], xmm0
mov dword [rbp + 0xc0], 0xcad9c2df
mov dword [rbp + 0xc4], 0xdfd9c4d1
mov dword [rbp + 0xc8], 0x978d97de
mov byte [rbp + 0xcc], 0xb0
xor esi, esi
mov ecx, esi
mov r14d, 0xd4cf40b0
movd xmm6, r14d
nop
movsx eax, byte [rbp + rcx - 0x50]
movd xmm0, eax
vpxor xmm1, xmm0, xmm6
movd eax, xmm1
mov byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x11d
jb 0x1400ebb20
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400ebb60
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400d1ed0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400ebb83
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x78]
call fcn.1400d3f20
movdqa xmm0, xmmword [0x140140a20]
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140140920]
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x58], 0xd3c4d1d3
mov dword [rsp + 0x5c], 0x92cdcbd8
mov byte [rsp + 0x60], 0xb0
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rsp + rcx + 0x38]
movd xmm0, eax
vpxor xmm1, xmm0, xmm6
movd eax, xmm1
mov byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x29
jb 0x1400ebbd0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400ebc00
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x78]
call fcn.1400d3f20
movdqa xmm0, xmmword [0x140140940]
movdqu xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x140140930]
movdqu xmmword [rbp - 0x40], xmm1
movdqa xmm0, xmmword [0x140140840]
movdqu xmmword [rbp - 0x30], xmm0
movdqa xmm1, xmmword [0x140140950]
movdqu xmmword [rbp - 0x20], xmm1
movdqa xmm0, xmmword [0x1401408c0]
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x140140a00]
movdqu xmmword [rbp], xmm1
movdqa xmm0, xmmword [0x140140830]
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x140140ba0]
movdqu xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x140140a60]
movdqu xmmword [rbp + 0x30], xmm0
movdqa xmm1, xmmword [0x1401409d0]
movdqu xmmword [rbp + 0x40], xmm1
movdqa xmm0, xmmword [0x1401408a0]
movdqu xmmword [rbp + 0x50], xmm0
movdqa xmm1, xmmword [0x140140710]
movdqu xmmword [rbp + 0x60], xmm1
movdqa xmm0, xmmword [0x1401409e0]
movdqu xmmword [rbp + 0x70], xmm0
movdqa xmm1, xmmword [0x140140760]
movdqu xmmword [rbp + 0x80], xmm1
movdqa xmm0, xmmword [0x140140860]
movdqu xmmword [rbp + 0x90], xmm0
movdqa xmm1, xmmword [0x1401406d0]
movdqu xmmword [rbp + 0xa0], xmm1
movdqa xmm0, xmmword [0x140140700]
movdqu xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x140140750]
movdqu xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x140140a30]
movdqu xmmword [rbp + 0xd0], xmm0
mov dword [rbp + 0xe0], 0x978d97de
mov byte [rbp + 0xe4], 0xb0
mov rcx, rsi
nop dword [rax]
nop dword [rax + rax]
movsx eax, byte [rbp + rcx - 0x50]
movd xmm0, eax
vpxor xmm1, xmm0, xmm6
movd eax, xmm1
mov byte [rbp + rcx - 0x50], al
inc rcx
cmp rcx, 0x135
jb 0x1400ebd40
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400ebd80
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x68]
call fcn.1400d1ed0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1400ebda4
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.1400d3f20
movdqa xmm0, xmmword [0x140140a20]
movdqu xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x140140920]
movdqu xmmword [rsp + 0x48], xmm1
mov dword [rsp + 0x58], 0xd3c4d1d3
mov dword [rsp + 0x5c], 0x92cdcbd8
mov byte [rsp + 0x60], 0xb0
mov rcx, rsi
movd xmm2, r14d
nop dword [rax + rax]
movsx eax, byte [rsp + rcx + 0x38]
movd xmm0, eax
vpxor xmm1, xmm0, xmm2
movd eax, xmm1
mov byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0x29
jb 0x1400ebdf0
lea rax, [rsp + 0x38]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], sil
jne 0x1400ebe20
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.1400d3f20
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 0xf
cmova rdx, qword [rbp - 0x78]
call fcn.1400fadf0
test al, al
jne 0x1400ebe7a
mov byte [rsp + 0x30], sil
lea rdx, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 1
mov rcx, rbx
call fcn.1400d1ed0
jmp 0x1400ebfb2
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 0xf
cmova rdx, qword [rsp + 0x68]
call fcn.1400fadf0
nop
mov rcx, qword [0x14015c990]
xorps xmm0, xmm0
cmp rcx, 0xffffffffffffffff
jne 0x1400ebec8
mov byte [rsp + 0x30], 0
lea rdx, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 1
mov rcx, rbx
call fcn.1400d1ed0
jmp 0x1400ebfb2
movups xmmword [rsp + 0x38], xmm0
movdqa xmm6, xmmword [0x140140550]
movdqu xmmword [rsp + 0x48], xmm6
mov byte [rsp + 0x38], 0
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x1400ebf8b
cmp dword [rsp + 0x34], 0
je 0x1400ebf83
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rbp - 0x50]
mov rcx, qword [0x14015c990]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ebf83
cmp dword [rsp + 0x34], 0
je 0x1400ebf83
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400ebf43
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.1400d3f20
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [0x14015c990]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1400ebf05
movdqa xmm6, xmmword [0x140140550]
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbx + 0x10], xmm1
movdqu xmmword [rsp + 0x48], xmm6
mov byte [rsp + 0x38], 0
lea rcx, [rsp + 0x38]
call fcn.1400d1e20
nop
lea rcx, [rsp + 0x68]
call fcn.1400d1e20
lea rcx, [rbp - 0x78]
call fcn.1400d1e20
mov rcx, rdi
call fcn.1400d1e20
mov rax, rbx
mov rcx, qword [rbp + 0xfb0]
xor rcx, rsp
call fcn.1400fb0b0
lea r11, [rsp + 0x10d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret