Function at 0x140016120
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.140040880
test eax, eax
jne 0x140016460
mov eax, dword [rdi + 0x4c]
cmp eax, 0x7fffffff
je 0x140016450
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 0x1400161df
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 0x1400161c7
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 0x140016190
jmp 0x1400161dc
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 0x1400161f1
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rcx, qword [rdi + 0x1b8]
test rcx, rcx
je 0x1400162a9
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 0x140016294
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14001624d
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 0x140016294
lea rax, [rbp - 0x29]
cmp rcx, rax
jne 0x14001628a
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 0x1400162a9
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp + 0xf], r12
jmp 0x1400162a9
mov qword [rbx + 0x38], r8
mov qword [rbp + 0xf], r12
jmp 0x1400162a9
test rcx, rcx
je 0x1400162a9
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 0x1400162c8
mov r8, qword [rsi]
movabs rdx, 0xcbf29ce484222325
mov rcx, r12
test r14, r14
je 0x140016304
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 0x1400162f0
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 0x140016388
mov r12, qword [rax + rcx*8]
nop dword [rax]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140016342
mov rdx, qword [rdx]
mov rcx, rsi
cmp r13, 0x10
jb 0x14001634e
mov rcx, qword [rsi]
cmp r14, rax
jne 0x14001635f
mov r8, r14
call fcn.14004dee0
test eax, eax
je 0x14001636a
cmp rbx, r12
je 0x14001637a
mov rbx, qword [rbx + 8]
jmp 0x140016330
mov r9, qword [rbp - 0x59]
mov rdx, qword [rdi + 0x138]
xor r12d, r12d
jmp 0x14001638b
xor r12d, r12d
mov r9, qword [rbp - 0x59]
mov rdx, qword [rdi + 0x138]
mov rbx, r12
test rbx, rbx
je 0x14001639a
cmp rbx, rdx
je 0x14001639a
mov eax, dword [rbx + 0x30]
jmp 0x1400163a0
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 0x1400163cb
mov rcx, qword [r15]
add rcx, 0x88
call fcn.140013c50
cmp byte [rdi + 0x1e8], 0
je 0x1400163f7
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.140016470
nop
mov rcx, rdi
call fcn.1400408a4
nop
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x140016435
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140016435
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140016435
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.14003fdc0
int3
mov ecx, 5
call fcn.14003fdc0
int3