Function at 0x419340
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 0x4196ba
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 + 0x5a5ca4]
xor eax, dword [edi*4 + 0x5a58a4]
movzx edi, byte [edx + 0xd]
xor eax, dword [edi*4 + 0x5a60a4]
movzx edi, byte [edx + 0xc]
xor eax, dword [edi*4 + 0x5a64a4]
movzx edi, byte [edx + 0xb]
xor eax, dword [edi*4 + 0x5a68a4]
movzx edi, byte [edx + 0xa]
xor eax, dword [edi*4 + 0x5a6ca4]
movzx edi, byte [edx + 9]
xor eax, dword [edi*4 + 0x5a70a4]
movzx edi, byte [edx + 8]
xor eax, dword [edi*4 + 0x5a74a4]
movzx edi, byte [edx + 7]
xor eax, dword [edi*4 + 0x5a78a4]
movzx edi, byte [edx + 6]
xor eax, dword [edi*4 + 0x5a7ca4]
movzx edi, byte [edx + 5]
xor eax, dword [edi*4 + 0x5a80a4]
movzx edi, byte [edx + 4]
xor eax, dword [edi*4 + 0x5a84a4]
movzx edi, byte [edx + 3]
xor esi, edi
movzx edi, bl
xor eax, dword [esi*4 + 0x5a88a4]
movzx esi, byte [edx + 2]
xor edi, esi
movzx esi, byte [edx + 1]
xor eax, dword [edi*4 + 0x5a8ca4]
xor ebp, esi
movzx esi, byte [edx]
xor eax, dword [ebp*4 + 0x5a90a4]
xor esi, ecx
movzx ecx, byte [edx + 0x1f]
xor eax, dword [esi*4 + 0x5a94a4]
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 + 0x5a5ca4]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x5a58a4]
movzx esi, byte [edx + 0x1d]
xor eax, dword [esi*4 + 0x5a60a4]
movzx esi, byte [edx + 0x1c]
xor eax, dword [esi*4 + 0x5a64a4]
movzx esi, byte [edx + 0x1b]
xor eax, dword [esi*4 + 0x5a68a4]
movzx esi, byte [edx + 0x1a]
xor eax, dword [esi*4 + 0x5a6ca4]
movzx esi, byte [edx + 0x19]
xor eax, dword [esi*4 + 0x5a70a4]
movzx esi, byte [edx + 0x18]
xor eax, dword [esi*4 + 0x5a74a4]
movzx esi, byte [edx + 0x17]
xor eax, dword [esi*4 + 0x5a78a4]
movzx esi, byte [edx + 0x16]
xor eax, dword [esi*4 + 0x5a7ca4]
movzx esi, byte [edx + 0x15]
xor eax, dword [esi*4 + 0x5a80a4]
movzx esi, byte [edx + 0x14]
xor eax, dword [esi*4 + 0x5a84a4]
movzx esi, byte [edx + 0x13]
xor edi, esi
movzx esi, byte [edx + 0x12]
xor eax, dword [edi*4 + 0x5a88a4]
movzx edi, bl
xor edi, esi
movzx esi, byte [edx + 0x11]
xor eax, dword [edi*4 + 0x5a8ca4]
xor ebp, esi
movzx esi, byte [edx + 0x10]
xor eax, dword [ebp*4 + 0x5a90a4]
xor esi, ecx
movzx ecx, byte [edx + 0x2f]
xor eax, dword [esi*4 + 0x5a94a4]
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 + 0x5a5ca4]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x5a58a4]
movzx esi, byte [edx + 0x2d]
xor eax, dword [esi*4 + 0x5a60a4]
movzx esi, byte [edx + 0x2c]
xor eax, dword [esi*4 + 0x5a64a4]
movzx esi, byte [edx + 0x2b]
xor eax, dword [esi*4 + 0x5a68a4]
movzx esi, byte [edx + 0x2a]
xor eax, dword [esi*4 + 0x5a6ca4]
movzx esi, byte [edx + 0x29]
xor eax, dword [esi*4 + 0x5a70a4]
movzx esi, byte [edx + 0x28]
xor eax, dword [esi*4 + 0x5a74a4]
movzx esi, byte [edx + 0x27]
xor eax, dword [esi*4 + 0x5a78a4]
movzx esi, byte [edx + 0x26]
xor eax, dword [esi*4 + 0x5a7ca4]
movzx esi, byte [edx + 0x25]
xor eax, dword [esi*4 + 0x5a80a4]
movzx esi, byte [edx + 0x24]
xor eax, dword [esi*4 + 0x5a84a4]
movzx esi, byte [edx + 0x23]
xor edi, esi
movzx esi, byte [edx + 0x22]
xor eax, dword [edi*4 + 0x5a88a4]
movzx edi, bl
xor edi, esi
movzx esi, byte [edx + 0x21]
xor eax, dword [edi*4 + 0x5a8ca4]
xor ebp, esi
movzx esi, byte [edx + 0x20]
xor eax, dword [ebp*4 + 0x5a90a4]
xor esi, ecx
movzx ecx, byte [edx + 0x3f]
xor eax, dword [esi*4 + 0x5a94a4]
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 + 0x5a5ca4]
mov esi, dword [esp]
shr edi, 0x18
shr ebx, 0x10
xor eax, dword [esi*4 + 0x5a58a4]
movzx esi, byte [edx + 0x3d]
xor eax, dword [esi*4 + 0x5a60a4]
movzx esi, byte [edx + 0x3c]
xor eax, dword [esi*4 + 0x5a64a4]
movzx esi, byte [edx + 0x3b]
xor eax, dword [esi*4 + 0x5a68a4]
movzx esi, byte [edx + 0x3a]
xor eax, dword [esi*4 + 0x5a6ca4]
movzx esi, byte [edx + 0x39]
xor eax, dword [esi*4 + 0x5a70a4]
movzx esi, byte [edx + 0x38]
xor eax, dword [esi*4 + 0x5a74a4]
movzx esi, byte [edx + 0x37]
xor eax, dword [esi*4 + 0x5a78a4]
movzx esi, byte [edx + 0x36]
xor eax, dword [esi*4 + 0x5a7ca4]
movzx esi, byte [edx + 0x35]
xor eax, dword [esi*4 + 0x5a80a4]
movzx esi, byte [edx + 0x34]
xor eax, dword [esi*4 + 0x5a84a4]
movzx esi, byte [edx + 0x33]
xor edi, esi
movzx esi, byte [edx + 0x32]
xor eax, dword [edi*4 + 0x5a88a4]
movzx edi, bl
mov ebx, dword [esp + 4]
xor edi, esi
movzx esi, byte [edx + 0x31]
xor eax, dword [edi*4 + 0x5a8ca4]
add ebx, 0xffffffc0
xor ebp, esi
movzx esi, byte [edx + 0x30]
add edx, 0x40
xor eax, dword [ebp*4 + 0x5a90a4]
xor esi, ecx
xor eax, dword [esi*4 + 0x5a94a4]
cmp ebx, 0x3f
ja 0x419360
test ebx, ebx
je 0x4196d6
nop
movzx ecx, byte [edx]
inc edx
xor cl, al
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a58a4]
dec ebx
jne 0x4196c0
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret