Function at 0x4a50d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x154
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov ecx, 0x10
lea esi, [ebx + 0x1c]
lea edi, [esp + 0x24]
mov dword [esp + 0x20], ebx
mov eax, 0x40
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + eax + 0x18]
mov ebp, dword [esp + eax + 4]
mov edi, dword [esp + eax - 0x14]
mov esi, dword [esp + eax - 0x1c]
xor ecx, ebp
add eax, 4
xor ecx, edi
xor ecx, esi
cmp eax, 0x140
mov dword [esp + eax + 0x20], ecx
jl 0x4a50f3
mov edi, dword [ebx]
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0x14
mov ebx, eax
mov ecx, esi
not ebx
and ecx, eax
and ebx, edx
or ecx, ebx
mov ebx, edi
mov ebp, edi
shl ebx, 5
sar ebp, 0x1b
or ebx, ebp
mov ebp, dword [esp + 0x18]
add ebp, ecx
add ebx, ebp
mov ebp, dword [esp + 0x14]
mov ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x10]
lea ecx, [ebx + ecx + 0x5a827999]
mov ebx, edx
mov edx, esi
mov esi, eax
sar esi, 2
shl eax, 0x1e
or esi, eax
dec ebp
mov eax, edi
mov dword [esp + 0x18], ebx
mov edi, ecx
mov dword [esp + 0x10], ebp
jne 0x4a5139
lea ebp, [esp + 0x74]
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x10], ebp
mov ebp, ecx
shl ebp, 5
sar ecx, 0x1b
or ebp, ecx
mov ecx, edx
xor ecx, esi
add ebx, ebp
mov ebp, dword [esp + 0x10]
xor ecx, eax
add ecx, ebx
mov ebx, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [ecx + ebx + 0x6ed9eba1]
mov ebx, edx
mov edx, esi
mov esi, eax
sar esi, 2
shl eax, 0x1e
or esi, eax
dec ebp
mov eax, edi
mov edi, ecx
mov dword [esp + 0x14], ebp
jne 0x4a519f
mov dword [esp + 0x18], ebx
lea ebx, [esp + 0xc4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x14
mov ebx, edx
mov ebp, esi
and ebx, esi
and ebp, eax
or ebx, ebp
mov ebp, edx
and ebp, eax
or ebx, ebp
mov dword [esp + 0x1c], ebx
mov ebx, ecx
mov ebp, dword [esp + 0x1c]
shl ebx, 5
sar ecx, 0x1b
or ebx, ecx
mov ecx, dword [esp + 0x18]
add ecx, ebp
mov ebp, dword [esp + 0x10]
add ebx, ecx
mov ecx, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [ebx + ecx - 0x70e44324]
mov ebx, edx
mov edx, esi
mov esi, eax
sar esi, 2
shl eax, 0x1e
or esi, eax
dec ebp
mov eax, edi
mov dword [esp + 0x18], ebx
mov edi, ecx
mov dword [esp + 0x14], ebp
jne 0x4a51fc
lea ebp, [esp + 0x114]
mov dword [esp + 0x14], 0x14
mov dword [esp + 0x10], ebp
mov ebp, ecx
shl ebp, 5
sar ecx, 0x1b
or ebp, ecx
mov ecx, edx
xor ecx, esi
add ebx, ebp
mov ebp, dword [esp + 0x10]
xor ecx, eax
add ecx, ebx
mov ebx, dword [ebp]
add ebp, 4
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x14]
lea ecx, [ecx + ebx - 0x359d3e2a]
mov ebx, edx
mov edx, esi
mov esi, eax
sar esi, 2
shl eax, 0x1e
or esi, eax
dec ebp
mov eax, edi
mov edi, ecx
mov dword [esp + 0x14], ebp
jne 0x4a526f
mov edi, dword [esp + 0x20]
mov ebp, dword [edi]
add ecx, ebp
mov dword [edi], ecx
mov ecx, dword [edi + 4]
add eax, ecx
mov ecx, 0x50
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
add esi, eax
mov eax, dword [edi + 0xc]
add edx, eax
mov eax, dword [edi + 0x10]
add ebx, eax
mov dword [edi + 8], esi
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], ebx
xor eax, eax
lea edi, [esp + 0x24]
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x154
ret