Function at 0x1402ac134
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 0x1402ac16c
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r10, [rax + rax]
test r10, r10
je 0x1402ac19f
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r10
jb 0x1402ac181
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 0x1402ac27d
mov rdi, qword [r10 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r10 + r8*8]
je 0x1402ac27d
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x1402ac1e2
mov rcx, qword [rax]
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x1402ac1ef
mov rdx, qword [r9]
mov r11, qword [r9 + 0x10]
cmp r11, qword [rax + 0x10]
jne 0x1402ac26e
mov qword [rsp + 0x70], r11
test r11, r11
je 0x1402ac224
sub rdx, rcx
movzx eax, word [rcx + rdx]
movzx r11d, word [rcx]
cmp ax, r11w
jne 0x1402ac2d4
add rcx, 2
sub qword [rsp + 0x70], 1
jne 0x1402ac206
xor eax, eax
test eax, eax
jne 0x1402ac26e
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.140059318
lea rcx, [rbx + 0x10]
call fcn.14004e0f0
mov rcx, rbx
call fcn.1402e0278
mov rax, qword [rsp + 0x68]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x1402ac3b7
cmp rdi, qword [r10 + r8*8]
jne 0x1402ac1cd
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x1402ac2b7
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 0x1402ac2e0
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1402ac30f
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x1402ac226
cmp rax, rdi
jne 0x1402ac2eb
mov qword [rdx + r8*8], rbx
jmp 0x1402ac30f
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1402ac30f
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 [0x14038ac0c]
test rax, rax
jns 0x1402ac330
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x1402ac341
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1402ac3ac
cmp rdx, 0x200
jae 0x1402ac359
shl rdx, 3
jmp 0x1402ac36b
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x1402ac36b
add rdx, rdx
mov rcx, rsi
call fcn.1400591e0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1402ac3a7
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.1402ac134
cmp rdi, qword [rsp + 0x70]
jne 0x1402ac385
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