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

Disassembly:
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1400540fd
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x14005407a
mov rdx, qword [rdi + 8]
mov rcx, rdi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rdi
jmp 0x140054e50
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x50], rsi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x1400540c6
mov qword [rsp + 0x48], rbx
nop dword [rax + rax]
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.140008ac0
mov edx, 0x50
mov rcx, rsi
call fcn.1400ce56c
mov rsi, rbx
test rbx, rbx
jne 0x1400540a0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rdi + 8]
mov qword [rax + 8], rax
mov qword [rdi + 0x10], 0
mov rax, qword [rdi + 8]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.140058960
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rax, rsp
push rbp
push r14
push r15
sub rsp, 0x50
mov r14, r8
mov r15, rdx
mov rbp, rcx
cmp rdx, r8
je 0x140054f63
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r13
mov rax, qword [rcx + 8]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], r10
jbe 0x140054eb2
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x140054ee4
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x140054ed0
mov r12, qword [rbp + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12]
mov r13, qword [r12 + 8]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140008ac0
mov edx, 0x50
mov rcx, rdi
call fcn.1400ce56c
dec qword [rbp + 0x10]
cmp rdi, r13
je 0x140054f70
cmp rbx, r14
jne 0x140054f00
cmp qword [rsp + 0x30], r15
jne 0x140054f38
mov qword [r12], rbx
mov rax, qword [rsp + 0x20]
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov r13, qword [rsp + 0x40]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x78]
mov rax, r14
add rsp, 0x50
pop r15
pop r14
pop rbp
ret
mov r13, qword [rsp + 0x28]
cmp qword [rsp + 0x30], r15
jne 0x140054f85
mov qword [r12], r13
mov rax, r13
jmp 0x140054f8a
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, r14
je 0x140054f38
nop dword [rax]
nop dword [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x140054fb2
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x140054fe9
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x140054fd0
mov r13, qword [rsp + 0x28]
mov r12, qword [rbp + 0x30]
and r12, rcx
shl r12, 4
add r12, qword [rsp + 0x38]
mov r15, qword [r12 + 8]
nop
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140008ac0
mov edx, 0x50
mov rcx, rdi
call fcn.1400ce56c
dec qword [rbp + 0x10]
cmp rdi, r15
je 0x140055032
cmp rbx, r14
jne 0x140055000
jmp 0x140054f34
mov qword [r12], r13
mov qword [r12 + 8], r13
cmp rbx, r14
jne 0x140054fa0
jmp 0x140054f38