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

Disassembly:
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rax, qword [0x1803bc678]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rcx
mov r11, qword [r8 + 0x10]
mov r9, r8
mov r12, qword [r8 + 0x18]
cmp r12, 8
jb 0x18012dd02
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r8, [r11 + r11]
test r8, r8
je 0x18012dd35
movabs r10, 0x100000001b3
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x18012dd21
mov r10, qword [rsi + 0x30]
and r10, rdx
mov rbx, qword [rsi + 8]
add r10, r10
mov rcx, qword [rsi + 0x18]
mov rax, qword [rcx + r10*8]
cmp rbx, rax
je 0x18012ddc4
mov rbx, qword [rcx + r10*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x18012ddc4
nop dword [rax]
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x18012dd73
mov rcx, qword [rbx + 0x10]
mov r9, r14
cmp r12, 8
jb 0x18012dd7f
mov r9, qword [r14]
cmp r11, qword [rbx + 0x20]
jne 0x18012ddbf
mov r8, r11
test r11, r11
je 0x18012dda4
sub r9, rcx
movzx edx, word [rcx]
cmp word [r9 + rcx], dx
jne 0x18012ddbf
add rcx, 2
sub r8, 1
jne 0x18012dd90
mov rdx, rdi
mov rcx, rsi
call fcn.18012e870
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x18012deef
cmp rbx, rax
jne 0x18012dd60
mov qword [rsp + 0x40], rdi
mov rdx, qword [rdi]
cmp rbx, rdx
je 0x18012ddfe
mov rax, qword [rdi + 8]
mov qword [rax], rdx
mov rax, qword [rdx + 8]
mov qword [rax], rbx
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rcx, qword [rbx + 8]
mov rax, qword [rdx + 8]
mov qword [rbx + 8], rax
mov rax, qword [rdi + 8]
mov qword [rdx + 8], rax
mov qword [rdi + 8], rcx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8]
cmp rax, qword [rsi + 8]
jne 0x18012de1b
mov qword [rdx + r10*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r10*8 + 8], rdi
jmp 0x18012de4a
cmp rax, rbx
jne 0x18012de26
mov qword [rdx + r10*8], rdi
jmp 0x18012de4a
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r10*8 + 8], rcx
cmp rcx, rdi
je 0x18012de4a
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r10*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x18034213c]
test rax, rax
jns 0x18012de6b
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x18012de7c
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x18012dee4
cmp rdx, 0x200
jae 0x18012de98
lea rdx, [rdx*8]
jmp 0x18012deaa
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x18012deaa
add rdx, rdx
mov rcx, rsi
call fcn.18012c2b0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x18012dee4
mov rbx, qword [rax + 8]
nop
mov r9, qword [rsi + 8]
mov r9, qword [r9]
cmp r9, rbx
sete r14b
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.18012dcb0
test r14b, r14b
je 0x18012dec0
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1801e5c70
mov rbx, qword [rsp + 0x98]
add rsp, 0x50
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret