Function at 0x490150
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffee4
mov dword [esp], eax
lea eax, [esp + 0x1c]
mov edx, pe_nt_image_headers32
call fcn.0042a660
mov edx, dword [esp]
add edx, 0x50
lea eax, [esp + 0x1c]
call fcn.004900d0
mov edi, dword [esp]
mov edi, dword [edi]
mov ebp, dword [esp]
mov ebp, dword [ebp + 4]
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x18], eax
xor esi, esi
mov eax, dword [esp + 0xc]
call fcn.004900b0
mov ebx, eax
add ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, dword [esp + 0x14]
and eax, dword [esp + 0xc]
xor eax, dword [esp + 0x14]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x1c]
add ebx, dword [esi*4 + 0x59dacc]
mov eax, edi
call fcn.00490090
add eax, ebx
mov edx, edi
or edx, ebp
and edx, dword [esp + 4]
mov ecx, edi
and ecx, ebp
or edx, ecx
add eax, edx
mov dword [esp + 0x18], eax
add dword [esp + 8], ebx
mov eax, dword [esp + 8]
call fcn.004900b0
mov ebx, eax
add ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
xor eax, dword [esp + 0x10]
and eax, dword [esp + 8]
xor eax, dword [esp + 0x10]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x20]
add ebx, dword [esi*4 + 0x59dad0]
mov eax, dword [esp + 0x18]
call fcn.00490090
add eax, ebx
mov edx, dword [esp + 0x18]
or edx, edi
and edx, ebp
mov ecx, dword [esp + 0x18]
and ecx, edi
or edx, ecx
add eax, edx
mov dword [esp + 0x14], eax
add dword [esp + 4], ebx
mov eax, dword [esp + 4]
call fcn.004900b0
mov ebx, eax
add ebx, dword [esp + 0x10]
mov eax, dword [esp + 8]
xor eax, dword [esp + 0xc]
and eax, dword [esp + 4]
xor eax, dword [esp + 0xc]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x24]
add ebx, dword [esi*4 + 0x59dad4]
mov eax, dword [esp + 0x14]
call fcn.00490090
add eax, ebx
mov edx, dword [esp + 0x14]
or edx, dword [esp + 0x18]
and edx, edi
mov ecx, dword [esp + 0x14]
and ecx, dword [esp + 0x18]
or edx, ecx
add eax, edx
mov dword [esp + 0x10], eax
add ebp, ebx
mov eax, ebp
call fcn.004900b0
mov ebx, eax
add ebx, dword [esp + 0xc]
mov eax, dword [esp + 4]
xor eax, dword [esp + 8]
and eax, ebp
xor eax, dword [esp + 8]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x28]
add ebx, dword [esi*4 + 0x59dad8]
mov eax, dword [esp + 0x10]
call fcn.00490090
add eax, ebx
mov edx, dword [esp + 0x10]
or edx, dword [esp + 0x14]
and edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and ecx, dword [esp + 0x14]
or edx, ecx
add eax, edx
mov dword [esp + 0xc], eax
add edi, ebx
mov eax, edi
call fcn.004900b0
mov ebx, eax
add ebx, dword [esp + 8]
mov eax, ebp
xor eax, dword [esp + 4]
and eax, edi
xor eax, dword [esp + 4]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x2c]
add ebx, dword [esi*4 + 0x59dadc]
mov eax, dword [esp + 0xc]
call fcn.00490090
add eax, ebx
mov edx, dword [esp + 0xc]
or edx, dword [esp + 0x10]
and edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
and ecx, dword [esp + 0x10]
or edx, ecx
add eax, edx
mov dword [esp + 8], eax
add dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
call fcn.004900b0
mov ebx, eax
add ebx, dword [esp + 4]
mov eax, edi
xor eax, ebp
and eax, dword [esp + 0x18]
xor eax, ebp
add ebx, eax
add ebx, dword [esp + esi*4 + 0x30]
add ebx, dword [esi*4 + 0x59dae0]
mov eax, dword [esp + 8]
call fcn.00490090
add eax, ebx
mov edx, dword [esp + 8]
or edx, dword [esp + 0xc]
and edx, dword [esp + 0x10]
mov ecx, dword [esp + 8]
and ecx, dword [esp + 0xc]
or edx, ecx
add eax, edx
mov dword [esp + 4], eax
add dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
call fcn.004900b0
mov ebx, eax
add ebx, ebp
mov eax, dword [esp + 0x18]
xor eax, edi
and eax, dword [esp + 0x14]
xor eax, edi
add ebx, eax
add ebx, dword [esp + esi*4 + 0x34]
add ebx, dword [esi*4 + 0x59dae4]
mov eax, dword [esp + 4]
call fcn.00490090
mov ebp, eax
add ebp, ebx
mov eax, dword [esp + 4]
or eax, dword [esp + 8]
and eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
and edx, dword [esp + 8]
or eax, edx
add ebp, eax
add dword [esp + 0x10], ebx
mov eax, dword [esp + 0x10]
call fcn.004900b0
mov ebx, eax
add ebx, edi
mov eax, dword [esp + 0x14]
xor eax, dword [esp + 0x18]
and eax, dword [esp + 0x10]
xor eax, dword [esp + 0x18]
add ebx, eax
add ebx, dword [esp + esi*4 + 0x38]
add ebx, dword [esi*4 + 0x59dae8]
mov eax, ebp
call fcn.00490090
mov edi, eax
add edi, ebx
mov eax, ebp
or eax, dword [esp + 4]
and eax, dword [esp + 8]
mov edx, ebp
and edx, dword [esp + 4]
or eax, edx
add edi, eax
add dword [esp + 0xc], ebx
add esi, 8
cmp esi, 0x3f
jle 0x4901c3
mov eax, dword [esp]
add dword [eax], edi
mov eax, dword [esp]
add dword [eax + 4], ebp
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 8], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
add dword [eax + 0x10], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
add dword [eax + 0x14], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x14]
add dword [eax + 0x18], edx
mov eax, dword [esp]
mov edx, dword [esp + 0x18]
add dword [eax + 0x1c], edx
add esp, 0x11c
pop ebp
pop edi
pop esi
pop ebx
ret