Function at 0x46eded
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x14c]
push 0x40
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x144]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
add ecx, 4
mov esi, eax
shr esi, 0x1f
add eax, eax
or esi, eax
dec edx
mov dword [ecx + 0x34], esi
jne 0x46ee10
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
and dword [ebp + 8], 0
mov dword [ebp - 4], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xc], esi
mov ebx, dword [ebp - 4]
mov edi, ecx
not edi
and edi, esi
mov esi, dword [ebp - 8]
and esi, ecx
or edi, esi
mov esi, dword [ebp - 4]
shl ebx, 5
shr esi, 0x1b
or esi, ebx
add edi, esi
mov esi, dword [ebp + 8]
add edi, dword [ebp + esi*4 - 0x14c]
mov esi, dword [ebp - 8]
mov ebx, ecx
shr ecx, 2
shl ebx, 0x1e
or ebx, ecx
mov ecx, dword [ebp - 4]
inc dword [ebp + 8]
lea edi, [edi + edx + 0x5a827999]
mov edx, dword [ebp - 0xc]
push 0x14
mov dword [ebp - 4], edi
pop edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
jl 0x46ee4b
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
shl ebx, 5
shr edi, 0x1b
or edi, ebx
mov ebx, esi
mov esi, dword [ebp - 8]
xor ebx, esi
xor ebx, ecx
add edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
mov ebx, ecx
shr ecx, 2
shl ebx, 0x1e
or ebx, ecx
mov ecx, dword [ebp - 4]
inc dword [ebp + 8]
lea edi, [edi + edx + 0x6ed9eba1]
mov edx, dword [ebp - 0xc]
push 0x28
mov dword [ebp - 4], edi
pop edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
jl 0x46eea3
mov dword [ebp + 8], edi
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
or edi, ecx
and edi, esi
mov esi, dword [ebp - 8]
and esi, ecx
or edi, esi
mov esi, dword [ebp - 4]
shl ebx, 5
shr esi, 0x1b
or esi, ebx
add edi, esi
mov esi, dword [ebp + 8]
add edi, dword [ebp + esi*4 - 0x14c]
mov esi, dword [ebp - 8]
mov ebx, ecx
shr ecx, 2
shl ebx, 0x1e
or ebx, ecx
mov ecx, dword [ebp - 4]
inc dword [ebp + 8]
lea edi, [edi + edx - 0x70e44324]
mov edx, dword [ebp - 0xc]
push 0x3c
mov dword [ebp - 4], edi
pop edi
cmp dword [ebp + 8], edi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], ebx
jl 0x46eef4
mov dword [ebp + 8], edi
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 4]
shr edi, 0x1b
shl ebx, 5
or edi, ebx
mov ebx, esi
mov esi, dword [ebp - 8]
xor ebx, esi
xor ebx, ecx
add edi, ebx
mov ebx, dword [ebp + 8]
add edi, dword [ebp + ebx*4 - 0x14c]
lea ebx, [edi + edx - 0x359d3e2a]
mov edx, dword [ebp - 0xc]
mov edi, ecx
shr ecx, 2
shl edi, 0x1e
or edi, ecx
inc dword [ebp + 8]
cmp dword [ebp + 8], 0x50
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], edi
mov dword [ebp - 4], ebx
jl 0x46ef4d
mov edi, dword [eax]
add edi, ebx
mov dword [eax], edi
mov edi, dword [eax + 4]
add edi, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 4], edi
mov edi, dword [ebp - 8]
add ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, esi
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x10], ecx
pop ebx
leave
ret