Function at 0x14005be87
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, [0x140287728]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x60]
lea r9, [rsp + 0xa8]
mov rcx, rdi
call fcn.14006a9c4
movzx r11d, byte [rdi + 0x10]
cmp r11d, 3
jne 0x14005bed8
mov qword [rsi], 2
jmp 0x14005c2ba
mov rdx, qword [r15 + 0x28]
test rdx, rdx
je 0x14005bfb4
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 0x14005bfbb
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 byte [rsp + 0x2c], 2
setne al
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
mov r8d, 8
call fcn.14005b64c
mov eax, dword [rsp + 0x2c]
cmp al, 2
jne 0x14005c02c
movzx eax, r14b
lea rdx, [rsp + 0x50]
mov qword [rdx], rax
lea rcx, [rsp + 0x60]
mov r8d, 8
jmp 0x14005c03f
xor eax, eax
jmp 0x14005c2af
xor eax, eax
cmp r11b, 2
setne al
mov qword [rsp + 0x60], rax
movabs r12, 0xcbf29ce484222325
xor ecx, ecx
movabs rax, 0x100000001b3
movzx r8d, byte [rsp + rcx + 0x60]
inc rcx
xor r12, r8
imul r12, rax
cmp rcx, 8
jne 0x14005bfdf
cmp r11b, 2
lea r10, [0x140287728]
jne 0x14005c2ce
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 0x14005c011
jmp 0x14005c14c
test al, al
je 0x14005c2fd
lea rcx, [rsp + 0x60]
mov rdx, r14
mov r8, rbp
call fcn.14005b64c
lea rdi, [0x140287728]
mov rax, qword [rsp + 0x70]
mov r9, qword [rsp + 0x90]
shl r9, 0x38
or r9, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
xor rcx, r9
mov r8, qword [rsp + 0x60]
add r8, rax
mov rdx, qword [rsp + 0x68]
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 r12, rdx
shr r12, 0x20
xor r12, rdx
xor r12, rcx
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 0x14005c182
movzx r15d, word [rbx + r13*4]
cmp r15, 0xffff
je 0x14005c2a8
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 0x14005c2a8
cmp ax, r12w
jne 0x14005c29d
cmp rdx, r15
jbe 0x14005c37c
imul rax, r15, 0x68
lea rcx, [r9 + rax]
add rcx, 0x40
cmp qword [rcx], 0
je 0x14005c230
test r11d, r11d
je 0x14005c241
cmp r11d, 2
je 0x14005c29d
mov rax, qword [rsp + 0x38]
cmp qword [rcx + 0x10], rax
jne 0x14005c29d
mov rcx, qword [rcx + 8]
mov rdx, r14
mov r8, qword [rsp + 0x38]
call fcn.140230ac0
mov r9, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r11d, dword [rsp + 0x2c]
lea r10, [0x140287728]
test eax, eax
jne 0x14005c29d
jmp 0x14005c372
cmp r11b, 2
jne 0x14005c29d
cmp byte [rcx + 8], r14b
jne 0x14005c29d
jmp 0x14005c372
mov rax, qword [rsp + 0x38]
cmp qword [rcx + 0x10], rax
jne 0x14005c29d
mov eax, 1
cmp qword [rsp + 0x38], 0
je 0x14005c2aa
mov rcx, qword [rcx + 8]
movzx r9d, byte [r14]
mov r8b, byte [rcx]
cmp r8b, byte [r9 + r10]
mov r9, qword [rsp + 0x48]
jne 0x14005c29d
xor edx, edx
cmp qword [rsp + 0x58], rdx
je 0x14005c2aa
movzx r8d, byte [r14 + rdx + 1]
mov r9b, byte [rcx + rdx + 1]
inc rdx
cmp r9b, byte [r8 + r10]
je 0x14005c271
cmp rdx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
jae 0x14005c2aa
inc rbp
inc r13
jmp 0x14005c17f
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 r11b, r11b
je 0x14005c343
test rbp, rbp
je 0x14005c14c
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 0x14005c2e1
jmp 0x14005c14c
test rbp, rbp
lea rdi, [0x140287728]
je 0x14005c04b
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.14005b64c
inc rsi
cmp rbp, rsi
jne 0x14005c319
jmp 0x14005c04b
test rbp, rbp
je 0x14005c14c
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 0x14005c351
jmp 0x14005c14c
mov eax, 1
jmp 0x14005c2aa
lea r8, [0x140289250]
mov rcx, r15
call fcn.140231cf0
int3