Function at 0x41eca0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x148
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x15c]
xor ecx, ecx
lea eax, [edi + 0x21]
movzx edx, byte [eax - 1]
movzx esi, byte [eax]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 1]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 2]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 4]
mov dword [esp + ecx*4 + 0x18], edx
movzx edx, byte [eax + 3]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
mov dword [esp + ecx*4 + 0x1c], edx
movzx edx, byte [eax + 7]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xc]
mov dword [esp + ecx*4 + 0x20], edx
movzx edx, byte [eax + 0xb]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xe]
shl edx, 8
or edx, esi
mov dword [esp + ecx*4 + 0x24], edx
add ecx, 4
add eax, 0x10
cmp ecx, 0x10
jl 0x41ecb6
lea eax, [esp + 0x38]
mov ebx, 0x10
lea esp, [esp]
mov ecx, dword [eax - 0x20]
xor ecx, dword [eax + 0x14]
mov ebp, dword [eax - 0x1c]
xor ebp, dword [eax + 0x18]
xor ecx, dword [eax]
xor ebp, dword [eax + 4]
mov edx, dword [eax - 0x18]
mov esi, dword [eax - 0x14]
xor ecx, edx
xor ebp, esi
rol ecx, 1
rol ebp, 1
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0x1c]
xor ebp, dword [eax - 0x10]
mov dword [eax + 0x20], ecx
xor ebp, dword [eax + 8]
add eax, 0x10
xor ebp, edx
mov edx, dword [eax - 0x1c]
xor edx, dword [eax - 4]
rol ebp, 1
xor edx, ecx
xor edx, esi
rol edx, 1
sub ebx, 1
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], edx
jne 0x41ed60
mov esi, dword [edi]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 0xc]
mov edi, dword [edi + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov ebx, eax
mov edi, esi
rol edi, 5
mov ebp, ecx
and ebp, eax
not ebx
and ebx, edx
or ebx, ebp
mov ebp, dword [esp + 0x10]
add edi, ebx
mov ebx, dword [esp + 0x14]
add edi, dword [esp + ebx*4 + 0x18]
ror eax, 2
lea edi, [edi + ebp + 0x5a827999]
mov ebp, eax
and ebp, esi
mov dword [esp + 0x10], edx
mov edx, esi
not edx
and edx, ecx
or edx, ebp
mov dword [esp + 0x14], edi
rol edi, 5
add edi, edx
add edi, dword [esp + ebx*4 + 0x1c]
mov edx, dword [esp + 0x10]
ror esi, 2
lea edx, [edi + edx + 0x5a827999]
mov edi, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov ebp, esi
and ebp, ecx
mov eax, ecx
not eax
and eax, edi
or eax, ebp
mov dword [esp + 0x14], edx
rol edx, 5
add edx, eax
add edx, dword [esp + ebx*4 + 0x20]
mov eax, dword [esp + 0x10]
lea eax, [edx + eax + 0x5a827999]
mov edx, dword [esp + 0x14]
mov ebp, esi
ror ecx, 2
mov dword [esp + 0x14], eax
rol eax, 5
mov dword [esp + 0x10], edi
mov esi, edx
not esi
and esi, ebp
mov edi, ecx
and edi, edx
or esi, edi
add eax, esi
add eax, dword [esp + ebx*4 + 0x24]
mov esi, dword [esp + 0x10]
lea esi, [eax + esi + 0x5a827999]
mov edi, ecx
mov ecx, dword [esp + 0x14]
ror edx, 2
mov dword [esp + 0x10], ebp
mov eax, ecx
not eax
mov dword [esp + 0x14], esi
and eax, edi
rol esi, 5
mov ebp, edx
and ebp, ecx
or eax, ebp
add esi, eax
add esi, dword [esp + ebx*4 + 0x28]
mov eax, dword [esp + 0x10]
add ebx, 5
lea esi, [esi + eax + 0x5a827999]
mov eax, dword [esp + 0x14]
ror ecx, 2
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
cmp ebx, 0x14
jl 0x41edc2
mov ebx, 0x14
mov edi, esi
rol edi, 5
mov ebp, edx
xor ebp, ecx
xor ebp, eax
add edi, ebp
add edi, dword [esp + ebx*4 + 0x18]
mov ebp, dword [esp + 0x10]
ror eax, 2
lea edi, [edi + ebp + 0x6ed9eba1]
mov ebp, ecx
xor ebp, eax
xor ebp, esi
mov dword [esp + 0x14], edi
rol edi, 5
add edi, ebp
add edi, dword [esp + ebx*4 + 0x1c]
ror esi, 2
lea edx, [edi + edx + 0x6ed9eba1]
mov edi, eax
xor eax, esi
mov ebp, ecx
mov ecx, dword [esp + 0x14]
xor eax, ecx
mov dword [esp + 0x14], edx
rol edx, 5
add edx, eax
add edx, dword [esp + ebx*4 + 0x20]
ror ecx, 2
lea eax, [edx + ebp + 0x6ed9eba1]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x14], eax
rol eax, 5
mov ebp, edi
mov edi, esi
xor esi, ecx
xor esi, edx
add eax, esi
add eax, dword [esp + ebx*4 + 0x24]
ror edx, 2
lea esi, [eax + ebp + 0x6ed9eba1]
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], esi
mov ebp, eax
rol esi, 5
xor ebp, edx
xor ebp, ecx
add esi, ebp
add esi, dword [esp + ebx*4 + 0x28]
add ebx, 5
ror ecx, 2
cmp ebx, 0x28
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea esi, [esi + edi + 0x6ed9eba1]
jl 0x41eec6
mov dword [esp + 0x14], 0x28
mov edi, esi
rol edi, 5
add edi, dword [esp + 0x10]
mov ebx, ecx
or ebx, eax
and ebx, edx
mov ebp, ecx
and ebp, eax
or ebx, ebp
mov ebp, dword [esp + 0x14]
add ebx, dword [esp + ebp*4 + 0x18]
ror eax, 2
mov dword [esp + 0x10], edx
lea edi, [ebx + edi - 0x70e44324]
mov edx, eax
or edx, esi
and edx, ecx
mov ebp, edi
rol edi, 5
add edi, dword [esp + 0x10]
mov ebx, eax
and ebx, esi
or edx, ebx
mov ebx, dword [esp + 0x14]
add edx, dword [esp + ebx*4 + 0x1c]
ror esi, 2
lea edx, [edx + edi - 0x70e44324]
mov edi, esi
mov dword [esp + 0x10], ecx
mov ecx, ebp
or edi, ecx
and edi, eax
mov ebp, esi
and ebp, ecx
or edi, ebp
add edi, dword [esp + ebx*4 + 0x20]
mov dword [esp + 0x14], edx
rol edx, 5
add edx, dword [esp + 0x10]
ror ecx, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea edx, [edi + edx - 0x70e44324]
mov edi, esi
mov esi, ecx
or esi, eax
and esi, edi
mov ebp, ecx
and ebp, eax
or esi, ebp
add esi, dword [esp + ebx*4 + 0x24]
mov dword [esp + 0x14], edx
rol edx, 5
add edx, dword [esp + 0x10]
ror eax, 2
lea esi, [esi + edx - 0x70e44324]
mov edx, eax
mov ebp, ecx
mov ecx, dword [esp + 0x14]
or eax, ecx
mov dword [esp + 0x10], edi
and eax, ebp
mov dword [esp + 0x14], esi
mov edi, edx
and edi, ecx
rol esi, 5
add esi, dword [esp + 0x10]
or eax, edi
add eax, dword [esp + ebx*4 + 0x28]
add ebx, 5
lea esi, [eax + esi - 0x70e44324]
mov eax, dword [esp + 0x14]
ror ecx, 2
cmp ebx, 0x3c
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
jl 0x41ef87
mov edi, 0x3c
mov dword [esp + 0x14], edi
mov ebp, edx
xor ebp, ecx
xor ebp, eax
add ebp, dword [esp + edi*4 + 0x18]
mov edi, dword [esp + 0x14]
mov ebx, esi
rol ebx, 5
add ebx, dword [esp + 0x10]
ror eax, 2
lea ebx, [ebx + ebp - 0x359d3e2a]
mov dword [esp + 0x10], edx
mov edx, ecx
xor edx, eax
xor edx, esi
add edx, dword [esp + edi*4 + 0x1c]
mov ebp, ebx
rol ebx, 5
add ebx, dword [esp + 0x10]
ror esi, 2
lea edx, [edx + ebx - 0x359d3e2a]
mov ebx, eax
xor eax, esi
mov dword [esp + 0x10], ecx
mov ecx, ebp
xor eax, ecx
add eax, dword [esp + edi*4 + 0x20]
mov ebp, edx
rol edx, 5
add edx, dword [esp + 0x10]
ror ecx, 2
lea eax, [eax + edx - 0x359d3e2a]
mov edx, ebp
mov dword [esp + 0x10], ebx
mov ebx, esi
xor esi, ecx
xor esi, edx
add esi, dword [esp + edi*4 + 0x24]
mov ebp, eax
rol eax, 5
add eax, dword [esp + 0x10]
ror edx, 2
lea esi, [esi + eax - 0x359d3e2a]
mov eax, ecx
mov ecx, ebp
mov ebp, eax
xor ebp, edx
mov dword [esp + 0x10], ebx
mov ebx, esi
rol esi, 5
add esi, dword [esp + 0x10]
xor ebp, ecx
add ebp, dword [esp + edi*4 + 0x28]
add edi, 5
lea esi, [esi + ebp - 0x359d3e2a]
ror ecx, 2
cmp edi, 0x50
mov ebp, eax
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x14], edi
jl 0x41f083
mov edi, dword [esp + 0x15c]
mov ebx, dword [edi]
add ebx, esi
mov esi, dword [edi + 4]
add esi, eax
mov eax, dword [edi + 8]
add eax, ecx
mov dword [edi + 8], eax
mov eax, dword [edi + 0xc]
add eax, edx
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
add eax, ebp
mov dword [edi], ebx
mov dword [edi + 4], esi
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x148
ret