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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
not eax
cmp ecx, 0x40
jb 0x4a7824
nop
mov dword [esp + 4], ecx
movzx ecx, byte [edx + 3]
mov ebx, eax
movzx edi, ah
movzx ebp, al
shr eax, 0x18
movzx esi, byte [edx + 0xe]
shr ebx, 0x10
xor ecx, eax
movzx eax, byte [edx + 0xf]
mov eax, dword [eax*4 + 0x5fefe0]
xor eax, dword [esi*4 + 0x5ff3e0]
movzx esi, byte [edx + 0xd]
xor eax, dword [esi*4 + 0x5ff7e0]
movzx esi, byte [edx + 0xc]
xor eax, dword [esi*4 + 0x5ffbe0]
movzx esi, byte [edx + 0xb]
xor eax, dword [esi*4 + 0x5fffe0]
movzx esi, byte [edx + 0xa]
xor eax, dword [esi*4 + 0x6003e0]
movzx esi, byte [edx + 9]
xor eax, dword [esi*4 + 0x6007e0]
movzx esi, byte [edx + 8]
xor eax, dword [esi*4 + 0x600be0]
movzx esi, byte [edx + 7]
xor eax, dword [esi*4 + 0x600fe0]
movzx esi, byte [edx + 6]
xor eax, dword [esi*4 + 0x6013e0]
movzx esi, byte [edx + 5]
xor eax, dword [esi*4 + 0x6017e0]
movzx esi, byte [edx + 4]
xor eax, dword [esi*4 + 0x601be0]
movzx esi, byte [edx + 0x1e]
xor eax, dword [ecx*4 + 0x601fe0]
movzx ecx, bl
movzx ebx, byte [edx + 2]
xor ebx, ecx
movzx ecx, byte [edx + 1]
xor eax, dword [ebx*4 + 0x6023e0]
xor ecx, edi
xor eax, dword [ecx*4 + 0x6027e0]
movzx ecx, byte [edx]
xor ecx, ebp
xor eax, dword [ecx*4 + 0x602be0]
movzx ecx, byte [edx + 0x13]
mov ebx, eax
movzx edi, ah
movzx ebp, al
shr eax, 0x18
xor ecx, eax
movzx eax, byte [edx + 0x1f]
shr ebx, 0x10
mov eax, dword [eax*4 + 0x5fefe0]
xor eax, dword [esi*4 + 0x5ff3e0]
movzx esi, byte [edx + 0x1d]
xor eax, dword [esi*4 + 0x5ff7e0]
movzx esi, byte [edx + 0x1c]
xor eax, dword [esi*4 + 0x5ffbe0]
movzx esi, byte [edx + 0x1b]
xor eax, dword [esi*4 + 0x5fffe0]
movzx esi, byte [edx + 0x1a]
xor eax, dword [esi*4 + 0x6003e0]
movzx esi, byte [edx + 0x19]
xor eax, dword [esi*4 + 0x6007e0]
movzx esi, byte [edx + 0x18]
xor eax, dword [esi*4 + 0x600be0]
movzx esi, byte [edx + 0x17]
xor eax, dword [esi*4 + 0x600fe0]
movzx esi, byte [edx + 0x16]
xor eax, dword [esi*4 + 0x6013e0]
movzx esi, byte [edx + 0x15]
xor eax, dword [esi*4 + 0x6017e0]
movzx esi, byte [edx + 0x14]
xor eax, dword [esi*4 + 0x601be0]
movzx esi, byte [edx + 0x12]
xor eax, dword [ecx*4 + 0x601fe0]
movzx ecx, bl
xor esi, ecx
movzx ecx, byte [edx + 0x11]
xor eax, dword [esi*4 + 0x6023e0]
movzx esi, byte [edx + 0x23]
xor ecx, edi
xor eax, dword [ecx*4 + 0x6027e0]
movzx ecx, byte [edx + 0x10]
xor ecx, ebp
movzx ebp, byte [edx + 0x2f]
xor eax, dword [ecx*4 + 0x602be0]
mov ecx, eax
movzx ebx, al
shr ecx, 0x18
xor esi, ecx
movzx ecx, ah
shr eax, 0x10
mov dword [esp], ecx
movzx edi, al
mov eax, dword [ebp*4 + 0x5fefe0]
movzx ecx, byte [edx + 0x2e]
movzx ebp, byte [edx + 0x3e]
xor eax, dword [ecx*4 + 0x5ff3e0]
movzx ecx, byte [edx + 0x2d]
xor eax, dword [ecx*4 + 0x5ff7e0]
movzx ecx, byte [edx + 0x2c]
xor eax, dword [ecx*4 + 0x5ffbe0]
movzx ecx, byte [edx + 0x2b]
xor eax, dword [ecx*4 + 0x5fffe0]
movzx ecx, byte [edx + 0x2a]
xor eax, dword [ecx*4 + 0x6003e0]
movzx ecx, byte [edx + 0x29]
xor eax, dword [ecx*4 + 0x6007e0]
movzx ecx, byte [edx + 0x28]
xor eax, dword [ecx*4 + 0x600be0]
movzx ecx, byte [edx + 0x27]
xor eax, dword [ecx*4 + 0x600fe0]
movzx ecx, byte [edx + 0x26]
xor eax, dword [ecx*4 + 0x6013e0]
movzx ecx, byte [edx + 0x25]
xor eax, dword [ecx*4 + 0x6017e0]
movzx ecx, byte [edx + 0x24]
xor eax, dword [ecx*4 + 0x601be0]
movzx ecx, byte [edx + 0x22]
xor eax, dword [esi*4 + 0x601fe0]
xor ecx, edi
xor eax, dword [ecx*4 + 0x6023e0]
movzx ecx, byte [edx + 0x21]
xor ecx, dword [esp]
xor eax, dword [ecx*4 + 0x6027e0]
movzx ecx, byte [edx + 0x20]
xor ecx, ebx
xor eax, dword [ecx*4 + 0x602be0]
movzx ecx, byte [edx + 0x3f]
mov ebx, eax
movzx esi, ah
movzx edi, al
mov dword [esp], ecx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp*4 + 0x5ff3e0]
mov ebp, dword [esp]
shr ebx, 0x18
xor eax, dword [ebp*4 + 0x5fefe0]
movzx ebp, byte [edx + 0x3d]
xor eax, dword [ebp*4 + 0x5ff7e0]
movzx ebp, byte [edx + 0x3c]
xor eax, dword [ebp*4 + 0x5ffbe0]
movzx ebp, byte [edx + 0x3b]
xor eax, dword [ebp*4 + 0x5fffe0]
movzx ebp, byte [edx + 0x3a]
xor eax, dword [ebp*4 + 0x6003e0]
movzx ebp, byte [edx + 0x39]
xor eax, dword [ebp*4 + 0x6007e0]
movzx ebp, byte [edx + 0x38]
xor eax, dword [ebp*4 + 0x600be0]
movzx ebp, byte [edx + 0x37]
xor eax, dword [ebp*4 + 0x600fe0]
movzx ebp, byte [edx + 0x36]
xor eax, dword [ebp*4 + 0x6013e0]
movzx ebp, byte [edx + 0x35]
xor eax, dword [ebp*4 + 0x6017e0]
movzx ebp, byte [edx + 0x34]
xor eax, dword [ebp*4 + 0x601be0]
movzx ebp, byte [edx + 0x33]
xor ebx, ebp
movzx ebp, byte [edx + 0x32]
xor eax, dword [ebx*4 + 0x601fe0]
xor ecx, ebp
xor eax, dword [ecx*4 + 0x6023e0]
movzx ecx, byte [edx + 0x31]
xor esi, ecx
movzx ecx, byte [edx + 0x30]
add edx, 0x40
xor eax, dword [esi*4 + 0x6027e0]
xor edi, ecx
mov ecx, dword [esp + 4]
xor eax, dword [edi*4 + 0x602be0]
add ecx, 0xffffffc0
cmp ecx, 0x3f
ja 0x4a74e0
test ecx, ecx
je 0x4a7846
nop dword [eax + eax]
movzx ebx, byte [edx]
inc edx
xor bl, al
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x5fefe0]
dec ecx
jne 0x4a7830
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret