Function at 0x47e944
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ecx, eax
sub cl, 1
jb 0x47e990
sub cl, 0x13
je 0x47e999
sub cl, 0x14
je 0x47e9a2
sub cl, 0x14
je 0x47e9ab
jmp 0x47e9b2
mov dword [ebp - 8], 0x5a827999
jmp 0x47e9b2
mov dword [ebp - 8], 0x6ed9eba1
jmp 0x47e9b2
mov dword [ebp - 8], 0x8f1bbcdc
jmp 0x47e9b2
mov dword [ebp - 8], 0xca62c1d6
mov ecx, eax
and cl, 0xf
cmp al, 0xf
mov byte [ebp - 1], cl
jbe 0x47ea4d
xor ecx, ecx
mov ebx, dword [ebp + 0xc]
mov cl, byte [ebp - 1]
mov esi, dword [ebp + 0xc]
add ecx, 0xd
mov edi, dword [ebp + 0xc]
and ecx, 0xf
mov ecx, dword [ebx + ecx*4]
xor ebx, ebx
mov bl, byte [ebp - 1]
add ebx, 8
and ebx, 0xf
xor ecx, dword [esi + ebx*4]
xor ebx, ebx
mov bl, byte [ebp - 1]
mov esi, dword [ebp + 0xc]
add ebx, 2
and ebx, 0xf
xor ecx, dword [esi + ebx*4]
xor ebx, ebx
mov bl, byte [ebp - 1]
mov esi, dword [ebp + 0xc]
xor ecx, dword [esi + ebx*4]
xor ebx, ebx
mov bl, byte [ebp - 1]
mov esi, dword [ebp + 0xc]
add ebx, 0xd
add ecx, ecx
and ebx, 0xf
mov ebx, dword [esi + ebx*4]
movzx esi, byte [ebp - 1]
add esi, 8
and esi, 0xf
xor ebx, dword [edi + esi*4]
movzx esi, byte [ebp - 1]
add esi, 2
mov edi, dword [ebp + 0xc]
and esi, 0xf
xor ebx, dword [edi + esi*4]
movzx esi, byte [ebp - 1]
mov edi, dword [ebp + 0xc]
xor ebx, dword [edi + esi*4]
mov esi, dword [ebp + 0xc]
shr ebx, 0x1f
or ecx, ebx
xor ebx, ebx
mov bl, byte [ebp - 1]
mov dword [esi + ebx*4], ecx
cmp al, 0x14
jae 0x47ea61
mov ebx, edx
mov ecx, dword [ebp - 0x10]
not ebx
and ebx, dword [ebp - 0x14]
and ecx, edx
or ecx, ebx
jmp 0x47ea91
cmp al, 0x28
jae 0x47ea6f
mov ecx, dword [ebp - 0x10]
xor ecx, edx
xor ecx, dword [ebp - 0x14]
jmp 0x47ea91
cmp al, 0x3c
jae 0x47ea89
mov ecx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
and ebx, edx
and ecx, edx
or ecx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, dword [ebp - 0x14]
or ecx, ebx
jmp 0x47ea91
mov ecx, dword [ebp - 0x10]
xor ecx, edx
xor ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
shr esi, 0x1b
mov edi, dword [ebp + 0xc]
shl ebx, 5
inc eax
or ebx, esi
movzx esi, byte [ebp - 1]
add ebx, dword [ebp - 0x18]
add ebx, dword [edi + esi*4]
add ebx, dword [ebp - 8]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov ebx, edx
shr edx, 2
shl ebx, 0x1e
or ebx, edx
cmp al, 0x50
mov dword [ebp - 0x10], ebx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
jb 0x47e978
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
add dword [eax], ecx
mov eax, dword [ebp + 8]
add dword [eax + 4], edx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
add dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
add dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
add dword [ecx + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret