Function at 0x10033f90
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ecx, dword [eax]
mov ebp, dword [esp + 0x14]
mov edx, ebx
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [esp + 0x20]
shr edx, 3
mov dword [esp + 0x14], edx
je 0x10034168
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp]
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi], dl
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 1]
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi + 1], dl
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 2]
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi + 2], dl
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 3]
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi + 3], dl
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 4]
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi + 4], dl
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 5]
add ebp, 8
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi + 5], dl
add edi, 8
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp - 2]
xor dl, bl
inc ecx
and ecx, 0xff
mov byte [edi - 2], dl
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp - 1]
xor dl, bl
mov byte [edi - 1], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
jne 0x10033fb8
mov ebx, dword [esp + 0x18]
and ebx, 7
mov dword [esp + 0x14], ebx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp]
xor dl, bl
mov byte [edi], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 1]
xor dl, bl
mov byte [edi + 1], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 2]
xor dl, bl
mov byte [edi + 2], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 3]
xor dl, bl
mov byte [edi + 3], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 4]
xor dl, bl
mov byte [edi + 4], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 5]
xor dl, bl
mov byte [edi + 5], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp + 6]
xor dl, bl
mov byte [edi + 6], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
je 0x1003437b
inc ecx
and ecx, 0xff
mov edx, dword [eax + ecx*4 + 8]
add esi, edx
and esi, 0xff
mov ebx, dword [eax + esi*4 + 8]
mov dword [eax + ecx*4 + 8], ebx
add ebx, edx
and ebx, 0xff
mov dword [eax + esi*4 + 8], edx
mov dl, byte [eax + ebx*4 + 8]
mov bl, byte [ebp]
xor dl, bl
mov byte [edi], dl
mov edx, dword [esp + 0x14]
dec edx
mov dword [esp + 0x14], edx
jne 0x100341b6
mov dword [eax + 4], esi
pop edi
pop esi
pop ebp
mov dword [eax], ecx
pop ebx
ret