Function at 0x14001ffc0
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, 0xd8
mov r14, r9
mov rsi, rcx
lea r13, [0x1401caec8]
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.14002cb50
movzx ebx, byte [rsp + 0x60]
cmp ebx, 3
jne 0x14002000d
mov qword [rsi], 2
jmp 0x1400204d3
mov r11, qword [r14 + 0x28]
test r11, r11
je 0x1400200de
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rbp, qword [rsp + 0x58]
cmp dword [r14], 2
mov qword [rsp + 0x30], rsi
jne 0x1400200e5
mov qword [rsp + 0x48], r11
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140196320]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140196330]
movdqa xmmword [rsp + 0x60], xmm1
movdqa xmmword [rsp + 0x70], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x90], 0
xor eax, eax
cmp ebx, 2
setne al
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.140020b50
mov rdi, r13
cmp ebx, 2
jne 0x14002013d
mov r13, qword [rsp + 0x28]
movzx eax, r13b
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.140020b50
jmp 0x1400201f7
xor eax, eax
jmp 0x1400204c8
xor eax, eax
cmp ebx, 2
setne al
movabs r15, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x1efac7090aef4a21
imul r15, rcx
cmp ebx, 2
jne 0x140020158
movzx eax, byte [rsp + 0x28]
xor r15d, eax
imul ecx, r15d
and ecx, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, ecx
and eax, r12d
mov r10, qword [r14 + 0x20]
mov rdi, qword [r14 + 0x48]
mov r14, qword [r14 + 0x50]
mov r15d, ecx
jmp 0x140020322
test ebx, ebx
je 0x1400201ab
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov r8, rbp
call fcn.140020b50
jmp 0x1400201f7
mov rax, qword [rsp + 0x28]
add rax, rbp
test ebx, ebx
je 0x1400203a7
test rbp, rbp
je 0x1400203f0
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 7
je 0x1400204e7
mov r9, r15
mov r10, qword [rsp + 0x28]
movzx r15d, byte [r10]
inc r10
xor r15, r9
imul r15, rcx
mov r9, r15
dec r8
jne 0x140020190
jmp 0x1400204ec
test rbp, rbp
mov r13, qword [rsp + 0x28]
je 0x1400201f7
xor esi, esi
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x40]
nop word cs:[rax + rax]
movzx eax, byte [r13 + rsi]
movzx eax, byte [rax + rdi]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.140020b50
inc rsi
cmp rbp, rsi
jne 0x1400201d0
mov rax, qword [rsp + 0x60]
mov r9, qword [rsp + 0x80]
shl r9, 0x38
or r9, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
mov r8, qword [rsp + 0x50]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x58]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
add rdx, rcx
shl rcx, 0x10
xor rcx, rdx
shr rcx, 0x2b
add rdx, rax
shr rax, 0x2f
xor rax, rcx
mov r15, rdx
shr r15, 0x20
xor r15, rdx
xor r15, rax
mov r11, qword [rsp + 0x48]
mov r13, rdi
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov r10, qword [r14 + 0x20]
mov rdi, qword [r14 + 0x48]
mov r14, qword [r14 + 0x50]
test ebx, ebx
je 0x14002058b
cmp ebx, 2
jne 0x14002040e
xor ecx, ecx
mov rdx, qword [rsp + 0x28]
jmp 0x140020340
inc rcx
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, r14
jae 0x140020340
movzx ebp, word [rdi + rbx*4]
cmp rbp, 0xffff
je 0x1400204c1
movzx eax, word [rdi + rbx*4 + 2]
mov r9d, eax
and r9d, r12d
mov r8d, ebx
sub r8d, r9d
and r8d, r12d
cmp rcx, r8
ja 0x1400204c1
cmp ax, r15w
jne 0x14002032b
cmp r11, rbp
jbe 0x140020701
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
jne 0x14002032b
add rax, r10
add rax, 0x40
cmp byte [rax + 8], dl
jne 0x14002032b
jmp 0x1400204b5
test rbp, rbp
je 0x14002056d
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 3
je 0x140020695
mov rsi, qword [rsp + 0x28]
mov r9, r15
nop
movzx r10d, byte [rsi]
movzx r15d, byte [r10 + r13]
xor r15, r9
imul r15, rcx
inc rsi
mov r9, r15
dec r8
jne 0x1400203d0
jmp 0x14002069a
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov r10, qword [r14 + 0x20]
mov rdi, qword [r14 + 0x48]
mov r14, qword [r14 + 0x50]
mov qword [rsp + 0x38], rbp
xor r13d, r13d
mov qword [rsp + 0x48], r11
jmp 0x140020430
inc r13
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, r14
jae 0x140020430
movzx ebp, word [rdi + rbx*4]
cmp rbp, 0xffff
je 0x1400204c1
movzx eax, word [rdi + rbx*4 + 2]
mov ecx, eax
and ecx, r12d
mov r8d, ebx
sub r8d, ecx
and r8d, r12d
cmp r13, r8
ja 0x1400204c1
cmp ax, r15w
jne 0x14002041d
cmp r11, rbp
jbe 0x140020701
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x14002041d
add rax, r10
add rax, 0x40
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jne 0x14002041d
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x38]
mov rsi, r10
call sub.msvcrt.dll_memcmp
mov r10, rsi
mov r11, qword [rsp + 0x48]
test eax, eax
jne 0x14002041d
mov eax, 1
mov rsi, qword [rsp + 0x30]
jmp 0x1400204c8
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbp
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r10, qword [rsp + 0x28]
cmp rbp, 8
jb 0x1400202f3
nop word cs:[rax + rax]
movzx r8d, byte [r10]
xor r8, r15
imul r8, rcx
movzx r9d, byte [r10 + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r10 + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r10 + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r10 + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [r10 + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [r10 + 6]
xor r8, r9
imul r8, rcx
movzx r15d, byte [r10 + 7]
add r10, 8
xor r15, r8
imul r15, rcx
cmp r10, rax
jne 0x140020500
jmp 0x1400202f3
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov r10, qword [r14 + 0x20]
mov rdi, qword [r14 + 0x48]
mov r14, qword [r14 + 0x50]
mov qword [rsp + 0x38], rbp
lea rdx, [rbp - 1]
xor esi, esi
mov rbx, rax
jmp 0x1400205a6
inc rsi
inc rbx
mov rax, rbx
nop dword [rax]
mov rbx, rax
mov eax, 0
cmp rbx, r14
jae 0x1400205b0
movzx ebp, word [rdi + rbx*4]
cmp rbp, 0xffff
je 0x140020689
movzx eax, word [rdi + rbx*4 + 2]
mov r8d, eax
and r8d, r12d
mov r9d, ebx
sub r9d, r8d
and r9d, r12d
cmp rsi, r9
ja 0x140020689
cmp ax, r15w
jne 0x1400205a0
cmp r11, rbp
jbe 0x140020701
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x1400205a0
add rax, r10
add rax, 0x40
mov r8, qword [rsp + 0x38]
cmp qword [rax + 0x10], r8
jne 0x1400205a0
cmp qword [rsp + 0x38], 0
je 0x14002067a
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x28]
movzx r8d, byte [rcx]
movzx r8d, byte [r8 + r13]
cmp r8b, byte [rax]
jne 0x1400205a0
xor r8d, r8d
nop
cmp rdx, r8
je 0x14002067a
mov rcx, qword [rsp + 0x28]
movzx r9d, byte [rcx + r8 + 1]
mov rcx, r11
mov r11, r10
movzx r10d, byte [r9 + r13]
lea r9, [r8 + 1]
cmp r10b, byte [rax + r8 + 1]
mov r10, r11
mov r11, rcx
mov r8, r9
je 0x140020640
cmp r9, qword [rsp + 0x38]
jb 0x1400205a0
mov rsi, qword [rsp + 0x30]
mov eax, 1
jmp 0x1400204c8
xor eax, eax
mov rsi, qword [rsp + 0x30]
jmp 0x1400204c8
mov rsi, qword [rsp + 0x28]
cmp rbp, 4
jb 0x1400202f3
nop word cs:[rax + rax]
movzx r8d, byte [rsi]
movzx r8d, byte [r8 + r13]
xor r8, r15
imul r8, rcx
movzx r9d, byte [rsi + 1]
movzx r9d, byte [r9 + r13]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rsi + 2]
movzx r8d, byte [r8 + r13]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rsi + 3]
movzx r15d, byte [r9 + r13]
xor r15, r8
imul r15, rcx
add rsi, 4
cmp rsi, rax
jne 0x1400206b0
jmp 0x1400202f3
ud2