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

Disassembly:
push rsi
push rdi
push rbx
test rdx, rdx
je 0x140003a98
mov eax, ecx
not eax
test r8, r8
je 0x1400039bc
lea rdi, [r8 - 0x20]
xor r11d, r11d
lea rcx, [0x14000a1d0]
lea r9, [rdx + r11]
test r9b, 3
je 0x1400037f2
movzx ebx, byte [r9]
movzx esi, al
xor esi, ebx
shr eax, 8
xor eax, dword [rcx + rsi*4]
add rdi, 0xffffffffffffffff
add r11, 1
cmp r8, r11
jne 0x1400037c7
jmp 0x1400039bc
mov r10, r8
sub r10, r11
cmp r10, 0x20
jb 0x1400039ad
nop word cs:[rax + rax]
nop dword [rax]
xor eax, dword [r9]
movzx esi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rsi*4 + 0xc00]
mov esi, eax
shr esi, 0x10
movzx esi, sil
xor ebx, dword [rcx + rsi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r9 + 4]
movzx esi, bl
movzx eax, bh
mov eax, dword [rcx + rax*4 + 0x800]
xor eax, dword [rcx + rsi*4 + 0xc00]
mov esi, ebx
shr esi, 0x10
movzx esi, sil
xor eax, dword [rcx + rsi*4 + 0x400]
shr ebx, 0x18
xor eax, dword [rcx + rbx*4]
xor eax, dword [r9 + 8]
movzx esi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rsi*4 + 0xc00]
mov esi, eax
shr esi, 0x10
movzx esi, sil
xor ebx, dword [rcx + rsi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r9 + 0xc]
movzx esi, bl
movzx eax, bh
mov eax, dword [rcx + rax*4 + 0x800]
xor eax, dword [rcx + rsi*4 + 0xc00]
mov esi, ebx
shr esi, 0x10
movzx esi, sil
xor eax, dword [rcx + rsi*4 + 0x400]
shr ebx, 0x18
xor eax, dword [rcx + rbx*4]
xor eax, dword [r9 + 0x10]
movzx esi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rsi*4 + 0xc00]
mov esi, eax
shr esi, 0x10
movzx esi, sil
xor ebx, dword [rcx + rsi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r9 + 0x14]
movzx esi, bl
movzx eax, bh
mov eax, dword [rcx + rax*4 + 0x800]
xor eax, dword [rcx + rsi*4 + 0xc00]
mov esi, ebx
shr esi, 0x10
movzx esi, sil
xor eax, dword [rcx + rsi*4 + 0x400]
shr ebx, 0x18
xor eax, dword [rcx + rbx*4]
xor eax, dword [r9 + 0x18]
movzx esi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rsi*4 + 0xc00]
mov esi, eax
shr esi, 0x10
movzx esi, sil
xor ebx, dword [rcx + rsi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r9 + 0x1c]
movzx esi, bl
movzx eax, bh
mov eax, dword [rcx + rax*4 + 0x800]
xor eax, dword [rcx + rsi*4 + 0xc00]
mov esi, ebx
shr esi, 0x10
movzx esi, sil
xor eax, dword [rcx + rsi*4 + 0x400]
shr ebx, 0x18
xor eax, dword [rcx + rbx*4]
add r10, 0xffffffffffffffe0
add r9, 0x20
cmp r10, 0x1f
ja 0x140003810
and rdi, 0xffffffffffffffe0
add rdx, rdi
lea r9, [r11 + rdx]
add r9, 0x20
add r8, 0xffffffffffffffe0
sub r8, rdi
sub r8, r11
mov r10, r8
cmp r10, 4
jae 0x1400039c2
test r10, r10
jne 0x140003a5b
not eax
pop rbx
pop rdi
pop rsi
ret
add r10, 0xfffffffffffffffc
mov r8, r10
shr r8, 2
xor eax, dword [r9]
movzx edx, al
movzx esi, ah
mov ebx, dword [rcx + rsi*4 + 0x800]
xor ebx, dword [rcx + rdx*4 + 0xc00]
mov edx, eax
shr edx, 0x10
movzx edx, dl
xor ebx, dword [rcx + rdx*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
cmp r10, 4
jb 0x140003a9f
lea rsi, [r9 + 4]
mov rdx, r10
xor ebx, dword [rsi]
movzx edi, bl
movzx eax, bh
mov eax, dword [rcx + rax*4 + 0x800]
xor eax, dword [rcx + rdi*4 + 0xc00]
mov edi, ebx
shr edi, 0x10
movzx edi, dil
xor eax, dword [rcx + rdi*4 + 0x400]
shr ebx, 0x18
xor eax, dword [rcx + rbx*4]
add rdx, 0xfffffffffffffffc
add rsi, 4
mov ebx, eax
cmp rdx, 3
ja 0x140003a0a
lea r9, [r9 + r8*4]
add r9, 4
and r10d, 3
test r10, r10
je 0x1400039bc
movzx edx, byte [r9]
movzx ebx, al
xor ebx, edx
shr eax, 8
xor eax, dword [rcx + rbx*4]
cmp r10, 1
je 0x1400039bc
mov edx, 1
movzx ebx, byte [r9 + rdx]
movzx edi, al
xor edi, ebx
shr eax, 8
xor eax, dword [rcx + rdi*4]
add rdx, 1
cmp r10, rdx
je 0x1400039bc
jmp 0x140003a79
xor eax, eax
jmp 0x1400039be
mov eax, ebx
jmp 0x140003a46