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

Disassembly:
jmp 0x2bee35
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne 0x2bee48
xor eax, eax
jmp 0x2bf0ff
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x40]
not esi
cmp edi, 0x17
jb 0x2bf029
test bl, 3
je 0x2bee7a
movzx eax, byte [ebx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
inc ebx
sub edi, 1
jne 0x2bee5d
push ebp
xor edx, edx
mov eax, edi
push 0x14
pop ecx
div ecx
xor ebp, ebp
mov edx, eax
mov dword [esp + 0x18], ebp
imul ecx, edx, 0xffffffec
mov eax, ebp
mov dword [esp + 0x10], eax
add edi, ecx
mov ecx, ebp
sub edx, 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], edx
je 0x2befe4
jmp 0x2beeb8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx]
mov edi, 0x100
xor edx, esi
mov esi, dword [ebx + 4]
xor esi, ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x1c], esi
mov esi, dword [ebx + 8]
xor esi, eax
mov eax, dword [ebx + 0xc]
xor eax, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov ecx, dword [ebx + 0x10]
add ebx, 0x14
xor ecx, dword [esp + 0x18]
movzx eax, dl
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ecx
mov esi, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x1c]
movzx eax, al
mov ebp, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x20]
movzx eax, al
mov eax, dword [eax*4 + 0x2f85f0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
movzx eax, al
mov eax, dword [eax*4 + 0x2f85f0]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
movzx eax, cl
mov eax, dword [eax*4 + 0x2f85f0]
mov dword [esp + 0x18], eax
xor eax, eax
inc eax
mov dword [esp + 0x28], eax
mov ecx, eax
mov eax, dword [esp + 0x30]
shl ecx, 3
shr eax, cl
movzx eax, al
add eax, edi
xor esi, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x1c]
shr eax, cl
movzx eax, al
add eax, edi
xor ebp, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x20]
shr eax, cl
movzx eax, al
add eax, edi
xor edx, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x24]
shr eax, cl
movzx eax, al
add eax, edi
xor ebx, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x34]
shr eax, cl
mov ecx, dword [esp + 0x18]
movzx eax, al
add eax, edi
add edi, 0x100
xor ecx, dword [eax*4 + 0x2f85f0]
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], eax
cmp edi, 0x400
jl 0x2bef4b
sub dword [esp + 0x2c], 1
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x10], edx
jne 0x2beeb0
mov edi, dword [esp + 0x44]
mov eax, dword [ebx]
xor eax, esi
push eax
call fcn.002bf104
xor eax, dword [ebx + 4]
xor eax, ebp
push eax
call fcn.002bf104
xor eax, dword [ebx + 8]
xor eax, dword [esp + 0x18]
push eax
call fcn.002bf104
xor eax, dword [ebx + 0xc]
xor eax, dword [esp + 0x20]
push eax
call fcn.002bf104
xor eax, dword [ebx + 0x10]
xor eax, dword [esp + 0x28]
push eax
call fcn.002bf104
add esp, 0x14
mov esi, eax
add ebx, 0x14
pop ebp
cmp edi, 8
jb 0x2bf0dd
mov ecx, edi
shr ecx, 3
movzx eax, byte [ebx]
sub edi, 8
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 1]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 2]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 3]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 4]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 5]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 6]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
movzx eax, byte [ebx + 7]
add ebx, 8
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
sub ecx, 1
jne 0x2bf037
test edi, edi
je 0x2bf0f9
movzx eax, byte [ebx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x2f7df0]
inc ebx
sub edi, 1
jne 0x2bf0e1
not esi
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x28
ret