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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14022b040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [rcx + 0x20]
test r8d, 0x180
je 0x140100ffb
bt eax, 0xb
mov rdi, qword [rdi + 0x18]
jae 0x1401017ad
mov rbx, qword [0x14023b4e0]
cmp qword [0x14023b4d8], 0
jne 0x140100f30
call qword [0x14021fac8]
xor rbx, rdi
cmp qword [rsi + 0x10], 0
jne 0x1401015f9
lea rax, [rsp + 0x72]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x40
lea rcx, [rsp + 0x71]
cmp rbx, 0x80
jae 0x140100fd5
mov r13, rcx
mov byte [rax], bl
sub r13, rcx
add r13, 2
mov rbp, qword [rsi]
mov edi, r13d
mov r15, qword [rbp + 0x18]
lea rbx, [r15 + rdi]
cmp rbx, qword [rbp + 0x10]
ja 0x1401013e4
test rdi, rdi
je 0x140100f9f
lea rdx, [rsp + 0x71]
mov rcx, r15
mov r8, rdi
call fcn.1401671f0
mov qword [rbp + 0x18], rbx
add dword [rsi + 0x20], r13d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x14022b040]
je 0x140100fc1
call fcn.1401335a0
int3
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x140100fd5
lea r13, [rax - 1]
jmp 0x140100f69
and eax, 0x1802
mov rcx, qword [rdi]
mov rbx, qword [rdi + 0x18]
test rcx, rcx
setne dl
cmp eax, 0x1000
setne r8b
and r8b, dl
cmp r8b, 1
jne 0x1401010fa
movabs rdx, 0x100000001b3
mov r12d, ebx
shr r12d, 8
mov r14d, ebx
shr r14d, 0x10
mov r15d, ebx
shr r15d, 0x18
mov r11, rbx
shr r11, 0x20
mov r10, rbx
shr r10, 0x28
mov r8, rbx
shr r8, 0x30
mov r9, rbx
shr r9, 0x38
and rbx, 0xff
movabs r13, 0xcbf29ce484222325
xor r13, rbx
imul r13, rdx
and r12d, 0xff
xor r12, r13
imul r12, rdx
and r14d, 0xff
xor r14, r12
imul r14, rdx
xor r14, r15
imul r14, rdx
and r11, 0xff
xor r11, r14
imul r11, rdx
and r10, 0xff
xor r10, r11
imul r10, rdx
and r8, 0xff
xor r8, r10
imul r8, rdx
xor r8, r9
imul r8, rdx
mov r9b, byte [rcx]
test r9b, r9b
je 0x1401016cb
inc rcx
nop dword [rax]
movzx ebx, r9b
xor rbx, r8
imul rbx, rdx
movzx r9d, byte [rcx]
inc rcx
mov r8, rbx
test r9b, r9b
jne 0x1401010e0
cmp eax, 0x800
jne 0x140101329
cmp qword [rsi + 0x10], 0
jne 0x140101606
lea rax, [rsp + 0x72]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x50
lea rcx, [rsp + 0x71]
cmp rbx, 0x80
jae 0x1401012c4
mov rbp, rcx
mov byte [rax], bl
sub rbp, rcx
add rbp, 2
mov r15, qword [rsi]
mov ebx, ebp
mov r12, qword [r15 + 0x18]
lea r14, [r12 + rbx]
cmp r14, qword [r15 + 0x10]
ja 0x14010154e
test rbx, rbx
je 0x140101174
lea rdx, [rsp + 0x71]
mov rcx, r12
mov r8, rbx
call fcn.1401671f0
mov qword [r15 + 0x18], r14
add dword [rsi + 0x20], ebp
mov rbx, qword [rdi]
test rbx, rbx
je 0x140100fa7
movabs r12, 0x7ffffffffffffff7
mov rcx, rbx
call fcn.140150c20
cmp rax, r12
ja 0x1401017a3
mov r14, rax
lea rdi, [rsp + 0x48]
cmp rax, 0x16
ja 0x1401012ea
mov byte [rsp + 0x5f], r14b
mov rcx, rdi
lea r15, [rcx + r14]
cmp rcx, rbx
seta al
cmp r15, rbx
setbe dl
or dl, al
je 0x1401017a1
test r14, r14
je 0x1401011e4
mov rdx, rbx
mov r8, r14
call fcn.1401671f0
mov byte [r15], 0
movsx rbp, byte [rsp + 0x5f]
test rbp, rbp
cmovs rbp, qword [rsp + 0x50]
cmovs rdi, qword [rsp + 0x48]
cmp qword [rsi + 0x10], 0
jne 0x1401012b7
lea rax, [rsp + 0x72]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x3a
lea rcx, [rsp + 0x71]
cmp ebp, 0x80
jae 0x1401013b0
mov r15, rcx
mov edx, ebp
mov byte [rax], dl
sub r15, rcx
add r15, 2
mov r14, qword [rsi]
mov ebx, r15d
mov r12, qword [r14 + 0x18]
lea r13, [r12 + rbx]
cmp r13, qword [r14 + 0x10]
ja 0x1401016ed
test rbx, rbx
je 0x14010126e
lea rdx, [rsp + 0x71]
mov rcx, r12
mov r8, rbx
call fcn.1401671f0
mov qword [r14 + 0x18], r13
add dword [rsi + 0x20], r15d
mov r13, qword [rsi]
mov ebx, ebp
mov r15, qword [r13 + 0x18]
lea r14, [r15 + rbx]
cmp r14, qword [r13 + 0x10]
ja 0x140101494
test rbx, rbx
je 0x1401012a0
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.1401671f0
mov qword [r13 + 0x18], r14
add dword [rsi + 0x20], ebp
cmp byte [rsp + 0x5f], 0
jns 0x140100fa7
jmp 0x140101532
mov rcx, rsi
call fcn.1400a0420
jmp 0x140101208
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x1401012c4
lea rbp, [rax - 1]
jmp 0x14010113f
mov rax, r14
or rax, 7
lea rcx, [rax + 1]
cmp rax, 0x17
mov r15d, 0x19
cmovne r15, rcx
mov rcx, r15
call fcn.140130ce8
mov rcx, rax
mov qword [rsp + 0x48], rax
add r12, 9
or r12, r15
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
jmp 0x1401011bc
cmp eax, 2
jne 0x1401017e0
cmp qword [rsi + 0x10], 0
jne 0x1401016d3
lea rax, [rsp + 0x72]
movabs rcx, 0xaaaaaaaaaaaaaaaa
mov qword [rax + 6], rcx
mov qword [rax], rcx
mov byte [rax - 1], 0x30
lea rcx, [rsp + 0x71]
cmp rbx, 0x80
jae 0x14010138d
mov rbp, rcx
mov byte [rax], bl
sub rbp, rcx
add rbp, 2
mov r15, qword [rsi]
mov ebx, ebp
mov r12, qword [r15 + 0x18]
lea r14, [r12 + rbx]
cmp r14, qword [r15 + 0x10]
jbe 0x14010115f
jmp 0x140101620
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x14010138d
lea rbp, [rax - 1]
jmp 0x140101368
mov edx, ebp
mov r8d, edx
mov r9d, r8d
or r9b, 0x80
mov byte [rax], r9b
shr edx, 7
inc rax
cmp r8d, 0x3fff
ja 0x1401013b2
lea r15, [rax - 1]
jmp 0x140101238
lea rdx, [rsp + 0x60]
call qword [0x14021e0b8]
jmp 0x14010142d
test rdi, rdi
je 0x140100fa3
lea r14, [rbp + 8]
lea rbx, [rsp + 0x71]
mov rax, qword [rbp + 0x10]
cmp r15, rax
jb 0x14010144f
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x14012e200]
cmp rax, rdx
jne 0x1401013d7
cmp byte [rcx + 0x18], 1
je 0x140101800
mov byte [rcx + 0x18], 1
movups xmm0, xmmword [rcx + 8]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [rbp + 0x18]
sub rax, qword [rbp + 8]
add qword [rbp + 0x20], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r14], xmm0
mov r15, qword [rsp + 0x60]
mov qword [rbp + 0x18], r15
mov rax, qword [rbp + 0x10]
mov r12, rax
sub r12, r15
cmp rdi, r12
cmovb r12, rdi
cmp rax, r15
je 0x14010146f
mov rcx, r15
mov rdx, rbx
mov r8, r12
call fcn.1401671f0
add r15, r12
mov qword [rbp + 0x18], r15
add rbx, r12
sub rdi, r12
je 0x140100fa3
jmp 0x1401013f6
lea rdx, [rsp + 0x60]
call qword [0x14021e0b8]
jmp 0x1401014d8
test rbx, rbx
je 0x1401012a4
lea r14, [r13 + 8]
mov rax, qword [r13 + 0x10]
cmp r15, rax
jb 0x1401014fa
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x14012e200]
cmp rax, rdx
jne 0x140101487
cmp byte [rcx + 0x18], 1
je 0x140101800
mov byte [rcx + 0x18], 1
movups xmm0, xmmword [rcx + 8]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r13 + 0x18]
sub rax, qword [r13 + 8]
add qword [r13 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x60]
movups xmmword [r14], xmm0
mov r15, qword [rsp + 0x60]
mov qword [r13 + 0x18], r15
mov rax, qword [r13 + 0x10]
mov r12, rax
sub r12, r15
cmp rbx, r12
cmovb r12, rbx
cmp rax, r15
je 0x14010151a
mov rcx, r15
mov rdx, rdi
mov r8, r12
call fcn.1401671f0
add r15, r12
mov qword [r13 + 0x18], r15
add rdi, r12
sub rbx, r12
je 0x1401012a4
jmp 0x1401014a1
mov rcx, qword [rsp + 0x48]
call fcn.140130d24
jmp 0x140100fa7
lea rdx, [rsp + 0x60]
call qword [0x14021e0b8]
jmp 0x14010159b
test rbx, rbx
je 0x140101178
lea rax, [r15 + 8]
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x71]
mov rax, qword [r15 + 0x10]
cmp r12, rax
jb 0x1401015c1
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x14012e200]
cmp rax, rdx
jne 0x140101541
cmp byte [rcx + 0x18], 1
je 0x140101800
mov byte [rcx + 0x18], 1
movups xmm0, xmmword [rcx + 8]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r15 + 0x18]
sub rax, qword [r15 + 8]
add qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
movups xmmword [rax], xmm0
mov r12, qword [rsp + 0x60]
mov qword [r15 + 0x18], r12
mov rax, qword [r15 + 0x10]
mov r13, rax
sub r13, r12
cmp rbx, r13
cmovb r13, rbx
cmp rax, r12
je 0x1401015e1
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.1401671f0
add r12, r13
mov qword [r15 + 0x18], r12
add r14, r13
sub rbx, r13
je 0x140101178
jmp 0x140101565
mov rcx, rsi
call fcn.1400a0420
jmp 0x140100f3e
mov rcx, rsi
call fcn.1400a0420
jmp 0x140101110
lea rdx, [rsp + 0x60]
call qword [0x14021e0b8]
jmp 0x14010166d
test rbx, rbx
je 0x140101178
lea rax, [r15 + 8]
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x71]
mov rax, qword [r15 + 0x10]
cmp r12, rax
jb 0x140101693
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x14012e200]
cmp rax, rdx
jne 0x140101613
cmp byte [rcx + 0x18], 1
je 0x140101800
mov byte [rcx + 0x18], 1
movups xmm0, xmmword [rcx + 8]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r15 + 0x18]
sub rax, qword [r15 + 8]
add qword [r15 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
movups xmmword [rax], xmm0
mov r12, qword [rsp + 0x60]
mov qword [r15 + 0x18], r12
mov rax, qword [r15 + 0x10]
mov r13, rax
sub r13, r12
cmp rbx, r13
cmovb r13, rbx
cmp rax, r12
je 0x1401016b3
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.1401671f0
add r12, r13
mov qword [r15 + 0x18], r12
add r14, r13
sub rbx, r13
je 0x140101178
jmp 0x140101637
mov rbx, r8
jmp 0x1401010fa
mov rcx, rsi
call fcn.1400a0420
jmp 0x14010133d
lea rdx, [rsp + 0x60]
call qword [0x14021e0b8]
jmp 0x14010173f
test rbx, rbx
je 0x140101272
lea rax, [r14 + 8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x71]
mov qword [rsp + 0x38], rax
mov rax, qword [r14 + 0x10]
cmp r12, rax
jb 0x140101765
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x14012e200]
cmp rax, rdx
jne 0x1401016e0
cmp byte [rcx + 0x18], 1
je 0x140101800
mov byte [rcx + 0x18], 1
movups xmm0, xmmword [rcx + 8]
movaps xmmword [rsp + 0x60], xmm0
mov rax, qword [r14 + 0x18]
sub rax, qword [r14 + 8]
add qword [r14 + 0x20], rax
movaps xmm0, xmmword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
movups xmmword [rax], xmm0
mov r12, qword [rsp + 0x60]
mov qword [r14 + 0x18], r12
mov rax, qword [r14 + 0x10]
mov r13, rax
sub r13, r12
cmp rbx, r13
cmovb r13, rbx
cmp rax, r12
je 0x140101787
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, r13
call fcn.1401671f0
add r12, r13
mov qword [r14 + 0x18], r12
add qword [rsp + 0x38], r13
sub rbx, r13
je 0x140101272
jmp 0x140101709
ud2
lea rcx, [rsp + 0x48]
call fcn.14016cbd0
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401335a0
mov rcx, rsi
mov edx, 8
mov r8, rdi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.140124dc0
cmp eax, 0x1000
jne 0x14010117b
mov rcx, rsi
mov edx, 0xb
mov r8, rbx
call fcn.140124dc0
jmp 0x14010117b
call fcn.140130d2c
mov ecx, dword [rax]
call fcn.140150b04
mov rsi, rax
call fcn.140130d2c
mov edi, dword [rax]
lea rcx, str....._third_partyperfetto_srcprotozero_static_buffer.cc
call fcn.14016d6d0
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], edi
lea r9, str.Static_buffer_too_small__errno:__d___s_
mov ecx, 3
mov rdx, rax
mov r8d, 0x1d
call fcn.14005c2f0
int3