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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r15, r9
mov rsi, rcx
lea rax, [0x1401770f6]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x60]
lea r9, [rsp + 0xa8]
mov rcx, rdi
call fcn.14005eddc
movzx r11d, byte [rdi + 0x10]
cmp r11d, 3
jne 0x140050f9a
mov qword [rsi], 2
jmp 0x14005137d
mov rdx, qword [r15 + 0x28]
test rdx, rdx
je 0x140051077
mov r14, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
cmp dword [r15], 2
mov dword [rsp + 0x2c], r11d
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x30], rsi
jne 0x14005107e
mov rax, qword [r15 + 8]
mov rdx, qword [r15 + 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 + 0x60]
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
xor eax, eax
cmp dword [rsp + 0x2c], 2
setne al
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov r8d, 8
call fcn.140050775
mov eax, dword [rsp + 0x2c]
cmp eax, 2
jne 0x1400510ef
movzx eax, r14b
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
lea rcx, [rsp + 0x60]
mov r8d, 8
jmp 0x140051102
xor eax, eax
jmp 0x140051372
movabs rax, 0x100000001b3
xor ecx, ecx
cmp r11d, 2
setne cl
mov qword [rsp + 0x60], rcx
movabs r12, 0xcbf29ce484222325
xor ecx, ecx
movzx r8d, byte [rsp + rcx + 0x60]
inc rcx
xor r12, r8
imul r12, rax
cmp rcx, 8
jne 0x1400510a2
cmp r11d, 2
lea r10, [0x1401770f6]
jne 0x140051391
movzx ecx, r14b
mov qword [rsp + 0x60], rcx
xor ecx, ecx
movzx r8d, byte [rsp + rcx + 0x60]
inc rcx
xor r12, r8
imul r12, rax
cmp rcx, 8
jne 0x1400510d4
jmp 0x14005120f
test eax, eax
je 0x1400513c0
lea rcx, [rsp + 0x60]
mov rdx, r14
mov r8, rbp
call fcn.140050775
lea rdi, [0x1401770f6]
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x90]
shl r9, 0x38
or r9, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
mov r8, qword [rsp + 0x60]
add r8, rax
rol rax, 0xd
xor rcx, r9
xor rax, r8
rol r8, 0x20
mov rdx, qword [rsp + 0x68]
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rcx, r8
xor rax, rdx
rol rdx, 0x20
xor r8, r9
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
xor rdx, 0xff
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
rol r8, 0x20
add rdx, rcx
rol rcx, 0x10
xor rcx, rdx
add r8, rcx
rol rcx, 0x15
add rdx, rax
rol rax, 0x11
xor rax, rdx
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
xor rax, r8
add rdx, rcx
shl rcx, 0x10
xor rcx, rdx
shr rcx, 0x2b
add rdx, rax
shr rax, 0x2f
xor rax, rcx
mov r12, rdx
shr r12, 0x20
xor r12, rdx
xor r12, rax
mov r10, rdi
mov r11d, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x40]
and r12d, 0x7fff
movzx esi, word [r15 + 0x58]
mov r13d, r12d
and r13d, esi
mov rdi, qword [r15 + 0x50]
mov r9, qword [r15 + 0x20]
mov rbx, qword [r15 + 0x48]
mov qword [rsp + 0x38], rbp
lea rax, [rbp - 1]
mov qword [rsp + 0x58], rax
xor ebp, ebp
mov qword [rsp + 0x48], r9
mov rax, r13
mov r13, rax
mov eax, 0
cmp r13, rdi
jae 0x140051245
movzx r15d, word [rbx + r13*4]
cmp r15, 0xffff
je 0x14005136b
movzx eax, word [rbx + r13*4 + 2]
mov ecx, eax
and ecx, esi
mov r8d, r13d
sub r8d, ecx
and r8d, esi
cmp rbp, r8
ja 0x14005136b
cmp ax, r12w
jne 0x140051360
cmp rdx, r15
jbe 0x14005143f
imul rax, r15, 0x68
lea rcx, [r9 + rax]
add rcx, 0x40
cmp qword [rcx], 0
je 0x1400512f3
test r11d, r11d
je 0x140051304
cmp r11d, 2
je 0x140051360
mov rax, qword [rsp + 0x38]
cmp qword [rcx + 0x10], rax
jne 0x140051360
mov rcx, qword [rcx + 8]
mov rdx, r14
mov r8, qword [rsp + 0x38]
call sub.msvcrt.dll_memcmp
mov r9, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r11d, dword [rsp + 0x2c]
lea r10, [0x1401770f6]
test eax, eax
jne 0x140051360
jmp 0x140051435
cmp r11d, 2
jne 0x140051360
cmp byte [rcx + 8], r14b
jne 0x140051360
jmp 0x140051435
mov rax, qword [rsp + 0x38]
cmp qword [rcx + 0x10], rax
jne 0x140051360
mov eax, 1
cmp qword [rsp + 0x38], 0
je 0x14005136d
mov rcx, qword [rcx + 8]
movzx r9d, byte [r14]
mov r8b, byte [rcx]
cmp r8b, byte [r9 + r10]
mov r9, qword [rsp + 0x48]
jne 0x140051360
xor edx, edx
cmp qword [rsp + 0x58], rdx
je 0x14005136d
movzx r8d, byte [r14 + rdx + 1]
mov r9b, byte [rcx + rdx + 1]
inc rdx
cmp r9b, byte [r8 + r10]
je 0x140051334
cmp rdx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
jae 0x14005136d
inc rbp
inc r13
jmp 0x140051242
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], r13
mov qword [rsi + 0x10], r15
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r11d, r11d
je 0x140051406
test rbp, rbp
je 0x14005120f
xor ecx, ecx
mov r8, r12
movzx r12d, byte [r14 + rcx]
xor r12, r8
imul r12, rax
inc rcx
mov r8, r12
cmp rbp, rcx
jne 0x1400513a4
jmp 0x14005120f
test rbp, rbp
lea rdi, [0x1401770f6]
je 0x14005110e
xor esi, esi
lea r12, [rsp + 0x60]
lea r13, [rsp + 0x50]
movzx eax, byte [r14 + rsi]
mov al, byte [rax + rdi]
mov byte [rsp + 0x50], al
mov r8d, 1
mov rcx, r12
mov rdx, r13
call fcn.140050775
inc rsi
cmp rbp, rsi
jne 0x1400513dc
jmp 0x14005110e
test rbp, rbp
je 0x14005120f
xor ecx, ecx
mov r9, r12
movzx r8d, byte [r14 + rcx]
movzx r12d, byte [r8 + r10]
xor r12, r9
imul r12, rax
inc rcx
mov r9, r12
cmp rbp, rcx
jne 0x140051414
jmp 0x14005120f
mov eax, 1
jmp 0x14005136d
lea r8, [0x140178a28]
mov rcx, r15
call fcn.140038810
int3