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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xa0
mov rax, qword [0x1804e1080]
xor rax, rsp
mov qword [rbp + 0x17], rax
movzx r13d, r8b
mov r12, rdx
mov rdi, rcx
mov qword [rbp - 0x49], rcx
mov r9d, dword [0x1804fbc9c]
mov rax, qword gs:[0x58]
mov ecx, 0x44
mov rax, qword [rax + r9*8]
xor r14d, r14d
mov eax, dword [rcx + rax]
cmp dword [0x1804f6650], eax
jg 0x18022fdb3
mov rsi, qword [r12]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x11], r14
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x18022fb70
mov rdx, rsi
lea rcx, [rbp - 0x29]
call fcn.180017900
nop
lea r8, [rbp - 0x29]
mov r11, qword [rbp - 0x29]
mov r15, qword [rbp - 0x11]
cmp r15, 7
cmova r8, r11
movabs rcx, 0xcbf29ce484222325
mov r10, qword [rbp - 0x19]
lea r9, [r10 + r10]
mov rdx, r14
test r9, r9
je 0x18022fbd4
movabs r14, 0x100000001b3
movzx eax, byte [rdx + r8]
xor rcx, rax
imul rcx, r14
inc rdx
cmp rdx, r9
jb 0x18022fbc0
and rcx, qword [0x1804f6640]
add rcx, rcx
mov rax, qword [0x1804f6628]
mov r9, qword [rax + rcx*8 + 8]
mov r14, qword [0x1804f6618]
cmp r9, r14
je 0x18022fc59
mov rdi, qword [rax + rcx*8]
nop word [rax + rax]
lea rcx, [r9 + 0x10]
mov rax, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 7
jbe 0x18022fc12
mov rcx, qword [rcx]
lea r8, [rbp - 0x29]
cmp r15, 7
cmova r8, r11
cmp r10, rax
jne 0x18022fc4a
mov rdx, r10
test r10, r10
je 0x18022fc44
sub r8, rcx
nop
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x18022fc4a
add rcx, 2
sub rdx, 1
jne 0x18022fc30
mov rdi, qword [rbp - 0x49]
jmp 0x18022fc5c
cmp r9, rdi
je 0x18022fc55
mov r9, qword [r9 + 8]
jmp 0x18022fc00
mov rdi, qword [rbp - 0x49]
xor r9d, r9d
test r9, r9
cmovne r14, r9
cmp r15, 7
jbe 0x18022fc9e
lea rdx, [r15*2 + 2]
mov rax, r11
cmp rdx, 0x1000
jb 0x18022fc96
add rdx, 0x27
mov r11, qword [r11 - 8]
sub rax, r11
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18022fe6b
mov rcx, r11
call fcn.18027ee90
xor r15d, r15d
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], 7
mov word [rbp - 0x29], r15w
cmp r14, qword [0x1804f6618]
je 0x18022fcc4
mov rax, qword [r14 + 0x30]
jmp 0x18022fd86
movups xmm0, xmmword [r12]
movaps xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rdi]
movaps xmmword [rbp - 0x39], xmm1
movzx r8d, r13b
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x39]
call fcn.18022eb20
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 7], xmm1
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r15w
jne 0x18022fd00
mov r8, rbx
mov rdx, rsi
lea rcx, [rbp - 9]
call fcn.180017900
nop
lea r8, [rbp - 9]
lea rdx, [rbp - 0x39]
lea rcx, [0x1804f6610]
call fcn.180229700
mov rcx, qword [rax]
mov qword [rcx + 0x30], rdi
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x18022fd71
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18022fd6c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18022fdad
call fcn.18027ee90
movdqa xmm0, xmmword [0x180309710]
movdqu xmmword [rbp + 7], xmm0
mov word [rbp - 9], r15w
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.18027f9e0
mov rbx, qword [rsp + 0xf0]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1802a2050
int3
lea rcx, [0x1804f6650]
call fcn.18027f2e4
cmp dword [0x1804f6650], 0xffffffff
jne 0x18022fb53
mov dword [rbp - 0x59], 0
mov eax, dword [rbp - 0x59]
mov dword [0x1804f6610], eax
mov qword [0x1804f6618], r14
mov qword [0x1804f6620], r14
mov ecx, 0x38
call fcn.18027ee54
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [0x1804f6618], rax
mov qword [0x1804f6628], r14
xorps xmm0, xmm0
movdqa xmmword [0x1804f6630], xmm0
mov qword [0x1804f6640], 7
mov qword [0x1804f6648], 8
mov dword [0x1804f6610], 0x3f800000
mov r8, qword [0x1804f6618]
mov edx, 0x10
lea rcx, [0x1804f6628]
call fcn.18002b5e0
nop
lea rcx, [0x180307640]
call fcn.18027f224
nop
lea rcx, [0x1804f6650]
call fcn.18027f278
jmp 0x18022fb53
call fcn.1802a2050
int3