Function at 0x49a0d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff58
mov dword [esp + 4], edx
mov dword [esp], eax
lea edx, [esp + 0x18]
mov eax, dword [esp]
add eax, 0x28
mov ecx, 0x10
call fcn.00402914
mov dword [esp + 0x14], 1
lea esi, [esp + 0x18]
mov edx, 8
mov eax, dword [esi + 0xc]
call fcn.0048bd24
mov ebx, eax
xor ebx, dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, 1
shl eax, cl
xor ebx, eax
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
xor eax, ebx
mov dword [esi + 0x14], eax
mov edx, dword [esi + 8]
xor edx, eax
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0xc]
xor eax, edx
mov dword [esi + 0x1c], eax
mov edi, 4
mov ebx, esi
mov ebp, dword [ebx]
mov eax, ebp
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x4c251c]
mov edx, 8
call fcn.0048bd1c
and ebp, 0xff
xor eax, dword [ebp*4 + 0x4c251c]
push eax
mov eax, dword [ebx]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4c251c]
mov edx, 0x10
call fcn.0048bd1c
pop edx
xor edx, eax
push edx
mov eax, dword [ebx]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4c251c]
mov edx, 0x18
call fcn.0048bd1c
pop edx
xor edx, eax
mov dword [ebx], edx
add ebx, 4
dec edi
jne 0x49a142
inc dword [esp + 0x14]
add esi, 0x10
cmp dword [esp + 0x14], 9
jne 0x49a101
lea eax, [esp + 0x18]
mov edx, dword [esp + 4]
mov edx, dword [edx]
xor edx, dword [eax]
add eax, 4
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
xor ecx, dword [eax]
add eax, 4
mov ebx, dword [esp + 4]
mov ebx, dword [ebx + 8]
xor ebx, dword [eax]
add eax, 4
mov esi, dword [esp + 4]
mov esi, dword [esi + 0xc]
xor esi, dword [eax]
add eax, 4
mov dword [esp + 0x14], 7
mov edi, edx
and edi, 0xff
mov edi, dword [edi*4 + 0x4c291c]
mov ebp, ecx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c2d1c]
mov ebp, ebx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c311c]
mov ebp, esi
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c351c]
xor edi, dword [eax]
mov dword [esp + 8], edi
add eax, 4
mov edi, edx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x4c291c]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c2d1c]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c311c]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c351c]
xor edi, dword [eax]
mov dword [esp + 0xc], edi
add eax, 4
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4c291c]
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c2d1c]
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c311c]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4c351c]
xor edi, dword [eax]
mov dword [esp + 0x10], edi
add eax, 4
shr edx, 0x18
mov edx, dword [edx*4 + 0x4c291c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4c2d1c]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4c311c]
shr esi, 0x18
xor edx, dword [esi*4 + 0x4c351c]
xor edx, dword [eax]
mov esi, edx
add eax, 4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
dec dword [esp + 0x14]
jne 0x49a1fa
mov edi, dword [esp]
movzx edi, byte [edi + 0x18]
mov ebp, edx
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
xor edi, ebp
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x28], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x19]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
xor edi, ebp
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x2c], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x1a]
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
xor edi, ebp
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4c241c]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x30], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x1b]
shr edx, 0x18
movzx edx, byte [edx + 0x4c241c]
xor edi, edx
shr ecx, 0x18
xor edx, edx
mov dl, byte [ecx + 0x4c241c]
shl edx, 8
xor edi, edx
shr ebx, 0x18
xor edx, edx
mov dl, byte [ebx + 0x4c241c]
shl edx, 0x10
xor edi, edx
shr esi, 0x18
xor edx, edx
mov dl, byte [esi + 0x4c241c]
shl edx, 0x18
xor edi, edx
xor edi, dword [eax]
mov eax, dword [esp]
mov dword [eax + 0x34], edi
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret