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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x18
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x6e12f3e8
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 8]
not eax
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x6e12f15a
test bl, 3
je 0x6e12f167
mov edx, dword [ebp + 0x10]
jmp 0x6e12f145
test bl, 3
je 0x6e12f164
mov cl, byte [ebx]
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x6e2db7a0]
inc ebx
dec edx
jne 0x6e12f140
not eax
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret
mov dword [ebp + 0x10], edx
mov edi, ebx
cmp dword [ebp + 0x10], 0x1f
jbe 0x6e12f358
mov edx, dword [ebp + 0x10]
mov ecx, ebx
mov dword [ebp - 0x24], ebx
mov ebx, edx
lea esi, [esi]
xor eax, dword [ecx]
movzx edi, ah
mov edx, eax
shr edx, 0x10
and edx, 0xff
movzx esi, al
shr eax, 0x18
mov esi, dword [esi*4 + 0x6e2dc3a0]
xor esi, dword [eax*4 + 0x6e2db7a0]
xor esi, dword [ecx + 4]
xor esi, dword [edi*4 + 0x6e2dbfa0]
xor esi, dword [edx*4 + 0x6e2dbba0]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x6e2dc3a0]
xor edi, dword [esi*4 + 0x6e2db7a0]
xor edi, dword [ecx + 8]
xor edi, dword [edx*4 + 0x6e2dbfa0]
xor edi, dword [eax*4 + 0x6e2dbba0]
mov eax, edi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov esi, edi
and esi, 0xff
shr edi, 0x18
mov esi, dword [esi*4 + 0x6e2dc3a0]
xor esi, dword [edi*4 + 0x6e2db7a0]
xor esi, dword [ecx + 0xc]
xor esi, dword [edx*4 + 0x6e2dbfa0]
xor esi, dword [eax*4 + 0x6e2dbba0]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x6e2dc3a0]
xor edi, dword [esi*4 + 0x6e2db7a0]
xor edi, dword [ecx + 0x10]
xor edi, dword [edx*4 + 0x6e2dbfa0]
xor edi, dword [eax*4 + 0x6e2dbba0]
mov eax, edi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov esi, edi
and esi, 0xff
shr edi, 0x18
mov esi, dword [esi*4 + 0x6e2dc3a0]
xor esi, dword [edi*4 + 0x6e2db7a0]
xor esi, dword [ecx + 0x14]
xor esi, dword [edx*4 + 0x6e2dbfa0]
xor esi, dword [eax*4 + 0x6e2dbba0]
mov eax, esi
movzx edx, ah
shr eax, 0x10
and eax, 0xff
mov edi, esi
and edi, 0xff
shr esi, 0x18
mov edi, dword [edi*4 + 0x6e2dc3a0]
xor edi, dword [esi*4 + 0x6e2db7a0]
xor edi, dword [ecx + 0x18]
xor edi, dword [edx*4 + 0x6e2dbfa0]
xor edi, dword [eax*4 + 0x6e2dbba0]
mov edx, edi
movzx esi, dh
mov eax, edi
shr eax, 0x10
and eax, 0xff
and edx, 0xff
shr edi, 0x18
mov edx, dword [edx*4 + 0x6e2dc3a0]
xor edx, dword [edi*4 + 0x6e2db7a0]
xor edx, dword [ecx + 0x1c]
xor edx, dword [esi*4 + 0x6e2dbfa0]
xor edx, dword [eax*4 + 0x6e2dbba0]
add ecx, 0x20
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov eax, edx
shr eax, 0x18
movzx edi, dl
mov eax, dword [eax*4 + 0x6e2db7a0]
xor eax, dword [edi*4 + 0x6e2dc3a0]
movzx edx, dh
xor eax, dword [edx*4 + 0x6e2dbfa0]
xor eax, dword [esi*4 + 0x6e2dbba0]
sub ebx, 0x20
cmp ebx, 0x1f
ja 0x6e12f180
mov ebx, dword [ebp - 0x24]
mov edx, dword [ebp + 0x10]
sub edx, 0x20
mov ecx, edx
and ecx, 0xffffffe0
lea edi, [ebx + ecx + 0x20]
and edx, 0x1f
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 3
jbe 0x6e12f3b9
mov edx, dword [ebp + 0x10]
sub edx, 4
mov dword [ebp - 0x24], edx
shr edx, 2
inc edx
mov dword [ebp - 0x20], edx
xor ecx, ecx
mov edx, dword [edi + ecx*4]
xor edx, eax
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
mov eax, edx
shr eax, 0x18
movzx esi, dl
mov eax, dword [eax*4 + 0x6e2db7a0]
xor eax, dword [esi*4 + 0x6e2dc3a0]
movzx edx, dh
xor eax, dword [edx*4 + 0x6e2dbfa0]
xor eax, dword [ebx*4 + 0x6e2dbba0]
inc ecx
cmp ecx, dword [ebp - 0x20]
jne 0x6e12f370
lea edi, [edi + ecx*4]
mov edx, dword [ebp - 0x24]
and edx, 3
mov dword [ebp + 0x10], edx
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x6e12f15a
xor edx, edx
mov ebx, dword [ebp + 0x10]
lea esi, [esi]
mov cl, byte [edi + edx]
xor ecx, eax
movzx ecx, cl
shr eax, 8
xor eax, dword [ecx*4 + 0x6e2db7a0]
inc edx
cmp ebx, edx
jne 0x6e12f3cc
jmp 0x6e12f15a
xor eax, eax
add esp, 0x18
pop ebx
pop esi
pop edi
leave
ret