Function at 0x1011b580
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 0x1011b8e4
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 + 0x101fd820]
xor eax, dword [esi*4 + 0x101fdc20]
movzx esi, byte [edx + 0xd]
xor eax, dword [esi*4 + 0x101fe020]
movzx esi, byte [edx + 0xc]
xor eax, dword [esi*4 + 0x101fe420]
movzx esi, byte [edx + 0xb]
xor eax, dword [esi*4 + 0x101fe820]
movzx esi, byte [edx + 0xa]
xor eax, dword [esi*4 + 0x101fec20]
movzx esi, byte [edx + 9]
xor eax, dword [esi*4 + 0x101ff020]
movzx esi, byte [edx + 8]
xor eax, dword [esi*4 + 0x101ff420]
movzx esi, byte [edx + 7]
xor eax, dword [esi*4 + 0x101ff820]
movzx esi, byte [edx + 6]
xor eax, dword [esi*4 + 0x101ffc20]
movzx esi, byte [edx + 5]
xor eax, dword [esi*4 + 0x10200020]
movzx esi, byte [edx + 4]
xor eax, dword [esi*4 + 0x10200420]
movzx esi, byte [edx + 0x1e]
xor eax, dword [ecx*4 + 0x10200820]
movzx ecx, bl
movzx ebx, byte [edx + 2]
xor ebx, ecx
movzx ecx, byte [edx + 1]
xor eax, dword [ebx*4 + 0x10200c20]
xor ecx, edi
xor eax, dword [ecx*4 + 0x10201020]
movzx ecx, byte [edx]
xor ecx, ebp
xor eax, dword [ecx*4 + 0x10201420]
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 + 0x101fd820]
xor eax, dword [esi*4 + 0x101fdc20]
movzx esi, byte [edx + 0x1d]
xor eax, dword [esi*4 + 0x101fe020]
movzx esi, byte [edx + 0x1c]
xor eax, dword [esi*4 + 0x101fe420]
movzx esi, byte [edx + 0x1b]
xor eax, dword [esi*4 + 0x101fe820]
movzx esi, byte [edx + 0x1a]
xor eax, dword [esi*4 + 0x101fec20]
movzx esi, byte [edx + 0x19]
xor eax, dword [esi*4 + 0x101ff020]
movzx esi, byte [edx + 0x18]
xor eax, dword [esi*4 + 0x101ff420]
movzx esi, byte [edx + 0x17]
xor eax, dword [esi*4 + 0x101ff820]
movzx esi, byte [edx + 0x16]
xor eax, dword [esi*4 + 0x101ffc20]
movzx esi, byte [edx + 0x15]
xor eax, dword [esi*4 + 0x10200020]
movzx esi, byte [edx + 0x14]
xor eax, dword [esi*4 + 0x10200420]
movzx esi, byte [edx + 0x12]
xor eax, dword [ecx*4 + 0x10200820]
movzx ecx, bl
xor esi, ecx
movzx ecx, byte [edx + 0x11]
xor eax, dword [esi*4 + 0x10200c20]
movzx esi, byte [edx + 0x23]
xor ecx, edi
xor eax, dword [ecx*4 + 0x10201020]
movzx ecx, byte [edx + 0x10]
xor ecx, ebp
movzx ebp, byte [edx + 0x2f]
xor eax, dword [ecx*4 + 0x10201420]
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 + 0x101fd820]
movzx ecx, byte [edx + 0x2e]
movzx ebp, byte [edx + 0x3e]
xor eax, dword [ecx*4 + 0x101fdc20]
movzx ecx, byte [edx + 0x2d]
xor eax, dword [ecx*4 + 0x101fe020]
movzx ecx, byte [edx + 0x2c]
xor eax, dword [ecx*4 + 0x101fe420]
movzx ecx, byte [edx + 0x2b]
xor eax, dword [ecx*4 + 0x101fe820]
movzx ecx, byte [edx + 0x2a]
xor eax, dword [ecx*4 + 0x101fec20]
movzx ecx, byte [edx + 0x29]
xor eax, dword [ecx*4 + 0x101ff020]
movzx ecx, byte [edx + 0x28]
xor eax, dword [ecx*4 + 0x101ff420]
movzx ecx, byte [edx + 0x27]
xor eax, dword [ecx*4 + 0x101ff820]
movzx ecx, byte [edx + 0x26]
xor eax, dword [ecx*4 + 0x101ffc20]
movzx ecx, byte [edx + 0x25]
xor eax, dword [ecx*4 + 0x10200020]
movzx ecx, byte [edx + 0x24]
xor eax, dword [ecx*4 + 0x10200420]
movzx ecx, byte [edx + 0x22]
xor eax, dword [esi*4 + 0x10200820]
xor ecx, edi
xor eax, dword [ecx*4 + 0x10200c20]
movzx ecx, byte [edx + 0x21]
xor ecx, dword [esp]
xor eax, dword [ecx*4 + 0x10201020]
movzx ecx, byte [edx + 0x20]
xor ecx, ebx
xor eax, dword [ecx*4 + 0x10201420]
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 + 0x101fdc20]
mov ebp, dword [esp]
shr ebx, 0x18
xor eax, dword [ebp*4 + 0x101fd820]
movzx ebp, byte [edx + 0x3d]
xor eax, dword [ebp*4 + 0x101fe020]
movzx ebp, byte [edx + 0x3c]
xor eax, dword [ebp*4 + 0x101fe420]
movzx ebp, byte [edx + 0x3b]
xor eax, dword [ebp*4 + 0x101fe820]
movzx ebp, byte [edx + 0x3a]
xor eax, dword [ebp*4 + 0x101fec20]
movzx ebp, byte [edx + 0x39]
xor eax, dword [ebp*4 + 0x101ff020]
movzx ebp, byte [edx + 0x38]
xor eax, dword [ebp*4 + 0x101ff420]
movzx ebp, byte [edx + 0x37]
xor eax, dword [ebp*4 + 0x101ff820]
movzx ebp, byte [edx + 0x36]
xor eax, dword [ebp*4 + 0x101ffc20]
movzx ebp, byte [edx + 0x35]
xor eax, dword [ebp*4 + 0x10200020]
movzx ebp, byte [edx + 0x34]
xor eax, dword [ebp*4 + 0x10200420]
movzx ebp, byte [edx + 0x33]
xor ebx, ebp
movzx ebp, byte [edx + 0x32]
xor eax, dword [ebx*4 + 0x10200820]
xor ecx, ebp
xor eax, dword [ecx*4 + 0x10200c20]
movzx ecx, byte [edx + 0x31]
xor esi, ecx
movzx ecx, byte [edx + 0x30]
add edx, 0x40
xor eax, dword [esi*4 + 0x10201020]
xor edi, ecx
mov ecx, dword [esp + 4]
xor eax, dword [edi*4 + 0x10201420]
add ecx, 0xffffffc0
cmp ecx, 0x3f
ja 0x1011b5a0
test ecx, ecx
je 0x1011b906
nop dword [eax + eax]
movzx ebx, byte [edx]
inc edx
xor bl, al
shr eax, 8
movzx esi, bl
xor eax, dword [esi*4 + 0x101fd820]
dec ecx
jne 0x1011b8f0
not eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret