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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push r14
sub rsp, 0x50
mov rbp, r8
mov rsi, rdx
mov r14, rcx
cmp rdx, r8
je 0x180058b40
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov rax, qword [rcx + 8]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rdi
lea rdi, [rcx + 8]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x80], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x88], r10
jbe 0x18005899f
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x1800589d4
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x1800589c0
mov r15, qword [r14 + 0x30]
mov rcx, rdi
mov rbx, qword [rsi]
and r15, rdx
shl r15, 4
mov rdx, rsi
add r15, r10
mov r13, qword [r15]
mov r12, qword [r15 + 8]
call fcn.180046b40
dec qword [rdi + 8]
cmp rsi, r12
je 0x180058a24
mov r14, rbx
cmp rbx, rbp
je 0x180058a3e
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.180046b40
dec qword [rdi + 8]
cmp r14, r12
jne 0x180058a00
mov r14, qword [rsp + 0x70]
mov r12, qword [rsp + 0x80]
cmp r13, rsi
mov r13, qword [rsp + 0x78]
jne 0x180058a57
mov qword [r15], r12
mov rax, r12
jmp 0x180058a5a
cmp r13, rsi
jne 0x180058a46
mov qword [r15], rbx
mov rax, qword [rsp + 0x78]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x180058b27
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x180058b1f
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
mov rsi, rbx
jbe 0x180058a85
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x180058ab9
movabs r13, 0x100000001b3
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x180058aa0
mov r13, qword [rsp + 0x78]
mov r15, qword [r14 + 0x30]
mov rdx, rbx
mov rbx, qword [rbx]
and r15, rcx
shl r15, 4
mov rcx, rdi
add r15, qword [rsp + 0x88]
mov r14, qword [r15 + 8]
call fcn.180046b40
dec qword [rdi + 8]
cmp rsi, r14
je 0x180058b06
mov rsi, rbx
cmp rbx, rbp
je 0x180058b1c
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rbx]
call fcn.180046b40
dec qword [rdi + 8]
cmp rsi, r14
jne 0x180058ae7
mov qword [r15], r12
mov qword [r15 + 8], r12
cmp rbx, rbp
je 0x180058b1f
mov r14, qword [rsp + 0x70]
jmp 0x180058a70
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x50
pop r14
pop rsi
pop rbp
ret
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x180058ee0
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
mov qword [rsp + 0x38], rdi
cmp rax, rcx
jbe 0x180058ea0
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
jmp 0x180058930
lea rcx, [rbx + 8]
call fcn.180046aa0
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.180048de0
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret