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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf8
vmovaps xmmword [rax - 0x58], xmm6
vmovaps xmmword [rax - 0x68], xmm7
vmovaps xmmword [rax - 0x78], xmm8
vmovaps xmmword [rax - 0x88], xmm9
vmovaps xmmword [rax - 0x98], xmm10
vmovaps xmmword [rax - 0xa8], xmm11
mov rsi, r8
mov rdi, rdx
xor r13d, r13d
xor r15b, r15b
mov ecx, dword [r8]
mov eax, ecx
shr eax, 0x18
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vmovss xmm2, dword [0x180218c54]
vdivss xmm5, xmm0, xmm2
mov eax, ecx
shr eax, 0x10
movzx eax, al
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm6, xmm0, xmm2
mov eax, ecx
shr eax, 8
movzx eax, al
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, eax
vdivss xmm4, xmm0, xmm2
movzx eax, cl
vxorps xmm1, xmm1, xmm1
vcvtsi2ss xmm1, xmm1, eax
vdivss xmm3, xmm1, xmm2
vinsertps xmm0, xmm3, xmm4, 0x10
vinsertps xmm0, xmm0, xmm6, 0x20
vinsertps xmm0, xmm0, xmm5, 0x30
vmovups xmmword [rsp + 0x30], xmm0
vmovups xmmword [rsp + 0x30], xmm0
vmovss xmm9, dword [0x180218ad8]
vdivss xmm0, xmm3, xmm9
vmovss dword [rsp + 0x30], xmm0
vdivss xmm1, xmm4, xmm9
vmovss dword [rsp + 0x34], xmm1
vdivss xmm0, xmm6, xmm9
vmovss dword [rsp + 0x38], xmm0
movzx r8d, byte [r8 + 8]
mov rdx, qword [0x180242b30]
test r8b, r8b
je 0x18012af2f
mov rax, qword [rdx + 0x1330]
vmovss xmm0, dword [rax + 0x30]
vaddss xmm1, xmm0, xmm0
vdivss xmm2, xmm1, xmm9
vaddss xmm8, xmm2, dword [0x180218af8]
jmp 0x18012af37
vmovss xmm8, dword [0x180218b20]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, r9d
vmulss xmm1, xmm0, dword [0x180218b88]
vaddss xmm11, xmm1, dword [0x180218c04]
mov rcx, qword [rdx + 0x1330]
vmovd xmm1, r13d
vmovd xmm0, r8d
vpcmpeqd xmm3, xmm0, xmm1
vmovss xmm2, dword [0x180218a08]
vmovss xmm0, dword [0x1802189c8]
vblendvps xmm0, xmm0, xmm2, xmm3
vmulss xmm1, xmm0, dword [rcx + 0x30]
vsubss xmm10, xmm1, dword [0x180218b30]
vmovss xmm7, dword [rcx + 0x28]
vmovss xmm6, dword [rcx + 0x2c]
mov byte [rcx + 0xcc], 1
mov rax, qword [rdx + 0x1330]
mov r10, qword [rax + 0x2b0]
lea rcx, [rsp + 0x30]
call fcn.180044c70
vaddss xmm3, xmm11, xmm6
vmovss xmm6, dword [0x180218b70]
vaddss xmm1, xmm3, xmm6
vaddss xmm2, xmm8, xmm7
vaddss xmm0, xmm2, xmm10
vmovss dword [rbp + 0x67], xmm0
vmovss dword [rbp + 0x6b], xmm1
vmovss dword [rbp + 0x77], xmm2
vmovss dword [rbp + 0x7b], xmm3
mov dword [rsp + 0x28], r13d
vmovss dword [rsp + 0x20], xmm9
mov r9d, eax
lea r8, [rbp + 0x67]
lea rdx, [rbp + 0x77]
mov rcx, r10
call fcn.180068ca0
vaddss xmm7, xmm11, dword [0x180218b1c]
mov rcx, qword [0x180242b30]
mov rax, qword [rcx + 0x1330]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x1330]
vmovss xmm0, dword [rax + 0x2c]
vsubss xmm1, xmm0, dword [rax + 0x9c]
vaddss xmm4, xmm1, xmm7
vmovss xmm2, dword [rax + 0x28]
vsubss xmm3, xmm2, dword [rax + 0x98]
vaddss xmm0, xmm8, dword [0x180218b28]
vaddss xmm1, xmm3, xmm0
vmovss dword [rax + 0x118], xmm1
vmovss dword [rax + 0x11c], xmm4
mov byte [rax + 0x159], 1
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18012b06e
mov rcx, qword [rdi]
xor edx, edx
mov r8d, 1
call fcn.180079940
cmp byte [rsi + 8], r15b
jne 0x18012b171
mov rcx, qword [0x180242b30]
mov rax, qword [rcx + 0x1330]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x1330]
vmovss xmm0, dword [rax + 0x2c]
vsubss xmm1, xmm0, dword [rax + 0x9c]
vaddss xmm4, xmm1, xmm7
vmulss xmm0, xmm10, dword [0x1802189f4]
vaddss xmm3, xmm0, xmm8
vmovss xmm1, dword [rax + 0x28]
vsubss xmm2, xmm1, dword [rax + 0x98]
vaddss xmm0, xmm3, xmm2
vmovss dword [rax + 0x118], xmm0
vmovss dword [rax + 0x11c], xmm4
mov byte [rax + 0x159], 1
lea rax, [0x18020f0e4]
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], 2
mov eax, dword [rsi + 4]
mov dword [rsp + 0x38], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x50], 1
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
vmovups xmm0, xmmword [rsp + 0x50]
vmovdqa xmmword [rsp + 0x50], xmm0
vmovups xmm1, xmmword [rbp - 0x79]
vmovdqa xmmword [rbp - 0x79], xmm1
lea r8, [rsp + 0x50]
lea rdx, [rbp - 0x79]
lea rcx, [rbp - 0x69]
call fcn.1800b12c0
nop
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova rcx, qword [rbp - 0x69]
xor edx, edx
mov r8d, 1
call fcn.180079940
nop
lea rcx, [rbp - 0x69]
call fcn.180098e30
cmp byte [rsi + 0xa], 0
jne 0x18012b206
vaddss xmm2, xmm11, dword [0x180218b0c]
mov rcx, qword [0x180242b30]
mov rax, qword [rcx + 0x1330]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x1330]
vmovss xmm0, dword [rax + 0x2c]
vsubss xmm1, xmm0, dword [rax + 0x9c]
vaddss xmm4, xmm1, xmm2
vaddss xmm2, xmm8, xmm10
vsubss xmm3, xmm2, dword [0x180218b54]
vmovss xmm0, dword [rax + 0x28]
vsubss xmm1, xmm0, dword [rax + 0x98]
vaddss xmm2, xmm3, xmm1
vmovss dword [rax + 0x118], xmm2
vmovss dword [rax + 0x11c], xmm4
mov byte [rax + 0x159], 1
vmovdqu xmm0, xmmword [0x180219390]
vmovdqa xmmword [rbp - 0x79], xmm0
lea r8, [rbp - 0x79]
lea rcx, [0x180211604]
call fcn.18010dd20
movzx r15d, al
mov rdx, qword [0x180242b30]
mov rcx, qword [rdx + 0x1330]
mov byte [rcx + 0xcc], 1
mov rcx, qword [rdx + 0x1330]
vmovss xmm0, dword [rcx + 0x2c]
vsubss xmm1, xmm0, dword [rcx + 0x9c]
vaddss xmm3, xmm11, xmm1
vmovss xmm2, dword [rcx + 0x28]
vsubss xmm0, xmm2, dword [rcx + 0x98]
vaddss xmm1, xmm0, xmm8
vmovss dword [rcx + 0x118], xmm1
vmovss dword [rcx + 0x11c], xmm3
mov byte [rcx + 0x159], 1
vmovss dword [rbp + 0x67], xmm10
vmovss dword [rbp + 0x6b], xmm6
lea rax, [0x18020f0d8]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 4
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18012b288
mov rcx, qword [rdi]
lea r14, [rdi + 0x10]
mov rax, qword [r14]
mov qword [rbp - 0x79], rcx
mov qword [rbp - 0x71], rax
vmovups xmm0, xmmword [rbp - 0x79]
vmovups xmmword [rsp + 0x38], xmm0
movabs rax, 0xc000000000000000
mov qword [rsp + 0x30], rax
mov qword [rbp - 0x79], 1
lea rax, [rsp + 0x30]
mov qword [rbp - 0x71], rax
vmovups xmm0, xmmword [rbp - 0x79]
vmovdqa xmmword [rbp - 0x79], xmm0
vmovups xmm1, xmmword [rsp + 0x50]
vmovdqa xmmword [rsp + 0x50], xmm1
lea r8, [rbp - 0x79]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x69]
call fcn.1800b12c0
nop
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 0xf
cmova rcx, qword [rbp - 0x69]
lea rdx, [rbp + 0x67]
call fcn.18007a9a0
movzx ebx, al
lea rcx, [rbp - 0x69]
call fcn.180098e30
lea r12, [0x18023c680]
test bl, bl
je 0x18012b355
cmp r12, rdi
je 0x18012b33a
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18012b32b
mov rdx, qword [rdi]
mov r8, qword [r14]
mov rcx, r12
call fcn.180098e90
lea r14, [rdi + 0x10]
mov eax, dword [rsi]
mov dword [0x18023c570], eax
mov eax, dword [rsi + 4]
mov dword [0x18023c574], eax
movzx eax, byte [rsi + 8]
mov byte [0x18023c578], al
test r15b, r15b
je 0x18012b4b6
mov r8, qword [r14]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18012b36e
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
mov rcx, r13
test r8, r8
je 0x18012b3a3
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x18012b390
mov r9, rbx
mov r8, rdi
lea rdx, [rbp - 0x79]
lea rcx, [0x180253710]
call fcn.18009c890
mov rsi, qword [rax + 8]
test rsi, rsi
je 0x18012b43b
and rbx, qword [0x180253740]
add rbx, rbx
mov rcx, qword [0x180253728]
mov rax, qword [rcx + rbx*8]
cmp qword [rcx + rbx*8 + 8], rsi
jne 0x18012b400
cmp rax, rsi
jne 0x18012b3f5
mov rax, qword [0x180253718]
mov qword [rcx + rbx*8], rax
mov qword [rcx + rbx*8 + 8], rax
jmp 0x18012b40c
mov rax, qword [rsi + 8]
mov qword [rcx + rbx*8 + 8], rax
jmp 0x18012b40c
cmp rax, rsi
jne 0x18012b40c
mov rax, qword [rsi]
mov qword [rcx + rbx*8], rax
mov rdx, qword [rsi]
dec qword [0x180253720]
mov rax, qword [rsi + 8]
mov qword [rax], rdx
mov rax, qword [rsi + 8]
mov qword [rdx + 8], rax
lea rcx, [rsi + 0x10]
call fcn.180098e30
mov edx, 0x40
mov rcx, rsi
call fcn.18019051c
mov byte [0x1802537ab], 1
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18012b44f
mov rdx, qword [rdi]
mov rcx, r12
cmp qword [0x18023c698], 0xf
cmova rcx, qword [0x18023c680]
mov r8, qword [0x18023c690]
cmp r8, qword [rdi + 0x10]
jne 0x18012b4b6
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18012b4b6
xor r8d, r8d
lea rdx, [0x1801c0647]
mov rcx, r12
call fcn.180098e90
mov dword [0x18023c570], 0xffffffff
mov dword [0x18023c574], r13d
mov word [0x18023c578], 0x100
mov byte [0x18023c57a], 0
movzx eax, byte [rsp + 0x3b]
mov byte [0x18023c57b], al
mov rcx, rdi
lea r11, [rsp + 0xf8]
vmovaps xmm6, xmmword [r11 - 0x18]
vmovaps xmm7, xmmword [r11 - 0x28]
vmovaps xmm8, xmmword [r11 - 0x38]
vmovaps xmm9, xmmword [r11 - 0x48]
vmovaps xmm10, xmmword [r11 - 0x58]
vmovaps xmm11, xmmword [r11 - 0x68]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
jmp fcn.180098e30