Function at 0x49f7a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebx + 0x20]
xor ecx, dword [eax]
mov edx, dword [ebx + 0x24]
xor edx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebx + 0x28]
xor ecx, dword [eax + 8]
mov ebx, dword [ebx + 0x2c]
xor ebx, dword [eax + 0xc]
mov eax, edx
shr eax, 8
mov dword [ebp - 4], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5cc6c8]
mov dword [ebp - 8], 1
xor ecx, dword [eax*4 + 0x5ccac8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5ccec8]
mov eax, dword [ebp + 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x5cc2c8]
mov eax, ebx
shr eax, 0x10
mov dword [edi], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5ccac8]
xor esi, dword [eax*4 + 0x5cc6c8]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ccec8]
movzx eax, dl
xor esi, dword [eax*4 + 0x5cc2c8]
mov eax, dword [ebp + 0xc]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [edi + 4], esi
mov edi, dword [ecx*4 + 0x5ccac8]
mov ecx, dword [ebp + 0xc]
xor edi, dword [eax*4 + 0x5cc6c8]
mov eax, edx
shr eax, 0x18
shr ecx, 8
shr edx, 0x10
movzx ecx, cl
xor edi, dword [eax*4 + 0x5ccec8]
mov eax, dword [ebp - 4]
movzx eax, al
xor edi, dword [eax*4 + 0x5cc2c8]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], edi
movzx eax, dl
mov edx, dword [ebp + 0x10]
mov eax, dword [eax*4 + 0x5ccac8]
xor eax, dword [ecx*4 + 0x5cc6c8]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ccec8]
movzx ecx, bl
mov ebx, dword [ebp + 8]
xor eax, dword [ecx*4 + 0x5cc2c8]
mov dword [edx + 0xc], eax
mov ecx, dword [ebx + 0x1c]
mov dword [ebp + 0xc], ecx
dec ecx
cmp ecx, 1
jbe 0x49fa09
add ebx, 0x34
mov dword [ebp - 0xc], ebx
nop dword [eax]
mov ecx, dword [ebx - 4]
xor ecx, dword [edx]
mov edx, dword [ebx]
mov dword [ebp + 0xc], ecx
xor edx, esi
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx + 8]
xor ecx, edi
xor ebx, eax
mov dword [ebp - 4], ecx
mov edi, dword [ebp + 0x10]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
mov ecx, dword [ecx*4 + 0x5cc6c8]
inc dword [ebp - 8]
xor ecx, dword [eax*4 + 0x5ccac8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5ccec8]
mov eax, dword [ebp + 0xc]
movzx eax, al
xor ecx, dword [eax*4 + 0x5cc2c8]
mov eax, ebx
shr eax, 0x10
mov dword [edi], ecx
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov esi, dword [ecx*4 + 0x5ccac8]
xor esi, dword [eax*4 + 0x5cc6c8]
mov eax, dword [ebp + 0xc]
shr eax, 0x18
xor esi, dword [eax*4 + 0x5ccec8]
movzx eax, dl
xor esi, dword [eax*4 + 0x5cc2c8]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [ebp + 0xc]
shr eax, 0x10
movzx eax, al
mov dword [edi + 4], esi
mov edi, dword [ecx*4 + 0x5cc6c8]
mov ecx, dword [ebp + 0xc]
xor edi, dword [eax*4 + 0x5ccac8]
mov eax, edx
shr eax, 0x18
shr ecx, 8
shr edx, 0x10
movzx ecx, cl
xor edi, dword [eax*4 + 0x5ccec8]
mov eax, dword [ebp - 4]
movzx eax, al
xor edi, dword [eax*4 + 0x5cc2c8]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], edi
movzx eax, dl
mov edx, dword [ebp + 0x10]
mov eax, dword [eax*4 + 0x5ccac8]
xor eax, dword [ecx*4 + 0x5cc6c8]
mov ecx, dword [ebp - 4]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x5ccec8]
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
add ebx, 0x10
mov dword [ebp - 0xc], ebx
xor eax, dword [ecx*4 + 0x5cc2c8]
mov ecx, dword [ebp + 8]
mov dword [edx + 0xc], eax
mov ecx, dword [ecx + 0x1c]
mov dword [ebp + 0xc], ecx
dec ecx
cmp dword [ebp - 8], ecx
jb 0x49f8e0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
shl ebx, 4
mov dword [ebp + 0xc], ebx
mov edx, dword [ebx + ecx + 0x10]
mov ebx, dword [ebx + ecx + 0x14]
xor edx, dword [ebp - 0x10]
xor ebx, esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [esi + ecx + 0x18]
xor ecx, edi
mov edi, dword [ebp + 0x10]
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [esi + ecx + 0x1c]
xor ecx, eax
movzx eax, dl
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi], al
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 1], al
mov eax, dword [ebp + 0xc]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 3], al
movzx eax, bl
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 4], al
mov eax, dword [ebp + 0xc]
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 7], al
mov eax, dword [ebp + 0xc]
movzx eax, al
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 8], al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 9], al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 0xa], al
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 0xb], al
movzx eax, cl
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 0xc], al
movzx eax, dl
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 0xd], al
movzx eax, bl
movzx eax, byte [eax*4 + 0x5cc2c9]
mov byte [edi + 0xe], al
mov eax, dword [ebp + 0xc]
shr eax, 0x18
movzx eax, byte [eax*4 + 0x5cc2c9]
mov ecx, dword [ebp + 8]
mov byte [edi + 0xf], al
mov eax, dword [ecx + 0x1c]
add eax, 2
add eax, eax
mov eax, dword [ecx + eax*8]
xor dword [edi], eax
mov eax, dword [ecx + 0x1c]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x24]
xor dword [edi + 4], eax
mov eax, dword [ecx + 0x1c]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x28]
xor dword [edi + 8], eax
mov eax, dword [ecx + 0x1c]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x2c]
xor dword [edi + 0xc], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret