Function at 0x4181c0
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 0x41853a
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 + 0x71fc1c]
xor eax, dword [edi*4 + 0x71f81c]
movzx edi, byte [edx + 0xd]
xor eax, dword [edi*4 + 0x72001c]
movzx edi, byte [edx + 0xc]
xor eax, dword [edi*4 + 0x72041c]
movzx edi, byte [edx + 0xb]
xor eax, dword [edi*4 + 0x72081c]
movzx edi, byte [edx + 0xa]
xor eax, dword [edi*4 + 0x720c1c]
movzx edi, byte [edx + 9]
xor eax, dword [edi*4 + 0x72101c]
movzx edi, byte [edx + 8]
xor eax, dword [edi*4 + 0x72141c]
movzx edi, byte [edx + 7]
xor eax, dword [edi*4 + 0x72181c]
movzx edi, byte [edx + 6]
xor eax, dword [edi*4 + 0x721c1c]
movzx edi, byte [edx + 5]
xor eax, dword [edi*4 + 0x72201c]
movzx edi, byte [edx + 4]
xor eax, dword [edi*4 + 0x72241c]
movzx edi, byte [edx + 3]
xor esi, edi
movzx edi, bl
xor eax, dword [esi*4 + 0x72281c]
movzx esi, byte [edx + 2]
xor edi, esi
movzx esi, byte [edx + 1]
xor eax, dword [edi*4 + 0x722c1c]
xor ebp, esi
movzx esi, byte [edx]
xor eax, dword [ebp*4 + 0x72301c]
xor esi, ecx
movzx ecx, byte [edx + 0x1f]
xor eax, dword [esi*4 + 0x72341c]
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 + 0x71fc1c]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x71f81c]
movzx esi, byte [edx + 0x1d]
xor eax, dword [esi*4 + 0x72001c]
movzx esi, byte [edx + 0x1c]
xor eax, dword [esi*4 + 0x72041c]
movzx esi, byte [edx + 0x1b]
xor eax, dword [esi*4 + 0x72081c]
movzx esi, byte [edx + 0x1a]
xor eax, dword [esi*4 + 0x720c1c]
movzx esi, byte [edx + 0x19]
xor eax, dword [esi*4 + 0x72101c]
movzx esi, byte [edx + 0x18]
xor eax, dword [esi*4 + 0x72141c]
movzx esi, byte [edx + 0x17]
xor eax, dword [esi*4 + 0x72181c]
movzx esi, byte [edx + 0x16]
xor eax, dword [esi*4 + 0x721c1c]
movzx esi, byte [edx + 0x15]
xor eax, dword [esi*4 + 0x72201c]
movzx esi, byte [edx + 0x14]
xor eax, dword [esi*4 + 0x72241c]
movzx esi, byte [edx + 0x13]
xor edi, esi
movzx esi, byte [edx + 0x12]
xor eax, dword [edi*4 + 0x72281c]
movzx edi, bl
xor edi, esi
movzx esi, byte [edx + 0x11]
xor eax, dword [edi*4 + 0x722c1c]
xor ebp, esi
movzx esi, byte [edx + 0x10]
xor eax, dword [ebp*4 + 0x72301c]
xor esi, ecx
movzx ecx, byte [edx + 0x2f]
xor eax, dword [esi*4 + 0x72341c]
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 + 0x71fc1c]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x71f81c]
movzx esi, byte [edx + 0x2d]
xor eax, dword [esi*4 + 0x72001c]
movzx esi, byte [edx + 0x2c]
xor eax, dword [esi*4 + 0x72041c]
movzx esi, byte [edx + 0x2b]
xor eax, dword [esi*4 + 0x72081c]
movzx esi, byte [edx + 0x2a]
xor eax, dword [esi*4 + 0x720c1c]
movzx esi, byte [edx + 0x29]
xor eax, dword [esi*4 + 0x72101c]
movzx esi, byte [edx + 0x28]
xor eax, dword [esi*4 + 0x72141c]
movzx esi, byte [edx + 0x27]
xor eax, dword [esi*4 + 0x72181c]
movzx esi, byte [edx + 0x26]
xor eax, dword [esi*4 + 0x721c1c]
movzx esi, byte [edx + 0x25]
xor eax, dword [esi*4 + 0x72201c]
movzx esi, byte [edx + 0x24]
xor eax, dword [esi*4 + 0x72241c]
movzx esi, byte [edx + 0x23]
xor edi, esi
movzx esi, byte [edx + 0x22]
xor eax, dword [edi*4 + 0x72281c]
movzx edi, bl
xor edi, esi
movzx esi, byte [edx + 0x21]
xor eax, dword [edi*4 + 0x722c1c]
xor ebp, esi
movzx esi, byte [edx + 0x20]
xor eax, dword [ebp*4 + 0x72301c]
xor esi, ecx
movzx ecx, byte [edx + 0x3f]
xor eax, dword [esi*4 + 0x72341c]
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 + 0x71fc1c]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x71f81c]
movzx esi, byte [edx + 0x3d]
xor eax, dword [esi*4 + 0x72001c]
movzx esi, byte [edx + 0x3c]
xor eax, dword [esi*4 + 0x72041c]
movzx esi, byte [edx + 0x3b]
xor eax, dword [esi*4 + 0x72081c]
movzx esi, byte [edx + 0x3a]
xor eax, dword [esi*4 + 0x720c1c]
movzx esi, byte [edx + 0x39]
xor eax, dword [esi*4 + 0x72101c]
movzx esi, byte [edx + 0x38]
xor eax, dword [esi*4 + 0x72141c]
movzx esi, byte [edx + 0x37]
xor eax, dword [esi*4 + 0x72181c]
movzx esi, byte [edx + 0x36]
xor eax, dword [esi*4 + 0x721c1c]
movzx esi, byte [edx + 0x35]
xor eax, dword [esi*4 + 0x72201c]
movzx esi, byte [edx + 0x34]
xor eax, dword [esi*4 + 0x72241c]
movzx esi, byte [edx + 0x33]
xor edi, esi
movzx esi, byte [edx + 0x32]
xor eax, dword [edi*4 + 0x72281c]
movzx edi, bl
mov ebx, dword [esp + 4]
xor edi, esi
movzx esi, byte [edx + 0x31]
xor eax, dword [edi*4 + 0x722c1c]
add ebx, 0xffffffc0
xor ebp, esi
movzx esi, byte [edx + 0x30]
add edx, 0x40
xor eax, dword [ebp*4 + 0x72301c]
xor esi, ecx
xor eax, dword [esi*4 + 0x72341c]
cmp ebx, 0x3f
ja 0x4181e0
test ebx, ebx
je 0x418556
nop
movzx ecx, byte [edx]
inc edx
xor cl, al
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x71f81c]
dec ebx
jne 0x418540
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret