Function at 0x5e2790
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 0x5e2a70
mov eax, dword [esp + 0x18]
not eax
mov esi, dword [esp + 0x20]
test esi, esi
je 0x5e27dd
test cl, 3
je 0x5e27f4
mov edx, dword [esp + 0x20]
jmp 0x5e27c5
test cl, 3
je 0x5e27f0
mov bl, byte [ecx]
xor ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [ebx*4 + 0x7d5620]
inc ecx
dec edx
jne 0x5e27c0
not eax
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x20], edx
cmp dword [esp + 0x20], 0x1f
jbe 0x5e29d4
mov esi, dword [esp + 0x20]
mov ebx, ecx
mov dword [esp], ecx
nop
lea esi, [esi]
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 + 0x7d6220]
xor ecx, dword [eax*4 + 0x7d5620]
xor ecx, dword [ebx + 4]
xor ecx, dword [ebp*4 + 0x7d5e20]
xor ecx, dword [edx*4 + 0x7d5a20]
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 + 0x7d6220]
xor ecx, dword [edi*4 + 0x7d5620]
xor ecx, dword [ebx + 8]
xor ecx, dword [edx*4 + 0x7d5e20]
xor ecx, dword [eax*4 + 0x7d5a20]
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 + 0x7d6220]
xor ecx, dword [ebp*4 + 0x7d5620]
xor ecx, dword [ebx + 0xc]
xor ecx, dword [edx*4 + 0x7d5e20]
xor ecx, dword [eax*4 + 0x7d5a20]
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 + 0x7d6220]
xor ecx, dword [edi*4 + 0x7d5620]
xor ecx, dword [ebx + 0x10]
xor ecx, dword [edx*4 + 0x7d5e20]
xor ecx, dword [eax*4 + 0x7d5a20]
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 + 0x7d6220]
xor ecx, dword [ebp*4 + 0x7d5620]
xor ecx, dword [ebx + 0x14]
xor ecx, dword [edx*4 + 0x7d5e20]
xor ecx, dword [eax*4 + 0x7d5a20]
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 + 0x7d6220]
xor ecx, dword [edi*4 + 0x7d5620]
xor ecx, dword [ebx + 0x18]
xor ecx, dword [edx*4 + 0x7d5e20]
xor ecx, dword [eax*4 + 0x7d5a20]
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 + 0x7d6220]
xor edx, dword [ebp*4 + 0x7d5620]
xor edx, dword [ebx + 0x1c]
xor edx, dword [edi*4 + 0x7d5e20]
xor edx, dword [eax*4 + 0x7d5a20]
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 + 0x7d5620]
xor eax, dword [ebp*4 + 0x7d6220]
movzx edx, dh
xor eax, dword [edx*4 + 0x7d5e20]
xor eax, dword [edi*4 + 0x7d5a20]
sub esi, 0x20
cmp esi, 0x1f
ja 0x5e2810
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 0x5e2a32
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 + 0x7d5620]
xor eax, dword [edi*4 + 0x7d6220]
movzx edx, dh
xor eax, dword [edx*4 + 0x7d5e20]
xor eax, dword [ebx*4 + 0x7d5a20]
cmp ecx, esi
jne 0x5e29f0
and dword [esp + 0x20], 3
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x5e27dd
mov ebx, dword [esp + 0x20]
add ebx, ecx
lea esi, [esi]
lea edi, [edi]
mov dl, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7d5620]
inc ecx
cmp ecx, ebx
jne 0x5e2a50
jmp 0x5e27dd
xor eax, eax
pop edx
pop ebx
pop esi
pop edi
pop ebp
ret