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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov r15, rdx
mov rdi, rcx
mov qword [rbp + 0x17], rdx
mov qword [rbp + 0x1f], rcx
call fcn.140040d0c
test eax, eax
jne 0x1400167e0
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
je 0x1400167d0
mov r13, qword [r15]
mov rcx, qword [rdi + 0x170]
mov rax, qword [rcx]
lea rdx, [rbp - 0x41]
call qword [rax + 0x10]
mov r14, rax
mov qword [rbp - 0x59], rax
mov rcx, qword [r13 + 0x28]
mov rdx, qword [r13 + 0x30]
xor r12d, r12d
cmp rcx, rdx
je 0x14001655f
lea rbx, [rcx + 0x10]
mov rsi, qword [rcx]
mov rcx, qword [r14]
mov rax, qword [rsi]
mov r12, qword [rax + 0x20]
cmp rbx, rdx
je 0x140016547
mov rax, qword [rcx]
lea rdx, [rbp - 0x49]
call qword [rax + 0x10]
mov rdx, rax
mov rcx, rsi
call r12
mov rcx, rbx
mov rdx, qword [r13 + 0x30]
cmp rbx, rdx
jne 0x140016510
jmp 0x14001655c
mov qword [r14], 0
mov qword [rbp - 0x51], rcx
lea rdx, [rbp - 0x51]
mov rcx, rsi
call r12
xor r12d, r12d
mov rcx, qword [r14]
test rcx, rcx
je 0x140016571
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rdi + 0x1b8]
test rcx, rcx
je 0x140016629
mov rbx, qword [r15]
lea rax, [rbp - 0x29]
mov qword [rbp - 0x59], rax
mov qword [rbp + 0xf], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax]
mov r8, rax
mov qword [rbp + 0xf], rax
add rbx, 0x48
mov rcx, rax
lea rax, [rbp - 0x29]
cmp rbx, rax
je 0x140016614
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400165cd
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], r12
mov r8, qword [rbp + 0xf]
mov rcx, r8
test r8, r8
je 0x140016614
lea rax, [rbp - 0x29]
cmp rcx, rax
jne 0x14001660a
mov rax, qword [r8]
mov rdx, rbx
call qword [rax + 8]
mov qword [rbx + 0x38], rax
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140016629
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xf], r12
jmp 0x140016629
mov qword [rbx + 0x38], r8
mov qword [rbp + 0xf], r12
jmp 0x140016629
test rcx, rcx
je 0x140016629
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov r9, qword [r15]
mov qword [rbp - 0x59], r9
lea rsi, [r9 + 8]
mov r14, qword [rsi + 0x10]
mov r8, rsi
mov r13, qword [rsi + 0x18]
cmp r13, 0x10
jb 0x140016648
mov r8, qword [rsi]
movabs rdx, 0xcbf29ce484222325
mov rcx, r12
test r14, r14
je 0x140016684
movabs r10, 0x100000001b3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r14
jb 0x140016670
mov rcx, qword [rdi + 0x160]
and rcx, rdx
add rcx, rcx
mov rax, qword [rdi + 0x148]
mov rbx, qword [rax + rcx*8 + 8]
mov rdx, qword [rdi + 0x138]
cmp rbx, rdx
je 0x140016708
mov r12, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400166c2
mov rdx, qword [rdx]
mov rcx, rsi
cmp r13, 0x10
jb 0x1400166ce
mov rcx, qword [rsi]
cmp r14, rax
jne 0x1400166df
mov r8, r14
call fcn.14004f4c0
test eax, eax
je 0x1400166ea
cmp rbx, r12
je 0x1400166fa
mov rbx, qword [rbx + 8]
jmp 0x1400166b0
mov r9, qword [rbp - 0x59]
mov rdx, qword [rdi + 0x138]
xor r12d, r12d
jmp 0x14001670b
xor r12d, r12d
mov r9, qword [rbp - 0x59]
mov rdx, qword [rdi + 0x138]
mov rbx, r12
test rbx, rbx
je 0x14001671a
cmp rbx, rdx
je 0x14001671a
mov eax, dword [rbx + 0x30]
jmp 0x140016720
mov eax, dword [rdi + 0x178]
xchg dword [r9 + 0x40], eax
mov rcx, qword [r15]
mov eax, dword [rdi + 0x17c]
xchg dword [rcx + 0x44], eax
mov rdx, qword [rdi + 0x1f0]
test rdx, rdx
je 0x14001674b
mov rcx, qword [r15]
add rcx, 0x88
call fcn.140013fd0
cmp byte [rdi + 0x1e8], 0
je 0x140016777
mov rax, qword [r15]
mov qword [rbp - 0x39], rax
mov rax, qword [r15 + 8]
mov qword [rbp - 0x31], rax
mov qword [r15], r12
mov qword [r15 + 8], r12
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1400167f0
nop
mov rcx, rdi
call fcn.140040d30
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x1400167b5
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400167b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400167b5
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
dec eax
mov dword [rdi + 0x4c], eax
mov ecx, 6
call fcn.1400402d0
int3
mov ecx, 5
call fcn.1400402d0
int3