Function at 0x10015f60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
push esi
mov esi, dword [ecx + 4]
shr edx, 3
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ecx]
test edx, edx
je 0x10016159
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
nop dword [eax]
lea eax, [edi + 1]
mov edi, dword [ebp - 4]
movzx edx, al
mov ecx, dword [edi + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edi + esi*4 + 8]
mov dword [edi + edx*4 + 8], eax
add eax, ecx
mov dword [edi + esi*4 + 8], ecx
movzx eax, al
movzx eax, byte [edi + eax*4 + 8]
mov edi, dword [ebp - 8]
xor al, byte [edi]
mov byte [ebx], al
lea eax, [edx + 1]
movzx edx, al
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 4]
mov ecx, dword [eax + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
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]
movzx eax, al
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 1]
mov byte [ebx + 1], al
lea eax, [edx + 1]
movzx edx, al
mov edi, dword [ebp - 4]
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
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]
movzx eax, al
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 2]
mov byte [ebx + 2], al
lea eax, [edx + 1]
mov edi, dword [ebp - 4]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
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]
movzx eax, al
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 3]
mov edi, dword [ebp - 4]
mov byte [ebx + 3], al
lea eax, [edx + 1]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
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
movzx eax, al
movzx eax, byte [ecx + eax*4 + 8]
mov edi, dword [ebp - 8]
xor al, byte [edi + 4]
mov byte [ebx + 4], al
lea eax, [edx + 1]
movzx edx, al
mov edi, dword [ebp - 4]
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
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]
movzx eax, al
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 5]
mov byte [ebx + 5], al
lea eax, [edx + 1]
mov edi, dword [ebp - 4]
movzx edx, al
mov ecx, dword [ecx + edx*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
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]
movzx eax, al
movzx eax, byte [ecx + eax*4 + 8]
xor al, byte [edi + 6]
mov byte [ebx + 6], al
lea eax, [edx + 1]
movzx edi, al
mov edx, ecx
mov ecx, dword [edx + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [edx + esi*4 + 8]
mov dword [edx + edi*4 + 8], eax
add eax, ecx
movzx eax, al
mov dword [edx + esi*4 + 8], ecx
movzx eax, byte [edx + eax*4 + 8]
mov edx, dword [ebp - 8]
xor al, byte [edx + 7]
add edx, 8
mov byte [ebx + 7], al
add ebx, 8
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], edx
jne 0x10015f90
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
jmp 0x1001615f
mov edx, dword [ebp + 8]
mov dword [ebp - 8], edx
and eax, 7
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], eax
je 0x1001638d
mov edx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov ecx, dword [ecx + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, dword [ebp - 8]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
xor al, byte [edx]
mov edx, dword [ebp - 0x10]
mov byte [ebx], al
add edx, 0xffffffff
je 0x10016390
nop
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov ecx, dword [ecx + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + 1]
mov byte [ebx + 1], al
sub edx, 1
je 0x1001638d
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + 2]
mov byte [ebx + 2], al
sub edx, 1
je 0x1001638d
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + 3]
mov byte [ebx + 3], al
sub edx, 1
je 0x1001638d
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + 4]
mov byte [ebx + 4], al
sub edx, 1
je 0x1001638d
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + 5]
mov byte [ebx + 5], al
sub edx, 1
je 0x1001638d
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx + 6]
mov byte [ebx + 6], al
sub edx, 1
je 0x1001638d
mov ebx, dword [ebp - 4]
lea eax, [edi + 1]
movzx edi, al
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edi*4 + 8]
lea eax, [ecx + esi]
movzx esi, al
mov eax, dword [ebp - 4]
mov eax, dword [eax + esi*4 + 8]
mov dword [ebx + edi*4 + 8], eax
add eax, ecx
mov dword [ebx + esi*4 + 8], ecx
mov ecx, ebx
mov ebx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx]
mov ecx, dword [ebp - 4]
mov byte [ebx], al
sub edx, 1
jne 0x100161b0
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret