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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 2
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax + 0x18]
shl eax, 0x18
mov edx, dword [ebp - 8]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 0x19]
shl edx, 0x10
add eax, edx
mov edx, dword [ebp - 8]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 0x1a]
shl edx, 8
add eax, edx
mov edx, dword [ebp - 8]
shl edx, 2
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + edx + 0x1b]
add eax, edx
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x16c], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x10
jne 0x58bfa6
mov dword [ebp - 8], 0xf
mov eax, dword [ebp - 8]
cmp eax, 0x4f
jg 0x58c05d
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x178]
mov edx, dword [ebp - 8]
xor eax, dword [ebp + edx*4 - 0x18c]
mov edx, dword [ebp - 8]
xor eax, dword [ebp + edx*4 - 0x1a4]
mov edx, dword [ebp - 8]
xor eax, dword [ebp + edx*4 - 0x1ac]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, eax
mov edx, dword [ebp - 0x2c]
shr edx, 0x1f
or eax, edx
mov edx, dword [ebp - 8]
mov dword [ebp + edx*4 - 0x16c], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x50
jne 0x58c012
xor eax, eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x14
jge 0x58c085
mov dword [ebp - 0x24], 0x5a827999
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
xor edx, 0xffffffff
and edx, dword [ebp - 0x1c]
or eax, edx
mov dword [ebp - 0x28], eax
jmp 0x58c0db
cmp dword [ebp - 8], 0x28
jge 0x58c0a0
mov dword [ebp - 0x24], 0x6ed9eba1
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
jmp 0x58c0db
cmp dword [ebp - 8], 0x3c
jge 0x58c0c8
mov dword [ebp - 0x24], 0x8f1bbcdc
mov eax, dword [ebp - 0x14]
and eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x1c]
or eax, edx
mov edx, dword [ebp - 0x18]
and edx, dword [ebp - 0x1c]
or eax, edx
mov dword [ebp - 0x28], eax
jmp 0x58c0db
mov dword [ebp - 0x24], 0xca62c1d6
mov eax, dword [ebp - 0x14]
xor eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
shl eax, 5
mov edx, dword [ebp - 0x10]
shr edx, 0x1b
or eax, edx
add eax, dword [ebp - 0x28]
add eax, dword [ebp - 0x20]
mov edx, dword [ebp - 8]
add eax, dword [ebp + edx*4 - 0x16c]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x1e
mov edx, dword [ebp - 0x14]
shr edx, 2
or eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x50
jne 0x58c062
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
add dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
add dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
add dword [eax + 0x10], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
add dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x58], edx
mov esp, ebp
pop ebp
ret