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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test edx, edx
mov dword [esp], ecx
je 0x48bda0
mov eax, dword [esp + 0x18]
test ecx, ecx
not eax
jne 0x48bb1f
jmp 0x48bd95
add edx, 1
mov ecx, eax
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4dbfa0]
sub dword [esp], 1
je 0x48bd95
test dl, 3
jne 0x48bb00
mov ecx, dword [esp]
cmp ecx, 0x1f
jbe 0x48bdaa
sub ecx, 0x20
and ecx, 0xffffffe0
lea ecx, [edx + ecx + 0x20]
lea esi, [esi]
xor eax, dword [edx]
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x4dcba0]
xor esi, dword [ebp*4 + 0x4dbfa0]
mov ebx, edi
movzx eax, ah
xor esi, dword [edx + 4]
movzx edi, bl
xor esi, dword [eax*4 + 0x4dc7a0]
mov eax, dword [edi*4 + 0x4dc3a0]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x4dcba0]
xor esi, dword [ebp*4 + 0x4dbfa0]
mov ebx, edi
movzx eax, ah
xor esi, dword [edx + 8]
movzx edi, bl
xor esi, dword [eax*4 + 0x4dc7a0]
mov eax, dword [edi*4 + 0x4dc3a0]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x4dcba0]
xor esi, dword [ebp*4 + 0x4dbfa0]
mov ebx, edi
movzx eax, ah
xor esi, dword [edx + 0xc]
movzx edi, bl
xor esi, dword [eax*4 + 0x4dc7a0]
mov eax, dword [edi*4 + 0x4dc3a0]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x4dcba0]
xor esi, dword [ebp*4 + 0x4dbfa0]
mov ebx, edi
movzx eax, ah
xor esi, dword [edx + 0x10]
movzx edi, bl
xor esi, dword [eax*4 + 0x4dc7a0]
mov eax, dword [edi*4 + 0x4dc3a0]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x4dcba0]
xor esi, dword [ebp*4 + 0x4dbfa0]
mov ebx, edi
movzx eax, ah
xor esi, dword [edx + 0x14]
movzx edi, bl
xor esi, dword [eax*4 + 0x4dc7a0]
mov eax, dword [edi*4 + 0x4dc3a0]
xor eax, esi
mov esi, eax
mov ebp, eax
movzx edi, al
shr esi, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0x4dcba0]
xor edi, dword [ebp*4 + 0x4dbfa0]
mov ebx, esi
movzx eax, ah
xor edi, dword [edx + 0x18]
movzx esi, bl
add edx, 0x20
xor edi, dword [eax*4 + 0x4dc7a0]
xor edi, dword [esi*4 + 0x4dc3a0]
mov eax, edi
mov ebp, edi
mov ebx, edi
shr eax, 0x10
shr ebp, 0x18
movzx esi, al
mov eax, edi
movzx edi, bh
movzx eax, al
mov eax, dword [eax*4 + 0x4dcba0]
xor eax, dword [ebp*4 + 0x4dbfa0]
xor eax, dword [edx - 4]
xor eax, dword [edi*4 + 0x4dc7a0]
xor eax, dword [esi*4 + 0x4dc3a0]
mov esi, eax
shr eax, 0x10
movzx edi, al
mov ebp, esi
mov eax, esi
shr ebp, 0x18
movzx eax, al
mov ebx, esi
mov eax, dword [eax*4 + 0x4dcba0]
movzx esi, bh
xor eax, dword [ebp*4 + 0x4dbfa0]
xor eax, dword [esi*4 + 0x4dc7a0]
xor eax, dword [edi*4 + 0x4dc3a0]
cmp edx, ecx
jne 0x48bb40
and dword [esp], 0x1f
mov ebx, dword [esp]
cmp ebx, 3
jbe 0x48bdb1
lea edx, [ebx - 4]
shr edx, 2
lea esi, [ecx + edx*4 + 4]
add ecx, 4
xor eax, dword [ecx - 4]
mov edx, eax
shr eax, 0x10
mov ebp, edx
movzx edi, al
movzx eax, dl
shr ebp, 0x18
mov eax, dword [eax*4 + 0x4dcba0]
movzx edx, dh
xor eax, dword [ebp*4 + 0x4dbfa0]
xor eax, dword [edx*4 + 0x4dc7a0]
xor eax, dword [edi*4 + 0x4dc3a0]
cmp ecx, esi
jne 0x48bd12
and dword [esp], 3
mov ecx, dword [esp]
test ecx, ecx
je 0x48bd95
mov edx, eax
xor dl, byte [esi]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x4dbfa0]
cmp ecx, 1
je 0x48bd95
mov edx, eax
xor dl, byte [esi + 1]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x4dbfa0]
cmp ecx, 2
je 0x48bd95
mov edx, eax
xor dl, byte [esi + 2]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x4dbfa0]
add esp, 4
not eax
pop ebx
pop esi
pop edi
pop ebp
ret
add esp, 4
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, edx
jmp 0x48bcfc
mov esi, ecx
mov ecx, ebx
jmp 0x48bd52