Function at 0x140041fe0
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, 0x58
mov r13, rdx
cmp rdx, r8
je 0x14004200f
mov r12, r8
mov r15, rcx
mov rdx, qword [r13 + 0x20]
cmp qword [r13 + 0x28], 0x10
jb 0x140042017
mov rax, qword [r13 + 0x10]
jmp 0x14004201b
mov r12, r13
jmp 0x1400422ca
lea rax, [r13 + 0x10]
movabs rsi, 0xcbf29ce484222325
mov r8, qword [r15 + 0x18]
mov rdi, rsi
test rdx, rdx
je 0x1400420c7
movabs rcx, 0x100000001b3
lea rbx, [rdx - 1]
mov ebp, edx
and ebp, 3
cmp rbx, 3
jae 0x140042052
xor ebx, ebx
jmp 0x140042098
and rdx, 0xfffffffffffffffc
xor ebx, ebx
nop dword [rax + rax]
movzx edi, byte [rax + rbx]
xor rdi, rsi
imul rdi, rcx
movzx esi, byte [rax + rbx + 1]
xor rsi, rdi
imul rsi, rcx
movzx edi, byte [rax + rbx + 2]
xor rdi, rsi
imul rdi, rcx
movzx esi, byte [rax + rbx + 3]
xor rsi, rdi
imul rsi, rcx
add rbx, 4
cmp rdx, rbx
jne 0x140042060
mov rdi, rsi
test rbp, rbp
je 0x1400420c7
add rax, rbx
xor edx, edx
nop word cs:[rax + rax]
nop
movzx edi, byte [rax + rdx]
xor rdi, rsi
imul rdi, rcx
add rdx, 1
mov rsi, rdi
cmp rbp, rdx
jne 0x1400420b0
lea rbx, [r15 + 8]
mov rax, qword [r15 + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x40], rax
and rdi, qword [r15 + 0x30]
lea rax, [rdi + rdi]
mov rcx, rdi
shl rcx, 4
lea rdx, [r8 + rcx]
mov qword [rsp + 0x28], rdx
lea rdx, [rdi + rdi]
add rdx, 1
mov qword [rsp + 0x50], rdx
mov rcx, qword [r8 + rcx]
mov qword [rsp + 0x48], rcx
cmp rcx, r13
setne bpl
mov qword [rsp + 0x30], r8
mov rsi, qword [r8 + rax*8 + 8]
mov r14, r13
nop
mov rdi, r14
mov r14, qword [r14]
mov rcx, rbx
mov rdx, rdi
call fcn.14002e170
add qword [r15 + 0x10], 0xffffffffffffffff
cmp rdi, rsi
je 0x140042156
cmp r14, r12
setne al
or al, bpl
cmp al, 1
jne 0x1400422b4
cmp r14, r12
jne 0x140042120
jmp 0x1400422bd
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x48], r13
jne 0x14004216f
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x50]
mov qword [rcx + rdx*8], rax
cmp r14, r12
je 0x1400422bd
movabs rbp, 0x100000001b3
cmp qword [r14 + 0x28], 0x10
jb 0x14004219d
mov rax, qword [r14 + 0x10]
jmp 0x1400421a1
lea rax, [r14 + 0x10]
movabs rsi, 0xcbf29ce484222325
mov rdx, qword [r14 + 0x20]
mov rcx, rsi
test rdx, rdx
je 0x140042247
lea rcx, [rdx - 1]
mov r8d, edx
and r8d, 3
cmp rcx, 3
jae 0x1400421d0
xor edi, edi
jmp 0x140042218
and rdx, 0xfffffffffffffffc
xor edi, edi
nop word cs:[rax + rax]
movzx ecx, byte [rax + rdi]
xor rcx, rsi
imul rcx, rbp
movzx esi, byte [rax + rdi + 1]
xor rsi, rcx
imul rsi, rbp
movzx ecx, byte [rax + rdi + 2]
xor rcx, rsi
imul rcx, rbp
movzx esi, byte [rax + rdi + 3]
xor rsi, rcx
imul rsi, rbp
add rdi, 4
cmp rdx, rdi
jne 0x1400421e0
mov rcx, rsi
test r8, r8
je 0x140042247
add rax, rdi
xor edx, edx
nop word cs:[rax + rax]
nop
movzx ecx, byte [rax + rdx]
xor rcx, rsi
imul rcx, rbp
add rdx, 1
mov rsi, rcx
cmp r8, rdx
jne 0x140042230
and rcx, qword [r15 + 0x30]
lea rax, [rcx + rcx]
mov r13, rcx
shl r13, 4
mov rdx, qword [rsp + 0x30]
add r13, rdx
add rcx, rcx
add rcx, 1
mov qword [rsp + 0x28], rcx
mov rsi, qword [rdx + rax*8 + 8]
nop
mov rdi, r14
mov r14, qword [r14]
mov rcx, rbx
mov rdx, rdi
call fcn.14002e170
add qword [r15 + 0x10], 0xffffffffffffffff
cmp rdi, rsi
je 0x140042292
cmp r14, r12
jne 0x140042270
jmp 0x1400422b9
mov rcx, qword [rsp + 0x38]
mov qword [r13], rcx
mov rax, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov qword [rax + rdx*8], rcx
cmp r14, r12
jne 0x140042190
jmp 0x1400422bd
mov r13, qword [rsp + 0x28]
mov qword [r13], r12
mov rax, qword [rsp + 0x40]
mov qword [rax], r12
mov qword [r12 + 8], rax
mov rax, r12
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret