Function at 0x140050c8f
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 0x140050d51
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.140044981
cmp bl, 2
jne 0x140050dbe
movzx eax, byte [rsi]
lea rdx, [rsp + 0x28]
mov qword [rdx], rax
lea rcx, [rsp + 0x30]
mov r8d, 8
jmp 0x140050dd8
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 0x140050d79
cmp r9b, 2
jne 0x140050ede
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 0x140050da3
jmp 0x140050ecb
mov rdi, qword [rsi]
mov rsi, qword [rsi + 8]
test bl, bl
je 0x140050f0e
lea rcx, [rsp + 0x30]
mov rdx, rdi
mov r8, rsi
call fcn.140044981
mov rcx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rax, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
add r8, rcx
rol rcx, 0xd
xor rax, r9
xor rcx, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x38]
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rax, r8
xor rcx, rdx
rol rdx, 0x20
xor r8, r9
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
rol r8, 0x20
add rdx, rax
rol rax, 0x10
xor rax, rdx
add r8, rax
rol rax, 0x15
add rdx, rcx
rol rcx, 0x11
xor rcx, rdx
rol rdx, 0x20
xor rax, r8
add r8, rcx
rol rcx, 0xd
xor rcx, r8
add rdx, rax
shl rax, 0x10
xor rax, rdx
shr rax, 0x2b
add rdx, rcx
shr rcx, 0x2f
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, r9b
je 0x140050f56
test r8, r8
je 0x140050ecb
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 0x140050ef5
jmp 0x140050ecb
test rsi, rsi
je 0x140050ddd
xor r15d, r15d
lea r12, [0x140139ac1]
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.140044981
inc r15
cmp rsi, r15
jne 0x140050f2b
jmp 0x140050ddd
test r8, r8
je 0x140050ecb
xor r9d, r9d
lea r10, [0x140139ac1]
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 0x140050f6c
jmp 0x140050ecb