Function at 0x405f30
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov dword [ebp - 0x160], 0x5a827999
mov dword [ebp - 0x15c], 0x6ed9eba1
mov dword [ebp - 0x158], 0x8f1bbcdc
mov dword [ebp - 0x154], 0xca62c1d6
mov dword [ebp - 0x170], 0
jmp 0x405f7c
mov eax, dword [ebp - 0x170]
add eax, 1
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0x10
jge 0x40602a
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx*4 + 0x1e]
shl eax, 0x18
mov ecx, dword [ebp - 0x170]
mov dword [ebp + ecx*4 - 0x148], eax
mov edx, dword [ebp - 0x170]
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx*4 + 0x1f]
shl ecx, 0x10
mov edx, dword [ebp - 0x170]
or ecx, dword [ebp + edx*4 - 0x148]
mov eax, dword [ebp - 0x170]
mov dword [ebp + eax*4 - 0x148], ecx
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx*4 + 0x20]
shl eax, 8
mov ecx, dword [ebp - 0x170]
or eax, dword [ebp + ecx*4 - 0x148]
mov edx, dword [ebp - 0x170]
mov dword [ebp + edx*4 - 0x148], eax
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax*4 + 0x21]
mov eax, dword [ebp - 0x170]
or edx, dword [ebp + eax*4 - 0x148]
mov ecx, dword [ebp - 0x170]
mov dword [ebp + ecx*4 - 0x148], edx
jmp 0x405f6d
mov dword [ebp - 0x170], 0x10
jmp 0x406045
mov edx, dword [ebp - 0x170]
add edx, 1
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x170], 0x50
jge 0x4060d3
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x170]
mov edx, dword [ebp + eax*4 - 0x154]
xor edx, dword [ebp + ecx*4 - 0x168]
mov eax, dword [ebp - 0x170]
xor edx, dword [ebp + eax*4 - 0x180]
mov ecx, dword [ebp - 0x170]
xor edx, dword [ebp + ecx*4 - 0x188]
shl edx, 1
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x170]
mov eax, dword [ebp + eax*4 - 0x154]
xor eax, dword [ebp + ecx*4 - 0x168]
mov ecx, dword [ebp - 0x170]
xor eax, dword [ebp + ecx*4 - 0x180]
mov ecx, dword [ebp - 0x170]
xor eax, dword [ebp + ecx*4 - 0x188]
shr eax, 0x1f
or edx, eax
mov eax, dword [ebp - 0x170]
mov dword [ebp + eax*4 - 0x148], edx
jmp 0x406036
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x168], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x170], 0
jmp 0x406126
mov edx, dword [ebp - 0x170]
add edx, 1
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x170], 0x14
jge 0x4061cd
mov eax, dword [ebp - 0x168]
shl eax, 5
mov ecx, dword [ebp - 0x168]
shr ecx, 0x1b
or eax, ecx
mov edx, dword [ebp - 0x150]
and edx, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x150]
not ecx
and ecx, dword [ebp - 0x16c]
or edx, ecx
add eax, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0x170]
add edx, dword [ebp + eax*4 - 0x148]
add edx, dword [ebp - 0x160]
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x150]
shl eax, 0x1e
mov ecx, dword [ebp - 0x150]
shr ecx, 2
or eax, ecx
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x168], eax
jmp 0x406117
mov dword [ebp - 0x170], 0x14
jmp 0x4061e8
mov ecx, dword [ebp - 0x170]
add ecx, 1
mov dword [ebp - 0x170], ecx
cmp dword [ebp - 0x170], 0x28
jge 0x406285
mov edx, dword [ebp - 0x168]
shl edx, 5
mov eax, dword [ebp - 0x168]
shr eax, 0x1b
or edx, eax
mov ecx, dword [ebp - 0x150]
xor ecx, dword [ebp - 0x164]
xor ecx, dword [ebp - 0x16c]
add edx, dword [ebp - 4]
add ecx, edx
mov edx, dword [ebp - 0x170]
add ecx, dword [ebp + edx*4 - 0x148]
add ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x14c], ecx
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x164]
mov dword [ebp - 0x16c], ecx
mov edx, dword [ebp - 0x150]
shl edx, 0x1e
mov eax, dword [ebp - 0x150]
shr eax, 2
or edx, eax
mov dword [ebp - 0x164], edx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x150], ecx
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x168], edx
jmp 0x4061d9
mov dword [ebp - 0x170], 0x28
jmp 0x4062a0
mov eax, dword [ebp - 0x170]
add eax, 1
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 0x3c
jge 0x406353
mov ecx, dword [ebp - 0x168]
shl ecx, 5
mov edx, dword [ebp - 0x168]
shr edx, 0x1b
or ecx, edx
mov eax, dword [ebp - 0x150]
and eax, dword [ebp - 0x164]
mov edx, dword [ebp - 0x150]
and edx, dword [ebp - 0x16c]
or eax, edx
mov edx, dword [ebp - 0x164]
and edx, dword [ebp - 0x16c]
or eax, edx
add ecx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [ebp - 0x170]
add eax, dword [ebp + ecx*4 - 0x148]
add eax, dword [ebp - 0x158]
mov dword [ebp - 0x14c], eax
mov edx, dword [ebp - 0x16c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x150]
shl ecx, 0x1e
mov edx, dword [ebp - 0x150]
shr edx, 2
or ecx, edx
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x168], ecx
jmp 0x406291
mov dword [ebp - 0x170], 0x3c
jmp 0x40636e
mov edx, dword [ebp - 0x170]
add edx, 1
mov dword [ebp - 0x170], edx
cmp dword [ebp - 0x170], 0x50
jge 0x40640b
mov eax, dword [ebp - 0x168]
shl eax, 5
mov ecx, dword [ebp - 0x168]
shr ecx, 0x1b
or eax, ecx
mov edx, dword [ebp - 0x150]
xor edx, dword [ebp - 0x164]
xor edx, dword [ebp - 0x16c]
add eax, dword [ebp - 4]
add edx, eax
mov eax, dword [ebp - 0x170]
add edx, dword [ebp + eax*4 - 0x148]
add edx, dword [ebp - 0x154]
mov dword [ebp - 0x14c], edx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x164]
mov dword [ebp - 0x16c], edx
mov eax, dword [ebp - 0x150]
shl eax, 0x1e
mov ecx, dword [ebp - 0x150]
shr ecx, 2
or eax, ecx
mov dword [ebp - 0x164], eax
mov edx, dword [ebp - 0x168]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x168], eax
jmp 0x40635f
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, dword [ebp - 0x168]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x150]
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x164]
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x16c]
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [eax + 0x10], edx
xor ecx, ecx
mov edx, dword [ebp + 8]
mov word [edx + 0x1c], cx
mov esp, ebp
pop ebp
ret