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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov r15, r8
mov r14, rcx
mov r13, qword [r8 + 0x10]
mov r9, qword [r8 + 0x18]
cmp r9, 0x10
jb 0x140164761
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
test r13, r13
je 0x140164794
movabs r10, 0x100000001b3
nop dword [rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r13
jb 0x140164780
mov r12, qword [r14 + 0x30]
and r12, rdx
mov rbx, qword [r14 + 8]
add r12, r12
mov rax, qword [r14 + 0x18]
mov rsi, qword [rax + r12*8]
cmp rbx, rsi
je 0x14016482a
mov rbx, qword [rax + r12*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rsi
je 0x14016482a
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
cmp qword [rbx + 0x28], 0x10
jb 0x1401647cf
mov rdx, qword [rbx + 0x10]
mov rcx, r15
cmp r9, 0x10
jb 0x1401647db
mov rcx, qword [r15]
cmp r13, qword [rbx + 0x20]
jne 0x1401647b7
mov r8, r13
call fcn.14021f5b0
test eax, eax
mov r9, qword [r15 + 0x18]
jne 0x1401647b7
lea rcx, [r14 + 8]
mov rdx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rdx], rax
mov rdx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
dec qword [rcx + 8]
mov rdx, rdi
call fcn.140192280
mov rax, qword [rsp + 0x88]
mov qword [rax], rbx
mov byte [rax + 8], 0
jmp 0x140164963
mov qword [rsp + 0x90], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x140164867
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r12*8]
cmp rax, qword [r14 + 8]
jne 0x140164884
mov qword [rdx + r12*8], rdi
mov rax, qword [r14 + 0x18]
mov qword [rax + r12*8 + 8], rdi
jmp 0x1401648b3
cmp rax, rbx
jne 0x14016488f
mov qword [rdx + r12*8], rdi
jmp 0x1401648b3
mov rax, qword [rdx + r12*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r12*8 + 8], rcx
cmp rcx, rdi
je 0x1401648b3
mov rdx, qword [r14 + 0x18]
mov rax, qword [rdx + r12*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r12*8 + 8], rcx
mov rax, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140282b38]
test rax, rax
jns 0x1401648d4
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1401648e5
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [r14]
jbe 0x140164950
cmp rdx, 0x200
jae 0x140164902
lea rdx, [rdx*8]
jmp 0x140164914
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140164914
add rdx, rdx
mov rcx, r14
call fcn.14015ef10
mov rax, qword [r14 + 8]
cmp qword [rax], rax
je 0x140164950
mov rsi, qword [rax + 8]
nop dword [rax]
mov rbx, qword [r14 + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x28]
mov rcx, r14
call fcn.140164720
cmp rbx, rsi
jne 0x140164930
mov r10, qword [rsp + 0x88]
mov qword [r10], rdi
mov byte [r10 + 8], 1
mov rax, r10
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret