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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x48
mov rsi, r9
mov rbx, r8
mov r15, rdx
mov rbp, rcx
lea r12, [rcx + 8]
mov qword [rsp + 0x30], r12
xor r13d, r13d
mov qword [rsp + 0x38], r13
lea ecx, [r13 + 0x48]
call fcn.180011ba8
mov r14, rax
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r13w
jne 0x180031365
mov rdx, rbx
lea rcx, [rax + 0x10]
call fcn.180001080
mov rdx, qword [rsi + 0x10]
mov qword [rsi + 0x10], r13
mov rcx, qword [rsi + 8]
mov qword [rsi + 8], r13
mov rax, qword [rsi]
mov qword [rsi], r13
mov qword [r14 + 0x30], rax
mov qword [r14 + 0x38], rcx
mov qword [r14 + 0x40], rdx
mov rdx, qword [r14 + 0x20]
lea r8, [r14 + 0x10]
cmp qword [r14 + 0x28], 7
jbe 0x1800313b0
mov r8, qword [r14 + 0x10]
movabs rsi, 0xcbf29ce484222325
add rdx, rdx
mov rcx, r13
je 0x1800313e4
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rcx]
xor rsi, rax
imul rsi, r9
inc rcx
cmp rcx, rdx
jb 0x1800313d0
mov r9, rsi
lea r8, [r14 + 0x10]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.18000cfc0
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x180031437
mov qword [r15], rax
mov byte [r15 + 8], 0
test r14, r14
je 0x18003162b
lea rcx, [r14 + 0x30]
call fcn.1800310e0
lea rcx, [r14 + 0x10]
call fcn.1800031c0
mov edx, 0x48
mov rcx, r14
call fcn.180011bec
jmp 0x18003162b
mov rcx, qword [rbp + 0x10]
movabs rax, 0x38e38e38e38e38e
cmp rcx, rax
je 0x18003163f
movss xmm3, dword [rbp]
add rcx, 1
xorps xmm0, xmm0
js 0x180031463
cvtsi2ss xmm0, rcx
jmp 0x180031478
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rbx, qword [rbp + 0x38]
xorps xmm2, xmm2
test rbx, rbx
js 0x18003148b
cvtsi2ss xmm2, rbx
jmp 0x1800314a3
mov rcx, rbx
shr rcx, 1
mov rax, rbx
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
comiss xmm1, xmm3
seta al
test al, al
je 0x1800315d3
divss xmm0, xmm3
call fcn.180051fac
xor ecx, ecx
movss xmm1, dword [0x18006b2d8]
comiss xmm0, xmm1
jb 0x1800314e6
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800314e6
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x180031518
cmp rbx, 0x200
jae 0x180031515
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x180031518
mov rbx, rcx
mov rdx, rbx
mov rcx, rbp
call fcn.1800041d0
mov rax, qword [rbp + 0x30]
and rax, rsi
add rax, rax
mov rdx, qword [rbp + 0x18]
mov r9, qword [rdx + rax*8 + 8]
mov rcx, qword [r12]
cmp r9, rcx
jne 0x180031546
mov qword [rsp + 0x20], rcx
jmp 0x1800315c3
mov r11, qword [rdx + rax*8]
mov rbx, qword [r14 + 0x28]
mov r10, qword [r14 + 0x20]
nop dword [rax]
nop word [rax + rax]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x180031572
mov rcx, qword [rcx]
lea r8, [r14 + 0x10]
cmp rbx, 7
jbe 0x180031580
mov r8, qword [r14 + 0x10]
cmp r10, rax
jne 0x1800315b3
mov rdx, r10
test r10, r10
je 0x1800315a4
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x1800315b3
add rcx, 2
sub rdx, 1
jne 0x180031590
mov rax, qword [r9]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], r9
jmp 0x1800315c8
cmp r9, r11
je 0x1800315be
mov r9, qword [r9 + 8]
jmp 0x180031560
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r13
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsp + 0x20]
mov r8, qword [rdx + 8]
inc qword [rbp + 0x10]
mov qword [r14], rdx
mov qword [r14 + 8], r8
mov qword [r8], r14
mov qword [rdx + 8], r14
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, rsi
add rax, rax
mov r9, qword [rcx + rax*8]
cmp r9, qword [r12]
jne 0x18003160c
mov qword [rcx + rax*8], r14
jmp 0x18003161e
cmp r9, rdx
jne 0x180031617
mov qword [rcx + rax*8], r14
jmp 0x180031623
cmp qword [rcx + rax*8 + 8], r8
jne 0x180031623
mov qword [rcx + rax*8 + 8], r14
mov qword [r15], r14
mov byte [r15 + 8], 1
mov rax, r15
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
lea rcx, [0x18007a920]
call fcn.180012064
int3