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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x14
xor eax, eax
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test edx, edx
je 0x4b06cd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], 1
xor eax, 0xffffffff
test ecx, ecx
jne 0x4b042f
jmp 0x4b06ca
mov bl, byte [edx]
inc edx
xor ebx, eax
shr eax, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x6ffa40]
xor eax, esi
dec ecx
je 0x4b06ca
test dl, 3
jne 0x4b0411
cmp ecx, 0x1f
jbe 0x4b0644
mov ebx, ecx
mov esi, edx
mov dword [esp], edx
mov edi, dword [esi]
xor eax, edi
movzx edi, al
movzx ebp, ah
mov edx, eax
mov edi, dword [edi*4 + 0x700640]
shr eax, 0x18
shr edx, 0x10
xor edi, dword [eax*4 + 0x6ffa40]
and edx, 0xff
mov eax, dword [esi + 4]
xor edi, eax
mov eax, dword [ebp*4 + 0x700240]
xor edi, eax
mov eax, dword [edx*4 + 0x6ffe40]
xor edi, eax
mov ebp, edi
mov eax, edi
shr edi, 0x18
and ebp, 0xff
movzx edx, ah
shr eax, 0x10
mov ebp, dword [ebp*4 + 0x700640]
xor ebp, dword [edi*4 + 0x6ffa40]
and eax, 0xff
mov edi, dword [esi + 8]
xor ebp, edi
mov edi, dword [edx*4 + 0x700240]
xor ebp, edi
mov edx, dword [eax*4 + 0x6ffe40]
xor ebp, edx
mov edi, ebp
mov eax, ebp
shr ebp, 0x18
and edi, 0xff
movzx edx, ah
shr eax, 0x10
mov edi, dword [edi*4 + 0x700640]
xor edi, dword [ebp*4 + 0x6ffa40]
and eax, 0xff
mov ebp, dword [esi + 0xc]
xor edi, ebp
mov ebp, dword [edx*4 + 0x700240]
xor edi, ebp
mov edx, dword [eax*4 + 0x6ffe40]
xor edi, edx
mov ebp, edi
mov eax, edi
shr edi, 0x18
and ebp, 0xff
movzx edx, ah
shr eax, 0x10
mov ebp, dword [ebp*4 + 0x700640]
xor ebp, dword [edi*4 + 0x6ffa40]
and eax, 0xff
mov edi, dword [esi + 0x10]
xor ebp, edi
mov edi, dword [edx*4 + 0x700240]
xor ebp, edi
mov edx, dword [eax*4 + 0x6ffe40]
xor ebp, edx
mov eax, ebp
mov edi, ebp
movzx edx, ah
shr eax, 0x10
and edi, 0xff
shr ebp, 0x18
and eax, 0xff
mov edi, dword [edi*4 + 0x700640]
sub ebx, 0x20
xor edi, dword [ebp*4 + 0x6ffa40]
mov ebp, dword [esi + 0x14]
xor edi, ebp
mov ebp, dword [edx*4 + 0x700240]
xor edi, ebp
mov edx, dword [eax*4 + 0x6ffe40]
xor edi, edx
mov ebp, edi
mov eax, edi
shr edi, 0x18
and ebp, 0xff
movzx edx, ah
shr eax, 0x10
mov ebp, dword [ebp*4 + 0x700640]
xor ebp, dword [edi*4 + 0x6ffa40]
and eax, 0xff
mov edi, dword [esi + 0x18]
xor ebp, edi
mov edi, dword [edx*4 + 0x700240]
xor ebp, edi
mov edx, dword [eax*4 + 0x6ffe40]
xor ebp, edx
mov edx, ebp
mov eax, ebp
shr ebp, 0x18
and edx, 0xff
movzx edi, ah
shr eax, 0x10
mov edx, dword [edx*4 + 0x700640]
xor edx, dword [ebp*4 + 0x6ffa40]
and eax, 0xff
mov ebp, dword [esi + 0x1c]
add esi, 0x20
xor edx, ebp
mov ebp, dword [edi*4 + 0x700240]
xor edx, ebp
mov edi, dword [eax*4 + 0x6ffe40]
xor edx, edi
mov eax, edx
mov edi, edx
shr eax, 0x18
movzx ebp, dl
shr edi, 0x10
mov eax, dword [eax*4 + 0x6ffa40]
movzx edx, dh
xor eax, dword [ebp*4 + 0x700640]
and edi, 0xff
mov ebp, dword [edx*4 + 0x700240]
mov edx, dword [edi*4 + 0x6ffe40]
xor eax, ebp
xor eax, edx
cmp ebx, 0x1f
ja 0x4b0444
lea ebx, [ecx - 0x20]
mov edx, dword [esp]
and ebx, 0xffffffe0
and ecx, 0x1f
lea edx, [edx + ebx + 0x20]
cmp ecx, 3
jbe 0x4b06a5
mov edi, ecx
mov esi, edx
mov dword [esp], edx
mov edx, dword [esi]
sub edi, 4
xor edx, eax
add esi, 4
mov eax, edx
mov ebx, edx
shr eax, 0x18
movzx ebp, dl
shr ebx, 0x10
mov eax, dword [eax*4 + 0x6ffa40]
movzx edx, dh
xor eax, dword [ebp*4 + 0x700640]
and ebx, 0xff
mov ebp, dword [edx*4 + 0x700240]
mov edx, dword [ebx*4 + 0x6ffe40]
xor eax, ebp
xor eax, edx
cmp edi, 3
ja 0x4b0650
lea ebx, [ecx - 4]
mov edx, dword [esp]
shr ebx, 2
and ecx, 3
lea edx, [edx + ebx*4 + 4]
test ecx, ecx
je 0x4b06ca
lea esi, [esi]
mov bl, byte [edx]
inc edx
xor ebx, eax
shr eax, 8
and ebx, 0xff
mov esi, dword [ebx*4 + 0x6ffa40]
xor eax, esi
dec ecx
jne 0x4b06b0
xor eax, 0xffffffff
add esp, 0x14
pop ebx
pop esi
pop edi
pop ebp
ret