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

Disassembly:
push ebp
xor eax, eax
push edi
push esi
push ebx
sub esp, 4
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
test edx, edx
je 0x44567f
mov eax, dword [esp + 0x18]
not eax
test ecx, ecx
jne 0x4452ae
jmp 0x445690
movzx ebx, byte [edx]
add edx, 1
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5060c0]
sub ecx, 1
je 0x44567d
test dl, 3
jne 0x445290
cmp ecx, 0x1f
jbe 0x445479
lea ebx, [ecx - 0x20]
and ebx, 0xffffffe0
lea esi, [edx + ebx + 0x20]
lea esi, [esi]
lea esi, [esi]
xor eax, dword [edx]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
movzx eax, ah
mov ebx, dword [ebx*4 + 0x506cc0]
xor ebx, dword [ebp*4 + 0x5060c0]
xor ebx, dword [edx + 4]
xor ebx, dword [eax*4 + 0x5068c0]
mov eax, dword [edi*4 + 0x5064c0]
xor eax, ebx
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
movzx eax, ah
mov ebx, dword [ebx*4 + 0x506cc0]
xor ebx, dword [ebp*4 + 0x5060c0]
xor ebx, dword [edx + 8]
xor ebx, dword [eax*4 + 0x5068c0]
xor ebx, dword [edi*4 + 0x5064c0]
mov eax, ebx
mov ebp, ebx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, bl
movzx ebx, bh
mov eax, dword [eax*4 + 0x506cc0]
xor eax, dword [ebp*4 + 0x5060c0]
xor eax, dword [edx + 0xc]
xor eax, dword [ebx*4 + 0x5068c0]
xor eax, dword [edi*4 + 0x5064c0]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
movzx eax, ah
mov ebx, dword [ebx*4 + 0x506cc0]
xor ebx, dword [ebp*4 + 0x5060c0]
xor ebx, dword [edx + 0x10]
xor ebx, dword [eax*4 + 0x5068c0]
xor ebx, dword [edi*4 + 0x5064c0]
mov eax, ebx
mov ebp, ebx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, bl
movzx ebx, bh
mov eax, dword [eax*4 + 0x506cc0]
xor eax, dword [ebp*4 + 0x5060c0]
xor eax, dword [edx + 0x14]
xor eax, dword [ebx*4 + 0x5068c0]
xor eax, dword [edi*4 + 0x5064c0]
mov ebx, eax
mov ebp, eax
movzx edi, al
movzx eax, ah
shr ebx, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0x506cc0]
add edx, 0x20
movzx ebx, bl
xor edi, dword [ebp*4 + 0x5060c0]
xor edi, dword [edx - 8]
xor edi, dword [eax*4 + 0x5068c0]
xor edi, dword [ebx*4 + 0x5064c0]
mov eax, edi
mov ebx, edi
mov ebp, edi
shr eax, 0x10
movzx ebx, bl
shr ebp, 0x18
movzx eax, al
mov dword [esp], eax
mov eax, edi
mov ebx, dword [ebx*4 + 0x506cc0]
movzx edi, ah
mov eax, dword [esp]
xor ebx, dword [ebp*4 + 0x5060c0]
xor ebx, dword [edx - 4]
xor ebx, dword [edi*4 + 0x5068c0]
xor ebx, dword [eax*4 + 0x5064c0]
mov eax, ebx
mov ebp, ebx
shr eax, 0x10
shr ebp, 0x18
movzx edi, al
movzx eax, bl
movzx ebx, bh
mov eax, dword [eax*4 + 0x506cc0]
xor eax, dword [ebp*4 + 0x5060c0]
xor eax, dword [ebx*4 + 0x5068c0]
xor eax, dword [edi*4 + 0x5064c0]
cmp edx, esi
jne 0x4452d0
and ecx, 0x1f
cmp ecx, 3
jbe 0x445637
xor eax, dword [edx]
mov ebx, eax
mov esi, eax
shr ebx, 0x10
shr esi, 0x18
movzx edi, bl
movzx ebx, al
mov esi, dword [esi*4 + 0x5060c0]
xor esi, dword [ebx*4 + 0x506cc0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
xor eax, esi
lea esi, [ecx - 4]
xor eax, dword [edi*4 + 0x5064c0]
cmp esi, 3
jbe 0x44562d
xor eax, dword [edx + 4]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
mov ebp, dword [ebp*4 + 0x5060c0]
xor ebp, dword [ebx*4 + 0x506cc0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
lea ebx, [ecx - 8]
xor eax, ebp
xor eax, dword [edi*4 + 0x5064c0]
cmp ebx, 3
jbe 0x44562d
xor eax, dword [edx + 8]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
mov ebp, dword [ebp*4 + 0x5060c0]
xor ebp, dword [ebx*4 + 0x506cc0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
lea ebx, [ecx - 0xc]
xor eax, ebp
xor eax, dword [edi*4 + 0x5064c0]
cmp ebx, 3
jbe 0x44562d
xor eax, dword [edx + 0xc]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
mov ebp, dword [ebp*4 + 0x5060c0]
xor ebp, dword [ebx*4 + 0x506cc0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
lea ebx, [ecx - 0x10]
xor eax, ebp
xor eax, dword [edi*4 + 0x5064c0]
cmp ebx, 3
jbe 0x44562d
xor eax, dword [edx + 0x10]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
mov ebp, dword [ebp*4 + 0x5060c0]
xor ebp, dword [ebx*4 + 0x506cc0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
lea ebx, [ecx - 0x14]
xor eax, ebp
xor eax, dword [edi*4 + 0x5064c0]
cmp ebx, 3
jbe 0x44562d
xor eax, dword [edx + 0x14]
mov ebx, eax
mov ebp, eax
shr ebx, 0x10
shr ebp, 0x18
movzx edi, bl
movzx ebx, al
mov ebp, dword [ebp*4 + 0x5060c0]
xor ebp, dword [ebx*4 + 0x506cc0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
lea ebx, [ecx - 0x18]
xor eax, ebp
xor eax, dword [edi*4 + 0x5064c0]
cmp ebx, 3
jbe 0x44562d
xor eax, dword [edx + 0x18]
mov ebx, eax
movzx ebp, al
shr ebx, 0x10
mov ebp, dword [ebp*4 + 0x506cc0]
movzx edi, bl
mov ebx, eax
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x5060c0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5068c0]
xor eax, ebp
xor eax, dword [edi*4 + 0x5064c0]
shr esi, 2
and ecx, 3
lea edx, [edx + esi*4 + 4]
test ecx, ecx
je 0x44567d
movzx ebx, byte [edx]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5060c0]
sub ecx, 1
je 0x44567d
movzx ebx, byte [edx + 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5060c0]
cmp ecx, 1
je 0x44567d
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx edx, cl
xor eax, dword [edx*4 + 0x5060c0]
not eax
add esp, 4
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x18]
jmp 0x44567f