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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov esi, dword [ebp + 8]
mov eax, ecx
not eax
cmp esi, 0x40
jb 0x1002f568
nop word [eax + eax]
movzx ecx, byte [edx + 3]
mov ebx, eax
mov dword [ebp - 0x10], esi
movzx esi, byte [edx + 0xe]
movzx edi, ah
shr ebx, 0x18
xor ecx, ebx
movzx ebx, byte [edx + 0xf]
mov ebx, dword [ebx*4 + 0x102c7370]
xor ebx, dword [esi*4 + 0x102c7770]
movzx esi, byte [edx + 0xd]
xor ebx, dword [esi*4 + 0x102c7b70]
movzx esi, byte [edx + 0xc]
xor ebx, dword [esi*4 + 0x102c7f70]
movzx esi, byte [edx + 0xb]
xor ebx, dword [esi*4 + 0x102c8370]
movzx esi, byte [edx + 0xa]
xor ebx, dword [esi*4 + 0x102c8770]
movzx esi, byte [edx + 9]
xor ebx, dword [esi*4 + 0x102c8b70]
movzx esi, byte [edx + 8]
xor ebx, dword [esi*4 + 0x102c8f70]
movzx esi, byte [edx + 7]
xor ebx, dword [esi*4 + 0x102c9370]
movzx esi, byte [edx + 6]
xor ebx, dword [esi*4 + 0x102c9770]
movzx esi, byte [edx + 5]
xor ebx, dword [esi*4 + 0x102c9b70]
movzx esi, byte [edx + 4]
xor ebx, dword [esi*4 + 0x102c9f70]
movzx esi, al
shr eax, 0x10
xor ebx, dword [ecx*4 + 0x102ca370]
movzx ecx, al
movzx eax, byte [edx + 2]
xor eax, ecx
movzx ecx, byte [edx + 0x1e]
xor ebx, dword [eax*4 + 0x102ca770]
movzx eax, byte [edx + 1]
xor eax, edi
movzx edi, byte [edx + 0x13]
xor ebx, dword [eax*4 + 0x102cab70]
movzx eax, byte [edx]
xor eax, esi
xor ebx, dword [eax*4 + 0x102caf70]
mov eax, ebx
movzx esi, bh
shr eax, 0x18
xor edi, eax
movzx eax, byte [edx + 0x1f]
mov eax, dword [eax*4 + 0x102c7370]
xor eax, dword [ecx*4 + 0x102c7770]
movzx ecx, byte [edx + 0x1d]
xor eax, dword [ecx*4 + 0x102c7b70]
movzx ecx, byte [edx + 0x1c]
xor eax, dword [ecx*4 + 0x102c7f70]
movzx ecx, byte [edx + 0x1b]
xor eax, dword [ecx*4 + 0x102c8370]
movzx ecx, byte [edx + 0x1a]
xor eax, dword [ecx*4 + 0x102c8770]
movzx ecx, byte [edx + 0x19]
xor eax, dword [ecx*4 + 0x102c8b70]
movzx ecx, byte [edx + 0x18]
xor eax, dword [ecx*4 + 0x102c8f70]
movzx ecx, byte [edx + 0x17]
xor eax, dword [ecx*4 + 0x102c9370]
movzx ecx, byte [edx + 0x16]
xor eax, dword [ecx*4 + 0x102c9770]
movzx ecx, byte [edx + 0x15]
xor eax, dword [ecx*4 + 0x102c9b70]
movzx ecx, byte [edx + 0x14]
xor eax, dword [ecx*4 + 0x102c9f70]
movzx ecx, bl
shr ebx, 0x10
xor eax, dword [edi*4 + 0x102ca370]
movzx edi, bl
movzx ebx, byte [edx + 0x12]
xor ebx, edi
movzx edi, byte [edx + 0x2e]
xor eax, dword [ebx*4 + 0x102ca770]
movzx ebx, byte [edx + 0x11]
xor ebx, esi
movzx esi, byte [edx + 0x10]
xor eax, dword [ebx*4 + 0x102cab70]
xor esi, ecx
movzx ecx, byte [edx + 0x23]
xor eax, dword [esi*4 + 0x102caf70]
mov ebx, eax
movzx esi, ah
shr ebx, 0x18
xor ecx, ebx
movzx ebx, byte [edx + 0x2f]
mov ebx, dword [ebx*4 + 0x102c7370]
xor ebx, dword [edi*4 + 0x102c7770]
movzx edi, byte [edx + 0x2d]
xor ebx, dword [edi*4 + 0x102c7b70]
movzx edi, byte [edx + 0x2c]
xor ebx, dword [edi*4 + 0x102c7f70]
movzx edi, byte [edx + 0x2b]
xor ebx, dword [edi*4 + 0x102c8370]
movzx edi, byte [edx + 0x2a]
xor ebx, dword [edi*4 + 0x102c8770]
movzx edi, byte [edx + 0x29]
xor ebx, dword [edi*4 + 0x102c8b70]
movzx edi, byte [edx + 0x28]
xor ebx, dword [edi*4 + 0x102c8f70]
movzx edi, byte [edx + 0x27]
xor ebx, dword [edi*4 + 0x102c9370]
movzx edi, byte [edx + 0x26]
xor ebx, dword [edi*4 + 0x102c9770]
movzx edi, byte [edx + 0x25]
xor ebx, dword [edi*4 + 0x102c9b70]
movzx edi, byte [edx + 0x24]
xor ebx, dword [edi*4 + 0x102c9f70]
movzx edi, al
shr eax, 0x10
movzx eax, al
xor ebx, dword [ecx*4 + 0x102ca370]
movzx ecx, byte [edx + 0x22]
xor ecx, eax
movzx eax, byte [edx + 0x21]
xor ebx, dword [ecx*4 + 0x102ca770]
movzx ecx, byte [edx + 0x3f]
xor eax, esi
xor ebx, dword [eax*4 + 0x102cab70]
movzx eax, byte [edx + 0x20]
xor eax, edi
xor ebx, dword [eax*4 + 0x102caf70]
movzx eax, byte [edx + 0x3e]
mov eax, dword [eax*4 + 0x102c7770]
mov edi, ebx
movzx esi, bh
shr edi, 0x18
xor eax, dword [ecx*4 + 0x102c7370]
movzx ecx, byte [edx + 0x3d]
xor eax, dword [ecx*4 + 0x102c7b70]
movzx ecx, byte [edx + 0x3c]
xor eax, dword [ecx*4 + 0x102c7f70]
movzx ecx, byte [edx + 0x3b]
xor eax, dword [ecx*4 + 0x102c8370]
movzx ecx, byte [edx + 0x3a]
xor eax, dword [ecx*4 + 0x102c8770]
movzx ecx, byte [edx + 0x39]
xor eax, dword [ecx*4 + 0x102c8b70]
movzx ecx, byte [edx + 0x38]
xor eax, dword [ecx*4 + 0x102c8f70]
movzx ecx, byte [edx + 0x37]
xor eax, dword [ecx*4 + 0x102c9370]
movzx ecx, byte [edx + 0x36]
xor eax, dword [ecx*4 + 0x102c9770]
movzx ecx, byte [edx + 0x35]
xor eax, dword [ecx*4 + 0x102c9b70]
movzx ecx, byte [edx + 0x34]
xor eax, dword [ecx*4 + 0x102c9f70]
movzx ecx, byte [edx + 0x33]
xor edi, ecx
movzx ecx, bl
shr ebx, 0x10
xor eax, dword [edi*4 + 0x102ca370]
movzx edi, byte [edx + 0x32]
movzx ebx, bl
xor ebx, edi
xor eax, dword [ebx*4 + 0x102ca770]
movzx ebx, byte [edx + 0x31]
xor esi, ebx
xor eax, dword [esi*4 + 0x102cab70]
movzx esi, byte [edx + 0x30]
add edx, 0x40
xor ecx, esi
mov esi, dword [ebp - 0x10]
xor eax, dword [ecx*4 + 0x102caf70]
add esi, 0xffffffc0
cmp esi, 0x3f
ja 0x1002f230
test esi, esi
je 0x1002f586
nop dword [eax]
movzx ecx, byte [edx]
inc edx
xor cl, al
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x102c7370]
dec esi
jne 0x1002f570
not eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret