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

Disassembly:
push rsi
push rdi
push rbx
test rdx, rdx
je 0x140003a51
mov eax, ecx
not eax
test r8d, r8d
je 0x14000395c
mov r10d, r8d
lea rsi, [r10 - 0x20]
xor r11d, r11d
lea rcx, [0x14000c210]
lea r8, [rdx + r11]
test r8b, 3
jne 0x140003a5c
mov r9, r10
sub r9, r11
cmp r9, 0x20
jb 0x14000394d
nop
nop
nop
nop
nop
nop
nop
nop
xor eax, dword [r8]
movzx edi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rdi*4 + 0xc00]
mov edi, eax
shr edi, 0x10
movzx edi, dil
xor ebx, dword [rcx + rdi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r8 + 4]
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]
xor eax, dword [r8 + 8]
movzx edi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rdi*4 + 0xc00]
mov edi, eax
shr edi, 0x10
movzx edi, dil
xor ebx, dword [rcx + rdi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r8 + 0xc]
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]
xor eax, dword [r8 + 0x10]
movzx edi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rdi*4 + 0xc00]
mov edi, eax
shr edi, 0x10
movzx edi, dil
xor ebx, dword [rcx + rdi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r8 + 0x14]
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]
xor eax, dword [r8 + 0x18]
movzx edi, al
movzx ebx, ah
mov ebx, dword [rcx + rbx*4 + 0x800]
xor ebx, dword [rcx + rdi*4 + 0xc00]
mov edi, eax
shr edi, 0x10
movzx edi, dil
xor ebx, dword [rcx + rdi*4 + 0x400]
shr eax, 0x18
xor ebx, dword [rcx + rax*4]
xor ebx, dword [r8 + 0x1c]
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 r9, 0xffffffffffffffe0
add r8, 0x20
cmp r9, 0x1f
ja 0x1400037b0
and rsi, 0xffffffffffffffe0
add rdx, rsi
lea r8, [r11 + rdx]
add r8, 0x20
add r10, 0xffffffffffffffe0
sub r10, rsi
sub r10, r11
mov r9, r10
cmp r9, 4
jae 0x140003962
test r9, r9
jne 0x1400039fb
not eax
pop rbx
pop rdi
pop rsi
ret
xor eax, dword [r8]
movzx ebx, al
movzx edx, ah
mov edx, dword [rcx + rdx*4 + 0x800]
xor edx, dword [rcx + rbx*4 + 0xc00]
mov ebx, eax
shr ebx, 0x10
movzx ebx, bl
xor edx, dword [rcx + rbx*4 + 0x400]
shr eax, 0x18
xor edx, dword [rcx + rax*4]
lea rsi, [r9 - 4]
cmp rsi, 4
jb 0x140003a58
lea r10, [r8 + 4]
xor edx, dword [r10]
movzx ebx, dl
movzx eax, dh
mov eax, dword [rcx + rax*4 + 0x800]
xor eax, dword [rcx + rbx*4 + 0xc00]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor eax, dword [rcx + rbx*4 + 0x400]
shr edx, 0x18
xor eax, dword [rcx + rdx*4]
add rsi, 0xfffffffffffffffc
add r10, 4
mov edx, eax
cmp rsi, 3
ja 0x1400039a0
add r9, 0xfffffffffffffffc
mov rdx, r9
and rdx, 0xfffffffffffffffc
add r8, rdx
add r8, 4
and r9d, 3
test r9, r9
je 0x14000395c
movzx edx, byte [r8]
movzx ebx, al
xor ebx, edx
shr eax, 8
xor eax, dword [rcx + rbx*4]
cmp r9, 1
je 0x14000395c
movzx edx, byte [r8 + 1]
movzx ebx, al
xor ebx, edx
shr eax, 8
xor eax, dword [rcx + rbx*4]
cmp r9, 2
je 0x14000395c
mov edx, 2
movzx ebx, byte [r8 + rdx]
movzx edi, al
xor edi, ebx
shr eax, 8
xor eax, dword [rcx + rdi*4]
add rdx, 1
cmp r9, rdx
jne 0x140003a33
jmp 0x14000395c
xor eax, eax
jmp 0x14000395e
mov eax, edx
jmp 0x1400039dc
movzx r8d, byte [r8]
movzx ebx, al
xor ebx, r8d
shr eax, 8
xor eax, dword [rcx + rbx*4]
add r11, 1
add rsi, 0xffffffffffffffff
cmp r10, r11
jne 0x14000378a
jmp 0x14000395c