Function at 0x140058670
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14005865d
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
cmp rax, rcx
jbe 0x140058626
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
add rsp, 0x20
pop rbx
jmp 0x140058670
call fcn.14003be60
mov rax, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], 0
mov rax, qword [rbx + 8]
mov rdx, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x30], rax
call fcn.14003ae10
add rsp, 0x20
pop rbx
ret
push rbp
push rsi
push r14
sub rsp, 0x50
mov r14, r8
mov rsi, rdx
mov rbp, rcx
cmp rdx, r8
je 0x1400588ee
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x48], rdi
mov rdi, rdx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x78], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x20], r10
jb 0x1400586d7
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140058714
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140058700
mov r12, qword [rbp + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x88], rax
mov rbx, rdi
mov r15, rdi
mov rdi, qword [rdi]
mov rdx, qword [rbx + 0x28]
cmp rdx, 0x10
jb 0x140058777
mov rcx, qword [rbx + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x140058772
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005890c
mov rcx, r8
call fcn.14005ca98
mov edx, 0x38
mov qword [rbx + 0x20], 0
mov rcx, rbx
mov qword [rbx + 0x28], 0xf
mov byte [rbx + 0x10], 0
call fcn.14005ca98
dec qword [rbp + 0x10]
cmp r15, qword [rsp + 0x88]
je 0x1400587bd
cmp rdi, r14
jne 0x140058733
cmp r13, rsi
jne 0x1400588c6
mov qword [r12], rdi
jmp 0x1400588c6
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x1400587d0
mov qword [r12], r13
mov rax, r13
jmp 0x1400587d8
mov rax, qword [rsp + 0x80]
mov qword [r12 + 8], rax
cmp rdi, r14
je 0x1400588c6
nop word [rax + rax]
cmp qword [rdi + 0x28], 0x10
lea r8, [rdi + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x140058802
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140058839
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140058820
mov r13, qword [rsp + 0x78]
and rcx, qword [rbp + 0x30]
mov r15, qword [rsp + 0x20]
shl rcx, 4
add r15, rcx
mov r12, qword [r15 + 8]
nop dword [rax]
mov rbx, rdi
mov rsi, rdi
mov rdi, qword [rdi]
mov rdx, qword [rbx + 0x28]
cmp rdx, 0x10
jb 0x140058894
mov rcx, qword [rbx + 0x10]
inc rdx
cmp rdx, 0x1000
jb 0x14005888f
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005890c
mov rcx, r8
call fcn.14005ca98
mov edx, 0x38
mov qword [rbx + 0x20], 0
mov rcx, rbx
mov qword [rbx + 0x28], 0xf
mov byte [rbx + 0x10], 0
call fcn.14005ca98
dec qword [rbp + 0x10]
cmp rsi, r12
je 0x1400588fa
cmp rdi, r14
jne 0x140058850
mov qword [r15], rdi
mov rax, qword [rsp + 0x80]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
mov qword [rax], rdi
mov qword [rdi + 8], rax
mov rdi, qword [rsp + 0x48]
mov rax, r14
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rdi, r14
jne 0x1400587f0
jmp 0x1400588c6
call fcn.140176448
int3