Function at 0x140004ea0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400047bc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14000474a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140004ea0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000478a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x38
call fcn.1400a5850
mov rcx, rbx
test rbx, rbx
jne 0x140004770
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140005b90
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push rsi
push r14
sub rsp, 0x60
mov rbp, r8
mov r14, rdx
mov rsi, rcx
cmp rdx, r8
je 0x14000505e
mov r10, qword [rcx + 0x18]
movabs r11, 0x100000001b3
movups xmm0, xmmword [rdx + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov qword [rax - 0x20], r13
mov r8, qword [rbx + 0x18]
mov qword [rax - 0x28], r15
mov rax, qword [rcx + 8]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
movabs rdx, 0xcbf29ce484222325
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r10
movaps xmmword [rsp + 0x40], xmm0
test r8, r8
je 0x140004f34
mov r9, qword [rsp + 0x40]
nop dword [rax]
movzx eax, byte [rcx + r9]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r8
jb 0x140004f20
mov r15, qword [rsi + 0x30]
and r15, rdx
shl r15, 4
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.1400a5850
dec qword [rsi + 0x10]
cmp rdi, r12
je 0x140004f8a
cmp rbx, rbp
jne 0x140004f50
cmp r13, r14
jne 0x140004f79
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x14000503c
mov r12, qword [rsp + 0x28]
cmp r13, r14
mov r13, qword [rsp + 0x20]
jne 0x140004fa1
mov qword [r15], r12
mov rax, r12
jmp 0x140004fa4
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140005034
movups xmm0, xmmword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
movaps xmmword [rsp + 0x40], xmm0
test r8, r8
je 0x140004ff9
mov r9, qword [rsp + 0x40]
movabs r13, 0x100000001b3
nop
movzx eax, byte [rdx + r9]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r8
jb 0x140004fe0
mov r13, qword [rsp + 0x20]
mov r15, qword [rsi + 0x30]
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x30]
mov r14, qword [r15 + 8]
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.1400a5850
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14000506a
cmp rbx, rbp
jne 0x140005010
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r15, qword [rsp + 0x50]
mov rax, rbp
add rsp, 0x60
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
jne 0x140004fb1
jmp 0x140005034