Function at 0x140043670
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, 0x38
mov rsi, r8
mov qword [rsp + 0x30], rdx
mov r12, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x140043696
mov rsi, qword [rsi]
movabs rbx, 0xcbf29ce484222325
test r12, r12
je 0x1400436c5
movabs rax, 0x100000001b3
lea rdx, [r12 - 1]
mov r8d, r12d
and r8d, 3
cmp rdx, 3
jae 0x1400436ca
xor edx, edx
jmp 0x140043718
mov rbp, rbx
jmp 0x140043747
mov rdi, r12
sub rdi, r8
xor edx, edx
nop word cs:[rax + rax]
nop dword [rax]
movzx ebp, byte [rsi + rdx]
xor rbp, rbx
imul rbp, rax
movzx ebx, byte [rsi + rdx + 1]
xor rbx, rbp
imul rbx, rax
movzx ebp, byte [rsi + rdx + 2]
xor rbp, rbx
imul rbp, rax
movzx ebx, byte [rsi + rdx + 3]
xor rbx, rbp
imul rbx, rax
add rdx, 4
cmp rdi, rdx
jne 0x1400436e0
mov rbp, rbx
test r8, r8
je 0x140043747
add rdx, rsi
xor edi, edi
nop word cs:[rax + rax]
nop
movzx ebp, byte [rdx + rdi]
xor rbp, rbx
imul rbp, rax
add rdi, 1
mov rbx, rbp
cmp r8, rdi
jne 0x140043730
and rbp, qword [rcx + 0x30]
mov r15, qword [rcx + 8]
mov qword [rsp + 0x28], rcx
mov r14, qword [rcx + 0x18]
mov rax, rbp
shl rax, 4
mov r13, rbp
add r13, rbp
mov rbp, qword [r14 + rax]
mov rbx, r15
cmp rbp, r15
je 0x140043784
lea rax, [r13*8]
or rax, 8
mov rax, qword [r14 + rax]
mov rbx, qword [rax]
cmp rbp, rbx
mov rdi, r9
je 0x1400437cc
nop dword [rax]
mov rbx, qword [rbx + 8]
cmp r12, qword [rbx + 0x20]
jne 0x1400437c7
cmp qword [rbx + 0x28], 0xf
jbe 0x1400437b0
mov rdx, qword [rbx + 0x10]
jmp 0x1400437b4
lea rdx, [rbx + 0x10]
mov rcx, rsi
mov r8, r12
call fcn.14004d800
test eax, eax
je 0x14004387c
cmp rbp, rbx
jne 0x140043790
mov rax, qword [rdi]
cmp rax, rbp
je 0x14004380e
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbp
mov rcx, qword [rbp + 8]
mov qword [rcx], rdi
mov rcx, qword [rbp + 8]
mov rdx, qword [rax + 8]
mov qword [rbp + 8], rdx
mov rdx, qword [rdi + 8]
mov qword [rax + 8], rdx
mov qword [rdi + 8], rcx
mov rax, qword [rsp + 0x28]
mov r15, qword [rax + 8]
mov r14, qword [rax + 0x18]
lea rax, [r14 + r13*8]
mov rdx, qword [r14 + r13*8]
cmp rdx, r15
je 0x14004384e
mov rcx, rdi
cmp rdx, rbp
je 0x140043868
or r13, 1
mov rax, qword [r14 + r13*8]
mov rax, qword [rax]
mov qword [r14 + r13*8], rax
cmp rax, rdi
je 0x14004386b
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 0x18]
lea rax, [rcx + r13*8]
mov rcx, qword [rcx + r13*8]
mov rcx, qword [rcx + 8]
jmp 0x140043868
mov qword [rax], rdi
shl r13, 3
or r13, 8
mov rax, qword [rsp + 0x28]
add r13, qword [rax + 0x18]
mov rax, r13
mov rcx, rdi
mov qword [rax], rcx
mov rcx, qword [rsp + 0x28]
call fcn.140043510
mov cl, 1
mov rbx, rdi
jmp 0x1400438e5
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rax, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0x28]
add qword [rax + 0x10], 0xffffffffffffffff
mov rax, qword [rdi + 0x28]
cmp rax, 0x10
jb 0x1400438d6
mov rcx, qword [rdi + 0x10]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x1400438d1
mov rbp, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, rbp
cmp rcx, 0x20
jae 0x140043901
add rax, 0x28
mov rdx, rax
mov rcx, rbp
call fcn.140049510
mov edx, 0x30
mov rcx, rdi
call fcn.140049510
xor ecx, ecx
mov rax, qword [rsp + 0x30]
mov qword [rax], rbx
mov byte [rax + 8], cl
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.140053350
ud2