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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, edx
mov edx, ecx
push edi
mov edi, dword [ebp + 8]
not edx
test edi, edi
je 0x100070da
test bl, 3
je 0x100070da
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10037ab0]
inc ebx
sub edi, 1
jne 0x100070bd
push esi
cmp edi, 0x20
jb 0x100072eb
mov eax, edi
shr eax, 5
mov dword [ebp - 8], eax
xor edx, dword [ebx]
mov dword [ebp - 4], edx
mov edx, dword [ebx + 4]
add ebx, 8
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
mov ebx, dword [ecx*4 + 0x10037eb0]
mov ecx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0x100382b0]
mov eax, ecx
shr eax, 0x18
mov esi, dword [ebp + 8]
xor ebx, dword [eax*4 + 0x10037ab0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x100386b0]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10037eb0]
xor ecx, dword [eax*4 + 0x100382b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10037ab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x100386b0]
xor ecx, dword [esi]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10037eb0]
xor ecx, dword [eax*4 + 0x100382b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10037ab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x100386b0]
xor ecx, dword [esi + 4]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10037eb0]
xor ecx, dword [eax*4 + 0x100382b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10037ab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x100386b0]
xor ecx, dword [esi + 8]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10037eb0]
xor ecx, dword [eax*4 + 0x100382b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10037ab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x100386b0]
sub edi, 0x20
xor ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [esi + 0x14]
mov ecx, dword [ecx*4 + 0x10037eb0]
xor ecx, dword [eax*4 + 0x100382b0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10037ab0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x100386b0]
xor ecx, dword [esi + 0x10]
add esi, 0x18
mov eax, ecx
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x10037eb0]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], esi
xor ebx, dword [eax*4 + 0x100382b0]
mov eax, ecx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10037ab0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x100386b0]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x10037eb0]
xor edx, dword [eax*4 + 0x100382b0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10037ab0]
movzx eax, bl
mov ebx, esi
xor edx, dword [eax*4 + 0x100386b0]
sub dword [ebp - 8], 1
jne 0x100070ec
cmp edi, 4
jb 0x1000733a
mov esi, edi
shr esi, 2
mov eax, dword [ebx]
sub edi, 4
xor edx, eax
add ebx, 4
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10037eb0]
xor ecx, dword [eax*4 + 0x100382b0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10037ab0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x100386b0]
mov edx, ecx
sub esi, 1
jne 0x100072f5
pop esi
test edi, edi
je 0x10007357
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10037ab0]
inc ebx
sub edi, 1
jne 0x1000733f
not edx
pop edi
mov eax, edx
pop ebx
leave
ret