Function at 0x140035bf0
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
mov rsi, rdx
mov r8d, ecx
cmp rdi, 0x40
jb 0x140035c18
cmp dword [0x14020b404], 0
jne 0x140035c69
not r8d
cmp rdi, 0x2f
jae 0x140035d3d
cmp rdi, 8
jae 0x140035c9e
test rdi, rdi
je 0x140035c99
xor ecx, ecx
lea rdx, [0x1401d7b70]
mov eax, r8d
xor r8b, byte [rsi + rcx]
shr eax, 8
movzx r8d, r8b
xor eax, dword [rdx + r8*4]
inc rcx
mov r8d, eax
cmp rdi, rcx
jne 0x140035c39
not eax
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.1400c7670
mov r8d, eax
xor eax, eax
mov rcx, rdi
and rcx, 0xf
cmovne rax, rbx
and rdi, 0xf
je 0x140035c99
add rsi, rax
jmp 0x140035c25
mov eax, r8d
jmp 0x140035c56
lea rax, [0x1401d7b70]
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
jbe 0x140035c2b
jmp 0x140035ca5
xor eax, eax
xor r9d, r9d
xor edx, edx
jmp 0x1400360d5
test sil, 7
je 0x140035d7f
lea rax, [rsi + 1]
lea rcx, [0x1401d7b70]
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 0x140035d7f
mov edx, eax
and edx, 7
inc rax
test rdx, rdx
jne 0x140035d4e
movabs rcx, 0xcccccccccccccccd
mov rax, rdi
mul rcx
shr rdx, 5
lea rax, [rdx*8]
lea rax, [rax + rax*4]
mov qword [rsp + 0x28], rax
xor r15d, r15d
dec rdx
mov qword [rsp + 0x38], rdx
je 0x140035d31
lea r9, [0x1401d7f70]
xor r12d, r12d
xor r13d, r13d
xor ebp, ebp
mov rax, rsi
mov qword [rsp + 0x60], rax
mov rdx, qword [rax]
mov qword [rsp + 0x40], rdx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x30], rcx
xor r8d, edx
xor ebp, ecx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x48], rcx
xor r13d, ecx
mov rcx, qword [rax + 0x18]
mov qword [rsp + 0x50], rcx
xor r12d, ecx
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x58], rax
xor r15d, eax
mov r10d, r8d
mov eax, 0xff
and r10d, eax
mov ebx, ebp
and ebx, eax
mov r14d, r13d
and r14d, eax
mov edx, r12d
and edx, eax
mov ecx, 0xff
mov eax, r8d
shr eax, 8
and eax, ecx
mov eax, dword [r9 + rax*4 + 0x400]
xor eax, dword [r9 + r10*4]
mov r10d, ebp
shr r10d, 8
and r10d, ecx
mov r10d, dword [r9 + r10*4 + 0x400]
xor r10d, dword [r9 + rbx*4]
mov ebx, r13d
shr ebx, 8
and ebx, ecx
mov ebx, dword [r9 + rbx*4 + 0x400]
xor ebx, dword [r9 + r14*4]
mov r14d, r12d
shr r14d, 8
and r14d, ecx
mov r14d, dword [r9 + r14*4 + 0x400]
xor r14d, dword [r9 + rdx*4]
mov r11d, r15d
and r11d, ecx
mov edx, r15d
shr edx, 8
and edx, ecx
mov edx, dword [r9 + rdx*4 + 0x400]
xor edx, dword [r9 + r11*4]
mov r11d, r8d
shr r11d, 0xe
mov ecx, 0x3fc
and r11d, ecx
xor eax, dword [r11 + r9 + 0x800]
mov r11d, ebp
shr r11d, 0xe
and r11d, ecx
xor r10d, dword [r11 + r9 + 0x800]
mov r11d, r13d
shr r11d, 0xe
and r11d, ecx
xor ebx, dword [r11 + r9 + 0x800]
mov r11d, r12d
shr r11d, 0xe
and r11d, ecx
xor r14d, dword [r11 + r9 + 0x800]
mov r11d, r15d
shr r11d, 0xe
and r11d, ecx
xor edx, dword [r11 + r9 + 0x800]
shr r8d, 0x18
xor eax, dword [r9 + r8*4 + 0xc00]
shr ebp, 0x18
xor r10d, dword [r9 + rbp*4 + 0xc00]
shr r13d, 0x18
xor ebx, dword [r9 + r13*4 + 0xc00]
shr r12d, 0x18
xor r14d, dword [r9 + r12*4 + 0xc00]
shr r15d, 0x18
xor edx, dword [r9 + r15*4 + 0xc00]
mov rbp, qword [rsp + 0x40]
mov r8, rbp
shr r8, 0x20
mov r12d, 0xff
and r8d, r12d
xor eax, dword [r9 + r8*4 + 0x1000]
mov rcx, qword [rsp + 0x30]
mov r8, rcx
shr r8, 0x20
and r8d, r12d
xor r10d, dword [r9 + r8*4 + 0x1000]
mov r11, qword [rsp + 0x48]
mov r8, r11
shr r8, 0x20
and r8d, r12d
xor ebx, dword [r9 + r8*4 + 0x1000]
mov r15, qword [rsp + 0x50]
mov r8, r15
shr r8, 0x20
and r8d, r12d
xor r14d, dword [r9 + r8*4 + 0x1000]
mov r13, qword [rsp + 0x58]
mov r8, r13
shr r8, 0x20
and r8d, r12d
xor edx, dword [r9 + r8*4 + 0x1000]
mov r8, rbp
shr r8, 0x28
and r8d, r12d
xor eax, dword [r9 + r8*4 + 0x1400]
mov r8, rcx
shr r8, 0x28
and r8d, r12d
xor r10d, dword [r9 + r8*4 + 0x1400]
mov r8, r11
shr r8, 0x28
and r8d, r12d
xor ebx, dword [r9 + r8*4 + 0x1400]
mov r8, r15
shr r8, 0x28
and r8d, r12d
xor r14d, dword [r9 + r8*4 + 0x1400]
mov r8, r13
mov rcx, r13
shr r8, 0x28
and r8d, r12d
xor edx, dword [r9 + r8*4 + 0x1400]
mov r8, rbp
shr r8, 0x30
and r8d, r12d
xor eax, dword [r9 + r8*4 + 0x1800]
mov r13, qword [rsp + 0x30]
mov r8, r13
shr r8, 0x30
and r8d, r12d
xor r10d, dword [r9 + r8*4 + 0x1800]
mov r8, r11
shr r8, 0x30
and r8d, r12d
xor ebx, dword [r9 + r8*4 + 0x1800]
mov r8, r15
shr r8, 0x30
and r8d, r12d
xor r14d, dword [r9 + r8*4 + 0x1800]
mov r8, rcx
shr r8, 0x30
and r8d, r12d
xor edx, dword [r9 + r8*4 + 0x1800]
shr rbp, 0x38
mov r8d, eax
xor r8d, dword [r9 + rbp*4 + 0x1c00]
shr r13, 0x38
mov ebp, r10d
xor ebp, dword [r9 + r13*4 + 0x1c00]
shr r11, 0x38
mov r13d, ebx
xor r13d, dword [r9 + r11*4 + 0x1c00]
shr r15, 0x38
mov r12d, r14d
xor r12d, dword [r9 + r15*4 + 0x1c00]
shr rcx, 0x38
mov r15d, edx
xor r15d, dword [r9 + rcx*4 + 0x1c00]
mov rax, qword [rsp + 0x60]
add rax, 0x28
dec qword [rsp + 0x38]
jne 0x140035dc3
mov rax, qword [rsp + 0x28]
add rsi, rax
add rsi, 0xffffffffffffffd8
mov edx, r15d
mov r15d, ebp
mov eax, r13d
mov r9d, r12d
mov r8d, r8d
xor r8, qword [rsi]
mov r10, r8
shr r10, 8
and r8d, 0xff
lea rcx, [0x1401d7b70]
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, r10
mov r10, r8
shr r10, 8
and r8d, 0xff
xor r10d, dword [rcx + r8*4]
xor r15, qword [rsi + 8]
xor r15, r10
mov r8, r15
shr r8, 8
and r15d, 0xff
mov r10d, dword [rcx + r15*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
mov r10d, dword [rcx + r10*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
mov r10d, dword [rcx + r10*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
mov r10d, dword [rcx + r10*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
mov r10d, dword [rcx + r10*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
mov r10d, dword [rcx + r10*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
mov r10d, dword [rcx + r10*4]
xor r10, r8
mov r8, r10
shr r8, 8
and r10d, 0xff
xor r8d, dword [rcx + r10*4]
xor rax, qword [rsi + 0x10]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
mov eax, dword [rcx + rax*4]
xor rax, r8
mov r8, rax
shr r8, 8
and eax, 0xff
xor r8d, dword [rcx + rax*4]
sub rdi, qword [rsp + 0x28]
xor r9, qword [rsi + 0x18]
xor r9, r8
mov rax, r9
shr rax, 8
and r9d, 0xff
mov r8d, dword [rcx + r9*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
mov r8d, dword [rcx + r8*4]
xor r8, rax
mov rax, r8
shr rax, 8
and r8d, 0xff
xor eax, dword [rcx + r8*4]
xor rdx, qword [rsi + 0x20]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov rax, rdx
shr rax, 8
and edx, 0xff
mov edx, dword [rcx + rdx*4]
xor rdx, rax
mov r8, rdx
shr r8, 8
and edx, 0xff
xor r8d, dword [rcx + rdx*4]
add rsi, 0x28
jmp 0x140035c25