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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x208]
sub rsp, 0x308
mov rax, qword [0x140088008]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
and dword [rdx + 0x58], 0xfffdffff
mov rsi, rcx
mov rcx, qword [rdx + 0x128]
mov rdi, r8
mov rbx, rdx
test rcx, rcx
je 0x14001ac16
call fcn.140018950
mov eax, dword [rbx + 0x58]
mov ecx, dword [rdi + 0x40]
and eax, 0x100
mov qword [rsp + 0x300], r14
test ecx, ecx
jns 0x14001ac6a
test eax, eax
je 0x14001af4c
movups xmm0, xmmword [0x14007aa28]
movaps xmmword [rsp + 0x40], xmm0
call qword [0x140096998]
cmp eax, 0x3e3
je 0x14001af4c
lea r9, [rsp + 0x40]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.14001ab30
jmp 0x14001af4c
test eax, eax
je 0x14001af32
xor r14d, r14d
nop word [rax + rax]
mov rcx, qword [rbx + 0x118]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], r14
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14001af06
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14001af32
cmp dword [rbx + 0x110], r14d
je 0x14001ae4f
mov rcx, qword [rbx + 0x1e8]
test rcx, rcx
jne 0x14001ae46
lea r8d, [rcx + 0x10]
mov qword [rsp + 0x20], r14
mov rcx, qword [rbx + 0x118]
lea r9, [rsp + 0x34]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001af06
mov eax, dword [rsp + 0x60]
test al, 2
je 0x14001ae2b
mov rcx, qword [rbx + 0x118]
lea r9, [rsp + 0x34]
mov r8d, 0x278
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001af06
mov edi, dword [rsp + 0x60]
mov ecx, 0x290
and edi, 4
call qword [fcn.14002e1e4]
mov r9, rax
test rax, rax
je 0x14001af98
mov rdx, rax
lea rcx, [rsp + 0x70]
mov r8d, 4
nop
lea rdx, [rdx + 0x80]
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x80]
movups xmmword [rdx - 0x80], xmm0
movups xmm1, xmmword [rcx - 0x70]
movups xmmword [rdx - 0x70], xmm1
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx - 0x60], xmm0
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx - 0x50], xmm1
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx - 0x40], xmm0
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx - 0x30], xmm1
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx - 0x20], xmm0
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx - 0x10], xmm1
sub r8, 1
jne 0x14001ad60
movups xmm0, xmmword [rcx]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdx + 0x60], xmm0
mov rax, qword [rcx + 0x70]
lea rcx, [r9 + 0x278]
mov qword [rdx + 0x70], rax
lea rax, [rbx + 0x1f0]
mov dword [r9 + 0x288], edi
mov qword [rcx], rax
mov rax, qword [rbx + 0x1f8]
mov qword [r9 + 0x280], rax
mov qword [rax], rcx
mov eax, dword [rsp + 0x60]
mov qword [rbx + 0x1f8], rcx
inc dword [rbx + 0x200]
test al, 1
je 0x14001ae40
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x1e8], rax
jmp 0x14001aed6
mov eax, dword [rsp + 0x30]
jmp 0x14001ae4f
cmp eax, ecx
cmovae eax, ecx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], r14
lea r8, [rsp + 0x50]
mov dword [rsp + 0x40], r14d
mov rcx, rbx
movaps xmm0, xmmword [rsp + 0x40]
mov edx, eax
movdqa xmmword [rsp + 0x50], xmm0
call qword [rbx + 0x68]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14001aef2
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14001aef2
mov r8d, dword [rsp + 0x30]
lea r9, [rsp + 0x34]
mov rcx, qword [rbx + 0x118]
cmp eax, r8d
mov qword [rsp + 0x20], r14
cmovb r8d, eax
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001aee5
mov ecx, dword [rsp + 0x34]
cmp dword [rbx + 0x110], r14d
je 0x14001aebe
sub qword [rbx + 0x1e8], rcx
mov rdx, rcx
lea r8, [rsp + 0x50]
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x34], eax
jbe 0x14001af32
test dword [rbx + 0x58], 0x100
jne 0x14001ac80
jmp 0x14001af32
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x14001af12
lea r8, [rsp + 0x50]
mov rdx, 0xfffffffffffff024
mov rcx, rbx
call qword [rbx + reloc.WS2_32.dll_WSASetLastError]
jmp 0x14001af32
movups xmm0, xmmword [0x14007aa28]
movaps xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e3
je 0x14001af32
lea r9, [rsp + 0x40]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call fcn.14001ab30
mov eax, dword [rbx + 0x58]
and eax, 0x20100
cmp eax, 0x100
jne 0x14001af4c
mov rdx, rbx
mov rcx, rsi
call fcn.14001a910
mov ecx, dword [rbx + 0x78]
mov eax, dword [rbx + 0x58]
dec ecx
mov dword [rbx + 0x78], ecx
test al, 1
je 0x14001af75
test ecx, ecx
jne 0x14001af75
test al, 8
jne 0x14001af75
or eax, 8
mov dword [rbx + 0x58], eax
mov rax, qword [rsi + 0x50]
mov qword [rbx + 0x50], rax
mov qword [rsi + 0x50], rbx
mov r14, qword [rsp + 0x300]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140028de0
add rsp, 0x308
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rdx, str.uv__malloc
mov ecx, recv
call fcn.140018e70
int3