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

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, qword [rcx]
test rsi, rsi
je 0x180040266
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180040266
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [rsp + 0x58], r14
cmp rax, rcx
jbe 0x1800401dd
mov rdx, qword [rsi + 8]
mov rcx, rsi
mov r8, rdx
mov rdx, qword [rdx]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
jmp 0x18004fcd0
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x50], rdi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rdi, qword [rcx]
test rdi, rdi
je 0x18004022a
mov qword [rsp + 0x48], rbx
nop
mov rbx, qword [rdi]
lea rdx, [rdi + 0x10]
lea rcx, [rsi + 8]
call fcn.18003d690
mov edx, 0x58
mov rcx, rdi
call fcn.1800511f0
mov rdi, rbx
test rbx, rbx
jne 0x180040200
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], 0
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.18003e080
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
mov rax, rsp
push rbp
push r15
sub rsp, 0x68
mov qword [rsp + 0x38], rcx
mov rbp, r8
mov r15, rdx
mov r10, rcx
cmp rdx, r8
je 0x18004fed6
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r11, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
lea r14, [rcx + 8]
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r11
jbe 0x18004fd3c
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
test r9, r9
je 0x18004fd74
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, r9
jb 0x18004fd60
mov r12, qword [r10 + 0x30]
and r12, rdx
shl r12, 4
add r12, r11
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
mov rcx, r14
lea rdx, [rdi + 0x10]
call fcn.18003d690
mov edx, 0x58
mov rcx, rdi
call fcn.1800511f0
dec qword [r14 + 8]
cmp rdi, qword [rsp + 0x30]
je 0x18004fdd4
cmp rbx, rbp
jne 0x18004fd90
cmp r13, r15
jne 0x18004fea3
mov qword [r12], rbx
jmp 0x18004fea3
cmp r13, r15
mov r13, qword [rsp + 0x28]
jne 0x18004fde7
mov qword [r12], r13
mov rax, r13
jmp 0x18004fdec
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x18004fea3
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x18004fe12
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x18004fe49
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x18004fe30
mov r13, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
mov r15, qword [rax + 0x30]
and r15, rcx
shl r15, 4
add r15, qword [rsp + 0x40]
mov r12, qword [r15 + 8]
nop dword [rax]
nop word [rax + rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
mov rcx, r14
lea rdx, [rdi + 0x10]
call fcn.18003d690
mov edx, 0x58
mov rcx, rdi
call fcn.1800511f0
dec qword [r14 + 8]
cmp rdi, r12
je 0x18004fee1
cmp rbx, rbp
jne 0x18004fe70
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov r14, qword [rsp + 0x50]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x88]
mov rax, rbp
add rsp, 0x68
pop r15
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
jne 0x18004fe00
jmp 0x18004fea3