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

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, qword [rcx]
test rsi, rsi
je 0x180048636
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180048636
mov rax, qword [rsi + 0x38]
shr rax, 3
mov qword [rsp + 0x58], r14
cmp rax, rcx
jbe 0x1800485ad
mov rdx, qword [rsi + 8]
mov rcx, rsi
mov r8, rdx
mov rdx, qword [rdx]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
jmp 0x180057910
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x50], rdi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rdi, qword [rcx]
test rdi, rdi
je 0x1800485fa
mov qword [rsp + 0x48], rbx
nop
mov rbx, qword [rdi]
lea rdx, [rdi + 0x10]
lea rcx, [rsi + 8]
call fcn.1800458b0
mov edx, 0x58
mov rcx, rdi
call fcn.18011e6f0
mov rdi, rbx
test rbx, rbx
jne 0x1800485d0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], 0
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.180046290
mov rdi, qword [rsp + 0x50]
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
mov rax, rsp
push rbp
push r15
sub rsp, 0x68
mov qword [rsp + 0x38], rcx
mov rbp, r8
mov r15, rdx
mov r10, rcx
cmp rdx, r8
je 0x180057b22
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r11, 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 - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
lea r14, [rcx + 8]
mov rax, qword [r14]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], r11
jbe 0x18005797c
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
test r9, r9
je 0x1800579b4
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, rdi
cmp rcx, r9
jb 0x1800579a0
mov r12, qword [r10 + 0x30]
and r12, rdx
shl r12, 4
add r12, r11
mov rax, qword [r12 + 8]
mov r13, qword [r12]
mov qword [rsp + 0x30], rax
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
mov rcx, r14
lea rdx, [rdi + 0x10]
call fcn.1800458b0
mov edx, 0x58
mov rcx, rdi
call fcn.18011e6f0
dec qword [r14 + 8]
cmp rdi, qword [rsp + 0x30]
je 0x180057a1c
cmp rbx, rbp
jne 0x1800579d0
cmp r13, r15
jne 0x180057a0b
mov qword [r12], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x180057afb
cmp r13, r15
mov r13, qword [rsp + 0x20]
jne 0x180057a31
mov rax, qword [rsp + 0x28]
mov qword [r12], rax
jmp 0x180057a34
mov rax, r13
mov qword [r12 + 8], rax
cmp rbx, rbp
je 0x180057af3
nop dword [rax]
nop word [rax + rax]
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x180057a62
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x180057a99
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x180057a80
mov r13, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov r15, qword [rsp + 0x40]
and rcx, qword [rax + 0x30]
shl rcx, 4
add r15, rcx
mov r12, qword [r15 + 8]
nop dword [rax]
nop word [rax + rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
mov rcx, r14
lea rdx, [rdi + 0x10]
call fcn.1800458b0
mov edx, 0x58
mov rcx, rdi
call fcn.18011e6f0
dec qword [r14 + 8]
cmp rdi, r12
je 0x180057b2d
cmp rbx, rbp
jne 0x180057ac0
mov qword [r15], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x58]
mov r12, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
mov r14, qword [rsp + 0x50]
mov rax, rbp
add rsp, 0x68
pop r15
pop rbp
ret
mov rcx, qword [rsp + 0x28]
mov qword [r15], rcx
mov qword [r15 + 8], rcx
cmp rbx, rbp
jne 0x180057a50
jmp 0x180057af3