Function at 0x442d80
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, 0x18
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x442dd1
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], 1
test ecx, ecx
not eax
je 0x442dcf
test bl, 3
je 0x442de3
mov edx, dword [ebp + 0x10]
jmp 0x442db5
test bl, 3
je 0x442de0
movzx ecx, byte [ebx]
add ebx, 1
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x4508c0]
sub edx, 1
jne 0x442db0
not eax
add esp, 0x18
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0x1f
mov edi, ebx
jbe 0x442fd8
mov edx, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov ebx, edx
lea esi, [esi]
xor eax, dword [ecx]
mov edx, eax
movzx esi, al
shr edx, 0x10
movzx edi, ah
mov esi, dword [esi*4 + 0x4514c0]
and edx, 0xff
shr eax, 0x18
xor esi, dword [eax*4 + 0x4508c0]
xor esi, dword [ecx + 4]
xor esi, dword [edi*4 + 0x4510c0]
xor esi, dword [edx*4 + 0x450cc0]
mov eax, esi
mov edi, esi
movzx edx, ah
and edi, 0xff
shr eax, 0x10
mov edi, dword [edi*4 + 0x4514c0]
and eax, 0xff
shr esi, 0x18
xor edi, dword [esi*4 + 0x4508c0]
xor edi, dword [ecx + 8]
xor edi, dword [edx*4 + 0x4510c0]
xor edi, dword [eax*4 + 0x450cc0]
mov eax, edi
mov esi, edi
movzx edx, ah
and esi, 0xff
shr eax, 0x10
mov esi, dword [esi*4 + 0x4514c0]
and eax, 0xff
shr edi, 0x18
xor esi, dword [edi*4 + 0x4508c0]
xor esi, dword [ecx + 0xc]
xor esi, dword [edx*4 + 0x4510c0]
xor esi, dword [eax*4 + 0x450cc0]
mov eax, esi
mov edi, esi
movzx edx, ah
and edi, 0xff
shr eax, 0x10
mov edi, dword [edi*4 + 0x4514c0]
and eax, 0xff
shr esi, 0x18
xor edi, dword [esi*4 + 0x4508c0]
xor edi, dword [ecx + 0x10]
xor edi, dword [edx*4 + 0x4510c0]
xor edi, dword [eax*4 + 0x450cc0]
mov eax, edi
mov esi, edi
movzx edx, ah
shr eax, 0x10
and esi, 0xff
and eax, 0xff
mov esi, dword [esi*4 + 0x4514c0]
sub ebx, 0x20
shr edi, 0x18
xor esi, dword [edi*4 + 0x4508c0]
xor esi, dword [ecx + 0x14]
xor esi, dword [edx*4 + 0x4510c0]
xor esi, dword [eax*4 + 0x450cc0]
mov eax, esi
mov edi, esi
movzx edx, ah
and edi, 0xff
shr eax, 0x10
mov edi, dword [edi*4 + 0x4514c0]
and eax, 0xff
shr esi, 0x18
xor edi, dword [esi*4 + 0x4508c0]
xor edi, dword [ecx + 0x18]
xor edi, dword [edx*4 + 0x4510c0]
xor edi, dword [eax*4 + 0x450cc0]
mov edx, edi
mov eax, edi
movzx esi, dh
and edx, 0xff
shr eax, 0x10
mov edx, dword [edx*4 + 0x4514c0]
and eax, 0xff
shr edi, 0x18
xor edx, dword [edi*4 + 0x4508c0]
xor edx, dword [ecx + 0x1c]
add ecx, 0x20
xor edx, dword [esi*4 + 0x4510c0]
xor edx, dword [eax*4 + 0x450cc0]
mov esi, edx
mov eax, edx
shr esi, 0x10
movzx edi, dl
shr eax, 0x18
and esi, 0xff
mov eax, dword [eax*4 + 0x4508c0]
movzx edx, dh
xor eax, dword [edi*4 + 0x4514c0]
xor eax, dword [edx*4 + 0x4510c0]
xor eax, dword [esi*4 + 0x450cc0]
cmp ebx, 0x1f
ja 0x442e00
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x24]
sub edx, 0x20
mov ecx, edx
and edx, 0x1f
and ecx, 0xffffffe0
lea edi, [ebx + ecx + 0x20]
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 3
jbe 0x44303d
mov edx, dword [ebp + 0x10]
xor ecx, ecx
sub edx, 4
mov dword [ebp - 0x24], edx
shr edx, 2
add edx, 1
mov dword [ebp - 0x20], edx
mov edx, dword [edi + ecx*4]
add ecx, 1
xor edx, eax
mov ebx, edx
mov eax, edx
shr ebx, 0x10
movzx esi, dl
shr eax, 0x18
and ebx, 0xff
mov eax, dword [eax*4 + 0x4508c0]
movzx edx, dh
xor eax, dword [esi*4 + 0x4514c0]
xor eax, dword [edx*4 + 0x4510c0]
xor eax, dword [ebx*4 + 0x450cc0]
cmp ecx, dword [ebp - 0x20]
jne 0x442ff2
mov edx, dword [ebp - 0x24]
lea edi, [edi + ecx*4]
and edx, 3
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x442dcf
mov ebx, dword [ebp + 0x10]
xor edx, edx
lea esi, [esi]
movzx ecx, byte [edi + edx]
add edx, 1
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x4508c0]
cmp ebx, edx
jne 0x443050
not eax
jmp 0x442dd1