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

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
test ecx, ecx
je 0xdd8282
mov dword [ebp - 0x10], 1
cmp byte [ebp - 0x10], 0
je 0xdd828a
test edi, edi
not ebx
jne 0xdd8066
jmp 0xdd827e
movzx eax, byte [ecx]
add ecx, 1
xor eax, ebx
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x1311120]
sub edi, 1
je 0xdd827e
test cl, 3
jne 0xdd8048
cmp edi, 0x1f
mov esi, ecx
jbe 0xdd8259
mov edx, ebx
xor edx, dword [esi]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1311120]
xor eax, dword [ecx*4 + 0x1311d20]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 4]
xor eax, dword [ecx*4 + 0x1311920]
xor eax, dword [edx*4 + 0x1311520]
mov edx, eax
movzx ecx, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x1311120]
xor edx, dword [ecx*4 + 0x1311d20]
movzx ecx, ah
shr eax, 0x10
and eax, 0xff
xor edx, dword [esi + 8]
xor edx, dword [ecx*4 + 0x1311920]
xor edx, dword [eax*4 + 0x1311520]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1311120]
xor eax, dword [ecx*4 + 0x1311d20]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 0xc]
xor eax, dword [ecx*4 + 0x1311920]
xor eax, dword [edx*4 + 0x1311520]
mov edx, eax
movzx ecx, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x1311120]
xor edx, dword [ecx*4 + 0x1311d20]
movzx ecx, ah
shr eax, 0x10
and eax, 0xff
xor edx, dword [esi + 0x10]
xor edx, dword [ecx*4 + 0x1311920]
xor edx, dword [eax*4 + 0x1311520]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
sub edi, 0x20
mov eax, dword [eax*4 + 0x1311120]
xor eax, dword [ecx*4 + 0x1311d20]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 0x14]
xor eax, dword [ecx*4 + 0x1311920]
xor eax, dword [edx*4 + 0x1311520]
mov edx, eax
movzx ecx, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x1311120]
xor edx, dword [ecx*4 + 0x1311d20]
movzx ecx, ah
shr eax, 0x10
and eax, 0xff
xor edx, dword [esi + 0x18]
xor edx, dword [ecx*4 + 0x1311920]
xor edx, dword [eax*4 + 0x1311520]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1311120]
xor eax, dword [ecx*4 + 0x1311d20]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 0x1c]
add esi, 0x20
xor eax, dword [ecx*4 + 0x1311920]
xor eax, dword [edx*4 + 0x1311520]
movzx edx, al
mov ecx, eax
mov ebx, dword [edx*4 + 0x1311d20]
movzx edx, ah
shr eax, 0x10
shr ecx, 0x18
and eax, 0xff
xor ebx, dword [ecx*4 + 0x1311120]
xor ebx, dword [edx*4 + 0x1311920]
xor ebx, dword [eax*4 + 0x1311520]
cmp edi, 0x1f
ja 0xdd8076
cmp edi, 3
jbe 0xdd825e
nop
mov eax, ebx
sub edi, 4
xor eax, dword [esi]
add esi, 4
movzx edx, al
mov ecx, eax
mov ebx, dword [edx*4 + 0x1311d20]
movzx edx, ah
shr eax, 0x10
shr ecx, 0x18
and eax, 0xff
xor ebx, dword [ecx*4 + 0x1311120]
xor ebx, dword [edx*4 + 0x1311920]
xor ebx, dword [eax*4 + 0x1311520]
cmp edi, 3
ja 0xdd8220
test edi, edi
je 0xdd827e
mov edx, esi
movzx eax, byte [edx]
add edx, 1
xor eax, ebx
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x1311120]
sub edi, 1
jne 0xdd8264
mov eax, ebx
not eax
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
mov edx, ebx
shr eax, 8
shr edx, 0x18
and eax, 0xff00
add eax, edx
mov edx, ebx
and edx, 0xff00
shl edx, 8
add eax, edx
shl ebx, 0x18
test edi, edi
lea ebx, [eax + ebx]
not ebx
jne 0xdd82e0
jmp 0xdd8501
movzx edx, byte [ecx]
mov eax, ebx
add ecx, 1
shr eax, 0x18
shl ebx, 8
xor eax, edx
xor ebx, dword [eax*4 + 0x1312120]
sub edi, 1
je 0xdd8501
test cl, 3
jne 0xdd82c0
cmp edi, 0x1f
lea esi, [ecx - 4]
jbe 0xdd84d9
mov edx, ebx
xor edx, dword [esi + 4]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1312d20]
xor eax, dword [ecx*4 + 0x1312120]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 8]
xor eax, dword [ecx*4 + 0x1312520]
xor eax, dword [edx*4 + 0x1312920]
mov edx, eax
movzx ecx, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x1312d20]
xor edx, dword [ecx*4 + 0x1312120]
movzx ecx, ah
shr eax, 0x10
and eax, 0xff
xor edx, dword [esi + 0xc]
xor edx, dword [ecx*4 + 0x1312520]
xor edx, dword [eax*4 + 0x1312920]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1312d20]
xor eax, dword [ecx*4 + 0x1312120]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 0x10]
xor eax, dword [ecx*4 + 0x1312520]
xor eax, dword [edx*4 + 0x1312920]
mov edx, eax
movzx ecx, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x1312d20]
xor edx, dword [ecx*4 + 0x1312120]
movzx ecx, ah
shr eax, 0x10
and eax, 0xff
xor edx, dword [esi + 0x14]
xor edx, dword [ecx*4 + 0x1312520]
xor edx, dword [eax*4 + 0x1312920]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
sub edi, 0x20
mov eax, dword [eax*4 + 0x1312d20]
xor eax, dword [ecx*4 + 0x1312120]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi + 0x18]
xor eax, dword [ecx*4 + 0x1312520]
xor eax, dword [edx*4 + 0x1312920]
mov edx, eax
movzx ecx, al
shr edx, 0x18
mov edx, dword [edx*4 + 0x1312d20]
xor edx, dword [ecx*4 + 0x1312120]
movzx ecx, ah
shr eax, 0x10
and eax, 0xff
xor edx, dword [esi + 0x1c]
add esi, 0x20
xor edx, dword [ecx*4 + 0x1312520]
xor edx, dword [eax*4 + 0x1312920]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
mov eax, dword [eax*4 + 0x1312d20]
xor eax, dword [ecx*4 + 0x1312120]
movzx ecx, dh
shr edx, 0x10
and edx, 0xff
xor eax, dword [esi]
xor eax, dword [ecx*4 + 0x1312520]
xor eax, dword [edx*4 + 0x1312920]
movzx edx, al
mov ecx, eax
mov ebx, dword [edx*4 + 0x1312120]
movzx edx, ah
shr eax, 0x10
shr ecx, 0x18
and eax, 0xff
xor ebx, dword [ecx*4 + 0x1312d20]
xor ebx, dword [edx*4 + 0x1312520]
xor ebx, dword [eax*4 + 0x1312920]
cmp edi, 0x1f
ja 0xdd82f1
cmp edi, 3
jbe 0xdd84de
lea esi, [esi]
add esi, 4
mov eax, ebx
xor eax, dword [esi]
sub edi, 4
movzx edx, al
mov ecx, eax
mov ebx, dword [edx*4 + 0x1312120]
movzx edx, ah
shr eax, 0x10
shr ecx, 0x18
and eax, 0xff
xor ebx, dword [ecx*4 + 0x1312d20]
xor ebx, dword [edx*4 + 0x1312520]
xor ebx, dword [eax*4 + 0x1312920]
cmp edi, 3
ja 0xdd84a0
test edi, edi
je 0xdd8501
xor ecx, ecx
movzx edx, byte [ecx + esi + 4]
mov eax, ebx
add ecx, 1
shr eax, 0x18
shl ebx, 8
xor eax, edx
xor ebx, dword [eax*4 + 0x1312120]
cmp ecx, edi
jne 0xdd84e4
mov ecx, ebx
add esp, 0x10
not ecx
mov edx, ecx
mov eax, ecx
shr edx, 8
shr eax, 0x18
and edx, 0xff00
add edx, eax
mov eax, ecx
and eax, 0xff00
shl eax, 8
pop ebx
add edx, eax
pop esi
pop edi
pop ebp
shl ecx, 0x18
lea eax, [edx + ecx]
ret