Function at 0x140161160
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov eax, dword [rcx + 0x20]
test r8d, 0x180
je 0x1401612b1
bt eax, 0xb
mov rdi, qword [rdi + 0x18]
jae 0x140161a37
mov rbx, qword [0x1402c37e8]
cmp qword [0x1402c37e0], 0
jne 0x1401611c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor rbx, rdi
cmp qword [rsi + 0x10], 0
jne 0x140161883
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 0x140161265
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 0x14016166e
test rdi, rdi
je 0x14016122f
lea rdx, [rsp + 0x71]
mov rcx, r15
mov r8, rdi
call fcn.1401d6070
mov qword [rbp + 0x18], rbx
add dword [rsi + 0x20], r13d
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
cmp rcx, qword [0x1402b3040]
je 0x140161251
call fcn.14019d280
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 0x140161265
lea r13, [rax - 1]
jmp 0x1401611f9
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x14016128b
lea rbp, [rax - 1]
jmp 0x1401613ef
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 0x1401613aa
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 0x140161955
inc rcx
nop
movzx ebx, r9b
xor rbx, r8
imul rbx, rdx
movzx r9d, byte [rcx]
inc rcx
mov r8, rbx
test r9b, r9b
jne 0x140161390
cmp eax, 0x800
jne 0x1401615b3
cmp qword [rsi + 0x10], 0
jne 0x140161890
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 0x14016128b
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 0x14016172d
test rbx, rbx
je 0x140161424
lea rdx, [rsp + 0x71]
mov rcx, r12
mov r8, rbx
call fcn.1401d6070
mov qword [r15 + 0x18], r14
add dword [rsi + 0x20], ebp
mov rbx, qword [rdi]
test rbx, rbx
je 0x140161237
movabs r12, 0x7ffffffffffffff7
mov rcx, rbx
call fcn.1401bebc0
cmp rax, r12
ja 0x140161a2d
mov r14, rax
lea rdi, [rsp + 0x48]
cmp rax, 0x16
ja 0x140161574
mov byte [rsp + 0x5f], r14b
mov rcx, rdi
lea r15, [rcx + r14]
cmp rbx, rcx
setb al
cmp rbx, r15
setae dl
or dl, al
je 0x140161a2b
test r14, r14
je 0x140161494
mov rdx, rbx
mov r8, r14
call fcn.1401d6070
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 0x140161567
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 0x14016163a
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 0x140161977
test rbx, rbx
je 0x14016151e
lea rdx, [rsp + 0x71]
mov rcx, r12
mov r8, rbx
call fcn.1401d6070
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 0x1401617e5
test rbx, rbx
je 0x140161550
mov rcx, r15
mov rdx, rdi
mov r8, rbx
call fcn.1401d6070
mov qword [r13 + 0x18], r14
add dword [rsi + 0x20], ebp
cmp byte [rsp + 0x5f], 0
jns 0x140161237
jmp 0x140161711
mov rcx, rsi
call fcn.140105240
jmp 0x1401614b8
mov rax, r14
or rax, 7
lea rcx, [rax + 1]
cmp rax, 0x17
mov r15d, Ordinal_26
cmovne r15, rcx
mov rcx, r15
call fcn.14019aa78
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 0x14016146c
cmp eax, 2
jne 0x140161a6a
cmp qword [rsi + 0x10], 0
jne 0x14016195d
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 0x140161617
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 0x14016140f
jmp 0x1401618aa
mov rdx, rbx
mov r8d, edx
or r8b, 0x80
mov byte [rax], r8b
shr rbx, 7
inc rax
cmp rdx, 0x3fff
ja 0x140161617
lea rbp, [rax - 1]
jmp 0x1401615f2
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 0x14016163c
lea r15, [rax - 1]
jmp 0x1401614e8
lea rdx, [rsp + 0x60]
call qword [0x1402a4958]
jmp 0x1401616b7
test rdi, rdi
je 0x140161233
lea r14, [rbp + 8]
lea rbx, [rsp + 0x71]
mov rax, qword [rbp + 0x10]
cmp r15, rax
jb 0x1401616d9
mov rcx, qword [rbp]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x140197ac0]
cmp rax, rdx
jne 0x140161661
cmp byte [rcx + 0x18], 1
je 0x140161a8a
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 0x1401616f9
mov rcx, r15
mov rdx, rbx
mov r8, r12
call fcn.1401d6070
add r15, r12
mov qword [rbp + 0x18], r15
add rbx, r12
sub rdi, r12
je 0x140161233
jmp 0x140161680
mov rcx, qword [rsp + 0x48]
call fcn.14019aab4
jmp 0x140161237
lea rdx, [rsp + 0x60]
call qword [0x1402a4958]
jmp 0x14016177a
test rbx, rbx
je 0x140161428
lea rax, [r15 + 8]
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x71]
mov rax, qword [r15 + 0x10]
cmp r12, rax
jb 0x1401617a0
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x140197ac0]
cmp rax, rdx
jne 0x140161720
cmp byte [rcx + 0x18], 1
je 0x140161a8a
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 0x1401617c0
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.1401d6070
add r12, r13
mov qword [r15 + 0x18], r12
add r14, r13
sub rbx, r13
je 0x140161428
jmp 0x140161744
lea rdx, [rsp + 0x60]
call qword [0x1402a4958]
jmp 0x140161829
test rbx, rbx
je 0x140161554
lea r14, [r13 + 8]
mov rax, qword [r13 + 0x10]
cmp r15, rax
jb 0x14016184b
mov rcx, qword [r13]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x140197ac0]
cmp rax, rdx
jne 0x1401617d8
cmp byte [rcx + 0x18], 1
je 0x140161a8a
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 0x14016186b
mov rcx, r15
mov rdx, rdi
mov r8, r12
call fcn.1401d6070
add r15, r12
mov qword [r13 + 0x18], r15
add rdi, r12
sub rbx, r12
je 0x140161554
jmp 0x1401617f2
mov rcx, rsi
call fcn.140105240
jmp 0x1401611ce
mov rcx, rsi
call fcn.140105240
jmp 0x1401613c0
lea rdx, [rsp + 0x60]
call qword [0x1402a4958]
jmp 0x1401618f7
test rbx, rbx
je 0x140161428
lea rax, [r15 + 8]
mov qword [rsp + 0x38], rax
lea r14, [rsp + 0x71]
mov rax, qword [r15 + 0x10]
cmp r12, rax
jb 0x14016191d
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x140197ac0]
cmp rax, rdx
jne 0x14016189d
cmp byte [rcx + 0x18], 1
je 0x140161a8a
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 0x14016193d
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.1401d6070
add r12, r13
mov qword [r15 + 0x18], r12
add r14, r13
sub rbx, r13
je 0x140161428
jmp 0x1401618c1
mov rbx, r8
jmp 0x1401613aa
mov rcx, rsi
call fcn.140105240
jmp 0x1401615c7
lea rdx, [rsp + 0x60]
call qword [0x1402a4958]
jmp 0x1401619c9
test rbx, rbx
je 0x140161522
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 0x1401619ef
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
lea rdx, [0x140197ac0]
cmp rax, rdx
jne 0x14016196a
cmp byte [rcx + 0x18], 1
je 0x140161a8a
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 0x140161a11
mov rcx, r12
mov rdx, qword [rsp + 0x38]
mov r8, r13
call fcn.1401d6070
add r12, r13
mov qword [r14 + 0x18], r12
add qword [rsp + 0x38], r13
sub rbx, r13
je 0x140161522
jmp 0x140161993
ud2
lea rcx, [rsp + 0x48]
call fcn.1401da290
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14019d280
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.1401877c0
cmp eax, 0x1000
jne 0x14016142b
mov rcx, rsi
mov edx, Ordinal_14
mov r8, rbx
call fcn.1401877c0
jmp 0x14016142b
call fcn.14019aabc
mov ecx, dword [rax]
call fcn.1401bea9c
mov rsi, rax
call fcn.14019aabc
mov edi, dword [rax]
lea rcx, str....._third_partyperfetto_srcprotozero_static_buffer.cc
call fcn.1401dbd60
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.140059fd0
int3