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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne 0x7649f6
xor eax, eax
jmp 0x764d06
mov ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
not ecx
cmp esi, 0x17
jb 0x764c16
test bl, 3
je 0x764a2b
movzx edx, byte [ebx]
movzx eax, cl
shr ecx, 8
inc ebx
xor eax, edx
xor ecx, dword [eax*4 + 0xb409ec]
dec esi
je 0x764a2b
mov eax, ebx
and eax, 3
jne 0x764a0e
mov edx, 0xcccccccd
mov eax, esi
xor ecx, dword [ebx]
mul edx
shr edx, 4
lea eax, [edx*4]
mov edi, edx
dec edi
lea eax, [eax + eax*4]
mov dword [esp + 0x18], edi
jne 0x764a70
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], 0
jmp 0x764bd3
lea edx, [edx + edx*4]
mov dword [esp + 0x14], eax
mov dword [esp + 4], 0
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [ebx + edx*4 - 0x14]
mov dword [esp + 0x10], eax
movzx ebp, ch
movzx edx, cl
mov ebp, dword [ebp*4 + 0xb411ec]
xor ebp, dword [edx*4 + 0xb40dec]
mov edx, ecx
shr ecx, 0x18
shr edx, 0xe
and edx, 0x3fc
xor ebp, dword [edx + 0xb415ec]
xor ebp, dword [ecx*4 + 0xb419ec]
mov ecx, dword [esp + 8]
xor ecx, dword [ebx + 4]
movzx edx, ch
movzx eax, cl
mov edi, ecx
shr ecx, 0x18
mov edx, dword [edx*4 + 0xb411ec]
shr edi, 0xe
and edi, 0x3fc
xor edx, dword [eax*4 + 0xb40dec]
mov eax, ebx
mov ebx, dword [esp + 0xc]
xor edx, dword [edi + 0xb415ec]
xor ebx, dword [eax + 8]
xor edx, dword [ecx*4 + 0xb419ec]
movzx ecx, bl
mov dword [esp + 8], edx
movzx edx, bh
mov edx, dword [edx*4 + 0xb411ec]
xor edx, dword [ecx*4 + 0xb40dec]
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0xb415ec]
xor edx, dword [ebx*4 + 0xb419ec]
mov ebx, dword [esp]
xor ebx, dword [eax + 0xc]
mov dword [esp + 0xc], edx
movzx edx, bh
movzx ecx, bl
mov edx, dword [edx*4 + 0xb411ec]
xor edx, dword [ecx*4 + 0xb40dec]
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0xb415ec]
xor edx, dword [ebx*4 + 0xb419ec]
mov ebx, eax
mov eax, dword [esp + 4]
xor eax, dword [ebx + 0x10]
mov dword [esp], edx
movzx edx, ah
movzx ecx, al
mov edx, dword [edx*4 + 0xb411ec]
xor edx, dword [ecx*4 + 0xb40dec]
mov ecx, eax
shr ecx, 0xe
and ecx, 0x3fc
xor edx, dword [ecx + 0xb415ec]
mov ecx, eax
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xb419ec]
mov ecx, ebp
xor ecx, dword [ebx + 0x14]
add ebx, 0x14
dec dword [esp + 0x18]
mov dword [esp + 4], edx
jne 0x764a9e
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub esi, eax
call fcn.00764d10
mov ecx, dword [esp + 8]
xor ecx, eax
xor ecx, dword [ebx + 4]
call fcn.00764d10
mov ecx, dword [esp + 0xc]
xor ecx, eax
xor ecx, dword [ebx + 8]
call fcn.00764d10
mov ecx, dword [esp]
xor ecx, eax
xor ecx, dword [ebx + 0xc]
call fcn.00764d10
mov ecx, dword [esp + 4]
xor ecx, eax
xor ecx, dword [ebx + 0x10]
call fcn.00764d10
mov ecx, eax
add ebx, 0x14
cmp esi, 8
jb 0x764ce2
lea eax, [esi - 8]
mov dword [esp + 4], ebx
mov edx, eax
and edx, 0xfffffff8
lea edi, [edx + 8]
mov dword [esp], edi
movzx edi, byte [ebx]
movzx ebp, cl
shr ecx, 8
add esi, 0xfffffff8
xor ebp, edi
xor ecx, dword [ebp*4 + 0xb409ec]
movzx ebp, byte [ebx + 1]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 2]
xor ecx, dword [edi*4 + 0xb409ec]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 3]
xor ecx, dword [edi*4 + 0xb409ec]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 4]
xor ecx, dword [edi*4 + 0xb409ec]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 5]
xor ecx, dword [edi*4 + 0xb409ec]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 6]
xor ecx, dword [edi*4 + 0xb409ec]
movzx edi, cl
shr ecx, 8
xor edi, ebp
movzx ebp, byte [ebx + 7]
add ebx, 8
xor ecx, dword [edi*4 + 0xb409ec]
movzx edi, cl
shr ecx, 8
xor edi, ebp
xor ecx, dword [edi*4 + 0xb409ec]
cmp esi, 7
ja 0x764c31
mov ebx, dword [esp + 4]
sub eax, edx
mov esi, eax
add ebx, dword [esp]
test esi, esi
jne 0x764cea
mov eax, ecx
jmp 0x764d04
mov eax, ecx
movzx edx, byte [ebx]
movzx ecx, cl
shr eax, 8
inc ebx
xor ecx, edx
xor eax, dword [ecx*4 + 0xb409ec]
dec esi
mov ecx, eax
jne 0x764cec
not eax
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0x7649e0