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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not ebx
test edi, edi
mov dword [ebp + 0xc], ecx
je 0x46f520
test cl, 3
je 0x46f520
movzx eax, byte [ecx]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x485850]
inc ecx
sub edi, 1
jmp 0x46f4fe
cmp edi, 0x20
jb 0x46f70a
mov eax, edi
shr eax, 5
mov dword [ebp + 8], eax
jmp 0x46f536
mov ecx, dword [ebp + 0xc]
xor ebx, dword [ecx]
add ecx, 4
mov eax, ebx
mov dword [ebp + 0xc], ecx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov esi, dword [ebp + 0xc]
mov edx, dword [ecx*4 + 0x485c50]
xor edx, dword [eax*4 + 0x486050]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x485850]
movzx eax, bl
xor edx, dword [eax*4 + 0x486450]
xor edx, dword [esi]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x485c50]
xor ebx, dword [eax*4 + 0x486050]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x485850]
movzx eax, dl
xor ebx, dword [eax*4 + 0x486450]
xor ebx, dword [esi + 4]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x485c50]
xor edx, dword [eax*4 + 0x486050]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x485850]
movzx eax, bl
xor edx, dword [eax*4 + 0x486450]
xor edx, dword [esi + 8]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x485c50]
xor ebx, dword [eax*4 + 0x486050]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x485850]
movzx eax, dl
xor ebx, dword [eax*4 + 0x486450]
xor ebx, dword [esi + 0xc]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x485c50]
xor edx, dword [eax*4 + 0x486050]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x485850]
movzx eax, bl
xor edx, dword [eax*4 + 0x486450]
xor edx, dword [esi + 0x10]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x485c50]
xor ebx, dword [eax*4 + 0x486050]
sub edi, 0x20
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x485850]
movzx eax, dl
xor ebx, dword [eax*4 + 0x486450]
xor ebx, dword [esi + 0x14]
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x485c50]
xor edx, dword [eax*4 + 0x486050]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x485850]
movzx eax, bl
xor edx, dword [eax*4 + 0x486450]
xor edx, dword [esi + 0x18]
add esi, 0x1c
mov eax, edx
mov dword [ebp + 0xc], esi
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x485c50]
xor ebx, dword [eax*4 + 0x486050]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x485850]
movzx eax, dl
xor ebx, dword [eax*4 + 0x486450]
sub dword [ebp + 8], 1
jne 0x46f533
jmp 0x46f70d
mov esi, dword [ebp + 0xc]
cmp edi, 4
jb 0x46f75a
mov edx, edi
shr edx, 2
xor ebx, dword [esi]
sub edi, 4
mov eax, ebx
add esi, 4
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x485c50]
xor ecx, dword [eax*4 + 0x486050]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x485850]
movzx eax, bl
xor ecx, dword [eax*4 + 0x486450]
mov ebx, ecx
sub edx, 1
jne 0x46f717
test edi, edi
je 0x46f776
movzx eax, byte [esi]
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x485850]
inc esi
sub edi, 1
jne 0x46f75e
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret