Function at 0x4b3d70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov eax, dword [esi + 4]
mov ecx, ebx
shr ecx, 3
mov dword [ebp - 0xc], ecx
test ecx, ecx
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [esi]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 8], ecx
je 0x4b3f8e
mov ebx, dword [ebp + 0xc]
lea edx, [edi + 1]
mov edi, dword [ebp - 4]
and edx, 0xff
inc edx
mov ecx, dword [esi + edx*4 + 4]
lea esi, [ecx + eax]
and esi, 0xff
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 4], eax
mov dword [edi + esi*4 + 8], ecx
add eax, ecx
and eax, 0xff
and edx, 0xff
movzx eax, byte [edi + eax*4 + 8]
mov edi, dword [ebp - 8]
inc edx
xor al, byte [edi]
mov edi, dword [ebp - 4]
mov byte [ebx], al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 4]
add esi, ecx
and esi, 0xff
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 4], eax
mov dword [edi + esi*4 + 8], ecx
add eax, ecx
and eax, 0xff
mov ecx, edi
mov edi, dword [ebp - 8]
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 1]
mov edi, dword [ebp - 4]
mov byte [ebx + 1], al
and edx, 0xff
mov eax, ecx
inc edx
mov ecx, dword [eax + edx*4 + 4]
add esi, ecx
and esi, 0xff
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 4], eax
mov dword [edi + esi*4 + 8], ecx
add eax, ecx
and eax, 0xff
mov ecx, edi
mov edi, dword [ebp - 8]
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 2]
mov edi, dword [ebp - 4]
mov byte [ebx + 2], al
and edx, 0xff
mov eax, ecx
inc edx
mov ecx, dword [eax + edx*4 + 4]
add esi, ecx
and esi, 0xff
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 4], eax
mov dword [edi + esi*4 + 8], ecx
add eax, ecx
and eax, 0xff
mov ecx, edi
mov edi, dword [ebp - 8]
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 3]
mov edi, dword [ebp - 4]
mov byte [ebx + 3], al
and edx, 0xff
mov eax, ecx
mov ecx, dword [eax + edx*4 + 8]
add esi, ecx
and esi, 0xff
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
mov ecx, edi
mov edi, dword [ebp - 8]
and eax, 0xff
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 4]
mov edi, dword [ebp - 4]
mov byte [ebx + 4], al
mov eax, ecx
inc edx
and edx, 0xff
inc edx
mov ecx, dword [eax + edx*4 + 4]
add esi, ecx
and esi, 0xff
add ebx, 8
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 4], eax
mov dword [edi + esi*4 + 8], ecx
add eax, ecx
and eax, 0xff
mov ecx, edi
mov edi, dword [ebp - 8]
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 5]
mov edi, dword [ebp - 4]
mov byte [ebx - 3], al
mov eax, ecx
and edx, 0xff
mov ecx, dword [eax + edx*4 + 8]
add esi, ecx
and esi, 0xff
mov eax, dword [eax + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
mov dword [edi + esi*4 + 8], ecx
add eax, ecx
mov ecx, edi
mov edi, dword [ebp - 8]
and eax, 0xff
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 6]
lea edi, [edx + 1]
mov byte [ebx - 2], al
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
lea eax, [edx + esi]
mov esi, ecx
and eax, 0xff
mov ecx, dword [esi + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
mov edx, dword [ebp - 8]
and ecx, 0xff
add edx, 8
mov cl, byte [esi + ecx*4 + 8]
xor cl, byte [edx - 1]
dec dword [ebp - 0xc]
mov byte [ebx - 1], cl
mov dword [ebp - 8], edx
jne 0x4b3da1
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 0x10]
jmp 0x4b3f94
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0xc], esi
and ebx, 7
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx]
mov byte [esi], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx + 1]
mov byte [esi + 1], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx + 2]
mov byte [esi + 2], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx + 3]
mov byte [esi + 3], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx + 4]
mov byte [esi + 4], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx + 5]
mov byte [esi + 5], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx + 6]
mov byte [esi + 6], cl
dec ebx
je 0x4b41bd
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
inc edi
and edi, 0xff
mov edx, dword [ecx + edi*4 + 8]
add eax, edx
and eax, 0xff
mov ecx, dword [ecx + eax*4 + 8]
mov dword [esi + edi*4 + 8], ecx
add ecx, edx
mov dword [esi + eax*4 + 8], edx
and ecx, 0xff
mov edx, esi
mov esi, dword [ebp - 0xc]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 8]
xor cl, byte [edx]
mov byte [esi], cl
dec ebx
jne 0x4b3fe0
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret