Function at 0x18012f590
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 0x18012f5e2
mov r9, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r8, [r11 + r11]
test r8, r8
je 0x18012f615
movabs r10, 0x100000001b3
movzx eax, byte [rcx + r9]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r8
jb 0x18012f601
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 0x18012f6a4
mov rbx, qword [rcx + r10*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x18012f6a4
nop dword [rax]
mov rbx, qword [rbx + 8]
lea rcx, [rbx + 0x10]
cmp qword [rbx + 0x28], 8
jb 0x18012f653
mov rcx, qword [rbx + 0x10]
mov r9, r14
cmp r12, 8
jb 0x18012f65f
mov r9, qword [r14]
cmp r11, qword [rbx + 0x20]
jne 0x18012f69f
mov r8, r11
test r11, r11
je 0x18012f684
sub r9, rcx
movzx edx, word [rcx]
cmp word [r9 + rcx], dx
jne 0x18012f69f
add rcx, 2
sub r8, 1
jne 0x18012f670
mov rdx, rdi
mov rcx, rsi
call fcn.18012fb20
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x18012f7cf
cmp rbx, rax
jne 0x18012f640
mov qword [rsp + 0x40], rdi
mov rdx, qword [rdi]
cmp rbx, rdx
je 0x18012f6de
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 0x18012f6fb
mov qword [rdx + r10*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r10*8 + 8], rdi
jmp 0x18012f72a
cmp rax, rbx
jne 0x18012f706
mov qword [rdx + r10*8], rdi
jmp 0x18012f72a
mov rax, qword [rdx + r10*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r10*8 + 8], rcx
cmp rcx, rdi
je 0x18012f72a
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 0x18012f74b
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x18012f75c
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x18012f7c4
cmp rdx, 0x200
jae 0x18012f778
lea rdx, [rdx*8]
jmp 0x18012f78a
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x18012f78a
add rdx, rdx
mov rcx, rsi
call fcn.18012bf70
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x18012f7c4
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.18012f590
test r14b, r14b
je 0x18012f7a0
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