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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x495dac
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
jmp 0x46fe47
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ecx + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
cmp dword [ebp + 0x10], 0
je 0x46fe52
test dl, 3
jne 0x46fe2d
cmp dword [ebp + 0x10], 0x20
jb 0x47009a
xor eax, dword [edx]
lea esi, [ecx + 0xc00]
mov ebx, eax
lea edi, [ecx + 0x800]
and ebx, 0xff
add edx, 4
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
xor ebx, dword [ecx + eax*4]
sub dword [ebp + 0x10], 0x20
cmp dword [ebp + 0x10], 0x20
mov eax, ebx
jae 0x46fe5c
cmp dword [ebp + 0x10], 4
jb 0x4700f0
xor eax, dword [edx]
lea esi, [ecx + 0xc00]
mov ebx, eax
lea edi, [ecx + 0x800]
and ebx, 0xff
add edx, 4
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 + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
xor ebx, dword [ecx + eax*4]
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 4
mov eax, ebx
jae 0x4700a0
cmp dword [ebp + 0x10], 0
je 0x470112
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ecx + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
jne 0x4700f6
not eax
pop edi
pop esi
pop ebx
pop ebp
ret