Function at 0x140047b70
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 0x140047a88
mov rax, qword [rdi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x140047a1d
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 0x140047b70
mov rcx, qword [rdi + 8]
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rsi, qword [rcx]
test rsi, rsi
je 0x140047a55
mov rbx, qword [rsi]
lea rcx, [rsi + 0x10]
call fcn.14004fbd0
mov edx, 0x40
mov rcx, rsi
call fcn.1400a9a50
mov rsi, rbx
test rbx, rbx
jne 0x140047a34
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.140049e70
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 0x140047d99
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 0x140047bf7
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
movabs rbx, 0x100000001b3
test r9, r9
je 0x140047c34
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
xor rdx, rax
imul rdx, rbx
inc rcx
cmp rcx, r9
jb 0x140047c20
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.14004fbd0
mov edx, 0x40
mov rcx, rbx
call fcn.1400a9a50
dec qword [r12 + 8]
test dil, dil
jne 0x140047cb3
cmp r15, r14
mov rax, qword [rsp + 0x30]
jne 0x140047c60
cmp qword [rsp + 0x20], rbp
jne 0x140047d8d
mov qword [r13], r15
jmp 0x140047d8d
cmp qword [rsp + 0x20], rbp
jne 0x140047cc5
mov rax, qword [rsp + 0x28]
mov qword [r13], rax
jmp 0x140047cca
mov rax, qword [rsp + 0x38]
mov qword [r13 + 8], rax
cmp r15, r14
je 0x140047d8d
nop word [rax + rax]
lea r8, [rsi + 0x10]
mov r9, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0xf
jbe 0x140047cf2
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor eax, eax
test r9, r9
je 0x140047d29
movabs r12, 0x100000001b3
nop dword [rax]
movzx ecx, byte [rax + r8]
xor rdx, rcx
imul rdx, r12
inc rax
cmp rax, r9
jb 0x140047d10
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.14004fbd0
mov edx, 0x40
mov rcx, rbx
call fcn.1400a9a50
dec qword [r12 + 8]
test dil, dil
jne 0x140047dbd
cmp rbp, r14
jne 0x140047d50
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 0x140047ce0
jmp 0x140047d8d