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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x90
mov rdi, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [r8]
cmp dword [rax + 0x80], 1
jne 0x140085b7a
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
nop dword [rax + rax]
mov qword [rbp - 0x29], rsi
mov r15, qword [rdi]
add r15, 0xc8
mov r8, r15
lea rdx, [rbp + 0x67]
lea rcx, [rsi + 8]
call fcn.140085878
lea r14, [rsi + 0x10]
mov rdx, qword [r14]
mov rax, qword [rbp + 0x67]
cmp rax, rdx
je 0x140085b84
mov qword [rbp - 0x21], rax
lea r14, [rax + 0x20]
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movzx eax, byte [rbp + rdx + 0x6f]
xor rcx, rax
movabs r8, 0x100000001b3
imul rcx, r8
inc rdx
cmp rdx, 8
jb 0x140085a06
mov rdx, qword [r14 + 0x30]
and rdx, rcx
add rdx, rdx
mov r8, qword [r14 + 0x18]
mov rcx, qword [r8 + rdx*8]
mov rbx, rcx
lea r15, [r14 + 8]
cmp rcx, qword [r15]
jne 0x140085ab8
mov rax, qword [r15]
cmp rbx, rax
je 0x140085bb7
cmp qword [rbx + 0x10], r12
jne 0x140085b72
cmp rbx, qword [r15]
je 0x140085ac2
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x140085a6f
lock inc dword [rcx + 8]
mov rcx, qword [rbx + 0x20]
mov rax, qword [rbx + 0x18]
inc qword [rax + 0x10]
test rcx, rcx
je 0x140085a82
call fcn.14007e8c0
nop
test rsi, rsi
je 0x140085a97
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140085aa5
call fcn.14007e8c0
add rsp, 0x90
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [r8 + rdx*8 + 8]
mov rax, qword [rax]
jmp 0x140085a46
lea rcx, [rsi + 0x168]
mov rdx, qword [rdi]
add rdx, 0xc8
call fcn.1400857fc
mov eax, dword [rax]
cmp qword [r14 + 0x10], rax
jae 0x140085bbf
mov rdx, rdi
lea rcx, [rbp - 0x11]
call fcn.140086104
nop
mov qword [rbp + 0xf], r12
mov rcx, qword [rax]
mov qword [rbp + 0x17], rcx
mov rcx, qword [rax + 8]
mov qword [rbp + 0x1f], rcx
and qword [rax], 0
and qword [rax + 8], 0
mov rdx, qword [r15]
lea r8, [rbp + 0xf]
mov rdx, qword [rdx]
mov rcx, r15
call fcn.140085d58
mov rax, qword [r15]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.140085c28
nop
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x140085b45
call fcn.14007e8c0
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140085b53
call fcn.14007e8c0
mov rbx, qword [rbp - 1]
mov rax, qword [rdi]
mov dword [rax + 0x58], 0x7d7
mov rcx, qword [rsi + 0x1c0]
call fcn.14008592c
jmp 0x140085a5e
mov rbx, qword [rbx]
jmp 0x140085a3e
call fcn.14007ec1c
jmp 0x1400859b1
mov qword [rbp + 0x7f], r15
lea r9, [rbp + 0x7f]
mov rdx, qword [rdx]
mov rcx, r14
call fcn.1400de500
mov rax, qword [r14]
mov r9, qword [rax]
lea r8, [r9 + 0x10]
lea rdx, [rbp - 0x21]
lea rcx, [rsi + 8]
call fcn.1400f0cd0
mov rax, qword [rbp - 0x21]
jmp 0x1400859f6
mov rbx, qword [r15]
jmp 0x140085a59
call fcn.1400a4e1c
cmp dword [rax], 3
jbe 0x140085c03
mov rcx, qword [rdi]
add rcx, 0xc8
mov qword [rbp - 0x39], rcx
lea rcx, str.Aggregation_has_reached_max_buckets_count_dropping_aggregation_event
mov qword [rbp - 0x31], rcx
lea rcx, [rbp - 0x39]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x20], rcx
lea rdx, [0x1403ecbc2]
mov rcx, rax
call fcn.140007388
mov rcx, qword [rsi + 0x1c0]
call fcn.1401e5920
nop
lea rcx, [rbp - 0x29]
call fcn.1400e2a80
jmp 0x140085a97