Function at 0x140023ef0
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, [0x1401cbcd8]
mov qword [rsp + 0x20], r13
lea rcx, [rsp + 0x50]
lea r9, [rsp + 0x98]
call fcn.14002ff50
movzx ebx, byte [rsp + 0x60]
cmp ebx, 3
jne 0x140023f3d
mov qword [rsi], 2
jmp 0x140024403
mov r11, qword [r14 + 0x28]
test r11, r11
je 0x14002400e
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 0x140024015
mov qword [rsp + 0x48], r11
movdqu xmm0, xmmword [r14 + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [0x1401972d0]
movdqa xmmword [rsp + 0x50], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401972e0]
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.140024a80
mov rdi, r13
cmp ebx, 2
jne 0x14002406d
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.140024a80
jmp 0x140024127
xor eax, eax
jmp 0x1400243f8
xor eax, eax
cmp ebx, 2
setne al
movabs r15, 0xcbf29ce484222325
xor r15, rax
movabs rcx, 0x1efac7090aef4a21
imul r15, rcx
cmp ebx, 2
jne 0x140024088
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 0x140024252
test ebx, ebx
je 0x1400240db
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x28]
mov r8, rbp
call fcn.140024a80
jmp 0x140024127
mov rax, qword [rsp + 0x28]
add rax, rbp
test ebx, ebx
je 0x1400242d7
test rbp, rbp
je 0x140024320
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 7
je 0x140024417
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 0x1400240c0
jmp 0x14002441c
test rbp, rbp
mov r13, qword [rsp + 0x28]
je 0x140024127
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.140024a80
inc rsi
cmp rbp, rsi
jne 0x140024100
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 0x1400244bb
cmp ebx, 2
jne 0x14002433e
xor ecx, ecx
mov rdx, qword [rsp + 0x28]
jmp 0x140024270
inc rcx
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, r14
jae 0x140024270
movzx ebp, word [rdi + rbx*4]
cmp rbp, 0xffff
je 0x1400243f1
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 0x1400243f1
cmp ax, r15w
jne 0x14002425b
cmp r11, rbp
jbe 0x140024631
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
jne 0x14002425b
add rax, r10
add rax, 0x40
cmp byte [rax + 8], dl
jne 0x14002425b
jmp 0x1400243e5
test rbp, rbp
je 0x14002449d
movabs rcx, 0x100000001b3
mov r8, rbp
and r8, 3
je 0x1400245c5
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 0x140024300
jmp 0x1400245ca
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 0x140024360
inc r13
inc rbx
mov rax, rbx
nop word cs:[rax + rax]
mov rbx, rax
mov eax, 0
cmp rbx, r14
jae 0x140024360
movzx ebp, word [rdi + rbx*4]
cmp rbp, 0xffff
je 0x1400243f1
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 0x1400243f1
cmp ax, r15w
jne 0x14002434d
cmp r11, rbp
jbe 0x140024631
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x14002434d
add rax, r10
add rax, 0x40
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jne 0x14002434d
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 0x14002434d
mov eax, 1
mov rsi, qword [rsp + 0x30]
jmp 0x1400243f8
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 0x140024223
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 0x140024430
jmp 0x140024223
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 0x1400244d6
inc rsi
inc rbx
mov rax, rbx
nop dword [rax]
mov rbx, rax
mov eax, 0
cmp rbx, r14
jae 0x1400244e0
movzx ebp, word [rdi + rbx*4]
cmp rbp, 0xffff
je 0x1400245b9
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 0x1400245b9
cmp ax, r15w
jne 0x1400244d0
cmp r11, rbp
jbe 0x140024631
imul rax, rbp, 0x68
cmp qword [r10 + rax + 0x40], 0
je 0x1400244d0
add rax, r10
add rax, 0x40
mov r8, qword [rsp + 0x38]
cmp qword [rax + 0x10], r8
jne 0x1400244d0
cmp qword [rsp + 0x38], 0
je 0x1400245aa
mov rax, qword [rax + 8]
mov rcx, qword [rsp + 0x28]
movzx r8d, byte [rcx]
movzx r8d, byte [r8 + r13]
cmp r8b, byte [rax]
jne 0x1400244d0
xor r8d, r8d
nop
cmp rdx, r8
je 0x1400245aa
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 0x140024570
cmp r9, qword [rsp + 0x38]
jb 0x1400244d0
mov rsi, qword [rsp + 0x30]
mov eax, 1
jmp 0x1400243f8
xor eax, eax
mov rsi, qword [rsp + 0x30]
jmp 0x1400243f8
mov rsi, qword [rsp + 0x28]
cmp rbp, 4
jb 0x140024223
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 0x1400245e0
jmp 0x140024223
ud2