Function at 0x5b2770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
lea eax, [ebp + 4]
lea esi, [ebx + 2]
mov edi, 2
movzx ecx, byte [eax - 4]
and cl, 7
mov byte [esi - 2], cl
mov edx, dword [eax - 4]
shr edx, 3
and dl, 7
mov byte [esi - 1], dl
mov ecx, dword [eax - 4]
shr ecx, 6
and cl, 7
mov byte [esi], cl
movzx edx, byte [eax]
and dl, 1
add dl, dl
add dl, dl
xor dl, cl
mov byte [esi], dl
mov ecx, dword [eax]
shr ecx, 1
and cl, 7
mov byte [esi + 1], cl
mov edx, dword [eax]
shr edx, 4
and dl, 7
mov byte [esi + 2], dl
mov ecx, dword [eax]
shr ecx, 7
and cl, 7
mov byte [esi + 3], cl
movzx edx, byte [eax + 4]
and dl, 3
add dl, dl
xor dl, cl
mov byte [esi + 3], dl
mov ecx, dword [eax + 4]
shr ecx, 2
and cl, 7
mov byte [esi + 4], cl
mov edx, dword [eax + 4]
shr edx, 5
and dl, 7
mov byte [esi + 5], dl
movzx ecx, byte [eax + 8]
and cl, 7
mov byte [esi + 6], cl
mov edx, dword [eax + 8]
shr edx, 3
and dl, 7
mov byte [esi + 7], dl
mov ecx, dword [eax + 8]
shr ecx, 6
and cl, 7
mov byte [esi + 8], cl
movzx edx, byte [eax + 0xc]
and dl, 1
add dl, dl
add dl, dl
xor dl, cl
mov byte [esi + 8], dl
mov ecx, dword [eax + 0xc]
shr ecx, 1
and cl, 7
mov byte [esi + 9], cl
mov edx, dword [eax + 0xc]
shr edx, 4
and dl, 7
mov byte [esi + 0xa], dl
mov ecx, dword [eax + 0xc]
shr ecx, 7
and cl, 7
mov byte [esi + 0xb], cl
movzx edx, byte [eax + 0x10]
and dl, 3
add dl, dl
xor dl, cl
mov byte [esi + 0xb], dl
mov ecx, dword [eax + 0x10]
shr ecx, 2
and cl, 7
mov byte [esi + 0xc], cl
mov edx, dword [eax + 0x10]
shr edx, 5
and dl, 7
mov byte [esi + 0xd], dl
movzx ecx, byte [eax + 0x14]
and cl, 7
mov byte [esi + 0xe], cl
mov edx, dword [eax + 0x14]
shr edx, 3
and dl, 7
mov byte [esi + 0xf], dl
mov ecx, dword [eax + 0x14]
shr ecx, 6
and cl, 7
mov byte [esi + 0x10], cl
movzx edx, byte [eax + 0x18]
and dl, 1
add dl, dl
add dl, dl
xor dl, cl
mov byte [esi + 0x10], dl
mov ecx, dword [eax + 0x18]
shr ecx, 1
and cl, 7
mov byte [esi + 0x11], cl
mov edx, dword [eax + 0x18]
shr edx, 4
and dl, 7
mov byte [esi + 0x12], dl
mov ecx, dword [eax + 0x18]
shr ecx, 7
and cl, 7
mov byte [esi + 0x13], cl
movzx edx, byte [eax + 0x1c]
and dl, 3
add dl, dl
xor dl, cl
mov byte [esi + 0x13], dl
mov ecx, dword [eax + 0x1c]
shr ecx, 2
and cl, 7
mov byte [esi + 0x14], cl
mov edx, dword [eax + 0x1c]
shr edx, 5
and dl, 7
mov byte [esi + 0x15], dl
movzx ecx, byte [eax + 0x20]
and cl, 7
mov byte [esi + 0x16], cl
mov edx, dword [eax + 0x20]
shr edx, 3
and dl, 7
mov byte [esi + 0x17], dl
mov ecx, dword [eax + 0x20]
shr ecx, 6
and cl, 7
mov byte [esi + 0x18], cl
movzx edx, byte [eax + 0x24]
and dl, 1
add dl, dl
add dl, dl
xor dl, cl
mov byte [esi + 0x18], dl
mov ecx, dword [eax + 0x24]
shr ecx, 1
and cl, 7
mov byte [esi + 0x19], cl
mov edx, dword [eax + 0x24]
shr edx, 4
and dl, 7
mov byte [esi + 0x1a], dl
mov ecx, dword [eax + 0x24]
shr ecx, 7
and cl, 7
mov byte [esi + 0x1b], cl
movzx edx, byte [eax + 0x28]
and dl, 3
add dl, dl
xor dl, cl
mov byte [esi + 0x1b], dl
mov ecx, dword [eax + 0x28]
shr ecx, 2
and cl, 7
mov byte [esi + 0x1c], cl
mov edx, dword [eax + 0x28]
shr edx, 5
and dl, 7
mov byte [esi + 0x1d], dl
movzx ecx, byte [eax + 0x2c]
and cl, 7
mov byte [esi + 0x1e], cl
mov edx, dword [eax + 0x2c]
shr edx, 3
and dl, 7
mov byte [esi + 0x1f], dl
mov ecx, dword [eax + 0x2c]
shr ecx, 6
and cl, 7
mov byte [esi + 0x20], cl
movzx edx, byte [eax + 0x30]
and dl, 1
add dl, dl
add dl, dl
xor dl, cl
mov byte [esi + 0x20], dl
mov ecx, dword [eax + 0x30]
shr ecx, 1
and cl, 7
mov byte [esi + 0x21], cl
mov edx, dword [eax + 0x30]
shr edx, 4
and dl, 7
mov byte [esi + 0x22], dl
mov ecx, dword [eax + 0x30]
shr ecx, 7
and cl, 7
mov byte [esi + 0x23], cl
movzx edx, byte [eax + 0x34]
and dl, 3
add dl, dl
xor dl, cl
mov byte [esi + 0x23], dl
mov ecx, dword [eax + 0x34]
shr ecx, 2
and cl, 7
mov byte [esi + 0x24], cl
mov edx, dword [eax + 0x34]
shr edx, 5
and dl, 7
mov byte [esi + 0x25], dl
add eax, 0x3c
add esi, 0x28
sub edi, 1
jne 0x5b2782
mov al, byte [ebp + 0x78]
and al, 7
mov byte [ebx + 0x50], al
mov ecx, dword [ebp + 0x78]
shr ecx, 3
and cl, 7
mov byte [ebx + 0x51], cl
mov eax, dword [ebp + 0x78]
shr eax, 6
and al, 7
mov byte [ebx + 0x52], al
mov dl, byte [ebp + 0x7c]
and dl, 1
add dl, dl
add dl, dl
xor dl, al
mov byte [ebx + 0x52], dl
mov eax, dword [ebp + 0x7c]
shr eax, 1
and al, 7
mov byte [ebx + 0x53], al
mov ecx, dword [ebp + 0x7c]
shr ecx, 4
and cl, 7
mov byte [ebx + 0x54], cl
xor dl, dl
lea eax, [ebx + 1]
lea esi, [edi + 0xe]
mov edi, edi
mov cl, byte [eax - 1]
add cl, dl
mov dl, cl
and cl, 7
mov byte [eax - 1], cl
sar cl, 2
sar dl, 3
add byte [eax], dl
mov dl, cl
add cl, cl
add cl, cl
add cl, cl
sub byte [eax - 1], cl
mov cl, byte [eax]
add cl, dl
mov dl, cl
and cl, 7
mov byte [eax], cl
sar cl, 2
sar dl, 3
add byte [eax + 1], dl
mov dl, cl
add cl, cl
add cl, cl
add cl, cl
sub byte [eax], cl
mov cl, byte [eax + 1]
add cl, dl
mov dl, cl
and cl, 7
mov byte [eax + 1], cl
sar cl, 2
sar dl, 3
add byte [eax + 2], dl
mov dl, cl
add cl, cl
add cl, cl
add cl, cl
sub byte [eax + 1], cl
mov cl, byte [eax + 2]
add cl, dl
mov dl, cl
and cl, 7
mov byte [eax + 2], cl
sar cl, 2
sar dl, 3
add byte [eax + 3], dl
mov dl, cl
add cl, cl
add cl, cl
add cl, cl
sub byte [eax + 2], cl
mov cl, byte [eax + 3]
add cl, dl
mov dl, cl
and cl, 7
mov byte [eax + 3], cl
sar cl, 2
sar dl, 3
add byte [eax + 4], dl
mov dl, cl
add cl, cl
add cl, cl
add cl, cl
sub byte [eax + 3], cl
mov cl, byte [eax + 4]
add cl, dl
mov dl, cl
and cl, 7
mov byte [eax + 4], cl
sar cl, 2
sar dl, 3
add byte [eax + 5], dl
mov dl, cl
add cl, cl
add cl, cl
add cl, cl
sub byte [eax + 4], cl
add eax, 6
sub esi, 1
jne 0x5b2a40
add byte [ebx + 0x54], dl
pop edi
pop esi
pop ebp
ret