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

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov eax, dword [0x14013b620]
mov ecx, dword [0x14013ce80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 0x30]
jg 0x140082a2b
mov eax, dword [0x14013b604]
not eax
test eax, 0x80002
jne 0x140082760
cmp rdi, 0xf
ja 0x1400827d0
not ebx
cmp rdi, 4
jb 0x140082903
lea rax, [0x1400ff3a0]
nop word cs:[rax + rax]
xor ebx, dword [rsi]
mov ecx, ebx
movzx ebp, bh
movzx r8d, bl
mov r9d, ebx
shr r9d, 0x18
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [rax + rcx*4 + 0x400]
xor edx, dword [rax + r9*4]
xor edx, dword [rax + rbp*4 + 0x800]
xor edx, dword [rax + r8*4 + 0xc00]
add rsi, 4
add rdi, 0xfffffffffffffffc
mov ebx, edx
cmp rdi, 3
ja 0x140082710
test rdi, rdi
jne 0x14008290a
jmp 0x140082926
not ebx
cmp rdi, 4
jb 0x140082878
lea rax, [0x1400ff3a0]
nop word cs:[rax + rax]
xor ebx, dword [rsi]
mov ecx, ebx
movzx ebp, bh
movzx r8d, bl
mov r9d, ebx
shr r9d, 0x18
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [rax + rcx*4 + 0x400]
xor edx, dword [rax + r9*4]
xor edx, dword [rax + rbp*4 + 0x800]
xor edx, dword [rax + r8*4 + 0xc00]
add rsi, 4
add rdi, 0xfffffffffffffffc
mov ebx, edx
cmp rdi, 3
ja 0x140082780
test rdi, rdi
jne 0x140082883
jmp 0x140082926
mov r14d, edi
and r14d, 0xfffffff0
mov rcx, rsi
mov rdx, r14
mov r8d, ebx
call fcn.14008d590
movabs rcx, 0xffffffff0000000f
and rcx, rdi
add rsi, r14
not eax
cmp rcx, 4
jb 0x14008292d
lea rdx, [0x1400ff3a0]
nop dword [rax + rax]
xor eax, dword [rsi]
mov r8d, eax
movzx edi, ah
movzx r9d, al
shr eax, 0x18
shr r8d, 0x10
movzx r8d, r8b
mov r8d, dword [rdx + r8*4 + 0x400]
xor r8d, dword [rdx + rax*4]
xor r8d, dword [rdx + rdi*4 + 0x800]
xor r8d, dword [rdx + r9*4 + 0xc00]
add rsi, 4
add rcx, 0xfffffffffffffffc
mov eax, r8d
cmp rcx, 3
ja 0x140082810
test rcx, rcx
je 0x140082939
test cl, 1
jne 0x140082941
mov rdx, rcx
cmp rcx, 1
jne 0x140082971
jmp 0x140082a1e
mov edx, ebx
test rdi, rdi
je 0x140082926
test dil, 1
jne 0x140082897
mov rcx, rdi
cmp rdi, 1
jne 0x1400828c1
jmp 0x140082a1e
mov eax, edx
shr eax, 8
movzx ecx, dl
movzx edx, byte [rsi]
inc rsi
xor edx, ecx
lea rcx, [0x1400ff3a0]
xor eax, dword [rcx + rdx*4]
lea rcx, [rdi - 1]
mov edx, eax
cmp rdi, 1
je 0x140082a1e
xor r8d, r8d
lea r9, [0x1400ff3a0]
mov eax, edx
nop dword [rax]
movzx edx, al
shr eax, 8
movzx r10d, byte [rsi + r8]
xor r10d, edx
xor eax, dword [r9 + r10*4]
movzx edx, al
shr eax, 8
movzx r10d, byte [rsi + r8 + 1]
xor r10d, edx
xor eax, dword [r9 + r10*4]
add r8, 2
cmp rcx, r8
jne 0x1400828d0
jmp 0x140082a1e
mov edx, ebx
test rdi, rdi
je 0x140082926
test dil, 1
jne 0x1400829b2
mov rcx, rdi
cmp rdi, 1
jne 0x1400829d8
jmp 0x140082a1e
mov eax, edx
jmp 0x140082a1e
mov r8d, eax
test rcx, rcx
jne 0x14008285d
mov eax, r8d
jmp 0x140082a1e
mov eax, r8d
shr eax, 8
movzx edx, r8b
movzx r8d, byte [rsi]
inc rsi
xor r8d, edx
lea rdx, [0x1400ff3a0]
xor eax, dword [rdx + r8*4]
lea rdx, [rcx - 1]
mov r8d, eax
cmp rcx, 1
je 0x140082a1e
xor ecx, ecx
lea r9, [0x1400ff3a0]
mov eax, r8d
nop dword [rax]
movzx r8d, al
shr eax, 8
movzx r10d, byte [rsi + rcx]
xor r10d, r8d
xor eax, dword [r9 + r10*4]
movzx r8d, al
shr eax, 8
movzx r10d, byte [rsi + rcx + 1]
xor r10d, r8d
xor eax, dword [r9 + r10*4]
add rcx, 2
cmp rdx, rcx
jne 0x140082980
jmp 0x140082a1e
mov eax, edx
shr eax, 8
movzx ecx, dl
movzx edx, byte [rsi]
inc rsi
xor edx, ecx
lea rcx, [0x1400ff3a0]
xor eax, dword [rcx + rdx*4]
lea rcx, [rdi - 1]
mov edx, eax
cmp rdi, 1
je 0x140082a1e
xor r8d, r8d
lea r9, [0x1400ff3a0]
mov eax, edx
nop word cs:[rax + rax]
movzx edx, al
shr eax, 8
movzx r10d, byte [rsi + r8]
xor r10d, edx
xor eax, dword [r9 + r10*4]
movzx edx, al
shr eax, 8
movzx r10d, byte [rsi + r8 + 1]
xor r10d, edx
xor eax, dword [r9 + r10*4]
add r8, 2
cmp rcx, r8
jne 0x1400829f0
not eax
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x14013b620]
call fcn.14009ab34
cmp dword [0x14013b620], 0xffffffff
jne 0x1400826d8
lea rcx, [0x14013b5e0]
call fcn.14004db90
lea rcx, [0x14013b620]
call fcn.14009aac8
jmp 0x1400826d8