Function at 0x4110a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, edx
mov dword [ebp - 4], ecx
mov eax, ebx
mov dword [ebp - 0x10], ebx
shr eax, 3
push esi
mov esi, dword [ecx + 4]
test eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx]
mov dword [ebp - 8], eax
je 0x41129b
mov ebx, dword [ebp + 0xc]
nop
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
mov dword [edx + esi*4 + 8], ecx
mov ecx, dword [ebp - 8]
movzx eax, al
movzx eax, byte [edx + eax*4 + 8]
xor al, byte [ecx + 7]
add ecx, 8
mov byte [ebx + 7], al
add ebx, 8
sub dword [ebp - 0xc], 1
mov dword [ebp - 8], ecx
jne 0x4110d0
mov dword [ebp - 0xc], ebx
mov ecx, edx
mov ebx, dword [ebp - 0x10]
jmp 0x4112a1
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0xc], edx
and ebx, 7
je 0x4114cd
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 - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx]
mov byte [edx], al
sub ebx, 1
je 0x4114cd
nop word [eax + eax]
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, 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 [edx + 1], al
sub ebx, 1
je 0x4114cd
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, 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 [edx + 2], al
sub ebx, 1
je 0x4114cd
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, 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 [edx + 3], al
sub ebx, 1
je 0x4114cd
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, 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 [edx + 4], al
sub ebx, 1
je 0x4114cd
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, 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 [edx + 5], al
sub ebx, 1
je 0x4114cd
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, 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 [edx + 6], al
sub ebx, 1
je 0x4114cd
mov edx, 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 [edx + edi*4 + 8], eax
add eax, ecx
mov dword [edx + esi*4 + 8], ecx
mov ecx, edx
mov edx, dword [ebp - 0xc]
movzx eax, al
mov al, byte [ecx + eax*4 + 8]
mov ecx, dword [ebp - 8]
xor al, byte [ecx]
mov byte [edx], al
sub ebx, 1
jne 0x4112f0
mov eax, dword [ebp - 4]
mov dword [eax], edi
pop edi
mov dword [eax + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret