Function at 0x14002bb30
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 rdi, [0x1401718d8]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.140030c60
movzx ebx, byte [rsp + 0x60]
cmp ebx, 3
jne 0x14002bb7d
mov qword [rsi], 2
jmp 0x14002c040
mov r11, qword [r14 + 0x38]
test r11, r11
je 0x14002bc47
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 0x14002bc4f
mov qword [rsp + 0x48], r11
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x140125630]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x140125640]
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.140022ad0
cmp ebx, 2
jne 0x14002bcaa
movzx eax, byte [rsp + 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x40]
mov r8d, 8
call fcn.140022ad0
jmp 0x14002bd67
xor r14d, r14d
jmp 0x14002c035
xor eax, eax
cmp ebx, 2
setne al
movabs r15, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x1efac7090aef4a21
imul r15, rcx
cmp ebx, 2
jne 0x14002bcc5
mov rdx, qword [rsp + 0x28]
movzx eax, dl
xor r15d, eax
imul ecx, r15d
and ecx, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, ecx
and eax, r12d
mov rsi, qword [r14 + 0x18]
mov rdi, qword [r14 + 0x20]
mov r10, qword [r14 + 0x28]
mov r15d, ecx
jmp 0x14002be94
test ebx, ebx
je 0x14002bd1b
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov r8, rbp
call fcn.140022ad0
jmp 0x14002bd67
mov rax, qword [rsp + 0x28]
add rax, rbp
test ebx, ebx
je 0x14002bf17
test rbp, rbp
je 0x14002bf60
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 7
je 0x14002c054
mov r9, r15
mov rdx, qword [rsp + 0x28]
nop dword [rax]
movzx r15d, byte [rdx]
inc rdx
xor r15, r9
imul r15, rcx
mov r9, r15
dec r8
jne 0x14002bd00
jmp 0x14002c059
test rbp, rbp
mov r13, qword [rsp + 0x28]
je 0x14002bd67
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.140022ad0
inc rsi
cmp rbp, rsi
jne 0x14002bd40
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]
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rsi, qword [r14 + 0x18]
mov rdi, qword [r14 + 0x20]
mov r10, qword [r14 + 0x28]
test ebx, ebx
je 0x14002c0fb
cmp ebx, 2
mov rdx, qword [rsp + 0x28]
jne 0x14002bf83
xor r14d, r14d
xor ecx, ecx
jmp 0x14002beb0
inc rcx
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, rdi
jae 0x14002beb0
movzx ebp, word [rsi + rbx*4]
cmp rbp, 0xffff
je 0x14002c030
movzx eax, word [rsi + rbx*4 + 2]
mov r9d, eax
and r9d, r12d
mov r8d, ebx
sub r8d, r9d
and r8d, r12d
cmp rcx, r8
ja 0x14002c030
cmp ax, r15w
jne 0x14002be9b
cmp r11, rbp
jbe 0x14002c271
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
jne 0x14002be9b
add rax, r10
add rax, 0x40
cmp byte [rax + 8], dl
jne 0x14002be9b
jmp 0x14002c028
test rbp, rbp
je 0x14002c0dd
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 3
je 0x14002c204
mov rdx, qword [rsp + 0x28]
mov r9, r15
nop
movzx r10d, byte [rdx]
movzx r15d, byte [r10 + rdi]
xor r15, r9
imul r15, rcx
inc rdx
mov r9, r15
dec r8
jne 0x14002bf40
jmp 0x14002c209
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rsi, qword [r14 + 0x18]
mov rdi, qword [r14 + 0x20]
mov r10, qword [r14 + 0x28]
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x38], rbp
xor r14d, r14d
xor r13d, r13d
mov qword [rsp + 0x48], r11
jmp 0x14002bfa0
inc r13
inc rbx
mov rax, rbx
nop
mov rbx, rax
mov eax, 0
cmp rbx, rdi
jae 0x14002bfa0
movzx ebp, word [rsi + rbx*4]
cmp rbp, 0xffff
je 0x14002c030
movzx eax, word [rsi + rbx*4 + 2]
mov ecx, eax
and ecx, r12d
mov r8d, ebx
sub r8d, ecx
and r8d, r12d
cmp r13, r8
ja 0x14002c030
cmp ax, r15w
jne 0x14002bf95
cmp r11, rbp
jbe 0x14002c271
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x14002bf95
add rax, r10
add rax, 0x40
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jne 0x14002bf95
mov rcx, qword [rax + 8]
mov r8, qword [rsp + 0x38]
mov r14, r10
call sub.msvcrt.dll_memcmp
mov r10, r14
xor r14d, r14d
mov r11, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x28]
test eax, eax
jne 0x14002bf95
mov r14d, 1
jmp 0x14002c030
mov rsi, qword [rsp + 0x30]
mov qword [rsi], r14
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 rdx, qword [rsp + 0x28]
cmp rbp, 8
jb 0x14002be60
nop word cs:[rax + rax]
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 0x14002c070
jmp 0x14002be60
and r15d, 0x7fff
movzx r12d, word [r14 + 0x58]
mov eax, r15d
and eax, r12d
mov rsi, qword [r14 + 0x18]
mov rdi, qword [r14 + 0x20]
mov r10, qword [r14 + 0x28]
mov qword [rsp + 0x38], rbp
lea r13, [rbp - 1]
xor edx, edx
mov rbx, rax
mov r14, qword [rsp + 0x28]
jmp 0x14002c116
inc rdx
inc rbx
mov rax, rbx
nop dword [rax]
mov rbx, rax
mov eax, 0
cmp rbx, rdi
jae 0x14002c120
movzx ebp, word [rsi + rbx*4]
cmp rbp, 0xffff
je 0x14002c1fc
movzx eax, word [rsi + rbx*4 + 2]
mov r8d, eax
and r8d, r12d
mov r9d, ebx
sub r9d, r8d
and r9d, r12d
cmp rdx, r9
ja 0x14002c1fc
cmp ax, r15w
jne 0x14002c110
cmp r11, rbp
jbe 0x14002c271
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x14002c110
add rax, r10
add rax, 0x40
mov r8, qword [rsp + 0x38]
cmp qword [rax + 0x10], r8
jne 0x14002c110
cmp qword [rsp + 0x38], 0
je 0x14002c1ec
mov rax, qword [rax + 8]
movzx r8d, byte [r14]
lea rcx, [0x1401718d8]
movzx r8d, byte [r8 + rcx]
cmp r8b, byte [rax]
jne 0x14002c110
xor r8d, r8d
cmp r13, r8
je 0x14002c1ec
movzx r9d, byte [r14 + r8 + 1]
mov rcx, r11
mov r11, r10
lea r10, [0x1401718d8]
movzx r10d, byte [r9 + r10]
lea r9, [r8 + 1]
cmp r10b, byte [rax + r8 + 1]
mov r10, r11
mov r11, rcx
mov r8, r9
je 0x14002c1b0
cmp r9, qword [rsp + 0x38]
jb 0x14002c110
mov rsi, qword [rsp + 0x30]
mov r14d, 1
jmp 0x14002c035
xor r14d, r14d
jmp 0x14002c030
mov rdx, qword [rsp + 0x28]
cmp rbp, 4
jb 0x14002be60
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 0x14002c220
jmp 0x14002be60
ud2