Function at 0x10097cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push esi
mov esi, dword [ebp + 8]
shr ecx, 3
mov dword [ebp - 8], ecx
test ecx, ecx
mov ecx, dword [ebp + 0x10]
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi]
mov dword [ebp - 4], ecx
je 0x10097edd
mov ebx, dword [ebp + 0x14]
lea ecx, [ecx]
lea edx, [edi + 1]
mov edi, dword [ebp + 8]
and edx, 0xff
mov ecx, dword [esi + edx*4 + 8]
lea esi, [ecx + eax]
and esi, 0xff
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
and eax, 0xff
inc edx
and edx, 0xff
movzx eax, byte [edi + eax*4 + 8]
mov edi, dword [ebp - 4]
xor al, byte [edi]
mov byte [ebx], al
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
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
and eax, 0xff
mov ecx, edi
inc edx
mov edi, dword [ebp - 4]
and edx, 0xff
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 1]
mov byte [ebx + 1], al
mov eax, ecx
mov edi, dword [ebp + 8]
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
and eax, 0xff
mov ecx, edi
inc edx
mov edi, dword [ebp - 4]
and edx, 0xff
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 2]
mov edi, dword [ebp + 8]
mov byte [ebx + 2], al
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
and eax, 0xff
mov ecx, edi
inc edx
mov edi, dword [ebp - 4]
and edx, 0xff
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 3]
mov edi, dword [ebp + 8]
mov byte [ebx + 3], al
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
and eax, 0xff
mov ecx, edi
mov edi, dword [ebp - 4]
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 4]
inc edx
mov byte [ebx + 4], al
and edx, 0xff
mov edi, dword [ebp + 8]
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
and eax, 0xff
mov ecx, edi
inc edx
mov edi, dword [ebp - 4]
and edx, 0xff
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 5]
mov edi, dword [ebp + 8]
mov byte [ebx + 5], al
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
and eax, 0xff
mov ecx, edi
mov edi, dword [ebp - 4]
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 6]
lea edi, [edx + 1]
mov byte [ebx + 6], 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
and ecx, 0xff
mov edx, dword [ebp - 4]
mov cl, byte [esi + ecx*4 + 8]
xor cl, byte [edx + 7]
add edx, 8
mov byte [ebx + 7], cl
add ebx, 8
dec dword [ebp - 8]
mov dword [ebp - 4], edx
jne 0x10097cf0
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
jmp 0x10097ee3
mov esi, dword [ebp + 0x14]
mov dword [ebp - 8], esi
and ebx, 7
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx]
mov byte [esi], cl
dec ebx
je 0x1009810d
nop
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx + 1]
mov byte [esi + 1], cl
dec ebx
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx + 2]
mov byte [esi + 2], cl
dec ebx
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx + 3]
mov byte [esi + 3], cl
dec ebx
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx + 4]
mov byte [esi + 4], cl
dec ebx
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx + 5]
mov byte [esi + 5], cl
dec ebx
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx + 6]
mov byte [esi + 6], cl
dec ebx
je 0x1009810d
mov ecx, dword [ebp + 8]
inc edi
mov esi, dword [ebp + 8]
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 - 8]
mov cl, byte [edx + ecx*4 + 8]
mov edx, dword [ebp - 4]
xor cl, byte [edx]
mov byte [esi], cl
dec ebx
jne 0x10097f30
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
pop edi
pop esi
mov dword [ecx + 4], eax
pop ebx
mov esp, ebp
pop ebp
ret