Function at 0x18002f240
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 0x18002ee0d
mov rax, qword [rbx + 0x38]
mov rdx, qword [rbx + 8]
shr rax, 3
cmp rax, rcx
jbe 0x18002edd6
mov r8, rdx
mov rcx, rbx
mov rdx, qword [rdx]
add rsp, 0x20
pop rbx
jmp 0x18002f240
call fcn.18002ff70
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.18002fee0
add rsp, 0x20
pop rbx
ret
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbp, r8
mov rsi, rdx
mov rdi, rcx
cmp rdx, r8
je 0x18002f436
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov rax, qword [rdx + 8]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r13
mov r13, qword [rcx + 8]
mov qword [rsp + 0x28], r14
mov r14, qword [rcx + 0x18]
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x68], rax
jbe 0x18002f298
mov r8, qword [rdx + 0x10]
mov r9, qword [rsi + 0x20]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r10, 0x100000001b3
test r9, r9
je 0x18002f2d4
nop word [rax + rax]
movzx eax, byte [rcx + r8]
inc rcx
xor rdx, rax
imul rdx, r10
cmp rcx, r9
jb 0x18002f2c0
mov r15, qword [rdi + 0x30]
mov rbx, qword [rsi]
and r15, rdx
shl r15, 4
mov rdx, rsi
add r15, r14
mov rax, qword [r15]
mov r12, qword [r15 + 8]
mov qword [rsp + 0x70], rax
call fcn.1800308f0
dec qword [rdi + 0x10]
cmp rsi, r12
je 0x18002f323
mov r14, rbx
cmp rbx, rbp
je 0x18002f337
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.1800308f0
dec qword [rdi + 0x10]
cmp r14, r12
jne 0x18002f302
mov r14, qword [rsp + 0x78]
mov r12, qword [rsp + 0x68]
cmp qword [rsp + 0x70], rsi
jne 0x18002f352
mov qword [r15], r13
mov rax, r13
jmp 0x18002f355
cmp qword [rsp + 0x70], rsi
jne 0x18002f341
mov qword [r15], rbx
mov rax, qword [rsp + 0x68]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x18002f41d
mov rax, r12
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x18002f415
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov rsi, rbx
jbe 0x18002f374
mov r8, qword [rbx + 0x10]
mov r9, qword [rbx + 0x20]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x18002f3b9
movabs r12, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r12
cmp rdx, r9
jb 0x18002f3a0
mov r12, qword [rsp + 0x68]
and rcx, qword [rdi + 0x30]
mov rdx, rbx
mov rbx, qword [rbx]
add rcx, rcx
lea r15, [r14 + rcx*8]
mov r14, qword [r14 + rcx*8 + 8]
call fcn.1800308f0
dec qword [rdi + 0x10]
cmp rsi, r14
je 0x18002f3fc
nop dword [rax]
mov rsi, rbx
cmp rbx, rbp
je 0x18002f412
mov rdx, rbx
mov rbx, qword [rbx]
call fcn.1800308f0
dec qword [rdi + 0x10]
cmp rsi, r14
jne 0x18002f3e0
mov qword [r15], r13
mov qword [r15 + 8], r13
cmp rbx, rbp
je 0x18002f415
mov r14, qword [rsp + 0x78]
jmp 0x18002f362
mov qword [r15], rbx
mov qword [r12], rbx
mov qword [rbx + 8], r12
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov r12, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x20]
mov rax, rbp
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret