Function at 0x14004a5b0
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, 0xe8
mov r14, r9
mov rsi, rcx
lea rdi, [0x14030cc58]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0xa8]
call fcn.140057450
movzx ebx, byte [rsp + 0x60]
cmp ebx, 3
jne 0x14004a5fd
mov qword [rsi], 2
jmp 0x14004ac0e
mov r9, qword [r14 + 0x28]
test r9, r9
je 0x14004a6c1
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
cmp dword [r14], 2
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x40], r9
jne 0x14004a6c8
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x14027caa0]
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 + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.14004ba20
cmp ebx, 2
jne 0x14004a71f
movzx eax, r13b
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.14004ba20
jmp 0x14004a7c7
xor edi, edi
jmp 0x14004ac03
xor eax, eax
cmp ebx, 2
setne al
movabs r15, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x1efac7090aef4a21
imul r15, rcx
cmp ebx, 2
jne 0x14004a738
movzx eax, r13b
xor r15d, eax
imul ecx, r15d
and ecx, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, ecx
and eax, r12d
mov rsi, qword [r14 + 0x50]
mov r10, qword [r14 + 0x20]
mov r14, qword [r14 + 0x48]
mov r15d, ecx
jmp 0x14004a9e7
test ebx, ebx
je 0x14004a78b
lea rcx, [rsp + 0x50]
mov rdx, r13
mov r8, rbp
call fcn.14004ba20
jmp 0x14004a7c7
mov rax, r13
add rax, rbp
test ebx, ebx
je 0x14004aa70
test rbp, rbp
je 0x14004ab21
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 7
je 0x14004ac22
mov r9, r15
mov rdx, r13
nop dword [rax]
movzx r15d, byte [rdx]
inc rdx
xor r15, r9
imul r15, rcx
mov r9, r15
dec r8
jne 0x14004a770
jmp 0x14004ac25
test rbp, rbp
je 0x14004a7c7
xor esi, esi
lea r15, [rsp + 0x50]
lea r12, [rsp + 0x38]
nop dword [rax]
movzx eax, byte [r13 + rsi]
movzx eax, byte [rax + rdi]
mov byte [rsp + 0x38], al
mov r8d, 1
mov rcx, r15
mov rdx, r12
call fcn.14004ba20
inc rsi
cmp rbp, rsi
jne 0x14004a7a0
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
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rsi, qword [r14 + 0x50]
mov r10, qword [r14 + 0x20]
mov r14, qword [r14 + 0x48]
cmp ebx, 2
je 0x14004a9e2
test ebx, ebx
mov r9, qword [rsp + 0x40]
jne 0x14004ab3f
mov qword [rsp + 0x30], rbp
neg rbp
mov qword [rsp + 0x48], rbp
xor edx, edx
mov edi, 1
jmp 0x14004a910
inc rdx
inc rbx
mov rax, rbx
nop
mov rbx, rax
mov eax, 0
cmp rbx, rsi
jae 0x14004a910
movzx ebp, word [r14 + rbx*4]
cmp rbp, 0xffff
je 0x14004aa69
mov r11, r9
movzx eax, word [r14 + rbx*4 + 2]
mov r8d, eax
and r8d, r12d
mov r9d, ebx
sub r9d, r8d
and r9d, r12d
cmp rdx, r9
ja 0x14004aa69
cmp ax, r15w
mov r9, r11
jne 0x14004a905
cmp r9, rbp
jbe 0x14004acc0
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x14004a905
add rax, r10
add rax, 0x40
mov r8, qword [rsp + 0x30]
cmp qword [rax + 0x10], r8
jne 0x14004a905
mov rax, qword [rax + 8]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
mov rcx, qword [rsp + 0x48]
lea r9, [rcx + r8]
cmp r9, 0xffffffffffffffff
je 0x14004abfe
movzx r9d, byte [r13 + r8 + 1]
mov rcx, r13
mov r13, r10
lea r10, [0x14030cc58]
movzx r10d, byte [r9 + r10]
lea r9, [r8 + 1]
cmp r10b, byte [rax + r8 + 1]
mov r10, r13
mov r13, rcx
mov r8, r9
je 0x14004a990
cmp r9, qword [rsp + 0x30]
mov r9, r11
jb 0x14004a905
jmp 0x14004abfe
mov r9, qword [rsp + 0x40]
xor edi, edi
xor ecx, ecx
jmp 0x14004aa00
inc rcx
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, rsi
jae 0x14004aa00
movzx ebp, word [r14 + rbx*4]
cmp rbp, 0xffff
je 0x14004abfe
movzx eax, word [r14 + rbx*4 + 2]
mov edx, eax
and edx, r12d
mov r8d, ebx
sub r8d, edx
and r8d, r12d
cmp rcx, r8
ja 0x14004abfe
cmp ax, r15w
jne 0x14004a9ed
cmp r9, rbp
jbe 0x14004acc0
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
jne 0x14004a9ed
add rax, r10
add rax, 0x40
cmp byte [rax + 8], r13b
jne 0x14004a9ed
jmp 0x14004abf7
xor edi, edi
jmp 0x14004abfe
test rbp, rbp
je 0x14004ac9d
movabs rcx, 0x100000001b3
mov r8, rbp
mov rdx, r13
and r8, 3
je 0x14004aabb
mov r9, r15
nop word cs:[rax + rax]
movzx r10d, byte [rdx]
movzx r15d, byte [r10 + rdi]
xor r15, r9
imul r15, rcx
inc rdx
mov r9, r15
dec r8
jne 0x14004aaa0
cmp rbp, 4
jb 0x14004a8bb
nop word cs:[rax + rax]
movzx r8d, byte [rdx]
movzx r8d, byte [r8 + rdi]
xor r8, r15
imul r8, rcx
movzx r9d, byte [rdx + 1]
movzx r9d, byte [r9 + rdi]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
movzx r8d, byte [r8 + rdi]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
movzx r15d, byte [r9 + rdi]
xor r15, r8
imul r15, rcx
add rdx, 4
cmp rdx, rax
jne 0x14004aad0
jmp 0x14004a8bb
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rsi, qword [r14 + 0x50]
mov r10, qword [r14 + 0x20]
mov r14, qword [r14 + 0x48]
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x48], r13
xor edi, edi
xor r13d, r13d
mov qword [rsp + 0xa0], r10
jmp 0x14004ab70
inc r13
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, rsi
jae 0x14004ab70
movzx ebp, word [r14 + rbx*4]
cmp rbp, 0xffff
je 0x14004abfe
movzx eax, word [r14 + rbx*4 + 2]
mov ecx, eax
and ecx, r12d
mov edx, ebx
sub edx, ecx
and edx, r12d
cmp r13, rdx
ja 0x14004abfe
cmp ax, r15w
jne 0x14004ab58
cmp r9, rbp
jbe 0x14004acc0
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x14004ab58
add rax, r10
add rax, 0x40
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
jne 0x14004ab58
mov rcx, qword [rax + 8]
mov rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
mov r10, qword [rsp + 0xa0]
mov r9, qword [rsp + 0x40]
test eax, eax
jne 0x14004ab58
mov edi, 1
jmp 0x14004abfe
mov rsi, qword [rsp + 0x28]
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbp
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdx, r13
cmp rbp, 8
jb 0x14004a8bb
nop
movzx r8d, byte [rdx]
xor r8, r15
imul r8, rcx
movzx r9d, byte [rdx + 1]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 2]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 3]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 4]
xor r8, r9
imul r8, rcx
movzx r9d, byte [rdx + 5]
xor r9, r8
imul r9, rcx
movzx r8d, byte [rdx + 6]
xor r8, r9
imul r8, rcx
movzx r15d, byte [rdx + 7]
add rdx, 8
xor r15, r8
imul r15, rcx
cmp rdx, rax
jne 0x14004ac30
jmp 0x14004a8bb
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rsi, qword [r14 + 0x50]
mov r10, qword [r14 + 0x20]
mov r14, qword [r14 + 0x48]
jmp 0x14004a8ef
ud2