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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rbx, qword [rcx + 0x18]
add rdx, rbx
jae 0x18012a0c5
mov cl, 1
call fcn.1800c4ee0
jmp 0x18012a679
mov rdi, rcx
mov rsi, qword [rcx + 8]
lea r8, [rsi + 1]
mov rax, r8
shr rax, 3
mov r10, r8
and r10, 0xfffffffffffffff8
sub r10, rax
cmp rsi, 8
cmovb r10, rsi
mov rax, r10
shr rax, 1
cmp rdx, rax
jbe 0x18012a127
inc r10
cmp rdx, r10
cmova r10, rdx
cmp r10, 8
jae 0x18012a154
xor eax, eax
cmp r10, 4
setae al
lea r14, [rax*4 + 4]
mov ecx, 0x58
mov rax, r14
mul rcx
jo 0x18012a0b9
jmp 0x18012a1ae
mov r14, qword [rdi]
mov rcx, r8
shr rcx, 4
xor eax, eax
test r8b, 0xf
setne al
add rax, rcx
je 0x18012a2a3
cmp rax, 1
jne 0x18012a229
xor edx, edx
jmp 0x18012a287
mov rax, r10
shr rax, 0x3d
jne 0x18012a0b9
shl r10, 3
movabs rcx, 0x2492492492492493
mov rax, r10
mul rcx
sub r10, rdx
shr r10, 1
add r10, rdx
shr r10, 2
dec r10
bsr rax, r10
not eax
mov r14, 0xffffffffffffffff
mov rdx, rdi
mov ecx, eax
shr r14, cl
inc r14
mov ecx, 0x58
mov rax, r14
mul rcx
jo 0x18012a0b9
add rax, 0xf
and rax, 0xfffffffffffffff0
lea r15, [r14 + 0x10]
mov r12, rax
add r12, r15
jb 0x18012a0b9
movabs rcx, 0x7ffffffffffffff1
cmp r12, rcx
jae 0x18012a0b9
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x28], rbx
mov r13, rdi
test r12, r12
je 0x18012a68a
movzx ecx, byte [0x1801d1771]
mov edx, 0x10
mov rcx, r12
mov rdi, rax
call fcn.180023d40
mov rbx, rax
mov rax, rdi
test rbx, rbx
jne 0x18012a68f
mov edx, 0x10
mov cl, 1
mov r8, r12
call fcn.1800c4f30
jmp 0x18012a679
movabs rcx, 0x1ffffffffffffffe
and rcx, rax
xor r9d, r9d
movdqa xmm0, xmmword [0x180182e40]
nop word cs:[rax + rax]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r9]
por xmm1, xmm0
movdqa xmmword [r14 + r9], xmm1
lea rdx, [r9 + 0x20]
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [r14 + r9 + 0x10]
por xmm1, xmm0
movdqa xmmword [r14 + r9 + 0x10], xmm1
mov r9, rdx
add rcx, 0xfffffffffffffffe
jne 0x18012a250
test al, 1
je 0x18012a2a3
pxor xmm0, xmm0
pcmpgtb xmm0, xmmword [r14 + rdx]
por xmm0, xmmword [0x180182e40]
movdqa xmmword [r14 + rdx], xmm0
mov qword [rsp + 0x38], r10
cmp r8, 0x10
jae 0x18012a2c9
lea rcx, [r14 + 0x10]
mov rdx, r14
mov r15, r8
call sub.VCRUNTIME140.dll_memmove
test r15, r15
jne 0x18012a2d4
xor eax, eax
jmp 0x18012a668
movdqu xmm0, xmmword [r14]
movdqu xmmword [r14 + r8], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
lea rax, [r14 - 0x58]
mov qword [rsp + 0x40], rax
xor r8d, r8d
movabs rbx, 0xaf64724c8602eb6e
movabs r10, 0x100000001b3
mov r11, r14
jmp 0x18012a338
shr r13, 0x39
lea rax, [r8 - 0x10]
and rax, rsi
mov byte [r14 + r8], r13b
mov byte [r14 + rax + 0x10], r13b
lea rax, [r8 + 1]
add r11, 0xffffffffffffffa8
cmp r8, rsi
mov r8, rax
je 0x18012a659
cmp byte [r14 + r8], 0x80
jne 0x18012a324
imul r15, r8, 0xffffffffffffffa8
mov rax, qword [rsp + 0x40]
lea r12, [rax + r15]
add r15, r14
mov rax, r8
not rax
imul rdi, rax, 0x58
add rdi, r14
mov rax, r8
neg rax
imul rbp, rax, 0x58
add rbp, r14
jmp 0x18012a41c
mov rcx, qword [rdi]
mov rdx, qword [rax]
mov qword [rdi], rdx
mov qword [rax], rcx
mov rcx, qword [rdi + 8]
mov rdx, qword [rax + 8]
mov qword [rdi + 8], rdx
mov qword [rax + 8], rcx
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rax + 0x10]
mov qword [rdi + 0x10], rdx
mov qword [rax + 0x10], rcx
mov rcx, qword [rdi + 0x18]
mov rdx, qword [rax + 0x18]
mov qword [rdi + 0x18], rdx
mov qword [rax + 0x18], rcx
mov rcx, qword [rdi + 0x20]
mov rdx, qword [rax + 0x20]
mov qword [rdi + 0x20], rdx
mov qword [rax + 0x20], rcx
mov rcx, qword [rdi + 0x28]
mov rdx, qword [rax + 0x28]
mov qword [rdi + 0x28], rdx
mov qword [rax + 0x28], rcx
mov rcx, qword [rdi + 0x30]
mov rdx, qword [rax + 0x30]
mov qword [rdi + 0x30], rdx
mov qword [rax + 0x30], rcx
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rax + 0x38]
mov qword [rdi + 0x38], rdx
mov qword [rax + 0x38], rcx
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rax + 0x40]
mov qword [rdi + 0x40], rdx
mov qword [rax + 0x40], rcx
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rax + 0x48]
mov qword [rdi + 0x48], rdx
mov qword [rax + 0x48], rcx
mov rcx, qword [rdi + 0x50]
mov rdx, qword [rax + 0x50]
mov qword [rdi + 0x50], rdx
mov qword [rax + 0x50], rcx
mov rax, qword [rbp - 0x48]
mov r13, rbx
test rax, rax
je 0x18012a502
mov rcx, qword [rbp - 0x50]
cmp rax, 8
jae 0x18012a450
movabs rdx, 0xcbf29ce484222325
jmp 0x18012a4d5
mov r13, rax
and r13, 0xfffffffffffffff8
movabs rdx, 0xcbf29ce484222325
nop word cs:[rax + rax]
movzx r9d, byte [rcx]
xor r9, rdx
imul r9, r10
movzx edx, byte [rcx + 1]
xor rdx, r9
imul rdx, r10
movzx r9d, byte [rcx + 2]
xor r9, rdx
imul r9, r10
movzx edx, byte [rcx + 3]
xor rdx, r9
imul rdx, r10
movzx r9d, byte [rcx + 4]
xor r9, rdx
imul r9, r10
movzx edx, byte [rcx + 5]
xor rdx, r9
imul rdx, r10
movzx r9d, byte [rcx + 6]
xor r9, rdx
imul r9, r10
movzx edx, byte [rcx + 7]
add rcx, 8
xor rdx, r9
imul rdx, r10
add r13, 0xfffffffffffffff8
jne 0x18012a470
mov r13, rdx
and eax, 7
je 0x18012a4f7
xor r9d, r9d
movzx r13d, byte [rcx + r9]
xor r13, rdx
imul r13, r10
inc r9
mov rdx, r13
cmp rax, r9
jne 0x18012a4e0
xor r13, 0xff
imul r13, r10
mov rax, rsi
and rax, r13
movdqu xmm0, xmmword [r14 + rax]
pmovmskb ecx, xmm0
mov rdx, rax
test ecx, ecx
jne 0x18012a548
mov r9d, 0x10
mov rdx, rax
nop word cs:[rax + rax]
add rdx, r9
and rdx, rsi
movdqu xmm0, xmmword [r14 + rdx]
pmovmskb ecx, xmm0
add r9, 0x10
test ecx, ecx
je 0x18012a530
tzcnt ecx, ecx
add rcx, rdx
and rcx, rsi
cmp byte [r14 + rcx], 0
js 0x18012a566
movdqa xmm0, xmmword [r14]
pmovmskb ecx, xmm0
tzcnt ecx, ecx
mov rdx, r8
sub rdx, rax
mov r9, rcx
sub r9, rax
xor r9, rdx
and r9, rsi
cmp r9, 0x10
jb 0x18012a310
mov rax, rcx
not rax
imul rax, rax, 0x58
add rax, r14
movzx edx, byte [r14 + rcx]
shr r13, 0x39
lea r9, [rcx - 0x10]
and r9, rsi
mov byte [r14 + rcx], r13b
mov byte [r14 + r9 + 0x10], r13b
cmp dl, 0xff
je 0x18012a610
imul rcx, rcx, 0xffffffffffffffa8
add rcx, r14
cmp r12, rcx
jae 0x18012a370
cmp rax, r15
jae 0x18012a370
mov rax, 0xffffffffffffffa8
nop dword [rax]
movzx edx, byte [r11 + rax]
movzx r9d, byte [rcx + rax]
mov byte [r11 + rax], r9b
mov byte [rcx + rax], dl
movzx edx, byte [r11 + rax + 1]
movzx r9d, byte [rcx + rax + 1]
mov byte [r11 + rax + 1], r9b
mov byte [rcx + rax + 1], dl
add rax, 2
jne 0x18012a5d0
jmp 0x18012a41c
lea rcx, [r8 - 0x10]
and rcx, rsi
mov byte [r14 + r8], 0xff
mov byte [r14 + rcx + 0x10], 0xff
mov rcx, qword [rdi + 0x50]
mov qword [rax + 0x50], rcx
movups xmm0, xmmword [rdi + 0x40]
movups xmmword [rax + 0x40], xmm0
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmmword [rax + 0x30], xmm3
movups xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
jmp 0x18012a324
mov rbx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rax, qword [rsp + 0x38]
sub rax, rbx
mov qword [rdi + 0x10], rax
movabs rax, 0x8000000000000001
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 0x10
lea r12, [r14 - 1]
mov rcx, r14
shr rcx, 3
mov rdx, r14
and rdx, 0xfffffffffffffff8
sub rdx, rcx
cmp r14, 9
cmovb rdx, r12
mov qword [rsp + 0x38], rdx
add rbx, rax
mov rcx, rbx
mov dl, 0xff
mov r8, r15
call sub.VCRUNTIME140.dll_memset
mov r14, qword [rsp + 0x28]
test r14, r14
je 0x18012a92a
mov qword [rsp + 0x30], r13
mov rcx, qword [r13]
movdqa xmm0, xmmword [rcx]
pmovmskb r15d, xmm0
not r15d
xor edx, edx
movabs r10, 0x100000001b3
mov r11, rcx
jmp 0x18012a77b
lea r8d, [r15 - 1]
and r8d, r15d
dec r14
shr rbp, 0x39
lea rdi, [r9 - 0x10]
and rdi, r12
mov byte [rbx + r9], bpl
mov byte [rbx + rdi + 0x10], bpl
not rax
imul rax, rax, 0x58
not r9
imul r9, r9, 0x58
mov rdi, qword [rcx + rax + 0x50]
mov qword [rbx + r9 + 0x50], rdi
movups xmm0, xmmword [rcx + rax + 0x40]
movups xmmword [rbx + r9 + 0x40], xmm0
movdqu xmm0, xmmword [rcx + rax]
movdqu xmm1, xmmword [rcx + rax + 0x10]
movups xmm2, xmmword [rcx + rax + 0x20]
movups xmm3, xmmword [rcx + rax + 0x30]
movups xmmword [rbx + r9 + 0x30], xmm3
movups xmmword [rbx + r9 + 0x20], xmm2
movdqu xmmword [rbx + r9 + 0x10], xmm1
movdqu xmmword [rbx + r9], xmm0
mov r15d, r8d
test r14, r14
je 0x18012a923
test r15w, r15w
jne 0x18012a7af
nop word cs:[rax + rax]
movdqa xmm0, xmmword [r11 + 0x10]
add r11, 0x10
pmovmskb r15d, xmm0
add rdx, 0x10
cmp r15d, 0xffff
je 0x18012a790
not r15d
tzcnt eax, r15d
add rax, rdx
mov r8, rax
neg r8
imul r8, r8, 0x58
mov r13, qword [rcx + r8 - 0x48]
movabs rbp, 0xaf64724c8602eb6e
test r13, r13
je 0x18012a8c2
mov r9, qword [rcx + r8 - 0x50]
cmp r13, 8
jae 0x18012a800
movabs r8, 0xcbf29ce484222325
jmp 0x18012a889
mov rbp, r13
and rbp, 0xfffffffffffffff8
movabs r8, 0xcbf29ce484222325
nop word cs:[rax + rax]
movzx edi, byte [r9]
xor rdi, r8
imul rdi, r10
movzx r8d, byte [r9 + 1]
xor r8, rdi
imul r8, r10
movzx edi, byte [r9 + 2]
xor rdi, r8
imul rdi, r10
movzx r8d, byte [r9 + 3]
xor r8, rdi
imul r8, r10
movzx edi, byte [r9 + 4]
xor rdi, r8
imul rdi, r10
movzx r8d, byte [r9 + 5]
xor r8, rdi
imul r8, r10
movzx edi, byte [r9 + 6]
xor rdi, r8
imul rdi, r10
movzx r8d, byte [r9 + 7]
add r9, 8
xor r8, rdi
imul r8, r10
add rbp, 0xfffffffffffffff8
jne 0x18012a820
mov rbp, r8
and r13d, 7
je 0x18012a8b7
xor edi, edi
nop word cs:[rax + rax]
movzx ebp, byte [r9 + rdi]
xor rbp, r8
imul rbp, r10
inc rdi
mov r8, rbp
cmp r13, rdi
jne 0x18012a8a0
xor rbp, 0xff
imul rbp, r10
mov r8, rbp
and r8, r12
movdqu xmm0, xmmword [rbx + r8]
pmovmskb r9d, xmm0
test r9d, r9d
jne 0x18012a8fa
mov edi, 0x10
nop dword [rax]
add r8, rdi
and r8, r12
movdqu xmm0, xmmword [rbx + r8]
pmovmskb r9d, xmm0
add rdi, 0x10
test r9d, r9d
je 0x18012a8e0
tzcnt r9d, r9d
add r9, r8
and r9, r12
cmp byte [rbx + r9], 0
js 0x18012a700
movdqa xmm0, xmmword [rbx]
pmovmskb r8d, xmm0
tzcnt r9d, r8d
jmp 0x18012a700
mov r13, qword [rsp + 0x30]
jmp 0x18012a92e
mov rcx, qword [r13]
mov rax, qword [rsp + 0x38]
sub rax, qword [rsp + 0x28]
mov qword [r13], rbx
mov qword [r13 + 8], r12
mov qword [r13 + 0x10], rax
movabs rax, 0x8000000000000001
test rsi, rsi
mov r8, qword [rsp + 0x40]
je 0x18012a679
mov rbx, rax
mov edx, 0x58
mov rax, r8
mul rdx
add rax, 0xf
and rax, 0xfffffffffffffff0
add rsi, rax
add rsi, 0x11
je 0x18012a98c
sub rcx, rax
mov r8d, 0x10
mov rdx, rsi
call fcn.180023d50
mov rax, rbx
jmp 0x18012a679