Function at 0x140002e34
Capabilities:
Access peb ldr_data
Create pipe
Encode data using xor
Hash data using fnv
Read file on windows
Read pipe
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x14003a020]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x58], rcx
call fcn.140001f90
mov rcx, rax
xor r15d, r15d
test rax, rax
je 0x1400031ed
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 8], rbx
mov dword [rsp + 0x78], 0x18
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x78], 1
mov qword [rbp - 0x80], r15
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140002ed9
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.1400047d4
nop
lea rdx, [rbx - 0x18]
jmp 0x140003017
mov dword [rbp - 0x70], 0x68
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x68]
call fcn.14000ba30
mov dword [rbp - 0x34], 0x101
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov word [rbp - 0x30], r15w
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r8, qword [rax + 0x30]
movsxd rcx, dword [r8 + 0x3c]
mov r10d, dword [rcx + r8 + 0x88]
add r10, r8
cmp r10, r8
je 0x140002f8e
mov r9d, dword [r10 + 0x18]
test r9d, r9d
je 0x140002f8e
mov esi, dword [r10 + 0x20]
dec r9d
lea rcx, [rsi + r9*4]
mov edx, dword [rcx + r8]
add rdx, r8
mov r11d, 0x4a3ddc34
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x140002f89
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x140002f6a
cmp r11d, 0x16225c7e
je 0x140002f93
test r9d, r9d
jne 0x140002f4d
mov rax, qword [rax]
jmp 0x140002f28
mov ecx, dword [r10 + 0x1c]
add rcx, r8
mov eax, dword [r10 + 0x24]
add rax, r8
movzx eax, word [rax + r9*2]
mov r10d, dword [rcx + rax*4]
add r10, r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
xor ecx, ecx
call r10
test eax, eax
jne 0x140003036
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.1400047d4
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400031c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400031c4
mov r14d, 0x3ff
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov r9, qword [rax + 0x30]
movsxd rcx, dword [r9 + 0x3c]
mov r10d, dword [rcx + r9 + 0x88]
add r10, r9
cmp r10, r9
je 0x1400030b3
mov r8d, dword [r10 + 0x18]
test r8d, r8d
je 0x1400030b3
mov esi, dword [r10 + 0x20]
dec r8d
lea rcx, [rsi + r8*4]
mov edx, dword [rcx + r9]
add rdx, r9
mov r11d, 0x59237479
mov cl, byte [rdx]
inc rdx
test cl, cl
je 0x1400030ae
movsx ecx, cl
xor ecx, r11d
imul r11d, ecx, 0x1000193
mov cl, byte [rdx]
inc rdx
test cl, cl
jne 0x14000308f
cmp r11d, 0x3bcbf168
je 0x1400030b8
test r8d, r8d
jne 0x140003072
mov rax, qword [rax]
jmp 0x14000304d
mov ecx, dword [r10 + 0x1c]
add rcx, r9
mov eax, dword [r10 + 0x24]
add rax, r9
movzx eax, word [rax + r8*2]
mov r8d, dword [rcx + rax*4]
add r8, r9
mov edx, 0x32
mov rcx, qword [rsp + 0x60]
call r8
test eax, eax
sete bl
jmp 0x140003137
mov r8d, dword [rbp]
test r8d, r8d
je 0x140003164
cmp r8d, r14d
cmova r8d, r14d
mov qword [rsp + 0x20], r15
lea r9, [rbp + 4]
lea rdx, [rbp + 0x10]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140003164
mov eax, dword [rbp + 4]
test eax, eax
je 0x140003164
cmp rax, 0x400
jae 0x1400031f8
mov byte [rbp + rax + 0x10], r15b
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 8]
call fcn.140004698
mov qword [rsp + 0x28], r15
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov dword [rbp + 4], r15d
mov dword [rbp], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x1400030e6
test bl, bl
je 0x14000303c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.1400047d4
nop
mov rdx, qword [rbp + 8]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400031c4
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov rax, rdi
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.1400092c0
mov rbx, qword [rsp + 0x560]
add rsp, 0x520
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140001e94
nop
call fcn.140009658
nop
int3