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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140047e58
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140047ded
mov rdx, qword [rdi + 8]
mov r8, rdx
mov rdx, qword [rdx]
mov rcx, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp 0x140047f40
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x140047e25
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.14004ffa0
mov edx, 0x40
mov rcx, rsi
call fcn.1400ac9a0
mov rsi, rbx
test rbx, rbx
jne 0x140047e04
mov rax, qword [rdi + 8]
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 qword [rsp + 0x20], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 0x20]
mov rcx, qword [rdi + 0x18]
call fcn.14004a240
nop
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov r14, r8
mov rbp, rdx
mov r10, rcx
mov qword [rsp + 0x48], rcx
cmp rdx, r8
je 0x140048169
lea r12, [rcx + 8]
mov qword [rsp + 0x40], r12
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov r11, qword [rcx + 0x18]
mov qword [rsp + 0x50], r11
mov qword [rsp + 0x60], r12
mov rax, qword [rdx + 8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x68], rax
mov rsi, rdx
mov qword [rsp + 0x70], rdx
mov rax, qword [rdx + 8]
mov qword [rsp + 0x38], rax
lea r8, [rdx + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x140047fc7
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
movabs rbx, 0x100000001b3
test r9, r9
je 0x140048004
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r9
jb 0x140047ff0
mov r13, qword [r10 + 0x30]
and r13, rdx
shl r13, 4
add r13, r11
mov rax, qword [r13]
mov qword [rsp + 0x20], rax
mov rax, qword [r13 + 8]
mov qword [rsp + 0x30], rax
nop dword [rax]
nop dword [rax + rax]
cmp rsi, rax
sete dil
mov rbx, rsi
mov r15, qword [rsi]
mov rsi, r15
mov qword [rsp + 0x70], r15
lea rcx, [rbx + 0x10]
call fcn.14004ffa0
mov edx, 0x40
mov rcx, rbx
call fcn.1400ac9a0
dec qword [r12 + 8]
test dil, dil
jne 0x140048083
cmp r15, r14
mov rax, qword [rsp + 0x30]
jne 0x140048030
cmp qword [rsp + 0x20], rbp
jne 0x14004815d
mov qword [r13], r15
jmp 0x14004815d
cmp qword [rsp + 0x20], rbp
jne 0x140048095
mov rax, qword [rsp + 0x28]
mov qword [r13], rax
jmp 0x14004809a
mov rax, qword [rsp + 0x38]
mov qword [r13 + 8], rax
cmp r15, r14
je 0x14004815d
nop word [rax + rax]
lea r8, [rsi + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x1400480c2
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor eax, eax
test r9, r9
je 0x1400480f9
movabs r12, 0x100000001b3
nop dword [rax]
movzx ecx, byte [rax + r8]
xor rdx, rcx
imul rdx, r12
inc rax
cmp rax, r9
jb 0x1400480e0
mov r12, qword [rsp + 0x40]
mov rax, qword [rsp + 0x48]
mov r15, qword [rax + 0x30]
and r15, rdx
shl r15, 4
add r15, qword [rsp + 0x50]
mov r13, qword [r15 + 8]
nop dword [rax]
nop word [rax + rax]
cmp rsi, r13
sete dil
mov rbx, rsi
mov rbp, qword [rsi]
mov rsi, rbp
mov qword [rsp + 0x70], rbp
lea rcx, [rbx + 0x10]
call fcn.14004ffa0
mov edx, 0x40
mov rcx, rbx
call fcn.1400ac9a0
dec qword [r12 + 8]
test dil, dil
jne 0x14004818d
cmp rbp, r14
jne 0x140048120
mov qword [r15], rbp
mov rax, qword [rsp + 0x58]
mov qword [rax], rsi
mov qword [rsi + 8], rax
mov rax, r14
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x28]
mov qword [r15], rcx
mov qword [r15 + 8], rcx
cmp rbp, r14
jne 0x1400480b0
jmp 0x14004815d