Function at 0x100aa140
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov dword [esp + 0xc], eax
shr eax, 5
and eax, 0xf
lea ecx, [esi + eax*4]
mov eax, dword [ecx + 0x1c]
shl eax, 8
or eax, 0x80
mov dword [ecx + 0x1c], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
add edx, 8
mov dword [esi], edx
adc eax, 0
mov dword [esi + 4], eax
test edx, 0x1ff
jne 0x100aa18f
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
mov eax, edx
and eax, 0x1ff
cmp eax, 0x1c0
je 0x100aa1da
nop dword [eax]
shr edx, 5
and edx, 0xf
shl dword [esi + edx*4 + 0x1c], 8
mov edx, dword [esi]
mov eax, dword [esi + 4]
add edx, 8
mov dword [esi], edx
adc eax, 0
mov dword [esi + 4], eax
test edx, 0x1ff
jne 0x100aa1cc
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
mov eax, edx
and eax, 0x1ff
cmp eax, 0x1c0
jne 0x100aa1a0
shr edx, 5
mov ecx, ebx
and edx, 0xf
shr ecx, 0x18
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa213
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
shr edx, 5
mov eax, ebx
and edx, 0xf
shr eax, 0x10
movzx ecx, al
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa24f
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
shr edx, 5
mov eax, ebx
and edx, 0xf
shr eax, 8
movzx ecx, al
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa28b
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
shr edx, 5
and edx, 0xf
movzx ecx, bl
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa2c2
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
mov edi, dword [esp + 0xc]
mov eax, ebx
shr edx, 5
mov ecx, edi
and edx, 0xf
shrd ecx, eax, 0x18
movzx ecx, cl
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa305
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
shr edx, 5
mov ecx, edi
and edx, 0xf
mov eax, ebx
shrd ecx, eax, 0x10
movzx ecx, cl
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa344
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
shr edx, 5
mov eax, edi
and edx, 0xf
shrd eax, ebx, 8
movzx ecx, al
mov eax, dword [esi + edx*4 + 0x1c]
shl eax, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
mov edx, dword [esi]
adc dword [esi + 4], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
test edx, 0x1ff
jne 0x100aa381
mov ecx, esi
call fcn.100aa600
mov edx, dword [esi]
mov eax, dword [esp + 0xc]
shr edx, 5
and edx, 0xf
movzx eax, al
mov ecx, dword [esi + edx*4 + 0x1c]
shl ecx, 8
or ecx, eax
mov dword [esi + edx*4 + 0x1c], ecx
add dword [esi], 8
adc dword [esi + 4], 0
test dword [esi], 0x1ff
mov eax, dword [esi + 4]
mov dword [esp + 0x14], eax
jne 0x100aa3b8
mov ecx, esi
call fcn.100aa600
mov ecx, dword [esi + 8]
lea edi, [esi + 0x5c]
mov eax, ecx
mov byte [esi + 0x5f], cl
shr eax, 0x18
mov byte [edi], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x5d], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x5e], al
mov ecx, dword [esi + 0xc]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x60], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x61], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x62], al
mov byte [esi + 0x63], cl
mov ecx, dword [esi + 0x10]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x64], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x65], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x66], al
mov byte [esi + 0x67], cl
mov ecx, dword [esi + 0x14]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x68], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x69], al
mov eax, ecx
shr eax, 8
mov byte [esi + 0x6a], al
mov byte [esi + 0x6b], cl
mov ecx, dword [esi + 0x18]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0x6c], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0x6d], al
mov eax, ecx
mov byte [esi + 0x6f], cl
shr eax, 8
mov byte [esi + 0x6e], al
push 0x40
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
add esi, 0x1c
push 0
push esi
call fcn.10143f10
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret