Function at 0x4bf580
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov dword [esp + 8], ecx
mov dword [esp], eax
nop
mov ecx, 0x10
mov eax, edx
mov ebx, dword [esp + 8]
mov esi, dword [eax]
mov edi, esi
shl edi, 0x18
mov ebp, esi
and ebp, 0xff00
shl ebp, 8
or edi, ebp
mov ebp, esi
and ebp, 0xff0000
shr ebp, 8
or edi, ebp
shr esi, 0x18
or edi, esi
mov dword [ebx], edi
add ebx, 4
add eax, 4
dec ecx
jne 0x4bf59a
mov ecx, 0x40
mov edx, dword [esp + 8]
add edx, 0x34
mov esi, dword [edx]
xor esi, dword [edx - 0x14]
xor esi, dword [edx - 0x2c]
xor esi, dword [edx - 0x34]
mov eax, esi
add eax, eax
shr esi, 0x1f
or eax, esi
mov dword [edx + 0xc], eax
add edx, 4
dec ecx
jne 0x4bf5d7
mov ebx, dword [esp]
mov ebx, dword [ebx]
mov edx, dword [esp]
mov edx, dword [edx + 4]
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, 0x14
mov esi, dword [esp + 8]
mov dword [esp + 0x14], esi
mov esi, ebx
shl esi, 5
mov edi, ebx
shr edi, 0x1b
or esi, edi
mov edi, dword [esp + 0xc]
xor edi, eax
and edi, edx
xor edi, eax
add esi, edi
add esi, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
add esi, dword [edi]
add esi, 0x5a827999
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov edi, edx
shl edi, 0x1e
shr edx, 2
or edi, edx
mov dword [esp + 0xc], edi
mov edx, ebx
mov ebx, esi
add dword [esp + 0x14], 4
dec ecx
jne 0x4bf626
mov ecx, 0x14
mov esi, dword [esp + 8]
add esi, 0x50
mov dword [esp + 0x18], esi
mov esi, ebx
shl esi, 5
mov edi, ebx
shr edi, 0x1b
or esi, edi
mov edi, dword [esp + 0xc]
xor edi, edx
xor edi, eax
add esi, edi
add esi, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
add esi, dword [edi]
add esi, 0x6ed9eba1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov edi, edx
shl edi, 0x1e
shr edx, 2
or edi, edx
mov dword [esp + 0xc], edi
mov edx, ebx
mov ebx, esi
add dword [esp + 0x18], 4
dec ecx
jne 0x4bf680
mov ecx, 0x14
mov esi, dword [esp + 8]
add esi, 0xa0
mov dword [esp + 0x1c], esi
mov esi, ebx
shl esi, 5
mov edi, ebx
shr edi, 0x1b
or esi, edi
mov edi, dword [esp + 0xc]
and edi, edx
mov ebp, eax
and ebp, edx
or edi, ebp
mov ebp, dword [esp + 0xc]
and ebp, eax
or edi, ebp
add esi, edi
add esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
add esi, dword [edi]
add esi, 0x8f1bbcdc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov edi, edx
shl edi, 0x1e
shr edx, 2
or edi, edx
mov dword [esp + 0xc], edi
mov edx, ebx
mov ebx, esi
add dword [esp + 0x1c], 4
dec ecx
jne 0x4bf6db
mov ecx, 0x14
mov esi, dword [esp + 8]
add esi, 0xf0
mov dword [esp + 0x20], esi
mov esi, ebx
shl esi, 5
mov edi, ebx
shr edi, 0x1b
or esi, edi
mov edi, dword [esp + 0xc]
xor edi, edx
xor edi, eax
add esi, edi
add esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
add esi, dword [edi]
add esi, 0xca62c1d6
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
mov edi, edx
shl edi, 0x1e
shr edx, 2
or edi, edx
mov dword [esp + 0xc], edi
mov edx, ebx
mov ebx, esi
add dword [esp + 0x20], 4
dec ecx
jne 0x4bf742
mov ecx, dword [esp]
add dword [ecx], ebx
mov ecx, dword [esp]
add dword [ecx + 4], edx
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
add dword [edx + 8], ecx
mov edx, dword [esp]
add dword [edx + 0xc], eax
mov eax, dword [esp]
mov edx, dword [esp + 0x10]
add dword [eax + 0x10], edx
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret