Function at 0x40ac33
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov eax, ebx
shr eax, 3
push edi
mov edi, edx
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, 0xff
je 0x40ae82
inc edx
and edx, eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
and edx, eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
and edx, eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0x10], edx
mov dword [ecx + ebx*4 + 8], edx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
dec dword [ebp - 0x14]
jne 0x40ac5e
mov ebx, dword [ebp + 8]
and ebx, 7
mov dword [ebp - 0x14], ebx
je 0x40b0a6
jmp 0x40b05a
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x40b0a3
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x40b0a3
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x40b0a3
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x40b0a3
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x40b0a3
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x40b0a3
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
jne 0x40ae93
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret