Function at 0x49e147
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x2c]
mov ebx, dword [edi]
mov esi, dword [edi + 4]
mov ebp, dword [edi + 8]
xor edx, esi
mov esi, dword [edi + 0xc]
xor ecx, ebx
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor eax, esi
xor ebx, ebp
mov dword [esp + 0x18], ebx
movzx esi, byte [esp + 0x1a]
mov dword [esp + 0x1c], eax
shr eax, 0x18
mov ebp, dword [eax*4 + 0x4eedf0]
xor ebp, dword [esi*4 + 0x4ee9f0]
movzx eax, dh
xor ebp, dword [eax*4 + 0x4ee5f0]
movzx eax, cl
mov esi, dword [eax*4 + 0x4ee1f0]
mov eax, dword [esp + 0x28]
xor ebp, esi
mov dword [eax], ebp
movzx ebp, byte [esp + 0x1e]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4eedf0]
xor esi, dword [ebp*4 + 0x4ee9f0]
mov dword [esp + 0x14], edx
movzx ebp, bh
xor esi, dword [ebp*4 + 0x4ee5f0]
movzx edx, dl
mov ebp, dword [edx*4 + 0x4ee1f0]
movzx edx, byte [esp + 0x17]
xor esi, ebp
mov dword [eax + 4], esi
mov ebp, dword [edx*4 + 0x4eedf0]
mov dword [esp + 0x10], ecx
movzx esi, byte [esp + 0x12]
xor ebp, dword [esi*4 + 0x4ee9f0]
mov edx, dword [esp + 0x1c]
movzx esi, dh
xor ebp, dword [esi*4 + 0x4ee5f0]
movzx esi, bl
mov ebx, dword [esi*4 + 0x4ee1f0]
movzx esi, byte [esp + 0x1b]
xor ebp, ebx
movzx ebx, byte [esp + 0x16]
mov dword [eax + 8], ebp
mov esi, dword [esi*4 + 0x4eedf0]
xor esi, dword [ebx*4 + 0x4ee9f0]
movzx ecx, ch
mov ebp, dword [ecx*4 + 0x4ee5f0]
movzx edx, dl
mov ebx, dword [edx*4 + 0x4ee1f0]
xor esi, ebp
mov ebp, dword [esp + 0x30]
xor esi, ebx
lea edx, [ebp - 1]
cmp edx, 1
mov dword [eax + 0xc], esi
jle 0x49e387
dec edx
lea ecx, [edi + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [ecx - 8]
xor edx, dword [eax]
mov esi, dword [ecx - 4]
xor esi, dword [eax + 4]
mov ebx, dword [eax + 8]
mov dword [esp + 0x14], esi
mov esi, dword [ecx]
xor esi, ebx
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x18], esi
mov esi, dword [ecx + 4]
xor esi, ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
shr ebx, 0x10
shr esi, 0x18
mov esi, dword [esi*4 + 0x4eedf0]
movzx ebx, bl
xor esi, dword [ebx*4 + 0x4ee9f0]
mov ebx, dword [esp + 0x14]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x4ee5f0]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x4ee1f0]
mov ebx, dword [esp + 0x1c]
mov dword [eax], esi
shr ebx, 0x10
movzx ebx, bl
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4eedf0]
xor esi, dword [ebx*4 + 0x4ee9f0]
mov ebx, dword [esp + 0x18]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x4ee5f0]
movzx ebx, byte [esp + 0x14]
xor esi, dword [ebx*4 + 0x4ee1f0]
mov dword [esp + 0x10], edx
movzx ebx, byte [esp + 0x12]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x14]
shr esi, 0x18
mov esi, dword [esi*4 + 0x4eedf0]
xor esi, dword [ebx*4 + 0x4ee9f0]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x4ee5f0]
movzx ebx, byte [esp + 0x18]
xor esi, dword [ebx*4 + 0x4ee1f0]
movzx ebx, byte [esp + 0x16]
mov dword [eax + 8], esi
movzx esi, byte [esp + 0x1b]
mov esi, dword [esi*4 + 0x4eedf0]
xor esi, dword [ebx*4 + 0x4ee9f0]
movzx edx, dh
mov ebx, dword [edx*4 + 0x4ee5f0]
movzx edx, byte [esp + 0x1c]
xor esi, ebx
mov ebx, dword [edx*4 + 0x4ee1f0]
mov edx, dword [esp + 0x24]
xor esi, ebx
add ecx, 0x10
dec edx
mov dword [eax + 0xc], esi
mov dword [esp + 0x24], edx
jne 0x49e267
mov ebx, dword [eax + 4]
shl ebp, 4
mov esi, dword [edi + ebp - 0xc]
mov edx, dword [edi + ebp - 0x10]
xor esi, ebx
mov dword [esp + 0x14], esi
mov esi, dword [edi + ebp - 8]
lea ecx, [edi + ebp]
mov edi, dword [eax + 8]
mov ebp, dword [eax]
xor esi, edi
mov dword [esp + 0x18], esi
mov esi, dword [ecx - 4]
xor edx, ebp
xor esi, dword [eax + 0xc]
mov dword [esp + 0x1c], esi
movzx esi, dl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x15]
mov byte [eax], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x1a]
mov byte [eax + 1], bl
mov bl, byte [esi*4 + 0x4ee1f1]
mov esi, dword [esp + 0x1c]
mov byte [eax + 2], bl
shr esi, 0x18
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x14]
mov byte [eax + 3], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x19]
mov byte [eax + 4], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x1e]
mov byte [eax + 5], bl
mov bl, byte [esi*4 + 0x4ee1f1]
mov dword [esp + 0x10], edx
movzx esi, byte [esp + 0x13]
mov byte [eax + 6], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x18]
mov byte [eax + 7], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x1d]
mov byte [eax + 8], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x12]
mov byte [eax + 9], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x17]
mov byte [eax + 0xa], bl
mov bl, byte [esi*4 + 0x4ee1f1]
movzx esi, byte [esp + 0x1c]
mov byte [eax + 0xb], bl
mov bl, byte [esi*4 + 0x4ee1f1]
mov edi, dword [eax + 4]
mov byte [eax + 0xc], bl
mov ebx, dword [eax]
movzx edx, dh
mov dl, byte [edx*4 + 0x4ee1f1]
mov byte [eax + 0xd], dl
movzx edx, byte [esp + 0x16]
mov dl, byte [edx*4 + 0x4ee1f1]
mov esi, dword [eax + 8]
mov byte [eax + 0xe], dl
movzx edx, byte [esp + 0x1b]
mov dl, byte [edx*4 + 0x4ee1f1]
mov byte [eax + 0xf], dl
mov edx, dword [ecx]
xor ebx, edx
mov dword [eax], ebx
mov edx, dword [ecx + 4]
xor edi, edx
mov dword [eax + 4], edi
mov edx, dword [ecx + 8]
xor esi, edx
mov edx, dword [eax + 0xc]
mov dword [eax + 8], esi
mov ecx, dword [ecx + 0xc]
pop edi
pop esi
xor edx, ecx
pop ebp
mov dword [eax + 0xc], edx
xor eax, eax
pop ebx
add esp, 0x10
ret