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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r15, r8
jb 0x140056ee7
mov r15, qword [r14]
test rbx, rbx
je 0x140056f0f
mov eax, ebx
and eax, 3
movabs rcx, 0x100000001b3
cmp rbx, 4
jae 0x140056f1b
movabs r8, 0xcbf29ce484222325
xor edx, edx
jmp 0x140056f6c
movabs r12, 0xcbf29ce484222325
jmp 0x140056f97
mov r9, rbx
and r9, 0xfffffffffffffffc
movabs r8, 0xcbf29ce484222325
xor edx, edx
nop
movzx r10d, byte [r15 + rdx]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r15 + rdx + 1]
xor r8, r10
imul r8, rcx
movzx r10d, byte [r15 + rdx + 2]
xor r10, r8
imul r10, rcx
movzx r8d, byte [r15 + rdx + 3]
xor r8, r10
imul r8, rcx
add rdx, 4
cmp r9, rdx
jne 0x140056f30
mov r12, r8
test rax, rax
je 0x140056f97
add rdx, r15
xor r9d, r9d
nop word [rax + rax]
movzx r12d, byte [rdx + r9]
xor r12, r8
imul r12, rcx
inc r9
mov r8, r12
cmp rax, r9
jne 0x140056f80
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, qword [rdi + 8]
je 0x14005700f
mov qword [rbp - 8], rsi
add rax, rax
mov rsi, qword [rcx + rax*8]
cmp rbx, qword [r13 + 0x20]
jne 0x140056ff7
nop word cs:[rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x140056fe0
mov rdx, qword [r13 + 0x10]
jmp 0x140056fe4
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, rbx
call fcn.140356360
test eax, eax
je 0x140057194
cmp r13, rsi
je 0x140057008
mov r13, qword [r13 + 8]
cmp rbx, qword [r13 + 0x20]
je 0x140056fd0
jmp 0x140056ff7
mov r13, rsi
mov rsi, qword [rbp - 8]
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x14005722a
lea rax, [rdi + 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0
mov ecx, 0x50
call fcn.140154dd0
mov rbx, rax
mov qword [rbp - 0x18], rax
mov r15, rax
add r15, 0x10
mov qword [rbp - 0x10], rax
mov rcx, r15
mov rdx, r14
call fcn.14010e200
mov rax, qword [rdi + 0x10]
inc rax
js 0x14005706a
cvtsi2ss xmm0, rax
jmp 0x14005707f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov r14, qword [rdi + 0x38]
test r14, r14
js 0x140057093
cvtsi2ss xmm2, r14
jmp 0x1400570ab
mov rax, r14
shr rax, 1
mov ecx, r14d
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x1400571ae
divss xmm0, xmm1
call fcn.1401a7db0
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x14040d5a8]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp r14, rax
jae 0x140057112
lea rcx, [r14*8]
cmp rcx, rax
cmovb rcx, rax
cmp r14, 0x200
cmovae rcx, rax
mov r14, rcx
mov rcx, rdi
mov rdx, r14
call fcn.1400574f0
mov rax, qword [rdi + 0x30]
and rax, r12
mov rcx, qword [rdi + 0x18]
mov rdx, rax
shl rdx, 4
mov r13, qword [rcx + rdx + 8]
cmp r13, qword [rdi + 8]
je 0x1400571ae
mov qword [rbp - 8], rsi
add rax, rax
cmp qword [rbx + 0x28], 0x10
jb 0x14005714c
mov r15, qword [rbx + 0x10]
mov rsi, qword [rcx + rax*8]
mov r14, qword [rbx + 0x20]
cmp r14, qword [r13 + 0x20]
jne 0x140057183
nop word [rax + rax]
cmp qword [r13 + 0x28], 0x10
jb 0x140057170
mov rdx, qword [r13 + 0x10]
jmp 0x140057174
lea rdx, [r13 + 0x10]
mov rcx, r15
mov r8, r14
call fcn.140356360
test eax, eax
je 0x1400571a6
cmp r13, rsi
je 0x1400571a1
mov r13, qword [r13 + 8]
cmp r14, qword [r13 + 0x20]
je 0x140057160
jmp 0x140057183
mov rsi, qword [rbp - 8]
mov qword [rsi], r13
mov byte [rsi + 8], 0
jmp 0x140057216
mov r13, rsi
jmp 0x1400571aa
mov r13, qword [r13]
mov rsi, qword [rbp - 8]
mov qword [rbp - 0x18], 0
mov rax, qword [r13 + 8]
inc qword [rdi + 0x10]
mov qword [rbx], r13
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [r13 + 8], rbx
mov r8, qword [rdi + 0x18]
and r12, qword [rdi + 0x30]
shl r12, 4
lea rcx, [r8 + r12]
lea rdx, [r8 + r12]
add rdx, 8
mov r8, qword [r8 + r12]
cmp r8, qword [rdi + 8]
je 0x1400571fd
cmp r8, r13
je 0x140057203
mov rcx, rdx
cmp qword [rdx], rax
jne 0x140057206
jmp 0x140057203
mov qword [rcx], rbx
mov rcx, rdx
mov qword [rcx], rbx
mov qword [rsi], rbx
mov byte [rsi + 8], 1
lea rcx, [rbp - 0x20]
call fcn.14010e110
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea rcx, [0x14035ceb8]
call fcn.1401506e4
int3