Function at 0x414840
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x170
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x158], 0
jmp 0x41486a
mov eax, dword [ebp - 0x158]
add eax, 1
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0x10
jae 0x414924
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x170]
movzx eax, byte [edx + ecx*4 + 0x14]
shl eax, 0x18
mov ecx, dword [ebp - 0x158]
mov dword [ebp + ecx*4 - 0x140], eax
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x170]
movzx ecx, byte [eax + edx*4 + 0x15]
shl ecx, 0x10
mov edx, dword [ebp - 0x158]
or ecx, dword [ebp + edx*4 - 0x140]
mov eax, dword [ebp - 0x158]
mov dword [ebp + eax*4 - 0x140], ecx
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x170]
movzx eax, byte [edx + ecx*4 + 0x16]
shl eax, 8
mov ecx, dword [ebp - 0x158]
or eax, dword [ebp + ecx*4 - 0x140]
mov edx, dword [ebp - 0x158]
mov dword [ebp + edx*4 - 0x140], eax
mov eax, dword [ebp - 0x158]
mov ecx, dword [ebp - 0x170]
movzx edx, byte [ecx + eax*4 + 0x17]
mov eax, dword [ebp - 0x158]
or edx, dword [ebp + eax*4 - 0x140]
mov ecx, dword [ebp - 0x158]
mov dword [ebp + ecx*4 - 0x140], edx
jmp 0x41485b
mov dword [ebp - 0x15c], 0x10
jmp 0x41493f
mov edx, dword [ebp - 0x15c]
add edx, 1
mov dword [ebp - 0x15c], edx
cmp dword [ebp - 0x15c], 0x50
jae 0x414996
push 1
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp + eax*4 - 0x14c]
xor edx, dword [ebp + ecx*4 - 0x160]
mov eax, dword [ebp - 0x15c]
xor edx, dword [ebp + eax*4 - 0x178]
mov ecx, dword [ebp - 0x15c]
xor edx, dword [ebp + ecx*4 - 0x180]
push edx
call fcn.004145f0
add esp, 8
mov edx, dword [ebp - 0x15c]
mov dword [ebp + edx*4 - 0x140], eax
jmp 0x414930
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax]
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 4]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x170]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x170]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x160], 0
jmp 0x4149fb
mov ecx, dword [ebp - 0x160]
add ecx, 1
mov dword [ebp - 0x160], ecx
cmp dword [ebp - 0x160], 0x50
jae 0x414b56
cmp dword [ebp - 0x160], 0x14
jae 0x414a42
mov edx, dword [ebp - 0x148]
and edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x148]
not eax
and eax, dword [ebp - 0x14c]
or edx, eax
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x16c], 0x5a827999
jmp 0x414ad4
cmp dword [ebp - 0x160], 0x28
jae 0x414a6f
mov ecx, dword [ebp - 0x148]
xor ecx, dword [ebp - 0x150]
xor ecx, dword [ebp - 0x14c]
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x16c], 0x6ed9eba1
jmp 0x414ad4
cmp dword [ebp - 0x160], 0x3c
jae 0x414ab2
mov edx, dword [ebp - 0x148]
and edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x148]
and eax, dword [ebp - 0x14c]
or edx, eax
mov ecx, dword [ebp - 0x150]
and ecx, dword [ebp - 0x14c]
or edx, ecx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x16c], 0x8f1bbcdc
jmp 0x414ad4
mov edx, dword [ebp - 0x148]
xor edx, dword [ebp - 0x150]
xor edx, dword [ebp - 0x14c]
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x16c], 0xca62c1d6
push 5
mov eax, dword [ebp - 0x144]
push eax
call fcn.004145f0
add esp, 8
add eax, dword [ebp - 0x164]
add eax, dword [ebp - 0x154]
add eax, dword [ebp - 0x16c]
mov ecx, dword [ebp - 0x160]
add eax, dword [ebp + ecx*4 - 0x140]
mov dword [ebp - 0x168], eax
mov edx, dword [ebp - 0x14c]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x14c], eax
push 0x1e
mov ecx, dword [ebp - 0x148]
push ecx
call fcn.004145f0
add esp, 8
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x144], eax
jmp 0x4149ec
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx]
add edx, dword [ebp - 0x144]
mov eax, dword [ebp - 0x170]
mov dword [eax], edx
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx + 4]
add edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x170]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx + 8]
add edx, dword [ebp - 0x150]
mov eax, dword [ebp - 0x170]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx + 0xc]
add edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x170]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x170]
mov edx, dword [ecx + 0x10]
add edx, dword [ebp - 0x154]
mov eax, dword [ebp - 0x170]
mov dword [eax + 0x10], edx
mov esp, ebp
pop ebp
ret