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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [esp + 0x1c]
mov eax, ecx
not eax
cmp ebx, 0x40
jb 0x4130da
nop dword [eax + eax]
movzx ecx, byte [edx + 0xe]
mov esi, eax
mov dword [esp + 4], ebx
mov ebx, eax
movzx ebp, ah
movzx edi, byte [edx + 0xf]
shr esi, 0x18
shr ebx, 0x10
mov dword [esp], ecx
movzx ecx, al
mov eax, dword [esp]
mov eax, dword [eax*4 + 0x5cd494]
xor eax, dword [edi*4 + 0x5cd094]
movzx edi, byte [edx + 0xd]
xor eax, dword [edi*4 + 0x5cd894]
movzx edi, byte [edx + 0xc]
xor eax, dword [edi*4 + 0x5cdc94]
movzx edi, byte [edx + 0xb]
xor eax, dword [edi*4 + 0x5ce094]
movzx edi, byte [edx + 0xa]
xor eax, dword [edi*4 + 0x5ce494]
movzx edi, byte [edx + 9]
xor eax, dword [edi*4 + 0x5ce894]
movzx edi, byte [edx + 8]
xor eax, dword [edi*4 + 0x5cec94]
movzx edi, byte [edx + 7]
xor eax, dword [edi*4 + 0x5cf094]
movzx edi, byte [edx + 6]
xor eax, dword [edi*4 + 0x5cf494]
movzx edi, byte [edx + 5]
xor eax, dword [edi*4 + 0x5cf894]
movzx edi, byte [edx + 4]
xor eax, dword [edi*4 + 0x5cfc94]
movzx edi, byte [edx + 3]
xor esi, edi
movzx edi, bl
xor eax, dword [esi*4 + 0x5d0094]
movzx esi, byte [edx + 2]
xor edi, esi
movzx esi, byte [edx + 1]
xor eax, dword [edi*4 + 0x5d0494]
xor ebp, esi
movzx esi, byte [edx]
xor eax, dword [ebp*4 + 0x5d0894]
xor esi, ecx
movzx ecx, byte [edx + 0x1f]
xor eax, dword [esi*4 + 0x5d0c94]
movzx esi, byte [edx + 0x1e]
mov dword [esp], ecx
mov ebx, eax
mov edi, eax
movzx ebp, ah
movzx ecx, al
mov eax, dword [esi*4 + 0x5cd494]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x5cd094]
movzx esi, byte [edx + 0x1d]
xor eax, dword [esi*4 + 0x5cd894]
movzx esi, byte [edx + 0x1c]
xor eax, dword [esi*4 + 0x5cdc94]
movzx esi, byte [edx + 0x1b]
xor eax, dword [esi*4 + 0x5ce094]
movzx esi, byte [edx + 0x1a]
xor eax, dword [esi*4 + 0x5ce494]
movzx esi, byte [edx + 0x19]
xor eax, dword [esi*4 + 0x5ce894]
movzx esi, byte [edx + 0x18]
xor eax, dword [esi*4 + 0x5cec94]
movzx esi, byte [edx + 0x17]
xor eax, dword [esi*4 + 0x5cf094]
movzx esi, byte [edx + 0x16]
xor eax, dword [esi*4 + 0x5cf494]
movzx esi, byte [edx + 0x15]
xor eax, dword [esi*4 + 0x5cf894]
movzx esi, byte [edx + 0x14]
xor eax, dword [esi*4 + 0x5cfc94]
movzx esi, byte [edx + 0x13]
xor edi, esi
movzx esi, byte [edx + 0x12]
xor eax, dword [edi*4 + 0x5d0094]
movzx edi, bl
xor edi, esi
movzx esi, byte [edx + 0x11]
xor eax, dword [edi*4 + 0x5d0494]
xor ebp, esi
movzx esi, byte [edx + 0x10]
xor eax, dword [ebp*4 + 0x5d0894]
xor esi, ecx
movzx ecx, byte [edx + 0x2f]
xor eax, dword [esi*4 + 0x5d0c94]
movzx esi, byte [edx + 0x2e]
mov dword [esp], ecx
mov ebx, eax
mov edi, eax
movzx ebp, ah
movzx ecx, al
mov eax, dword [esi*4 + 0x5cd494]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x5cd094]
movzx esi, byte [edx + 0x2d]
xor eax, dword [esi*4 + 0x5cd894]
movzx esi, byte [edx + 0x2c]
xor eax, dword [esi*4 + 0x5cdc94]
movzx esi, byte [edx + 0x2b]
xor eax, dword [esi*4 + 0x5ce094]
movzx esi, byte [edx + 0x2a]
xor eax, dword [esi*4 + 0x5ce494]
movzx esi, byte [edx + 0x29]
xor eax, dword [esi*4 + 0x5ce894]
movzx esi, byte [edx + 0x28]
xor eax, dword [esi*4 + 0x5cec94]
movzx esi, byte [edx + 0x27]
xor eax, dword [esi*4 + 0x5cf094]
movzx esi, byte [edx + 0x26]
xor eax, dword [esi*4 + 0x5cf494]
movzx esi, byte [edx + 0x25]
xor eax, dword [esi*4 + 0x5cf894]
movzx esi, byte [edx + 0x24]
xor eax, dword [esi*4 + 0x5cfc94]
movzx esi, byte [edx + 0x23]
xor edi, esi
movzx esi, byte [edx + 0x22]
xor eax, dword [edi*4 + 0x5d0094]
movzx edi, bl
xor edi, esi
movzx esi, byte [edx + 0x21]
xor eax, dword [edi*4 + 0x5d0494]
xor ebp, esi
movzx esi, byte [edx + 0x20]
xor eax, dword [ebp*4 + 0x5d0894]
xor esi, ecx
movzx ecx, byte [edx + 0x3f]
xor eax, dword [esi*4 + 0x5d0c94]
movzx esi, byte [edx + 0x3e]
mov dword [esp], ecx
mov ebx, eax
mov edi, eax
movzx ebp, ah
movzx ecx, al
mov eax, dword [esi*4 + 0x5cd494]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x5cd094]
movzx esi, byte [edx + 0x3d]
xor eax, dword [esi*4 + 0x5cd894]
movzx esi, byte [edx + 0x3c]
xor eax, dword [esi*4 + 0x5cdc94]
movzx esi, byte [edx + 0x3b]
xor eax, dword [esi*4 + 0x5ce094]
movzx esi, byte [edx + 0x3a]
xor eax, dword [esi*4 + 0x5ce494]
movzx esi, byte [edx + 0x39]
xor eax, dword [esi*4 + 0x5ce894]
movzx esi, byte [edx + 0x38]
xor eax, dword [esi*4 + 0x5cec94]
movzx esi, byte [edx + 0x37]
xor eax, dword [esi*4 + 0x5cf094]
movzx esi, byte [edx + 0x36]
xor eax, dword [esi*4 + 0x5cf494]
movzx esi, byte [edx + 0x35]
xor eax, dword [esi*4 + 0x5cf894]
movzx esi, byte [edx + 0x34]
xor eax, dword [esi*4 + 0x5cfc94]
movzx esi, byte [edx + 0x33]
xor edi, esi
movzx esi, byte [edx + 0x32]
xor eax, dword [edi*4 + 0x5d0094]
movzx edi, bl
mov ebx, dword [esp + 4]
xor edi, esi
movzx esi, byte [edx + 0x31]
xor eax, dword [edi*4 + 0x5d0494]
add ebx, 0xffffffc0
xor ebp, esi
movzx esi, byte [edx + 0x30]
add edx, 0x40
xor eax, dword [ebp*4 + 0x5d0894]
xor esi, ecx
xor eax, dword [esi*4 + 0x5d0c94]
cmp ebx, 0x3f
ja 0x412d80
test ebx, ebx
je 0x4130f6
nop
movzx ecx, byte [edx]
inc edx
xor cl, al
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5cd094]
dec ebx
jne 0x4130e0
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret