Function at 0x415000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 4]
mov ecx, edx
shr ecx, 3
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [eax]
mov dword [ebp - 8], ecx
test ecx, ecx
mov ecx, dword [ebp + 0x14]
je 0x415251
lea ebx, [ebx]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp + 8], edx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov edx, dword [ebp - 4]
add edx, ebx
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi]
inc edi
mov byte [ecx], dl
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, dword [ebp + 8]
inc edi
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [eax + edi*4 + 4], ebx
mov dword [ebp + 8], edx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov edx, dword [ebp - 4]
add edx, ebx
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi + 1]
and edi, 0xff
mov byte [ecx + 1], dl
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, dword [ebp + 8]
inc edi
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [eax + edi*4 + 4], ebx
mov dword [ebp + 8], edx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov edx, dword [ebp - 4]
add edx, ebx
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi + 2]
and edi, 0xff
mov byte [ecx + 2], dl
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, dword [ebp + 8]
inc edi
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [eax + edi*4 + 4], ebx
mov dword [ebp + 8], edx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov edx, dword [ebp - 4]
add edx, ebx
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi + 3]
and edi, 0xff
mov byte [ecx + 3], dl
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, dword [ebp + 8]
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [ebp + 8], edx
mov dword [ebp - 4], ebx
mov dword [eax + edi*4 + 8], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov edx, dword [ebp - 4]
add edx, ebx
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi + 4]
inc edi
mov byte [ecx + 4], dl
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, dword [ebp + 8]
inc edi
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [eax + edi*4 + 4], ebx
mov dword [ebp + 8], edx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov edx, dword [ebp - 4]
add edx, ebx
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi + 5]
and edi, 0xff
mov byte [ecx + 5], dl
mov edx, dword [eax + edi*4 + 8]
mov dword [ebp - 0xc], edx
add edx, dword [ebp + 8]
inc edi
and edx, 0xff
mov ebx, dword [eax + edx*4 + 8]
mov dword [eax + edi*4 + 4], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 8], ebx
mov dword [ebp + 8], edx
mov edx, dword [ebp - 4]
add edx, ebx
mov ebx, dword [ebp + 8]
and edx, 0xff
movzx edx, byte [eax + edx*4 + 8]
xor dl, byte [esi + 6]
and edi, 0xff
mov byte [ecx + 6], dl
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
movzx edx, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 7]
mov ebx, dword [ebp + 8]
mov byte [ecx + 7], dl
add ecx, 8
add esi, 8
dec dword [ebp - 8]
jne 0x415030
mov edx, dword [ebp + 0xc]
and edx, 7
mov dword [ebp - 8], edx
je 0x4154a6
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi]
inc ecx
mov byte [ecx - 1], dl
inc esi
dec dword [ebp - 8]
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi]
dec dword [ebp - 8]
mov byte [ecx], dl
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 1]
dec dword [ebp - 8]
mov byte [ecx + 1], dl
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 2]
dec dword [ebp - 8]
mov byte [ecx + 2], dl
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 3]
dec dword [ebp - 8]
mov byte [ecx + 3], dl
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 4]
dec dword [ebp - 8]
mov byte [ecx + 4], dl
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 5]
dec dword [ebp - 8]
mov byte [ecx + 5], dl
je 0x4154a3
mov ebx, dword [ebp + 8]
inc edi
and edi, 0xff
mov edx, dword [eax + edi*4 + 8]
add ebx, edx
and ebx, 0xff
mov dword [ebp + 8], ebx
mov ebx, dword [eax + ebx*4 + 8]
mov dword [eax + edi*4 + 8], ebx
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
add ebx, edx
and ebx, 0xff
mov dl, byte [eax + ebx*4 + 8]
xor dl, byte [esi + 6]
add ecx, 7
mov byte [ecx - 1], dl
add esi, 7
dec dword [ebp - 8]
jne 0x4152a4
mov ebx, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov dword [eax + 4], ebx
pop ebx
mov esp, ebp
pop ebp
ret