Function at 0x14015f2d0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rdi, r8
test rdx, rdx
je 0x14015f73c
mov rsi, rdx
mov r8d, ecx
cmp rdi, 0x40
jb 0x14015f305
cmp dword [0x1402976ec], 0
jne 0x14015f3e9
not r8d
cmp rdi, 0x2f
jae 0x14015f429
cmp rdi, 8
jb 0x14015f3aa
lea rax, [0x140258ce0]
mov ecx, r8d
xor r8b, byte [rsi]
shr ecx, 8
movzx edx, r8b
xor ecx, dword [rax + rdx*4]
mov edx, ecx
xor cl, byte [rsi + 1]
shr edx, 8
movzx ecx, cl
xor edx, dword [rax + rcx*4]
mov ecx, edx
xor dl, byte [rsi + 2]
shr ecx, 8
movzx edx, dl
xor ecx, dword [rax + rdx*4]
mov edx, ecx
xor cl, byte [rsi + 3]
shr edx, 8
movzx ecx, cl
xor edx, dword [rax + rcx*4]
mov ecx, edx
xor dl, byte [rsi + 4]
shr ecx, 8
movzx edx, dl
xor ecx, dword [rax + rdx*4]
add rdi, 0xfffffffffffffff8
mov edx, ecx
xor cl, byte [rsi + 5]
shr edx, 8
movzx ecx, cl
xor edx, dword [rax + rcx*4]
mov ecx, edx
shr ecx, 8
xor dl, byte [rsi + 6]
movzx edx, dl
xor ecx, dword [rax + rdx*4]
mov r8d, ecx
shr r8d, 8
xor cl, byte [rsi + 7]
add rsi, 8
movzx ecx, cl
xor r8d, dword [rax + rcx*4]
cmp rdi, 7
ja 0x14015f323
test rdi, rdi
je 0x14015f424
xor eax, eax
lea rcx, [0x140258ce0]
mov ebx, r8d
xor r8b, byte [rsi + rax]
shr ebx, 8
movzx edx, r8b
xor ebx, dword [rcx + rdx*4]
inc rax
mov r8d, ebx
cmp rdi, rax
jne 0x14015f3b8
not ebx
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, rdi
and rbx, 0xfffffffffffffff0
not r8d
mov rcx, rsi
mov rdx, rbx
call fcn.14013ff20
mov r8d, eax
xor eax, eax
mov rcx, rdi
and rcx, 0xf
cmovne rax, rbx
and rdi, 0xf
je 0x14015f41c
add rsi, rax
jmp 0x14015f312
not r8d
mov ebx, r8d
jmp 0x14015f3d6
mov ebx, r8d
jmp 0x14015f3d4
test sil, 7
jne 0x14015f751
movabs rcx, 0xcccccccccccccccd
mov rax, rdi
mul rcx
shr rdx, 5
lea rax, [rdx*8]
lea rax, [rax + rax*4]
xor ecx, ecx
mov r9, rdx
dec r9
jne 0x14015f797
xor ebx, ebx
xor r11d, r11d
xor r10d, r10d
mov r8d, r8d
xor r8, qword [rsi]
mov r14, r8
shr r14, 8
mov edx, 0xff
and r8, rdx
lea r9, [0x140258ce0]
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, r14
mov r14, r8
shr r14, 8
and r8, rdx
xor r14d, dword [r9 + r8*4]
xor r14, rcx
xor r14, qword [rsi + 8]
mov rcx, r14
shr rcx, 8
and r14, rdx
mov r8d, dword [r9 + r14*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
mov r8d, dword [r9 + r8*4]
xor r8, rcx
mov rcx, r8
shr rcx, 8
and r8, rdx
xor ecx, dword [r9 + r8*4]
xor rcx, rbx
xor rcx, qword [rsi + 0x10]
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, r8
mov r8, rcx
shr r8, 8
and rcx, rdx
xor r8d, dword [r9 + rcx*4]
sub rdi, rax
xor r8, r11
xor r8, qword [rsi + 0x18]
mov rax, r8
shr rax, 8
and r8, rdx
mov ecx, dword [r9 + r8*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
mov ecx, dword [r9 + rcx*4]
xor rcx, rax
mov rax, rcx
shr rax, 8
and rcx, rdx
xor eax, dword [r9 + rcx*4]
xor rax, r10
xor rax, qword [rsi + 0x20]
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov rcx, rax
shr rcx, 8
and rax, rdx
mov eax, dword [r9 + rax*4]
xor rax, rcx
mov r8, rax
shr r8, 8
and rax, rdx
xor r8d, dword [r9 + rax*4]
add rsi, 0x28
jmp 0x14015f312
xor ebx, ebx
test rdi, rdi
jne 0x14015f3d6
call fcn.1401050f0
jmp 0x14015f3d6
lea rax, [rsi + 1]
lea rcx, [0x140258ce0]
mov rdx, rdi
dec rdi
mov r9d, r8d
shr r9d, 8
xor r8b, byte [rsi]
inc rsi
movzx r10d, r8b
mov r8d, r9d
xor r8d, dword [rcx + r10*4]
cmp rdx, 1
je 0x14015f433
mov edx, eax
and edx, 7
inc rax
test rdx, rdx
je 0x14015f433
jmp 0x14015f75c
lea rdx, [rdx + rdx*4]
lea rdx, [rdx*8 - 0x28]
mov qword [rsp + 0x60], rdx
xor r13d, r13d
xor r12d, r12d
xor ebp, ebp
mov rdx, rsi
mov r15d, r8d
mov r8, rdx
mov qword [rsp + 0x58], rdx
mov rdx, qword [rdx]
mov qword [rsp + 0x20], rdx
mov r10, qword [r8 + 8]
mov qword [rsp + 0x28], r10
xor r15, rdx
mov edx, ebp
xor rdx, r10
mov r11d, r12d
mov r10, qword [r8 + 0x10]
mov qword [rsp + 0x50], r10
xor r11, r10
mov ebx, r13d
mov r10, qword [r8 + 0x18]
mov qword [rsp + 0x40], r10
xor rbx, r10
mov r14d, ecx
mov rcx, qword [r8 + 0x20]
mov qword [rsp + 0x48], rcx
xor r14, rcx
mov r8, r15
mov qword [rsp + 0x38], r15
mov r12, r15
mov r10d, 0xff
and r12, r10
mov r15, rdx
and r15, r10
mov r13, r11
mov qword [rsp + 0x30], r11
and r13, r10
mov rcx, rbx
and rcx, r10
shr r8d, 8
mov ebp, 0xff
and r8d, ebp
lea r10, [0x1402590e0]
mov r8d, dword [r10 + r8*4 + 0x400]
xor r8d, dword [r10 + r12*4]
mov r12d, edx
shr r12d, 8
and r12d, ebp
mov ebp, dword [r10 + r12*4 + 0x400]
xor ebp, dword [r10 + r15*4]
mov r15d, r11d
shr r15d, 8
mov r11d, 0xff
and r15d, r11d
mov r12d, dword [r10 + r15*4 + 0x400]
xor r12d, dword [r10 + r13*4]
mov r15d, ebx
shr r15d, 8
mov r13d, 0xff
and r15d, r13d
mov r13d, dword [r10 + r15*4 + 0x400]
xor r13d, dword [r10 + rcx*4]
mov r15, r14
mov ecx, 0xff
and r15, rcx
mov ecx, r14d
shr ecx, 8
and ecx, r11d
mov ecx, dword [r10 + rcx*4 + 0x400]
xor ecx, dword [r10 + r15*4]
mov r15, qword [rsp + 0x38]
shr r15d, 0x10
and r15d, r11d
xor r8d, dword [r10 + r15*4 + 0x800]
mov r15d, edx
shr r15d, 0x10
and r15d, r11d
xor ebp, dword [r10 + r15*4 + 0x800]
mov r15, qword [rsp + 0x30]
shr r15d, 0x10
and r15d, r11d
xor r12d, dword [r10 + r15*4 + 0x800]
mov r15d, ebx
shr r15d, 0x10
and r15d, r11d
xor r13d, dword [r10 + r15*4 + 0x800]
mov r15d, r14d
shr r15d, 0x10
and r15d, r11d
xor ecx, dword [r10 + r15*4 + 0x800]
mov r15, qword [rsp + 0x38]
shr r15d, 0x18
xor r8d, dword [r10 + r15*4 + 0xc00]
shr edx, 0x18
xor ebp, dword [r10 + rdx*4 + 0xc00]
mov rdx, qword [rsp + 0x30]
shr edx, 0x18
xor r12d, dword [r10 + rdx*4 + 0xc00]
shr ebx, 0x18
xor r13d, dword [r10 + rbx*4 + 0xc00]
shr r14d, 0x18
xor ecx, dword [r10 + r14*4 + 0xc00]
mov r14, qword [rsp + 0x20]
mov rdx, r14
shr rdx, 0x1e
mov r11d, 0x3fc
and rdx, r11
xor r8d, dword [rdx + r10 + 0x1000]
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
shr rdx, 0x1e
and rdx, r11
xor ebp, dword [rdx + r10 + 0x1000]
mov r15, qword [rsp + 0x50]
mov rdx, r15
shr rdx, 0x1e
and rdx, r11
xor r12d, dword [rdx + r10 + 0x1000]
mov rdx, qword [rsp + 0x40]
shr rdx, 0x1e
and rdx, r11
xor r13d, dword [rdx + r10 + 0x1000]
mov rdx, qword [rsp + 0x48]
shr rdx, 0x1e
and rdx, r11
xor ecx, dword [rdx + r10 + 0x1000]
mov rdx, r14
shr rdx, 0x26
and rdx, r11
xor r8d, dword [rdx + r10 + 0x1400]
mov rdx, rbx
shr rdx, 0x26
and rdx, r11
xor ebp, dword [rdx + r10 + 0x1400]
mov rdx, r15
shr rdx, 0x26
and rdx, r11
xor r12d, dword [rdx + r10 + 0x1400]
mov rbx, qword [rsp + 0x40]
mov rdx, rbx
shr rdx, 0x26
and rdx, r11
xor r13d, dword [rdx + r10 + 0x1400]
mov r14, qword [rsp + 0x48]
mov rdx, r14
shr rdx, 0x26
and rdx, r11
xor ecx, dword [rdx + r10 + 0x1400]
mov rdx, qword [rsp + 0x20]
shr rdx, 0x2e
and rdx, r11
xor r8d, dword [rdx + r10 + 0x1800]
mov rdx, qword [rsp + 0x28]
shr rdx, 0x2e
and rdx, r11
xor ebp, dword [rdx + r10 + 0x1800]
mov rdx, r15
shr rdx, 0x2e
and rdx, r11
xor r12d, dword [rdx + r10 + 0x1800]
mov rdx, rbx
shr rdx, 0x2e
and rdx, r11
xor r13d, dword [rdx + r10 + 0x1800]
mov rdx, r14
shr rdx, 0x2e
and rdx, r11
xor ecx, dword [rdx + r10 + 0x1800]
mov rdx, qword [rsp + 0x20]
shr rdx, 0x38
xor r8d, dword [r10 + rdx*4 + 0x1c00]
mov rdx, qword [rsp + 0x28]
shr rdx, 0x38
xor ebp, dword [r10 + rdx*4 + 0x1c00]
shr r15, 0x38
xor r12d, dword [r10 + r15*4 + 0x1c00]
shr rbx, 0x38
xor r13d, dword [r10 + rbx*4 + 0x1c00]
shr r14, 0x38
xor ecx, dword [r10 + r14*4 + 0x1c00]
mov rdx, qword [rsp + 0x58]
add rdx, 0x28
dec r9
jne 0x14015f7b3
add rsi, qword [rsp + 0x60]
mov r10d, ecx
mov ecx, ebp
mov ebx, r12d
mov r11d, r13d
jmp 0x14015f469