Function at 0x180016210
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 rsi, rcx
mov qword [rbp + 0xf], rdx
mov qword [rbp + 0x17], rcx
call fcn.1800446e0
test eax, eax
jne 0x18001654f
mov eax, dword [rsi + 0x4c]
cmp eax, 0x7fffffff
je 0x18001653f
mov rdi, qword [r15]
mov qword [rbp - 0x39], rdi
mov rcx, qword [rsi + 0x170]
mov rax, qword [rcx]
lea rdx, [rbp - 0x41]
call qword [rax + 0x10]
mov r12, rax
mov qword [rbp + 0x1f], rax
mov rbx, qword [rdi + 0x28]
mov rcx, qword [rdi + 0x30]
cmp rbx, rcx
je 0x1800162e3
lea r14, [rbx + 0x10]
nop word [rax + rax]
mov rdi, qword [rbx]
mov r8, qword [r12]
mov rax, qword [rdi]
mov r13, qword [rax + 0x20]
lea rdx, [rbp - 0x59]
cmp r14, rcx
je 0x1800162d0
mov rax, qword [r8]
mov rcx, r8
call qword [rax + 0x10]
mov rdx, rax
mov rcx, rdi
call r13
add rbx, 0x10
add r14, 0x10
mov rax, qword [rbp - 0x39]
mov rcx, qword [rax + 0x30]
cmp rbx, rcx
jne 0x180016290
jmp 0x1800162e3
mov qword [r12], 0
mov qword [rbp - 0x59], r8
mov rcx, rdi
call r13
nop
mov rcx, qword [r12]
test rcx, rcx
je 0x1800162f6
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rsi + 0x1b8]
xor r12d, r12d
test rcx, rcx
je 0x1800163b1
mov rbx, qword [r15]
lea rax, [rbp - 0x31]
mov qword [rbp - 0x51], rax
mov qword [rbp + 7], r12
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
call qword [rax]
mov r8, rax
mov qword [rbp + 7], rax
add rbx, 0x48
mov rcx, rax
lea rax, [rbp - 0x31]
cmp rbx, rax
je 0x18001639c
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x180016355
mov rax, qword [rcx]
cmp rcx, rbx
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], r12
mov r8, qword [rbp + 7]
mov rcx, r8
test r8, r8
je 0x18001639c
lea rax, [rbp - 0x31]
cmp rcx, rax
jne 0x180016392
mov rax, qword [r8]
mov rdx, rbx
call qword [rax + 8]
mov qword [rbx + 0x38], rax
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1800163b1
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 7], r12
jmp 0x1800163b1
mov qword [rbx + 0x38], r8
mov qword [rbp + 7], r12
jmp 0x1800163b1
test rcx, rcx
je 0x1800163b1
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rdi, qword [r15]
mov r14, qword [rdi + 0x18]
lea r8, [rdi + 8]
mov r13, qword [rdi + 0x20]
cmp r13, 0xf
jbe 0x1800163ca
mov r8, qword [rdi + 8]
movabs rdx, 0xcbf29ce484222325
mov rcx, r12
test r14, r14
je 0x180016404
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r9
inc rcx
cmp rcx, r14
jb 0x1800163f0
mov rcx, qword [rsi + 0x160]
and rcx, rdx
add rcx, rcx
mov rax, qword [rsi + 0x148]
mov rbx, qword [rax + rcx*8 + 8]
cmp rbx, qword [rsi + 0x138]
je 0x180016474
mov r12, qword [rax + rcx*8]
nop word [rax + rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x180016442
mov rdx, qword [rdx]
lea rcx, [rdi + 8]
cmp r13, 0xf
jbe 0x180016450
mov rcx, qword [rdi + 8]
cmp r14, rax
jne 0x180016461
mov r8, r14
call fcn.1800944c0
test eax, eax
je 0x18001646c
cmp rbx, r12
je 0x180016471
mov rbx, qword [rbx + 8]
jmp 0x180016430
xor r12d, r12d
jmp 0x180016477
xor r12d, r12d
mov rbx, r12
test rbx, rbx
je 0x18001648a
cmp rbx, qword [rsi + 0x138]
je 0x18001648a
mov ecx, dword [rbx + 0x30]
jmp 0x180016490
mov ecx, dword [rsi + 0x178]
xchg dword [rdi + 0x40], ecx
mov rcx, qword [r15]
mov eax, dword [rsi + 0x17c]
xchg dword [rcx + 0x44], eax
mov rdx, qword [rsi + 0x1f0]
test rdx, rdx
je 0x1800164ba
mov rcx, qword [r15]
add rcx, 0x88
call fcn.180013aa0
cmp byte [rsi + 0x1e8], 0
je 0x1800164e6
mov rax, qword [r15]
mov qword [rbp - 0x51], rax
mov rax, qword [r15 + 8]
mov qword [rbp - 0x49], rax
mov qword [r15], r12
mov qword [r15 + 8], r12
lea rdx, [rbp - 0x51]
mov rcx, rsi
call fcn.180016870
nop
mov rcx, rsi
call fcn.180044708
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x180016524
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x180016524
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x180016524
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 [rsi + 0x4c], eax
mov ecx, 6
call fcn.1800449f4
int3
mov ecx, 5
call fcn.1800449f4
int3