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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x50ab80
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov esi, eax
mov ebx, eax
shr esi, 8
shr ebx, 0x18
and esi, 0xff00
add ebx, esi
mov esi, eax
and esi, 0xff00
and eax, 0xff
shl esi, 8
shl eax, 0x18
add ebx, esi
add ebx, eax
mov eax, ebx
not eax
jmp 0x4c6b46
movzx esi, byte [edx]
mov ebx, eax
inc edx
shr ebx, 0x18
xor ebx, esi
lea esi, [ecx + 0x1000]
shl eax, 8
mov ebx, dword [esi + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
cmp dword [ebp + 0x10], 0
je 0x4c6b51
test dl, 3
jne 0x4c6b28
sub edx, 4
cmp dword [ebp + 0x10], 0x20
jb 0x4c6dcc
add edx, 4
lea esi, [ecx + 0x1000]
lea edi, [ecx + 0x1400]
xor eax, dword [edx]
mov ebx, eax
add edx, 4
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
lea edi, [ecx + 0x1400]
xor ebx, dword [esi + eax*4]
lea esi, [ecx + 0x1000]
mov eax, ebx
xor eax, dword [edx]
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
xor ebx, dword [esi + eax*4]
sub dword [ebp + 0x10], 0x20
cmp dword [ebp + 0x10], 0x20
mov eax, ebx
jae 0x4c6b5e
cmp dword [ebp + 0x10], 4
jb 0x4c6e28
add edx, 4
lea esi, [ecx + 0x1000]
lea edi, [ecx + 0x1400]
xor eax, dword [edx]
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x1800]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0x1c00]
xor ebx, dword [esi + eax*4]
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 4
mov eax, ebx
jae 0x4c6dd2
add edx, 4
cmp dword [ebp + 0x10], 0
je 0x4c6e51
movzx esi, byte [edx]
mov ebx, eax
inc edx
shr ebx, 0x18
xor ebx, esi
lea esi, [ecx + 0x1000]
shl eax, 8
mov ebx, dword [esi + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
jne 0x4c6e31
not eax
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
and eax, 0xff
shl ecx, 8
shl eax, 0x18
add edx, ecx
add edx, eax
mov eax, edx
pop edi
pop esi
pop ebx
pop ebp
ret