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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, edx
mov dword [ebp - 4], ebx
test ebx, ebx
jne 0x4744b7
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
not ecx
cmp edi, 0x17
jb 0x4747bb
test bl, 3
je 0x4744e3
movzx eax, byte [ebx]
inc ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
sub edi, 1
jne 0x4744c6
mov eax, 0xcccccccd
mov dword [ebp - 4], ebx
mul edi
push esi
shr edx, 4
xor esi, esi
imul eax, edx, 0xffffffec
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
add edi, eax
sub edx, 1
mov dword [ebp + 8], edi
mov dword [ebp - 0x1c], edx
je 0x47468b
mov edi, edx
nop dword [eax]
mov esi, dword [ebp - 4]
mov ebx, dword [ebx]
xor ebx, ecx
mov eax, dword [esi + 4]
xor eax, dword [ebp - 8]
mov edx, dword [esi + 8]
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0xc]
xor ecx, dword [ebp - 0xc]
movzx eax, al
mov dword [ebp - 0x18], ecx
mov ecx, dword [esi + 0x10]
add esi, 0x14
xor ecx, dword [ebp - 0x10]
mov eax, dword [eax*4 + 0x4c8ab8]
mov dword [ebp - 8], eax
movzx eax, dl
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], edx
movzx ecx, bl
mov eax, dword [eax*4 + 0x4c8ab8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
movzx eax, al
mov ecx, dword [ecx*4 + 0x4c8ab8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x20]
mov eax, dword [eax*4 + 0x4c8ab8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
movzx eax, al
mov eax, dword [eax*4 + 0x4c8ab8]
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x4c92b8]
xor edx, dword [eax*4 + 0x4c8eb8]
mov eax, esi
xor edx, dword [ebx*4 + 0x4c96b8]
shr eax, 0x10
xor ecx, edx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ebx, dword [ebp - 0x18]
mov edx, dword [edx*4 + 0x4c92b8]
shr esi, 0x18
xor edx, dword [eax*4 + 0x4c8eb8]
xor edx, dword [esi*4 + 0x4c96b8]
xor dword [ebp - 8], edx
mov esi, dword [ebp - 0x24]
mov eax, esi
shr eax, 0x10
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr esi, 0x18
mov edx, dword [edx*4 + 0x4c92b8]
xor edx, dword [eax*4 + 0x4c8eb8]
mov eax, ebx
xor edx, dword [esi*4 + 0x4c96b8]
mov esi, dword [ebp - 0x14]
shr eax, 0x10
xor esi, edx
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x4c92b8]
mov dword [ebp - 0x14], esi
xor edx, dword [eax*4 + 0x4c8eb8]
xor edx, dword [ebx*4 + 0x4c96b8]
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
xor dword [ebp - 0xc], edx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x4c92b8]
xor edx, dword [eax*4 + 0x4c8eb8]
xor edx, dword [ebx*4 + 0x4c96b8]
xor dword [ebp - 0x10], edx
mov ebx, dword [ebp - 4]
sub edi, 1
jne 0x474520
mov edi, dword [ebp + 8]
mov edx, dword [ebx]
xor edx, ecx
mov ecx, dword [ebx + 4]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
xor ecx, edx
mov edx, dword [ebx + 8]
xor ecx, dword [ebp - 8]
movzx eax, cl
shr ecx, 8
mov ebx, dword [ebx + 0xc]
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c76b8]
xor edx, ecx
xor edx, esi
mov esi, dword [ebp - 4]
movzx eax, dl
shr edx, 8
mov ecx, dword [esi + 0x10]
xor edx, dword [eax*4 + 0x4c76b8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4c76b8]
xor ebx, edx
xor ebx, dword [ebp - 0xc]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x4c76b8]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x4c76b8]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x4c76b8]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x4c76b8]
xor ecx, ebx
mov ebx, esi
xor ecx, dword [ebp - 0x10]
movzx eax, cl
shr ecx, 8
pop esi
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c76b8]
add ebx, 0x14
cmp edi, 8
jb 0x474876
mov edx, edi
shr edx, 3
nop dword [eax]
movzx eax, byte [ebx]
sub edi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
movzx eax, byte [ebx + 7]
add ebx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
sub edx, 1
jne 0x4747d0
test edi, edi
je 0x47489a
nop word [eax + eax]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4c76b8]
sub edi, 1
jne 0x474880
not ecx
pop edi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret