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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rsi, rdx
mov r8, qword [rdx]
movzx ecx, byte [r8 + 0x18]
test ecx, ecx
je 0x1400aac73
sub ecx, 1
je 0x1400aac5b
sub ecx, 1
je 0x1400aac60
cmp ecx, 1
jne 0x1400aae19
mov dil, 1
jmp 0x1400aac86
cmp byte [r8 + 0x208], 0
je 0x1400aac73
mov dil, byte [r8 + 0x209]
jmp 0x1400aac76
xor dil, dil
test dil, dil
jne 0x1400aac86
mov rcx, r8
call fcn.1400ad5ec
mov r8, qword [rsi]
xor ebx, ebx
mov qword [rbp + 0x20], rbx
cmp byte [r8 + 0x18], bl
je 0x1400aade0
lea rcx, [0x1403d9908]
mov qword [rbp - 0x18], rcx
and dword [rbp - 0x10], ebx
and dword [rbp - 0xc], ebx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [rbx + 1]
lock xadd dword [rbp - 0x10], eax
test eax, eax
jne 0x1400aacca
cmp dword [rbp - 0xc], ebx
jne 0x1400aae29
call sub.KERNEL32.dll_GetCurrentThreadId
mov dword [rbp - 0xc], eax
mov r9, qword [rsi]
mov r10, qword [r9 + 0x20]
mov qword [rbp + 0x28], r10
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
movzx eax, byte [rbp + rcx + 0x28]
xor rdx, rax
movabs r8, 0x100000001b3
imul rdx, r8
inc rcx
cmp rcx, 8
jb 0x1400aace1
and rdx, qword [0x1403d98d0]
add rdx, rdx
mov r11, qword [0x1403d98b8]
mov rax, qword [r11 + rdx*8]
mov r8, qword [0x1403d98a8]
cmp qword [r11 + rdx*8], r8
jne 0x1400aad27
mov rcx, r8
jmp 0x1400aad2f
mov rcx, qword [r11 + rdx*8 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400aad3f
cmp qword [rax + 0x10], r10
je 0x1400aad42
mov rax, qword [rax]
jmp 0x1400aad1c
mov rax, r8
cmp rax, r8
je 0x1400aad9b
mov rcx, qword [rax + 0x18]
mov eax, dword [rcx + 0x20]
test eax, eax
je 0x1400aae06
dec eax
mov dword [rcx + 0x20], eax
test dil, dil
je 0x1400aadbd
mov rdx, rsi
call 0x1400aae3c
cmp byte [0x1403d9930], bl
jne 0x1400aadbd
mov rbx, qword [0x1403d98e0]
test rbx, rbx
je 0x1400aad8e
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x140118f85.0]
jmp 0x1400aad92
mov rbx, qword [rbp + 0x20]
mov byte [0x1403d9930], 1
jmp 0x1400aadc1
mov qword [rsp + 0x28], r9
lea rax, str.DroppedAggregatedActivity
mov qword [rsp + 0x20], rax
mov ecx, 0x125308e
mov r8d, 0x32
call fcn.1400abfd8
nop
mov rbx, qword [rbp + 0x20]
lea rcx, [rbp - 0x18]
call fcn.1400261e0
test rbx, rbx
je 0x1400aade0
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x18]
call qword [case.0x140118f85.0]
nop
test rbx, rbx
je 0x1400aadf6
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x140118f85.0]
nop
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
mov ecx, 0x125308d
call fcn.140025d34
nop
jmp 0x1400aae18
nop
xor edx, edx
mov ecx, 0x130818b
call fcn.140025d34
nop
jmp 0x1400aae28
nop
xor edx, edx
mov ecx, 0x131f4c4
call fcn.140025d34
nop
jmp 0x1400aae38
nop
nop
nop
nop
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x240
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1403bf028]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rdi, rdx
mov r13, rcx
mov rax, qword [rdx]
mov qword [rsp + 0x28], rax
lea rax, str.AggregatingActivity
mov qword [rsp + 0x20], rax
mov ecx, 0x1253092
mov r8d, 0x64
call fcn.1400abfd8
mov rbx, qword [r13 + 8]
cmp rbx, qword [r13 + 0x10]
je 0x1400aafa6
mov r14, qword [rdi]
mov r15b, byte [r14 + 0x18]
mov rdx, qword [rbx + 8]
cmp r15b, byte [rdx + 0x18]
jne 0x1400aaf20
mov r8b, byte [r14 + 0x208]
cmp byte [rdx + 0x208], 0
sete cl
test r8b, r8b
sete al
cmp al, cl
jne 0x1400aaf20
test r8b, r8b
je 0x1400aaef3
mov al, byte [rdx + 0x209]
cmp byte [r14 + 0x209], al
jne 0x1400aaf20
mov r8b, byte [r14 + 0x50]
test r8b, r8b
sete cl
cmp byte [rdx + 0x50], 0
sete al
cmp cl, al
jne 0x1400aaf20
test r8b, r8b
je 0x1400aaf2a
add rdx, 0x58
lea rcx, [r14 + 0x58]
call fcn.1400a9a50
test al, al
je 0x1400aaf2a
nop
add rbx, 0x20
cmp rbx, qword [r13 + 0x10]
jne 0x1400aaeba
cmp rbx, qword [r13 + 0x10]
je 0x1400aafa6
inc dword [rbx + 0x18]
mov edx, dword [rbx + 0x18]
xorps xmm2, xmm2
cvtsi2sd xmm2, rdx
movsd xmm3, qword [0x140333fb8]
test rdx, rdx
jns 0x1400aaf4f
addsd xmm2, xmm3
mov rax, qword [rdi]
mov rcx, qword [rax + 0x220]
xorps xmm1, xmm1
cvtsi2sd xmm1, rcx
test rcx, rcx
jns 0x1400aaf6a
addsd xmm1, xmm3
movsd xmm0, qword [0x140333f50]
divsd xmm0, xmm2
mulsd xmm1, xmm0
lea rax, [rdx - 1]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
test rax, rax
jns 0x1400aaf8f
addsd xmm0, xmm3
divsd xmm0, xmm2
mulsd xmm0, qword [rbx + 0x10]
addsd xmm1, xmm0
movsd qword [rbx + 0x10], xmm1
jmp 0x1400ab0d9
mov rdx, qword [rdi]
xorps xmm6, xmm6
cvtsi2sd xmm6, qword [rdx + 0x220]
lea rcx, [rsp + 0x50]
call fcn.1400aa2a0
mov rbx, qword [rdi]
xor al, al
mov byte [rsp + 0x60], al
cmp byte [rbx + 0x50], al
je 0x1400aafe2
lea rdx, [rbx + 0x58]
lea rcx, [rsp + 0x60]
call fcn.1400365c4
mov rbx, qword [rdi]
mov al, byte [rsp + 0x60]
cmp byte [rbx + 0x50], 0
je 0x1400ab002
lea rcx, [rbx + 0x60]
call fcn.14002b72c
mov byte [rbx + 0x50], 0
mov rbx, qword [rdi]
mov al, byte [rsp + 0x60]
cmp byte [rbx + 0x50], 0
jne 0x1400ab016
test al, al
je 0x1400ab038
lea rdx, [rsp + 0x68]
lea rcx, [rbx + 0x50]
call fcn.1400365c4
jmp 0x1400ab038
test al, al
jne 0x1400ab029
lea rcx, [rbx + 0x60]
call fcn.14002b72c
mov byte [rbx + 0x50], 0
jmp 0x1400ab038
lea rcx, [rbx + 0x58]
lea rdx, [rsp + 0x68]
call fcn.1400ab2d8
nop
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi]
and qword [rdi], 0
mov qword [rsp + 0x38], rcx
movsd qword [rsp + 0x40], xmm6
mov dword [rsp + 0x48], 1
mov rdx, qword [r13 + 0x10]
cmp qword [r13 + 0x18], rdx
je 0x1400ab092
and qword [rsp + 0x30], 0
mov qword [rdx], rax
and qword [rsp + 0x38], 0
mov qword [rdx + 8], rcx
movsd xmm0, qword [rsp + 0x40]
movsd qword [rdx + 0x10], xmm0
mov dword [rdx + 0x18], 1
add qword [r13 + 0x10], 0x20
jmp 0x1400ab0a1
lea r8, [rsp + 0x30]
lea rcx, [r13 + 8]
call fcn.1400abc9c
nop
lea rcx, [rsp + 0x38]
call fcn.1400ab248
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400ab0c7
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax]
call qword [case.0x140118f85.0]
nop
cmp byte [rsp + 0x60], 0
je 0x1400ab0d9
lea rcx, [rsp + 0x70]
call fcn.14002b72c
nop
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1402361b0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret