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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x28], r9
mov rsi, r8
mov qword [rsp + 0x30], rdx
mov r12, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x14005231b
mov rsi, qword [rsi]
movabs rbx, 0xcbf29ce484222325
mov rdx, r12
mov r8, rcx
sub rdx, 1
jae 0x140052339
mov rbp, rbx
jmp 0x1400523c7
movabs rax, 0x100000001b3
mov ecx, r12d
and ecx, 3
cmp rdx, 3
jae 0x140052353
xor edx, edx
jmp 0x140052398
mov rdi, r12
sub rdi, rcx
xor edx, edx
nop dword [rax + rax]
movzx ebp, byte [rsi + rdx]
xor rbp, rbx
imul rbp, rax
movzx ebx, byte [rsi + rdx + 1]
xor rbx, rbp
imul rbx, rax
movzx ebp, byte [rsi + rdx + 2]
xor rbp, rbx
imul rbp, rax
movzx ebx, byte [rsi + rdx + 3]
xor rbx, rbp
imul rbx, rax
add rdx, 4
cmp rdi, rdx
jne 0x140052360
mov rbp, rbx
test rcx, rcx
je 0x1400523c7
add rdx, rsi
xor edi, edi
nop word cs:[rax + rax]
nop
movzx ebp, byte [rdx + rdi]
xor rbp, rbx
imul rbp, rax
add rdi, 1
mov rbx, rbp
cmp rcx, rdi
jne 0x1400523b0
mov rdi, r8
and rbp, qword [r8 + 0x30]
mov r15, qword [r8 + 8]
mov r14, qword [r8 + 0x18]
mov rax, rbp
shl rax, 4
mov r13, rbp
add r13, rbp
mov rbp, qword [r14 + rax]
mov rbx, r15
cmp rbp, r15
je 0x140052410
lea rax, [r13*8]
or rax, 8
mov rax, qword [r14 + rax]
mov rbx, qword [rax]
nop word cs:[rax + rax]
nop dword [rax]
cmp rbp, rbx
je 0x1400524b5
mov rbx, qword [rbx + 8]
cmp r12, qword [rbx + 0x20]
jne 0x140052410
cmp qword [rbx + 0x28], 0xf
jbe 0x140052430
mov rdx, qword [rbx + 0x10]
jmp 0x140052434
lea rdx, [rbx + 0x10]
mov rcx, rsi
mov r8, r12
call fcn.14005ebe0
test eax, eax
jne 0x140052410
mov rsi, qword [rsp + 0x28]
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rcx], rax
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rax + 8], rcx
add qword [rdi + 0x10], 0xffffffffffffffff
mov rax, qword [rsi + 0x28]
cmp rax, 0x10
jb 0x1400524a1
mov rcx, qword [rsi + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x14005249c
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140052570
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.14005a6e0
mov edx, 0x30
mov rcx, rsi
call fcn.14005a6e0
xor ecx, ecx
jmp 0x140052554
mov rbx, qword [rsp + 0x28]
mov rax, qword [rbx]
cmp rax, rbp
je 0x1400524f7
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbp
mov rcx, qword [rbp + 8]
mov qword [rcx], rbx
mov rcx, qword [rbp + 8]
mov rdx, qword [rax + 8]
mov qword [rbp + 8], rdx
mov rdx, qword [rbx + 8]
mov qword [rax + 8], rdx
mov qword [rbx + 8], rcx
mov r15, qword [rdi + 8]
mov r14, qword [rdi + 0x18]
lea rax, [r14 + r13*8]
mov rdx, qword [r14 + r13*8]
cmp rdx, r15
je 0x140052532
mov rcx, rbx
cmp rdx, rbp
je 0x140052547
or r13, 1
mov rax, qword [r14 + r13*8]
mov rax, qword [rax]
mov qword [r14 + r13*8], rax
cmp rax, rbx
je 0x14005254a
mov rcx, qword [rdi + 0x18]
lea rax, [rcx + r13*8]
mov rcx, qword [rcx + r13*8]
mov rcx, qword [rcx + 8]
jmp 0x140052547
mov qword [rax], rbx
shl r13, 3
or r13, 8
add r13, qword [rdi + 0x18]
mov rax, r13
mov rcx, rbx
mov qword [rax], rcx
mov rcx, rdi
call fcn.140052080
mov cl, 1
mov rax, qword [rsp + 0x30]
mov qword [rax], rbx
mov byte [rax + 8], cl
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140066430
ud2