Function at 0x40114c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov eax, ebx
push edi
mov edi, dword [esi + 4]
mov edx, dword [esi]
shr eax, 3
mov dword [ebp - 8], eax
mov eax, dword [0x455130]
mov dword [ebp + 8], edi
je 0x4017ce
inc edx
and edx, eax
mov ecx, dword [esi + edx*4 + 8]
add edi, ecx
and edi, eax
mov dword [ebp + 8], edi
mov ebx, dword [esi + edi*4 + 8]
lea edi, [esi + edi*4 + 8]
mov dword [esi + edx*4 + 8], ebx
add ebx, ecx
and ebx, eax
mov dword [edi], ecx
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov bl, byte [esi + ebx*4 + 8]
xor bl, byte [ecx]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov byte [edi], bl
mov edx, dword [esi + edx*4 + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 1]
mov byte [edi + 1], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 2]
mov byte [edi + 2], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 3]
mov byte [edi + 3], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 4]
mov byte [edi + 4], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 5]
mov byte [edi + 5], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 6]
mov byte [edi + 6], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
add ecx, 8
mov edx, dword [esi + edx*4 + 8]
add edi, 8
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx - 1]
mov byte [edi - 1], dl
mov edx, dword [ebp - 8]
dec edx
je 0x4015ad
mov dword [ebp - 8], edx
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx]
mov byte [edi], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 1]
mov byte [edi + 1], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 2]
mov byte [edi + 2], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp - 4], edx
mov ebx, dword [ebp + 0x14]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 3]
mov byte [edi + 3], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 4]
mov byte [edi + 4], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
mov ebx, dword [ebp + 8]
xor dl, byte [ecx + 5]
mov byte [edi + 5], dl
mov edx, dword [ebp + 0x14]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 6]
mov byte [edi + 6], dl
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
add ecx, 8
mov dword [ebp + 0x14], edx
add edi, 8
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx - 1]
dec dword [ebp - 8]
mov byte [edi - 1], dl
jne 0x401388
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0xc]
and ebx, 7
mov dword [ebp - 8], ebx
je 0x4017dc
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx]
dec dword [ebp - 8]
mov byte [edi], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 1]
dec dword [ebp - 8]
mov byte [edi + 1], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 2]
dec dword [ebp - 8]
mov byte [edi + 2], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 3]
dec dword [ebp - 8]
mov byte [edi + 3], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 4]
dec dword [ebp - 8]
mov byte [edi + 4], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 5]
dec dword [ebp - 8]
mov byte [edi + 5], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
inc edx
and edx, eax
mov dword [ebp + 0x14], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [ebp + 0x10], edx
add edx, ebx
mov ebx, dword [ebp + 0x14]
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi + edx*4 + 8]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 0x10]
mov dword [esi + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, eax
mov dl, byte [esi + ebx*4 + 8]
xor dl, byte [ecx + 6]
dec dword [ebp - 8]
mov byte [edi + 6], dl
je 0x4017d9
mov edx, dword [ebp + 0x14]
jmp 0x4015bf
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
jmp 0x4015b3
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [esi], edx
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
leave
ret