Function at 0x4f9ec0
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 0x4f9ed0
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 0x4f9f24
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 0x4f9f6d
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