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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140051eb9
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
movabs r8, 0x736f6d6570736575
xor r8, rax
movabs r9, 0x646f72616e646f6d
xor r9, rdx
movabs r10, 0x6c7967656e657261
xor r10, rax
movabs r11, 0x7465646279746573
xor r11, rdx
lea rcx, [rsp + 0x30]
mov qword [rcx], r8
mov qword [rcx + 8], r10
mov qword [rcx + 0x10], r9
mov qword [rcx + 0x18], r11
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rdx
xorps xmm0, xmm0
movups xmmword [rcx + 0x30], xmm0
mov qword [rcx + 0x40], 0
mov bl, byte [rsi + 0x10]
xor eax, eax
cmp bl, 2
setne al
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
mov r8d, 8
call fcn.1400538d6
cmp bl, 2
jne 0x140051f26
movzx eax, byte [rsi]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
lea rcx, [rsp + 0x30]
mov r8d, 8
jmp 0x140051f41
movabs rcx, 0x100000001b3
mov r9b, byte [rsi + 0x10]
xor eax, eax
cmp r9b, 2
setne al
mov qword [rsp + 0x30], rax
movabs rax, 0xcbf29ce484222325
xor edx, edx
movzx r8d, byte [rsp + rdx + 0x30]
inc rdx
xor rax, r8
imul rax, rcx
cmp rdx, 8
jne 0x140051ee1
cmp r9b, 2
jne 0x140052047
movzx edx, byte [rsi]
mov qword [rsp + 0x30], rdx
xor edx, edx
movzx r8d, byte [rsp + rdx + 0x30]
inc rdx
xor rax, r8
imul rax, rcx
cmp rdx, 8
jne 0x140051f0b
jmp 0x140052034
mov rdi, qword [rsi]
mov rsi, qword [rsi + 8]
test bl, 1
je 0x140052078
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.1400538d6
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
and eax, 0x7fff
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
test r9b, 1
je 0x1400520c0
test r8, r8
je 0x140052034
xor r9d, r9d
mov r10, rax
movzx eax, byte [rdx + r9]
xor rax, r10
imul rax, rcx
inc r9
mov r10, rax
cmp r8, r9
jne 0x14005205f
jmp 0x140052034
test rsi, rsi
je 0x140051f46
xor r15d, r15d
lea r12, [0x1401c5378]
lea rbx, [rsp + 0x30]
lea r14, [rsp + 0x28]
movzx eax, byte [rdi + r15]
mov al, byte [rax + r12]
mov byte [rsp + 0x28], al
mov r8d, 1
mov rcx, rbx
mov rdx, r14
call fcn.1400538d6
inc r15
cmp rsi, r15
jne 0x140052095
jmp 0x140051f46
test r8, r8
je 0x140052034
xor r9d, r9d
lea r10, [0x1401c5378]
mov r11, rax
movzx eax, byte [rdx + r9]
movzx eax, byte [rax + r10]
xor rax, r11
imul rax, rcx
inc r9
mov r11, rax
cmp r8, r9
jne 0x1400520d6
jmp 0x140052034