Function at 0x140004fd0
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 0x1400048cc
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14000485a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140004fd0
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rcx, qword [rcx]
test rcx, rcx
je 0x14000489a
mov qword [rsp + 0x48], rbx
nop word [rax + rax]
mov rbx, qword [rcx]
mov edx, 0x38
call fcn.1400c4640
mov rcx, rbx
test rbx, rbx
jne 0x140004880
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.140005cf0
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 0x14000518e
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 0x140005064
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 0x140005050
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.1400c4640
dec qword [rsi + 0x10]
cmp rdi, r12
je 0x1400050ba
cmp rbx, rbp
jne 0x140005080
cmp r13, r14
jne 0x1400050a9
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x14000516c
mov r12, qword [rsp + 0x28]
cmp r13, r14
mov r13, qword [rsp + 0x20]
jne 0x1400050d1
mov qword [r15], r12
mov rax, r12
jmp 0x1400050d4
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x140005164
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 0x140005129
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 0x140005110
mov r13, qword [rsp + 0x20]
and rcx, qword [rsi + 0x30]
mov r15, qword [rsp + 0x30]
shl rcx, 4
add r15, rcx
mov r14, qword [r15 + 8]
nop dword [rax]
mov rcx, rbx
mov rdi, rbx
mov rbx, qword [rbx]
mov edx, 0x38
call fcn.1400c4640
dec qword [rsi + 0x10]
cmp rdi, r14
je 0x14000519a
cmp rbx, rbp
jne 0x140005140
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 0x1400050e1
jmp 0x140005164