Function at 0x4e5a9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa0
mov dword [esp], eax
xor ecx, ecx
lea eax, [esp + 0x10]
mov edx, ecx
add edx, edx
add edx, edx
mov ebx, dword [esp]
mov ebx, dword [ebx + 0x18]
movzx ebx, byte [ebx + edx]
shl ebx, 0x18
mov esi, dword [esp]
mov esi, dword [esi + 0x18]
movzx esi, byte [esi + edx + 1]
shl esi, 0x10
or ebx, esi
mov esi, dword [esp]
mov esi, dword [esi + 0x18]
movzx esi, byte [esi + edx + 2]
shl esi, 8
or ebx, esi
mov esi, dword [esp]
mov esi, dword [esi + 0x18]
movzx edx, byte [esi + edx + 3]
or ebx, edx
mov dword [eax], ebx
inc ecx
add eax, 4
cmp ecx, 0x10
jne 0x4e5aac
mov ecx, 4
lea eax, [esp + 0x44]
mov edx, dword [eax]
xor edx, dword [eax - 0x14]
xor edx, dword [eax - 0x2c]
xor edx, dword [eax - 0x34]
mov ebx, edx
add ebx, ebx
shr edx, 0x1f
or ebx, edx
mov dword [eax + 0xc], ebx
add eax, 4
dec ecx
jne 0x4e5b00
mov eax, dword [esp]
mov ebx, dword [eax + 4]
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov edx, dword [esp]
mov edx, dword [edx + 0xc]
mov dword [esp + 4], edx
mov edx, dword [esp]
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
mov edx, dword [esp]
mov edx, dword [edx + 0x14]
mov dword [esp + 0xc], edx
xor ecx, ecx
mov edx, ebx
shl edx, 5
mov esi, ebx
shr esi, 0x1b
add edx, esi
mov esi, dword [esp + 4]
xor esi, dword [esp + 8]
and esi, eax
xor esi, dword [esp + 8]
add edx, esi
add edx, dword [esp + ecx*4 + 0x10]
add dword [esp + 0xc], edx
add dword [esp + 0xc], 0x5a827999
mov edx, eax
shl edx, 0x1e
shr eax, 2
add edx, eax
mov eax, edx
mov edx, dword [esp + 0xc]
shl edx, 5
mov esi, dword [esp + 0xc]
shr esi, 0x1b
add edx, esi
mov esi, dword [esp + 4]
xor esi, eax
and esi, ebx
xor esi, dword [esp + 4]
add edx, esi
add edx, dword [esp + ecx*4 + 0x14]
add dword [esp + 8], edx
add dword [esp + 8], 0x5a827999
mov edx, ebx
shl edx, 0x1e
shr ebx, 2
add edx, ebx
mov ebx, edx
mov edx, dword [esp + 8]
shl edx, 5
mov esi, dword [esp + 8]
shr esi, 0x1b
add edx, esi
mov esi, eax
xor esi, ebx
and esi, dword [esp + 0xc]
xor esi, eax
add edx, esi
add edx, dword [esp + ecx*4 + 0x18]
add dword [esp + 4], edx
add dword [esp + 4], 0x5a827999
mov edx, dword [esp + 0xc]
shl edx, 0x1e
mov esi, dword [esp + 0xc]
shr esi, 2
add edx, esi
mov dword [esp + 0xc], edx
mov edx, dword [esp + 4]
shl edx, 5
mov esi, dword [esp + 4]
shr esi, 0x1b
add edx, esi
mov esi, dword [esp + 0xc]
xor esi, ebx
and esi, dword [esp + 8]
xor esi, ebx
add edx, esi
add edx, dword [esp + ecx*4 + 0x1c]
add eax, edx
add eax, 0x5a827999
mov edx, dword [esp + 8]
shl edx, 0x1e
mov esi, dword [esp + 8]
shr esi, 2
add edx, esi
mov dword [esp + 8], edx
mov edx, eax
shl edx, 5
mov esi, eax
shr esi, 0x1b
add edx, esi
mov esi, dword [esp + 8]
xor esi, dword [esp + 0xc]
and esi, dword [esp + 4]
xor esi, dword [esp + 0xc]
add edx, esi
add edx, dword [esp + ecx*4 + 0x20]
add ebx, edx
add ebx, 0x5a827999
mov edx, dword [esp + 4]
shl edx, 0x1e
mov esi, dword [esp + 4]
shr esi, 2
add edx, esi
mov dword [esp + 4], edx
add ecx, 5
cmp ecx, 0x14
jne 0x4e5b49
mov edx, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x1c], edx
mov ecx, 0x14
lea edx, [ecx + 0xd]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 8]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea edi, [ecx + 2]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
mov esi, ecx
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov edi, edx
add edi, edi
shr edx, 0x1f
or edi, edx
mov edx, edi
mov dword [esp + esi*4 + 0x10], edx
mov edi, ebx
shl edi, 5
mov ebp, ebx
shr ebp, 0x1b
add edi, ebp
mov ebp, dword [esp + 4]
xor ebp, eax
xor ebp, dword [esp + 8]
add edi, ebp
add edx, edi
add edx, 0x6ed9eba1
add dword [esp + 0xc], edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
add edx, eax
mov eax, edx
lea edx, [ecx + 0xe]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea edi, [ecx + 9]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 3]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 1]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
mov edi, edx
add edi, edi
shr edx, 0x1f
or edi, edx
mov edx, edi
lea edi, [ecx + 1]
and edi, 0xf
mov dword [esp + edi*4 + 0x10], edx
mov edi, dword [esp + 0xc]
shl edi, 5
mov ebp, dword [esp + 0xc]
shr ebp, 0x1b
add edi, ebp
mov ebp, eax
xor ebp, ebx
xor ebp, dword [esp + 4]
add edi, ebp
add edx, edi
add edx, 0x6ed9eba1
add dword [esp + 8], edx
mov edx, ebx
shl edx, 0x1e
shr ebx, 2
add edx, ebx
mov ebx, edx
lea edx, [ecx + 0xf]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea edi, [ecx + 0xa]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 4]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 2]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
mov edi, edx
add edi, edi
shr edx, 0x1f
or edi, edx
mov edx, edi
lea edi, [ecx + 2]
and edi, 0xf
mov dword [esp + edi*4 + 0x10], edx
mov edi, dword [esp + 8]
shl edi, 5
mov ebp, dword [esp + 8]
shr ebp, 0x1b
add edi, ebp
mov ebp, dword [esp + 0xc]
xor ebp, ebx
xor ebp, eax
add edi, ebp
add edx, edi
add edx, 0x6ed9eba1
add dword [esp + 4], edx
mov edx, dword [esp + 0xc]
shl edx, 0x1e
mov edi, dword [esp + 0xc]
shr edi, 2
add edx, edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 0xb]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 5]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 3]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 3]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, dword [esp + 4]
shl esi, 5
mov edi, dword [esp + 4]
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 8]
xor edi, dword [esp + 0xc]
xor edi, ebx
add esi, edi
add edx, esi
add edx, 0x6ed9eba1
add eax, edx
mov edx, dword [esp + 8]
shl edx, 0x1e
mov esi, dword [esp + 8]
shr esi, 2
add edx, esi
mov dword [esp + 8], edx
lea edx, [ecx + 1]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 0xc]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 6]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 4]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 4]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, eax
shl esi, 5
mov edi, eax
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 4]
xor edi, dword [esp + 8]
xor edi, dword [esp + 0xc]
add esi, edi
add edx, esi
add edx, 0x6ed9eba1
add ebx, edx
mov edx, dword [esp + 4]
shl edx, 0x1e
mov esi, dword [esp + 4]
shr esi, 2
add edx, esi
mov dword [esp + 4], edx
add ecx, 5
cmp ecx, 0x28
jne 0x4e5ca7
mov ecx, 0x28
lea edx, [ecx + 0xd]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 8]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 2]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, ecx
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
mov esi, ecx
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, ebx
shl esi, 5
mov edi, ebx
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 4]
and edi, eax
mov ebp, dword [esp + 4]
or ebp, eax
and ebp, dword [esp + 8]
or edi, ebp
add esi, edi
add edx, esi
add dword [esp + 0xc], edx
sub dword [esp + 0xc], 0x70e44324
mov edx, eax
shl edx, 0x1e
shr eax, 2
add edx, eax
mov eax, edx
lea edx, [ecx + 0xe]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 9]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 3]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 1]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 1]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, dword [esp + 0xc]
shl esi, 5
mov edi, dword [esp + 0xc]
shr edi, 0x1b
add esi, edi
mov edi, eax
and edi, ebx
mov ebp, eax
or ebp, ebx
and ebp, dword [esp + 4]
or edi, ebp
add esi, edi
add edx, esi
add dword [esp + 8], edx
sub dword [esp + 8], 0x70e44324
mov edx, ebx
shl edx, 0x1e
shr ebx, 2
add edx, ebx
mov ebx, edx
lea edx, [ecx + 0xf]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 0xa]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 4]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 2]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 2]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, dword [esp + 8]
shl esi, 5
mov edi, dword [esp + 8]
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 0xc]
and edi, ebx
mov ebp, dword [esp + 0xc]
or ebp, ebx
and ebp, eax
or edi, ebp
add esi, edi
add edx, esi
add dword [esp + 4], edx
sub dword [esp + 4], 0x70e44324
mov edx, dword [esp + 0xc]
shl edx, 0x1e
mov esi, dword [esp + 0xc]
shr esi, 2
add edx, esi
mov dword [esp + 0xc], edx
mov edx, ecx
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 0xb]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 5]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 3]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 3]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, dword [esp + 4]
shl esi, 5
mov edi, dword [esp + 4]
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 8]
and edi, dword [esp + 0xc]
mov ebp, dword [esp + 8]
or ebp, dword [esp + 0xc]
and ebp, ebx
or edi, ebp
add esi, edi
add edx, esi
add eax, edx
sub eax, 0x70e44324
mov edx, dword [esp + 8]
shl edx, 0x1e
mov esi, dword [esp + 8]
shr esi, 2
add edx, esi
mov dword [esp + 8], edx
lea edx, [ecx + 1]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 0xc]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 6]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 4]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 4]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, eax
shl esi, 5
mov edi, eax
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 4]
and edi, dword [esp + 8]
mov ebp, dword [esp + 4]
or ebp, dword [esp + 8]
and ebp, dword [esp + 0xc]
or edi, ebp
add esi, edi
add edx, esi
add ebx, edx
sub ebx, 0x70e44324
mov edx, dword [esp + 4]
shl edx, 0x1e
mov esi, dword [esp + 4]
shr esi, 2
add edx, esi
mov dword [esp + 4], edx
add ecx, 5
cmp ecx, 0x3c
jne 0x4e5eea
lea edx, [ecx + 0xd]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 8]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea edi, [ecx + 2]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
mov esi, ecx
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov edi, edx
add edi, edi
shr edx, 0x1f
or edi, edx
mov edx, edi
mov dword [esp + esi*4 + 0x10], edx
mov edi, ebx
shl edi, 5
mov ebp, ebx
shr ebp, 0x1b
add edi, ebp
mov ebp, dword [esp + 4]
xor ebp, eax
xor ebp, dword [esp + 8]
add edi, ebp
add edx, edi
sub edx, 0x359d3e2a
add dword [esp + 0xc], edx
mov edx, eax
shl edx, 0x1e
shr eax, 2
add edx, eax
mov eax, edx
lea edx, [ecx + 0xe]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea edi, [ecx + 9]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 3]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 1]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
mov edi, edx
add edi, edi
shr edx, 0x1f
or edi, edx
mov edx, edi
lea edi, [ecx + 1]
and edi, 0xf
mov dword [esp + edi*4 + 0x10], edx
mov edi, dword [esp + 0xc]
shl edi, 5
mov ebp, dword [esp + 0xc]
shr ebp, 0x1b
add edi, ebp
mov ebp, eax
xor ebp, ebx
xor ebp, dword [esp + 4]
add edi, ebp
add edx, edi
sub edx, 0x359d3e2a
add dword [esp + 8], edx
mov edx, ebx
shl edx, 0x1e
shr ebx, 2
add edx, ebx
mov ebx, edx
lea edx, [ecx + 0xf]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea edi, [ecx + 0xa]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 4]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
lea edi, [ecx + 2]
and edi, 0xf
xor edx, dword [esp + edi*4 + 0x10]
mov edi, edx
add edi, edi
shr edx, 0x1f
or edi, edx
mov edx, edi
lea edi, [ecx + 2]
and edi, 0xf
mov dword [esp + edi*4 + 0x10], edx
mov edi, dword [esp + 8]
shl edi, 5
mov ebp, dword [esp + 8]
shr ebp, 0x1b
add edi, ebp
mov ebp, dword [esp + 0xc]
xor ebp, ebx
xor ebp, eax
add edi, ebp
add edx, edi
sub edx, 0x359d3e2a
add dword [esp + 4], edx
mov edx, dword [esp + 0xc]
shl edx, 0x1e
mov edi, dword [esp + 0xc]
shr edi, 2
add edx, edi
mov dword [esp + 0xc], edx
mov edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 0xb]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 5]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 3]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 3]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, dword [esp + 4]
shl esi, 5
mov edi, dword [esp + 4]
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 8]
xor edi, dword [esp + 0xc]
xor edi, ebx
add esi, edi
add edx, esi
sub edx, 0x359d3e2a
add eax, edx
mov edx, dword [esp + 8]
shl edx, 0x1e
mov esi, dword [esp + 8]
shr esi, 2
add edx, esi
mov dword [esp + 8], edx
lea edx, [ecx + 1]
and edx, 0xf
mov edx, dword [esp + edx*4 + 0x10]
lea esi, [ecx + 0xc]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 6]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
lea esi, [ecx + 4]
and esi, 0xf
xor edx, dword [esp + esi*4 + 0x10]
mov esi, edx
add esi, esi
shr edx, 0x1f
or esi, edx
mov edx, esi
lea esi, [ecx + 4]
and esi, 0xf
mov dword [esp + esi*4 + 0x10], edx
mov esi, eax
shl esi, 5
mov edi, eax
shr edi, 0x1b
add esi, edi
mov edi, dword [esp + 4]
xor edi, dword [esp + 8]
xor edi, dword [esp + 0xc]
add esi, edi
add edx, esi
sub edx, 0x359d3e2a
add ebx, edx
mov edx, dword [esp + 4]
shl edx, 0x1e
mov esi, dword [esp + 4]
shr esi, 2
add edx, esi
mov dword [esp + 4], edx
add ecx, 5
cmp ecx, 0x50
jne 0x4e6161
mov edx, dword [esp]
add dword [edx + 4], ebx
mov edx, dword [esp]
add dword [edx + 8], eax
mov eax, dword [esp]
mov edx, dword [esp + 4]
add dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [esp + 8]
add dword [eax + 0x10], edx
mov eax, dword [esp]
mov edx, dword [esp + 0xc]
add dword [eax + 0x14], edx
add esp, 0x60
pop ebp
pop edi
pop esi
pop ebx
ret