Function at 0x418ea1
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
lea edi, [ebp - 0x14c]
pop ecx
rep movsd dword es:[edi], dword [esi]
push 0x40
pop ecx
mov eax, dword [ebp + ecx - 0x184]
xor eax, dword [ebp + ecx - 0x16c]
add ecx, 4
xor eax, dword [ebp + ecx - 0x15c]
xor eax, dword [ebp + ecx - 0x190]
mov edx, eax
add eax, eax
shr edx, 0x1f
or edx, eax
cmp ecx, 0x140
mov dword [ebp + ecx - 0x150], edx
jl 0x418ebe
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x14c]
mov dword [ebp - 4], edi
mov dword [ebp - 8], 0x14
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov dword [ebp + 0xc], ecx
mov ecx, dword [eax + 4]
mov dword [ebp + 8], edx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xc], esi
mov edi, dword [ebp + 8]
mov ebx, ecx
not ebx
and edi, ecx
and esi, ebx
mov ebx, dword [ebp + 0xc]
or edi, esi
mov esi, dword [ebp + 0xc]
add edx, edi
shl esi, 5
shr ebx, 0x1b
or esi, ebx
mov ebx, ecx
add esi, edx
mov edx, dword [ebp - 4]
add dword [ebp - 4], 4
mov edx, dword [edx]
shr ebx, 2
shl ecx, 0x1e
lea edi, [esi + edx + 0x5a827999]
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
or ebx, ecx
mov ecx, dword [ebp + 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
jne 0x418f1f
lea edi, [ebp - 0xfc]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shl edi, 5
shr ebx, 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 - 4]
add dword [ebp - 4], 4
add edi, dword [ebx]
mov ebx, ecx
shr ebx, 2
shl ecx, 0x1e
lea edi, [edi + edx + 0x6ed9eba1]
mov edx, dword [ebp - 0xc]
or ebx, ecx
mov ecx, dword [ebp + 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
jne 0x418f7f
lea edi, [ebp - 0xac]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], edi
mov ebx, dword [ebp + 8]
mov edi, esi
and edi, dword [ebp + 8]
and ebx, ecx
and esi, ecx
or edi, ebx
mov ebx, dword [ebp + 0xc]
or edi, esi
mov esi, dword [ebp + 0xc]
shl esi, 5
shr ebx, 0x1b
or esi, ebx
mov ebx, ecx
add edi, esi
mov esi, dword [ebp - 4]
add dword [ebp - 4], 4
add edi, dword [esi]
mov esi, dword [ebp + 8]
shr ebx, 2
shl ecx, 0x1e
lea edi, [edi + edx - 0x70e44324]
mov edx, dword [ebp - 0xc]
or ebx, ecx
mov ecx, dword [ebp + 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
jne 0x418fd6
lea edi, [ebp - 0x5c]
mov dword [ebp - 8], 0x14
mov dword [ebp - 4], edi
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shl edi, 5
shr ebx, 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 - 4]
add dword [ebp - 4], 4
add edi, dword [ebx]
mov ebx, ecx
shr ebx, 2
shl ecx, 0x1e
lea edi, [edi + edx - 0x359d3e2a]
mov edx, dword [ebp - 0xc]
or ebx, ecx
mov ecx, dword [ebp + 0xc]
dec dword [ebp - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0xc], edi
jne 0x419034
mov ebx, dword [eax]
add edi, ebx
mov dword [eax], edi
mov edi, dword [eax + 4]
add ecx, edi
mov edi, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add edi, ecx
mov ecx, dword [eax + 0xc]
add esi, ecx
mov ecx, dword [eax + 0x10]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
add edx, ecx
pop edi
pop esi
mov dword [eax + 0x10], edx
pop ebx
leave
ret