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

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140036f1d
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140036e9a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rdi
jmp 0x1400372d0
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x40], rsi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x140036ee6
mov qword [rsp + 0x38], rbx
nop dword [rax + rax]
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.14004a8e0
mov edx, 0x40
mov rcx, rsi
call fcn.1400cdbac
mov rsi, rbx
test rbx, rbx
jne 0x140036ec0
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x30]
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 + 0x30], rax
call fcn.14003f440
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
push rbp
push r14
push r15
sub rsp, 0x50
mov rbp, r8
mov r15, rdx
mov r14, rcx
cmp rdx, r8
je 0x1400374c1
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x70], rbx
mov rbx, rdx
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x20], r10
jb 0x140037338
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140037374
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140037360
mov r12, qword [r14 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x88], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.14004a8e0
mov edx, 0x40
mov rcx, rdi
call fcn.1400cdbac
dec qword [r14 + 0x10]
cmp rdi, qword [rsp + 0x88]
je 0x1400373df
cmp rbx, rbp
jne 0x140037393
cmp r13, r15
jne 0x1400373ce
mov qword [r12], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x1400374a8
cmp r13, r15
mov r13, qword [rsp + 0x78]
jne 0x1400373f7
mov rax, qword [rsp + 0x80]
mov qword [r12], rax
jmp 0x1400373fa
mov rax, r13
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x1400374a0
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140037422
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
test r9, r9
je 0x140037459
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r13
cmp rcx, r9
jb 0x140037440
mov r13, qword [rsp + 0x78]
mov r15, qword [r14 + 0x30]
and r15, rdx
shl r15, 4
add r15, qword [rsp + 0x20]
mov r12, qword [r15 + 8]
nop dword [rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.14004a8e0
mov edx, 0x40
mov rcx, rdi
call fcn.1400cdbac
dec qword [r14 + 0x10]
cmp rdi, r12
je 0x1400374ce
cmp rbx, rbp
jne 0x140037470
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x70]
mov r13, qword [rsp + 0x30]
mov rax, rbp
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov rcx, qword [rsp + 0x80]
mov qword [r15], rcx
mov qword [r15 + 8], rcx
cmp rbx, rbp
jne 0x140037410
jmp 0x1400374a0