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

Disassembly:
push ebp
push edi
push esi
push ebx
push edi
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x64765bbc
mov eax, dword [esp + 0x18]
not eax
mov esi, dword [esp + 0x20]
test esi, esi
je 0x6476594e
test cl, 3
je 0x6476595c
mov edx, dword [esp + 0x20]
jmp 0x64765939
test cl, 3
je 0x64765958
mov bl, byte [ecx]
xor ebx, eax
movzx ebx, bl
shr eax, 8
xor eax, dword [ebx*4 + 0x648154a0]
inc ecx
dec edx
jne 0x64765934
not eax
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], 0x1f
jbe 0x64765b34
mov esi, dword [esp + 0x20]
mov ebx, ecx
mov dword [esp], ecx
xor eax, dword [ebx]
movzx ebp, ah
mov edx, eax
shr edx, 0x10
and edx, 0xff
movzx edi, al
shr eax, 0x18
mov ecx, dword [edi*4 + 0x648160a0]
xor ecx, dword [eax*4 + 0x648154a0]
xor ecx, dword [ebx + 4]
xor ecx, dword [ebp*4 + 0x64815ca0]
xor ecx, dword [edx*4 + 0x648158a0]
movzx edx, ch
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ebp, cl
mov edi, ecx
shr edi, 0x18
mov ecx, dword [ebp*4 + 0x648160a0]
xor ecx, dword [edi*4 + 0x648154a0]
xor ecx, dword [ebx + 8]
xor ecx, dword [edx*4 + 0x64815ca0]
xor ecx, dword [eax*4 + 0x648158a0]
movzx edx, ch
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx edi, cl
mov ebp, ecx
shr ebp, 0x18
mov ecx, dword [edi*4 + 0x648160a0]
xor ecx, dword [ebp*4 + 0x648154a0]
xor ecx, dword [ebx + 0xc]
xor ecx, dword [edx*4 + 0x64815ca0]
xor ecx, dword [eax*4 + 0x648158a0]
movzx edx, ch
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ebp, cl
mov edi, ecx
shr edi, 0x18
mov ecx, dword [ebp*4 + 0x648160a0]
xor ecx, dword [edi*4 + 0x648154a0]
xor ecx, dword [ebx + 0x10]
xor ecx, dword [edx*4 + 0x64815ca0]
xor ecx, dword [eax*4 + 0x648158a0]
movzx edx, ch
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx edi, cl
mov ebp, ecx
shr ebp, 0x18
mov ecx, dword [edi*4 + 0x648160a0]
xor ecx, dword [ebp*4 + 0x648154a0]
xor ecx, dword [ebx + 0x14]
xor ecx, dword [edx*4 + 0x64815ca0]
xor ecx, dword [eax*4 + 0x648158a0]
movzx edx, ch
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx ebp, cl
mov edi, ecx
shr edi, 0x18
mov ecx, dword [ebp*4 + 0x648160a0]
xor ecx, dword [edi*4 + 0x648154a0]
xor ecx, dword [ebx + 0x18]
xor ecx, dword [edx*4 + 0x64815ca0]
xor ecx, dword [eax*4 + 0x648158a0]
movzx edi, ch
mov eax, ecx
shr eax, 0x10
and eax, 0xff
movzx edx, cl
mov ebp, ecx
shr ebp, 0x18
mov edx, dword [edx*4 + 0x648160a0]
xor edx, dword [ebp*4 + 0x648154a0]
xor edx, dword [ebx + 0x1c]
xor edx, dword [edi*4 + 0x64815ca0]
xor edx, dword [eax*4 + 0x648158a0]
add ebx, 0x20
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov eax, edx
shr eax, 0x18
movzx ebp, dl
mov eax, dword [eax*4 + 0x648154a0]
xor eax, dword [ebp*4 + 0x648160a0]
movzx edx, dh
xor eax, dword [edx*4 + 0x64815ca0]
xor eax, dword [edi*4 + 0x648158a0]
sub esi, 0x20
cmp esi, 0x1f
ja 0x64765970
mov ecx, dword [esp]
mov edx, dword [esp + 0x20]
sub edx, 0x20
and edx, 0xffffffe0
lea ecx, [ecx + edx + 0x20]
and dword [esp + 0x20], 0x1f
cmp dword [esp + 0x20], 3
jbe 0x64765b8e
mov edx, dword [esp + 0x20]
sub edx, 4
shr edx, 2
lea esi, [ecx + edx*4 + 4]
lea esi, [esi]
mov edx, dword [ecx]
xor edx, eax
add ecx, 4
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
mov eax, edx
shr eax, 0x18
movzx edi, dl
mov eax, dword [eax*4 + 0x648154a0]
xor eax, dword [edi*4 + 0x648160a0]
movzx edx, dh
xor eax, dword [edx*4 + 0x64815ca0]
xor eax, dword [ebx*4 + 0x648158a0]
cmp ecx, esi
jne 0x64765b4c
and dword [esp + 0x20], 3
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x6476594e
mov ebx, dword [esp + 0x20]
add ebx, ecx
mov dl, byte [ecx]
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x648154a0]
inc ecx
cmp ecx, ebx
jne 0x64765ba0
jmp 0x6476594e
xor eax, eax
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret