Function at 0x49aa60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5428f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0x44]
cmp eax, 0x10
jb 0x49ab06
shr eax, 4
mov dword [ebp - 0x18], eax
push ecx
call fcn.0049ac40
mov eax, dword [esi + 0x50]
add esp, 4
movzx ecx, word [esi + 0x5a]
shl eax, 0x10
xor ecx, eax
xor ecx, dword [esi + 0x44]
xor ecx, dword [ebx]
mov dword [edi], ecx
mov eax, dword [esi + 0x58]
movzx ecx, word [esi + 0x62]
shl eax, 0x10
xor ecx, eax
xor ecx, dword [ebx + 4]
xor ecx, dword [esi + 0x4c]
mov dword [edi + 4], ecx
mov eax, dword [esi + 0x60]
movzx ecx, word [esi + 0x4a]
shl eax, 0x10
xor ecx, eax
xor ecx, dword [ebx + 8]
xor ecx, dword [esi + 0x54]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0x48]
movzx ecx, word [esi + 0x52]
shl eax, 0x10
xor ecx, eax
mov eax, dword [ebp + 0x14]
xor ecx, dword [ebx + 0xc]
sub eax, 0x10
xor ecx, dword [esi + 0x5c]
add ebx, 0x10
mov dword [edi + 0xc], ecx
add edi, 0x10
sub dword [ebp - 0x18], 1
lea ecx, [esi + 0x44]
mov dword [ebp + 0x14], eax
jne 0x49aa90
lea ecx, [esi + 0x44]
test eax, eax
je 0x49ac26
push ecx
call fcn.0049ac40
mov edx, dword [esi + 0x58]
add esp, 4
mov esi, dword [esi + 0x50]
mov eax, edx
shr eax, 0x10
mov ecx, esi
shl ecx, 0x10
xor ecx, eax
shl edx, 0x10
mov eax, dword [ebp - 0x1c]
shr esi, 0x10
xor ecx, dword [eax + 0x44]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x60]
mov eax, ecx
shr eax, 0x10
xor edx, eax
shl ecx, 0x10
mov eax, dword [ebp - 0x1c]
xor edx, dword [eax + 0x4c]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0x48]
mov eax, edx
shr eax, 0x10
xor eax, ecx
shl edx, 0x10
mov ecx, dword [ebp - 0x1c]
xor edx, esi
mov esi, dword [ebp + 0x14]
xor eax, dword [ecx + 0x54]
xor edx, dword [ecx + 0x5c]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], edx
test esi, esi
je 0x49ac26
cmp esi, 0x40
jb 0x49ac09
lea ecx, [esi - 1]
lea edx, [esi - 1]
add ecx, ebx
add edx, edi
cmp edi, ecx
ja 0x49ab94
cmp edx, ebx
jae 0x49ac09
lea ecx, [ebp + esi - 0x15]
cmp edi, ecx
ja 0x49aba3
lea ecx, [ebp - 0x14]
cmp edx, ecx
jae 0x49ac09
mov edx, esi
lea ecx, [edi + 0x10]
mov esi, ebx
and edx, 0xffffffc0
sub esi, edi
mov dword [ebp - 0x18], esi
movups xmm0, xmmword [ebp + eax - 0x14]
mov esi, dword [ebp - 0x18]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebx + eax]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax - 4]
movups xmmword [edi + eax], xmm1
movups xmm1, xmmword [esi + ecx - 0x40]
mov esi, dword [ebp + 0x14]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax + 0xc]
movups xmmword [ecx - 0x40], xmm1
movups xmm1, xmmword [ebx + eax + 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [ebp + eax + 0x1c]
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [ebx + eax + 0x30]
add eax, 0x40
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp eax, edx
jb 0x49abb2
cmp eax, esi
jae 0x49ac26
lea ecx, [ebp - 0x14]
sub ebx, ecx
sub edi, ecx
lea edx, [ebp - 0x14]
add edx, eax
inc eax
mov cl, byte [ebx + edx]
xor cl, byte [edx]
mov byte [edi + edx], cl
cmp eax, esi
jb 0x49ac14
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049bafa
mov esp, ebp
pop ebp
ret