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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rdi, qword [0x140125820]
xor esi, esi
mov dword [rbp - 0xd], esi
mov qword [rbp - 1], rsi
mov qword [rbp + 0x27], rsi
mov dword [rbp + 0x67], 0x888583be
mov word [rbp + 0x6b], 0x9982
xor eax, eax
mov byte [rbp + 0x6d], al
mov edx, esi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
xor byte [rbp + rcx + 0x67], al
inc edx
cmp edx, 6
jb 0x1400203b0
lea rax, [rbp + 0x67]
mov qword [rbp - 0x19], rax
mov dword [rbp + 0x67], 0x888583be
mov word [rbp + 0x6b], 0x9982
xor eax, eax
mov byte [rbp + 0x6d], al
mov edx, esi
nop dword [rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
xor byte [rbp + rcx + 0x67], al
inc edx
cmp edx, 6
jb 0x1400203e0
mov byte [rbp + 0x6d], sil
mov ebx, 0xffffffff
mov edx, ebx
lea r8, [rbp + 0x68]
movzx r9d, byte [rbp + 0x67]
lea r14, [0x1400bb240]
test r9b, r9b
je 0x140020440
cmp r9b, 0x23
jne 0x140020423
cmp byte [r8], r9b
jne 0x140020423
cmp byte [r8 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x140020411
not edx
mov dword [rbp - 0x11], edx
lea rax, [0x14002f390]
mov qword [rbp - 9], rax
lea rax, [0x14002f420]
mov qword [rbp + 7], rax
lea rax, [0x14002f4f0]
mov qword [rbp + 0xf], rax
lea rax, [0x14002f660]
mov qword [rbp + 0x17], rax
lea rax, [0x14002f740]
mov qword [rbp + 0x1f], rax
lea rcx, [rbp - 0x19]
call fcn.14002f180
mov dword [rbp - 0xd], esi
mov qword [rbp - 1], rsi
mov qword [rbp + 0x27], rsi
mov dword [rbp + 0x67], 0x80898bbd
mov word [rbp + 0x6b], 0x88
mov edx, esi
nop
movsxd rcx, edx
lea eax, [rdx - 0x17]
xor byte [rbp + rcx + 0x67], al
inc edx
cmp edx, 5
jb 0x1400204a0
lea rax, [rbp + 0x67]
mov qword [rbp - 0x19], rax
mov dword [rbp + 0x67], 0x80898bbd
mov word [rbp + 0x6b], 0x88
mov edx, esi
nop dword [rax + rax]
movsxd rcx, edx
lea eax, [rdx - 0x17]
xor byte [rbp + rcx + 0x67], al
inc edx
cmp edx, 5
jb 0x1400204d0
mov byte [rbp + 0x6c], sil
mov edx, ebx
lea r8, [rbp + 0x68]
movzx r9d, byte [rbp + 0x67]
test r9b, r9b
je 0x140020524
cmp r9b, 0x23
jne 0x140020507
cmp byte [r8], r9b
jne 0x140020507
cmp byte [r8 + 1], r9b
cmove edx, ebx
movzx ecx, dl
movzx eax, r9b
xor rcx, rax
shr edx, 8
xor edx, dword [r14 + rcx*4]
movzx r9d, byte [r8]
inc r8
test r9b, r9b
jne 0x1400204f5
not edx
mov dword [rbp - 0x11], edx
lea rax, [0x140043b20]
mov qword [rbp - 9], rax
lea rax, [0x140043c10]
mov qword [rbp + 7], rax
lea rax, [0x140043d20]
mov qword [rbp + 0xf], rax
lea rax, [0x140043bc0]
mov qword [rbp + 0x17], rax
lea rax, [0x1400440f0]
mov qword [rbp + 0x1f], rax
lea rcx, [rbp - 0x19]
call fcn.14002f180
mov rax, qword [0x140125820]
test rax, rax
je 0x14002057b
inc dword [rax + 0xec]
mov rdx, qword [0x140125818]
mov ecx, 0xb8
call fcn.14001a880
mov rbx, rax
mov qword [rbp + 0x6f], rax
lea rax, [rbp + 0x67]
mov qword [rbp + 0x77], rax
mov qword [rbp + 0x7f], rbx
test rbx, rbx
je 0x14002061d
mov qword [rbx + 0xc], rsi
mov qword [rbx + 0x1c], rsi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
movups xmmword [rbx + 0x20], xmm0
movups xmmword [rbx + 0x48], xmm0
movups xmmword [rbx + 0x58], xmm0
movups xmmword [rbx + 0x68], xmm0
lea rcx, [rbx + 0x78]
mov qword [rbp - 0x29], rcx
lea rax, [0x14002fd70]
mov qword [rsp + 0x20], rax
lea r9, [fcn.1400147c0]
mov edx, 0x10
lea r8d, [rdx - 0xe]
call fcn.14007a634
mov qword [rbx + 0x98], rsi
mov qword [rbx + 0xa0], rsi
mov qword [rbx + 0xa8], rsi
mov qword [rbx + 0xb0], rsi
mov qword [rbx + 0x30], 0xffffffffffffffff
mov qword [rbx + 0x40], rsi
mov qword [rbx + 0x38], rsi
jmp 0x140020620
mov rbx, rsi
mov ecx, dword [rdi + 0x40ac]
mov esi, dword [rdi + 0x40a8]
cmp esi, ecx
jne 0x1400206d1
inc esi
test ecx, ecx
je 0x140020645
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14002064a
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, ecx
jle 0x1400206d1
mov rax, qword [0x140125820]
test rax, rax
je 0x140020665
inc dword [rax + 0xec]
movsxd rcx, esi
shl rcx, 3
mov rdx, qword [0x140125818]
call fcn.14001a880
mov r14, rax
mov rdx, qword [rdi + 0x40b0]
test rdx, rdx
je 0x1400206c4
movsxd r8, dword [rdi + 0x40a8]
shl r8, 3
mov rcx, rax
call fcn.14007c4a0
mov rcx, qword [rdi + 0x40b0]
test rcx, rcx
je 0x1400206b8
mov rax, qword [0x140125820]
test rax, rax
je 0x1400206b8
dec dword [rax + 0xec]
mov rdx, qword [0x140125818]
call fcn.14001a890
mov qword [rdi + 0x40b0], r14
mov dword [rdi + 0x40ac], esi
movsxd rcx, dword [rdi + 0x40a8]
mov rax, qword [rdi + 0x40b0]
mov qword [rax + rcx*8], rbx
inc dword [rdi + 0x40a8]
mov byte [rdi], 1
add rsp, 0x90
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret