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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], edx
mov dword [esp], eax
mov edx, dword [esp + 4]
mov edx, dword [edx + 0x18c]
mov ebx, dword [esp + 4]
mov ebx, dword [ebx + 0x190]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x194]
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x198]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x19c]
mov dword [esp + 0x10], eax
xor ecx, ecx
mov eax, dword [esp + 4]
add eax, 0x48
mov esi, ecx
add esi, esi
add esi, esi
mov edi, dword [esp]
movzx esi, byte [edi + esi]
shl esi, 0x18
mov edi, ecx
add edi, edi
add edi, edi
mov ebp, dword [esp]
movzx edi, byte [ebp + edi + 1]
shl edi, 0x10
xor esi, edi
mov edi, ecx
add edi, edi
add edi, edi
mov ebp, dword [esp]
movzx edi, byte [ebp + edi + 2]
shl edi, 8
xor esi, edi
mov edi, ecx
add edi, edi
add edi, edi
mov ebp, dword [esp]
movzx edi, byte [ebp + edi + 3]
xor esi, edi
mov dword [eax], esi
inc ecx
add eax, 4
cmp ecx, 0x10
jne 0x491fa1
mov ecx, 0x40
mov eax, dword [esp + 4]
add eax, 0x7c
mov esi, dword [eax]
xor esi, dword [eax - 0x14]
xor esi, dword [eax - 0x2c]
xor esi, dword [eax - 0x34]
mov edi, esi
add edi, edi
shr esi, 0x1f
xor edi, esi
mov dword [eax + 0xc], edi
add eax, 4
dec ecx
jne 0x491ffe
mov ecx, 0x14
mov eax, dword [esp + 4]
add eax, 0x48
mov esi, edx
shl esi, 5
mov edi, edx
shr edi, 0x1b
or esi, edi
add esi, dword [esp + 0x10]
add esi, dword [eax]
mov edi, dword [esp + 8]
and edi, ebx
mov ebp, ebx
not ebp
and ebp, dword [esp + 0xc]
or edi, ebp
add edi, 0x5a827999
add esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edi
mov edi, ebx
shl edi, 0x1e
shr ebx, 2
or edi, ebx
mov dword [esp + 8], edi
mov ebx, edx
mov edx, esi
add eax, 4
dec ecx
jne 0x492027
mov ecx, 0x14
mov eax, dword [esp + 4]
add eax, 0x98
mov esi, edx
shl esi, 5
mov edi, edx
shr edi, 0x1b
or esi, edi
add esi, dword [esp + 0x10]
add esi, dword [eax]
mov edi, dword [esp + 8]
xor edi, ebx
xor edi, dword [esp + 0xc]
add edi, 0x6ed9eba1
add esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edi
mov edi, ebx
shl edi, 0x1e
shr ebx, 2
or edi, ebx
mov dword [esp + 8], edi
mov ebx, edx
mov edx, esi
add eax, 4
dec ecx
jne 0x492087
mov ecx, 0x14
mov eax, dword [esp + 4]
add eax, 0xe8
mov esi, edx
shl esi, 5
mov edi, edx
shr edi, 0x1b
or esi, edi
add esi, dword [esp + 0x10]
add esi, dword [eax]
mov edi, dword [esp + 8]
and edi, ebx
mov ebp, dword [esp + 0xc]
and ebp, ebx
or edi, ebp
mov ebp, dword [esp + 8]
and ebp, dword [esp + 0xc]
or edi, ebp
add edi, 0x8f1bbcdc
add esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edi
mov edi, ebx
shl edi, 0x1e
shr ebx, 2
or edi, ebx
mov dword [esp + 8], edi
mov ebx, edx
mov edx, esi
add eax, 4
dec ecx
jne 0x4920e1
mov ecx, 0x14
mov eax, dword [esp + 4]
add eax, 0x138
mov esi, edx
shl esi, 5
mov edi, edx
shr edi, 0x1b
or esi, edi
add esi, dword [esp + 0x10]
add esi, dword [eax]
mov edi, dword [esp + 8]
xor edi, ebx
xor edi, dword [esp + 0xc]
add edi, 0xca62c1d6
add esi, edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 8]
mov dword [esp + 0xc], edi
mov edi, ebx
shl edi, 0x1e
shr ebx, 2
or edi, ebx
mov dword [esp + 8], edi
mov ebx, edx
mov edx, esi
add eax, 4
dec ecx
jne 0x492149
mov eax, dword [esp + 4]
add dword [eax + 0x18c], edx
mov eax, dword [esp + 4]
add dword [eax + 0x190], ebx
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add dword [eax + 0x194], edx
mov eax, dword [esp + 4]
mov edx, dword [esp + 0xc]
add dword [eax + 0x198], edx
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x10]
add dword [eax + 0x19c], edx
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret