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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
not dword [ebp - 0x10]
jmp 0xaf9f6e
mov edx, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [edx]
xor ecx, dword [ebp - 0x10]
and ecx, 0xff
mov eax, dword [ecx*4 + 0xb68c64]
mov edx, dword [ebp - 0x10]
shr edx, 8
xor eax, edx
mov dword [ebp - 0x10], eax
inc dword [ebp - 8]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
je 0xaf9f7a
test byte [ebp - 8], 3
jne 0xaf9f46
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0xc], 0x20
jb 0xafa21d
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
xor dword [ebp - 0x10], edx
add dword [ebp - 0x14], 4
mov ecx, dword [ebp - 0x10]
and ecx, 0xff
mov eax, dword [ecx*4 + 0xb69864]
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, 0xff
xor eax, dword [edx*4 + 0xb69464]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
xor eax, dword [ecx*4 + 0xb69064]
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor eax, dword [edx*4 + 0xb68c64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
xor dword [ebp - 0x10], ecx
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov edx, dword [eax*4 + 0xb69864]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0xb69464]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0xb69064]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xb68c64]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
xor dword [ebp - 0x10], eax
add dword [ebp - 0x14], 4
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov ecx, dword [edx*4 + 0xb69864]
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0xb69464]
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0xb69064]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb68c64]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
xor dword [ebp - 0x10], ecx
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov edx, dword [eax*4 + 0xb69864]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0xb69464]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0xb69064]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xb68c64]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
xor dword [ebp - 0x10], eax
add dword [ebp - 0x14], 4
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov ecx, dword [edx*4 + 0xb69864]
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0xb69464]
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0xb69064]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb68c64]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
xor dword [ebp - 0x10], ecx
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov edx, dword [eax*4 + 0xb69864]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0xb69464]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0xb69064]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xb68c64]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
xor dword [ebp - 0x10], eax
add dword [ebp - 0x14], 4
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov ecx, dword [edx*4 + 0xb69864]
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0xb69464]
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0xb69064]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb68c64]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
xor dword [ebp - 0x10], ecx
add dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov edx, dword [eax*4 + 0xb69864]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0xb69464]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
and eax, 0xff
xor edx, dword [eax*4 + 0xb69064]
mov ecx, dword [ebp - 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xb68c64]
mov dword [ebp - 0x10], edx
sub dword [ebp - 0xc], 0x20
cmp dword [ebp - 0xc], 0x20
jae 0xaf9f8a
cmp dword [ebp - 0xc], 4
jb 0xafa27e
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
xor dword [ebp - 0x10], eax
add dword [ebp - 0x14], 4
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov ecx, dword [edx*4 + 0xb69864]
mov eax, dword [ebp - 0x10]
shr eax, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0xb69464]
mov edx, dword [ebp - 0x10]
shr edx, 0x10
and edx, 0xff
xor ecx, dword [edx*4 + 0xb69064]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0xb68c64]
mov dword [ebp - 0x10], ecx
sub dword [ebp - 0xc], 4
cmp dword [ebp - 0xc], 4
jae 0xafa223
mov edx, dword [ebp - 0x14]
mov dword [ebp - 8], edx
cmp dword [ebp - 0xc], 0
je 0xafa2b3
mov ecx, dword [ebp - 8]
xor eax, eax
mov al, byte [ecx]
xor eax, dword [ebp - 0x10]
and eax, 0xff
mov edx, dword [eax*4 + 0xb68c64]
mov ecx, dword [ebp - 0x10]
shr ecx, 8
xor edx, ecx
mov dword [ebp - 0x10], edx
inc dword [ebp - 8]
dec dword [ebp - 0xc]
jne 0xafa28a
not dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret