Function at 0x4e81c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14c
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x18], ecx
lea eax, [ecx + 0x88]
xor esi, esi
xor edx, edx
mov dh, byte [eax]
movzx edi, byte [eax + 2]
add esi, 4
add eax, 0x10
mov dl, byte [eax - 0xf]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 0xd]
shl edx, 8
or edx, edi
mov dword [esp + esi*4 + 0xc], edx
xor edx, edx
mov dh, byte [eax - 0xc]
movzx edi, byte [eax - 0xa]
mov dl, byte [eax - 0xb]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 9]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 6]
mov dword [esp + esi*4 + 0x10], edx
xor edx, edx
mov dh, byte [eax - 8]
mov dl, byte [eax - 7]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 5]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 2]
mov dword [esp + esi*4 + 0x14], edx
xor edx, edx
mov dh, byte [eax - 4]
mov dl, byte [eax - 3]
shl edx, 8
or edx, edi
movzx edi, byte [eax - 1]
shl edx, 8
or edx, edi
cmp esi, 0x10
mov dword [esp + esi*4 + 0x18], edx
jl 0x4e81d6
lea eax, [esp + 0x3c]
mov ebx, 0x10
mov edx, dword [eax - 0x20]
xor edx, dword [eax + 0x14]
mov esi, dword [eax - 0x18]
mov ebp, dword [eax - 0x1c]
xor ebp, dword [eax + 0x18]
mov edi, dword [eax - 0x14]
xor ebp, dword [eax + 4]
xor edx, esi
xor edx, dword [eax]
xor ebp, edi
rol edx, 1
rol ebp, 1
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0x1c]
xor ebp, dword [eax - 0x10]
mov dword [eax + 0x20], edx
xor ebp, dword [eax + 8]
add eax, 0x10
xor ebp, esi
mov esi, dword [eax - 0x1c]
xor esi, dword [eax - 4]
rol ebp, 1
xor esi, edx
xor esi, edi
rol esi, 1
sub ebx, 1
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], esi
jne 0x4e8265
mov edi, dword [ecx + 0xc]
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0x14]
mov esi, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov ebx, eax
mov ecx, edi
rol ecx, 5
mov ebp, edx
and ebp, eax
not ebx
and ebx, esi
or ebx, ebp
mov ebp, dword [esp + 0x10]
add ecx, ebx
mov ebx, dword [esp + 0x14]
add ecx, dword [esp + ebx*4 + 0x1c]
ror eax, 2
mov dword [esp + 0x10], esi
lea ecx, [ecx + ebp + 0x5a827999]
mov ebp, eax
and ebp, edi
mov esi, edi
not esi
and esi, edx
or esi, ebp
mov dword [esp + 0x14], ecx
rol ecx, 5
add ecx, esi
add ecx, dword [esp + ebx*4 + 0x20]
mov esi, dword [esp + 0x10]
lea ecx, [ecx + esi + 0x5a827999]
ror edi, 2
mov esi, eax
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
mov ebp, edi
and ebp, edx
mov eax, edx
not eax
and eax, esi
or eax, ebp
mov dword [esp + 0x14], ecx
rol ecx, 5
add ecx, eax
add ecx, dword [esp + ebx*4 + 0x24]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], esi
lea eax, [ecx + eax + 0x5a827999]
mov ecx, dword [esp + 0x14]
mov ebp, edi
ror edx, 2
mov dword [esp + 0x14], eax
rol eax, 5
mov esi, ecx
not esi
and esi, ebp
mov edi, edx
and edi, ecx
or esi, edi
add eax, esi
add eax, dword [esp + ebx*4 + 0x28]
mov esi, dword [esp + 0x10]
lea edi, [eax + esi + 0x5a827999]
mov eax, edx
mov edx, dword [esp + 0x14]
ror ecx, 2
mov dword [esp + 0x10], ebp
mov esi, edx
not esi
and esi, eax
mov dword [esp + 0x14], edi
rol edi, 5
mov ebp, ecx
and ebp, edx
or esi, ebp
add edi, esi
add edi, dword [esp + ebx*4 + 0x2c]
mov esi, dword [esp + 0x10]
ror edx, 2
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
add ebx, 5
lea edi, [edi + esi + 0x5a827999]
mov esi, ecx
mov dword [esp + 0x14], ebx
cmp ebx, 0x14
jl 0x4e82c8
mov ebx, 0x14
mov edi, edi
mov ebp, esi
xor ebp, edx
xor ebp, eax
mov ecx, edi
rol ecx, 5
add ecx, ebp
add ecx, dword [esp + ebx*4 + 0x1c]
mov ebp, dword [esp + 0x10]
lea ecx, [ecx + ebp + 0x6ed9eba1]
ror eax, 2
mov dword [esp + 0x14], ecx
rol ecx, 5
mov ebp, esi
mov esi, edx
xor esi, eax
xor esi, edi
add ecx, esi
add ecx, dword [esp + ebx*4 + 0x20]
ror edi, 2
lea ecx, [ecx + ebp + 0x6ed9eba1]
mov ebp, eax
xor eax, edi
mov esi, edx
mov edx, dword [esp + 0x14]
xor eax, edx
mov dword [esp + 0x14], ecx
rol ecx, 5
add ecx, eax
add ecx, dword [esp + ebx*4 + 0x24]
ror edx, 2
lea eax, [ecx + esi + 0x6ed9eba1]
mov esi, dword [esp + 0x14]
mov ecx, ebp
mov dword [esp + 0x14], eax
rol eax, 5
mov ebp, edi
xor ebp, edx
xor ebp, esi
add eax, ebp
add eax, dword [esp + ebx*4 + 0x28]
ror esi, 2
lea ecx, [eax + ecx + 0x6ed9eba1]
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x14], ecx
xor ebp, esi
rol ecx, 5
xor ebp, edx
add ecx, ebp
add ecx, dword [esp + ebx*4 + 0x2c]
add ebx, 5
ror edx, 2
cmp ebx, 0x28
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
lea edi, [ecx + edi + 0x6ed9eba1]
jl 0x4e83d0
mov dword [esp + 0x14], 0x28
mov ebx, edx
or ebx, eax
and ebx, esi
mov ebp, edx
and ebp, eax
or ebx, ebp
mov ebp, dword [esp + 0x14]
add ebx, dword [esp + ebp*4 + 0x1c]
mov ecx, edi
rol ecx, 5
add ecx, dword [esp + 0x10]
ror eax, 2
lea ecx, [ebx + ecx - 0x70e44324]
mov dword [esp + 0x10], esi
mov ebp, eax
or ebp, edi
and ebp, edx
mov esi, ecx
rol ecx, 5
add ecx, dword [esp + 0x10]
mov ebx, eax
and ebx, edi
or ebp, ebx
mov ebx, dword [esp + 0x14]
add ebp, dword [esp + ebx*4 + 0x20]
ror edi, 2
lea ecx, [ecx + ebp - 0x70e44324]
mov dword [esp + 0x10], edx
mov edx, esi
mov dword [esp + 0x14], ecx
rol ecx, 5
add ecx, dword [esp + 0x10]
mov esi, edi
or esi, edx
and esi, eax
mov ebp, edi
and ebp, edx
or esi, ebp
add esi, dword [esp + ebx*4 + 0x24]
ror edx, 2
lea ecx, [esi + ecx - 0x70e44324]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mov esi, edx
or esi, eax
and esi, edi
mov dword [esp + 0x14], ecx
rol ecx, 5
add ecx, dword [esp + 0x10]
mov ebp, edx
and ebp, eax
or esi, ebp
add esi, dword [esp + ebx*4 + 0x28]
ror eax, 2
lea ecx, [esi + ecx - 0x70e44324]
mov esi, eax
mov ebp, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], edi
or eax, edx
and eax, ebp
mov dword [esp + 0x14], ecx
mov edi, esi
and edi, edx
or eax, edi
add eax, dword [esp + ebx*4 + 0x2c]
rol ecx, 5
add ecx, dword [esp + 0x10]
add ebx, 5
lea edi, [eax + ecx - 0x70e44324]
mov eax, dword [esp + 0x14]
ror edx, 2
cmp ebx, 0x3c
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
jl 0x4e8493
mov ecx, 0x3c
mov dword [esp + 0x14], ecx
lea ecx, [ecx]
mov ebp, esi
xor ebp, edx
xor ebp, eax
add ebp, dword [esp + ecx*4 + 0x1c]
mov ecx, dword [esp + 0x14]
mov ebx, edi
rol ebx, 5
add ebx, dword [esp + 0x10]
ror eax, 2
lea ebx, [ebx + ebp - 0x359d3e2a]
mov dword [esp + 0x10], esi
mov esi, edx
xor esi, eax
xor esi, edi
add esi, dword [esp + ecx*4 + 0x20]
mov ebp, ebx
rol ebx, 5
add ebx, dword [esp + 0x10]
ror edi, 2
lea esi, [esi + ebx - 0x359d3e2a]
mov ebx, eax
xor eax, edi
mov dword [esp + 0x10], edx
mov edx, ebp
xor eax, edx
add eax, dword [esp + ecx*4 + 0x24]
mov ebp, esi
rol esi, 5
add esi, dword [esp + 0x10]
ror edx, 2
lea eax, [eax + esi - 0x359d3e2a]
mov esi, ebp
mov dword [esp + 0x10], ebx
mov ebx, edi
xor edi, edx
xor edi, esi
add edi, dword [esp + ecx*4 + 0x28]
mov ebp, eax
rol eax, 5
add eax, dword [esp + 0x10]
ror esi, 2
lea edi, [edi + eax - 0x359d3e2a]
mov eax, edx
mov edx, ebp
mov ebp, eax
xor ebp, esi
mov dword [esp + 0x10], ebx
mov ebx, edi
rol edi, 5
add edi, dword [esp + 0x10]
xor ebp, edx
add ebp, dword [esp + ecx*4 + 0x2c]
add ecx, 5
lea edi, [edi + ebp - 0x359d3e2a]
ror edx, 2
cmp ecx, 0x50
mov ebp, eax
mov dword [esp + 0x10], eax
mov eax, ebx
mov dword [esp + 0x14], ecx
jl 0x4e8590
mov ecx, dword [esp + 0x18]
mov ebx, dword [ecx + 0xc]
add ebx, edi
mov edi, dword [ecx + 0x10]
add edi, eax
mov eax, dword [ecx + 0x14]
add eax, edx
mov dword [ecx + 0x14], eax
mov eax, dword [ecx + 0x18]
add eax, esi
mov dword [ecx + 0x10], edi
pop edi
mov dword [ecx + 0x18], eax
mov eax, dword [ecx + 0x1c]
pop esi
add eax, ebp
pop ebp
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x1c], eax
pop ebx
add esp, 0x14c
ret