Function at 0x18005a8c0
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, 0x38
mov rdi, qword [rcx + 0x10]
mov rax, rdi
inc rax
jne 0x18005a8eb
mov cl, 1
call fcn.18004f2d0
mov rdi, rdx
jmp 0x18005a9d7
mov rbx, rcx
mov r13, qword [rcx]
lea r15, [r13 + 1]
mov rcx, r15
shr rcx, 3
mov r14, r15
and r14, 0xfffffffffffffff8
sub r14, rcx
cmp r13, 8
cmovb r14, r13
mov rcx, r14
shr rcx, 1
cmp rax, rcx
jbe 0x18005a943
inc r14
cmp rax, r14
cmova r14, rax
cmp r14, 8
jae 0x18005a9eb
xor eax, eax
cmp r14, 4
setae al
lea rbp, [rax*4 + 4]
jmp 0x18005ad3f
mov qword [rsp + 0x30], rdi
mov rdi, qword [rbx + 0x18]
xor edx, edx
movdqa xmm0, xmmword [0x1800661d0]
xor eax, eax
jmp 0x18005a986
cmp rax, r15
mov rcx, rax
adc rcx, 0
cmp rax, r15
jae 0x18005a99c
pxor xmm1, xmm1
pcmpgtb xmm1, xmmword [rdi + rax]
por xmm1, xmm0
movdqa xmmword [rdi + rax], xmm1
mov dl, 1
mov rax, rcx
test dl, 1
je 0x18005a960
add rax, 0xf
jb 0x18005a99c
cmp rax, r15
jae 0x18005a99c
lea rcx, [rax + 1]
jmp 0x18005a96f
cmp r15, 0x10
mov qword [rsp + 0x28], rbx
jae 0x18005aa23
lea rcx, [rdi + 0x10]
mov rdx, rdi
mov r8, r15
call sub.VCRUNTIME140.dll_memmove
cmp r13, 0xffffffffffffffff
jne 0x18005aa2d
xor r14d, r14d
sub r14, qword [rsp + 0x30]
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], r14
movabs rdi, 0x8000000000000001
mov rax, rdi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov rax, r14
mul rcx
jno 0x18005acfd
mov rsi, rdi
mov cl, 1
call fcn.18004f2d0
mov rbp, rax
mov rdi, rdx
movabs rax, 0x8000000000000001
cmp rdx, rax
jne 0x18005a9d7
mov rdi, rsi
jmp 0x18005ad3f
movdqu xmm0, xmmword [rdi]
movdqu xmmword [rdi + r15], xmm0
lea r8, [rdi - 0x58]
xor r11d, r11d
movabs r10, 0xaf64724c8602eb6e
movabs r9, 0xcbf29ce484222325
movabs rbx, 0x100000001b3
jmp 0x18005aa83
shr rax, 0x39
lea rcx, [r11 - 0x10]
and rcx, r13
mov byte [rdi + r11], al
mov byte [rcx + rdi + 0x10], al
lea rax, [r11 + 1]
cmp r11, r13
mov r11, rax
je 0x18005a9bf
cmp byte [rdi + r11], 0x80
jne 0x18005aa73
mov rax, r11
not rax
imul r15, rax, 0x58
add r15, rdi
mov rax, r11
neg rax
imul r12, rax, 0x58
add r12, r8
mov rbp, qword [r12 + 0x10]
mov rax, r10
test rbp, rbp
je 0x18005ab80
nop word cs:[rax + rax]
mov rcx, qword [r12 + 8]
lea rax, [rbp - 1]
mov esi, ebp
and esi, 7
cmp rax, 7
jae 0x18005aae0
mov rdx, r9
jmp 0x18005ab51
and rbp, 0xfffffffffffffff8
mov rdx, r9
nop word [rax + rax]
movzx eax, byte [rcx]
xor rax, rdx
imul rax, rbx
movzx edx, byte [rcx + 1]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rcx + 2]
xor rax, rdx
imul rax, rbx
movzx edx, byte [rcx + 3]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rcx + 4]
xor rax, rdx
imul rax, rbx
movzx edx, byte [rcx + 5]
xor rdx, rax
imul rdx, rbx
movzx eax, byte [rcx + 6]
xor rax, rdx
imul rax, rbx
movzx edx, byte [rcx + 7]
add rcx, 8
xor rdx, rax
imul rdx, rbx
add rbp, 0xfffffffffffffff8
jne 0x18005aaf0
mov rax, rdx
test rsi, rsi
je 0x18005ab76
xor ebp, ebp
nop dword [rax + rax]
movzx eax, byte [rcx + rbp]
xor rax, rdx
imul rax, rbx
inc rbp
mov rdx, rax
cmp rsi, rbp
jne 0x18005ab60
xor rax, 0xff
imul rax, rbx
mov rcx, r13
and rcx, rax
movdqu xmm0, xmmword [rdi + rcx]
pmovmskb edx, xmm0
mov rsi, rcx
test edx, edx
jne 0x18005abb7
mov ebp, 0x10
mov rsi, rcx
nop
add rsi, rbp
and rsi, r13
movdqu xmm0, xmmword [rdi + rsi]
pmovmskb edx, xmm0
add rbp, 0x10
test edx, edx
je 0x18005aba0
bsf dx, dx
movzx edx, dx
add rdx, rsi
and rdx, r13
cmp byte [rdi + rdx], 0
js 0x18005abd9
movdqa xmm0, xmmword [rdi]
pmovmskb edx, xmm0
bsf dx, dx
movzx edx, dx
mov rsi, r11
sub rsi, rcx
mov rbp, rdx
sub rbp, rcx
xor rbp, rsi
and rbp, r13
cmp rbp, 0xf
jbe 0x18005aa60
mov rcx, rdx
not rcx
imul rcx, rcx, 0x58
add rcx, rdi
movzx esi, byte [rdi + rdx]
shr rax, 0x39
lea rbp, [rdx - 0x10]
and rbp, r13
mov byte [rdi + rdx], al
mov byte [rbp + rdi + 0x10], al
cmp sil, 0xff
je 0x18005acb0
movups xmm0, xmmword [r15]
movups xmm1, xmmword [rcx]
movups xmmword [r15], xmm1
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r15 + 0x10]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [r15 + 0x10], xmm1
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [r15 + 0x20]
movups xmm1, xmmword [rcx + 0x20]
movups xmmword [r15 + 0x20], xmm1
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r15 + 0x30]
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [r15 + 0x30], xmm1
movups xmmword [rcx + 0x30], xmm0
movdqu xmm0, xmmword [r15 + 0x40]
movdqu xmm1, xmmword [rcx + 0x40]
movdqu xmmword [r15 + 0x40], xmm1
movdqu xmmword [rcx + 0x40], xmm0
mov rax, qword [r15 + 0x50]
mov rdx, qword [rcx + 0x50]
mov qword [r15 + 0x50], rdx
mov qword [rcx + 0x50], rax
mov rbp, qword [r12 + 0x10]
mov rax, r10
test rbp, rbp
jne 0x18005aac0
jmp 0x18005ab80
lea rax, [r11 - 0x10]
and rax, r13
mov byte [rdi + r11], 0xff
mov byte [rax + rdi + 0x10], 0xff
mov rax, qword [r15 + 0x50]
mov qword [rcx + 0x50], rax
movups xmm0, xmmword [r15 + 0x40]
movups xmmword [rcx + 0x40], xmm0
movdqu xmm0, xmmword [r15]
movdqu xmm1, xmmword [r15 + 0x10]
movups xmm2, xmmword [r15 + 0x20]
movups xmm3, xmmword [r15 + 0x30]
movups xmmword [rcx + 0x30], xmm3
movups xmmword [rcx + 0x20], xmm2
movdqu xmmword [rcx + 0x10], xmm1
movdqu xmmword [rcx], xmm0
jmp 0x18005aa73
mov rcx, rax
mov ebp, 1
cmp rax, 0xe
jb 0x18005ad3f
movabs rdx, 0x2492492492492493
mov rax, rcx
mul rdx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 2
dec rcx
bsr rcx, rcx
xor ecx, 0x3f
mov rbp, 0xffffffffffffffff
shr rbp, cl
inc rbp
mov ecx, 0x58
mov rax, rbp
mul rcx
jo 0x18005a8dc
mov rsi, rax
add rsi, 0xf
and rsi, 0xfffffffffffffff0
lea r8, [rbp + 0x10]
mov r14, rsi
add r14, r8
jb 0x18005a8dc
mov qword [rsp + 0x28], rbx
je 0x18005ada5
mov edx, 0x10
mov rcx, r14
mov rbx, r8
call fcn.180004d60
mov r8, rbx
mov r12, rax
test rax, rax
jne 0x18005adab
mov r8d, 0x10
mov cl, 1
mov rdx, r14
call fcn.18004f330
mov rdi, rdx
jmp 0x18005a9d7
mov r12d, 0x10
lea r14, [rbp - 1]
mov rax, rbp
shr rax, 3
and rbp, 0xfffffffffffffff8
sub rbp, rax
cmp r14, 8
cmovb rbp, r14
add r12, rsi
mov rcx, r12
mov dl, 0xff
call sub.VCRUNTIME140.dll_memset
sub rbp, rdi
cmp r13, 0xffffffffffffffff
je 0x18005aff5
mov qword [rsp + 0x30], rbp
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
lea r10, [rcx - 0x58]
xor r11d, r11d
movabs r8, 0xaf64724c8602eb6e
movabs r9, 0xcbf29ce484222325
movabs rax, 0x100000001b3
jmp 0x18005ae98
shr rdi, 0x39
lea rdx, [rsi - 0x10]
and rdx, r14
mov byte [r12 + rsi], dil
mov byte [rdx + r12 + 0x10], dil
mov rdx, r11
not rdx
imul rdx, rdx, 0x58
not rsi
imul rsi, rsi, 0x58
mov rdi, qword [rcx + rdx + 0x50]
mov qword [r12 + rsi + 0x50], rdi
movups xmm0, xmmword [rcx + rdx + 0x40]
movups xmmword [r12 + rsi + 0x40], xmm0
movdqu xmm0, xmmword [rcx + rdx]
movdqu xmm1, xmmword [rcx + rdx + 0x10]
movups xmm2, xmmword [rcx + rdx + 0x20]
movups xmm3, xmmword [rcx + rdx + 0x30]
movups xmmword [r12 + rsi + 0x30], xmm3
movups xmmword [r12 + rsi + 0x20], xmm2
movdqu xmmword [r12 + rsi + 0x10], xmm1
movdqu xmmword [r12 + rsi], xmm0
lea rdx, [r11 + 1]
cmp r11, r13
mov r11, rdx
je 0x18005afd6
cmp byte [rcx + r11], 0
js 0x18005ae88
mov rdx, r11
neg rdx
imul rdx, rdx, 0x58
mov rsi, qword [r10 + rdx + 0x10]
mov rdi, r8
test rsi, rsi
je 0x18005af71
mov rdx, qword [r10 + rdx + 8]
lea rdi, [rsi - 1]
mov ebp, esi
and ebp, 7
cmp rdi, 7
jae 0x18005aed3
mov rbx, r9
jmp 0x18005af41
and rsi, 0xfffffffffffffff8
mov rbx, r9
nop word [rax + rax]
movzx edi, byte [rdx]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 1]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [rdx + 2]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 3]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [rdx + 4]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 5]
xor rbx, rdi
imul rbx, rax
movzx edi, byte [rdx + 6]
xor rdi, rbx
imul rdi, rax
movzx ebx, byte [rdx + 7]
add rdx, 8
xor rbx, rdi
imul rbx, rax
add rsi, 0xfffffffffffffff8
jne 0x18005aee0
mov rdi, rbx
test rbp, rbp
je 0x18005af66
xor esi, esi
nop dword [rax + rax]
movzx edi, byte [rdx + rsi]
xor rdi, rbx
imul rdi, rax
inc rsi
mov rbx, rdi
cmp rbp, rsi
jne 0x18005af50
xor rdi, 0xff
imul rdi, rax
mov rdx, rdi
and rdx, r14
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb esi, xmm0
test esi, esi
jne 0x18005afa8
mov ebx, 0x10
nop word [rax + rax]
add rdx, rbx
and rdx, r14
movdqu xmm0, xmmword [r12 + rdx]
pmovmskb esi, xmm0
add rbx, 0x10
test esi, esi
je 0x18005af90
bsf si, si
movzx esi, si
add rsi, rdx
and rsi, r14
cmp byte [r12 + rsi], 0
js 0x18005ae20
movdqa xmm0, xmmword [r12]
pmovmskb edx, xmm0
bsf dx, dx
movzx esi, dx
jmp 0x18005ae20
mov rax, qword [rsp + 0x28]
mov qword [rax], r14
mov rdx, qword [rsp + 0x30]
mov qword [rax + 8], rdx
mov qword [rax + 0x18], r12
test r13, r13
jne 0x18005b009
jmp 0x18005a9cd
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
mov qword [rax], r14
mov qword [rax + 8], rbp
mov qword [rax + 0x18], r12
mov edx, 0x58
mov rax, r15
mul rdx
add rax, 0xf
and rax, 0xfffffffffffffff0
add r13, rax
movabs rdi, 0x8000000000000001
add r13, 0x11
je 0x18005a9d7
sub rcx, rax
mov r8d, 0x10
mov rdx, r13
call fcn.180004d70
jmp 0x18005a9d7