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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov rbx, r9
mov r9, r8
mov r11, rdx
mov rsi, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14022f0b4
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r10, [rax + rax]
test r10, r10
je 0x14022f0e7
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r10
jb 0x14022f0c9
mov r8, qword [rsi + 0x30]
and r8, rdx
mov rdi, qword [rsi + 8]
add r8, r8
mov r10, qword [rsi + 0x18]
cmp rdi, qword [r10 + r8*8]
je 0x14022f1c5
mov rdi, qword [r10 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r10 + r8*8]
je 0x14022f1c5
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x14022f12a
mov rcx, qword [rax]
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x14022f137
mov rdx, qword [r9]
mov r11, qword [r9 + 0x10]
cmp r11, qword [rax + 0x10]
jne 0x14022f1b6
mov qword [rsp + 0x70], r11
test r11, r11
je 0x14022f16c
sub rdx, rcx
movzx eax, word [rcx + rdx]
movzx r11d, word [rcx]
cmp ax, r11w
jne 0x14022f21c
add rcx, 2
sub qword [rsp + 0x70], 1
jne 0x14022f14e
xor eax, eax
test eax, eax
jne 0x14022f1b6
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x30]
call fcn.1401a6f24
lea rcx, [rbx + 0x10]
call fcn.14004b500
mov rcx, rbx
call fcn.1402aed28
mov rax, qword [rsp + 0x68]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x14022f2ff
cmp rdi, qword [r10 + r8*8]
jne 0x14022f115
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14022f1ff
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14022f228
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14022f257
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x14022f16e
cmp rax, rdi
jne 0x14022f233
mov qword [rdx + r8*8], rbx
jmp 0x14022f257
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14022f257
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14034f96c]
test rax, rax
jns 0x14022f278
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14022f289
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14022f2f4
cmp rdx, 0x200
jae 0x14022f2a1
shl rdx, 3
jmp 0x14022f2b3
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14022f2b3
add rdx, rdx
mov rcx, rsi
call fcn.140056470
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14022f2ef
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14022f07c
cmp rdi, qword [rsp + 0x70]
jne 0x14022f2cd
mov r11, qword [rsp + 0x68]
mov qword [r11], rbx
mov byte [r11 + 8], 1
mov rax, r11
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret