Function at 0x47a360
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x643004]
xor eax, esp
mov dword [esp + 0x18], eax
cmp byte [ecx + 8], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
je 0x47a39e
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00482be9
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
shld eax, ebx, 3
mov dword [esp + 0x18], eax
mov dword [0x7a4ed4], eax
shl ebx, 3
mov ecx, ebx
shrd ecx, eax, 8
shr eax, 8
movzx eax, cl
mov ecx, ebx
cdq
mov esi, eax
mov edi, edx
movzx eax, bl
cdq
shld edx, eax, 8
shl eax, 8
add esi, eax
mov eax, dword [esp + 0x18]
adc edi, edx
shrd ecx, eax, 0x10
shld edi, esi, 8
shr eax, 0x10
shl esi, 8
movzx eax, cl
mov ecx, dword [esp + 0x18]
cdq
add esi, eax
mov eax, ecx
adc edi, edx
shrd ebx, eax, 0x18
shld edi, esi, 8
shr eax, 0x18
shl esi, 8
movzx eax, bl
cdq
add esi, eax
mov ebx, dword [esp + 0x10]
movzx eax, cl
adc edi, edx
cdq
shld edi, esi, 8
shl esi, 8
add esi, eax
mov eax, ecx
adc edi, edx
shr eax, 8
shld edi, esi, 8
movzx eax, al
cdq
shl esi, 8
add esi, eax
mov eax, ecx
adc edi, edx
shr eax, 0x10
shld edi, esi, 8
movzx eax, al
cdq
shl esi, 8
add esi, eax
mov eax, 0x38
adc edi, edx
mov edx, dword [ebx + 0x10]
shld edi, esi, 8
shr ecx, 0x18
shl esi, 8
add esi, ecx
mov ecx, 0x78
mov dword [esp + 0x18], esi
adc edi, 0
and edx, 0x3f
sub ecx, edx
mov dword [esp + 0x1c], edi
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
mov ecx, ebx
push eax
push 0x62ffc0
call fcn.0047c720
push 8
lea eax, [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.0047c720
mov edx, dword [ebx + 0x34]
mov eax, edx
shr eax, 8
movzx ecx, al
mov esi, dword [esp + 0x14]
movzx eax, dl
shl eax, 8
add ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
add ecx, eax
shr edx, 0x18
shl ecx, 8
add ecx, edx
mov dword [esi], ecx
mov edx, dword [ebx + 0x38]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
add ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
add ecx, eax
shr edx, 0x18
shl ecx, 8
add ecx, edx
mov dword [esi + 4], ecx
mov edx, dword [ebx + 0x3c]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
add ecx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
add ecx, eax
shr edx, 0x18
shl ecx, 8
add ecx, edx
mov dword [esi + 8], ecx
mov edx, dword [ebx + 0x40]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
add ecx, eax
mov eax, edx
shr eax, 0x10
shl ecx, 8
movzx eax, al
add ecx, eax
shr edx, 0x18
shl ecx, 8
add ecx, edx
mov dword [esi + 0xc], ecx
mov edx, dword [ebx + 0x44]
mov eax, edx
shr eax, 8
movzx ecx, al
movzx eax, dl
shl eax, 8
add ecx, eax
mov dword [0x7a4ed0], edx
mov eax, edx
shl ecx, 8
shr eax, 0x10
movzx eax, al
add ecx, eax
shr edx, 0x18
shl ecx, 8
mov al, 1
add ecx, edx
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x34], 0x67452301
mov dword [ebx + 0x38], 0xefcdab89
mov dword [ebx + 0x3c], 0x98badcfe
mov dword [ebx + 0x40], 0x10325476
mov dword [ebx + 0x44], 0xc3d2e1f0
mov dword [ebx + 0x48], 0
pop edi
pop esi
mov dword [ebx + 0x18], 0
mov byte [ebx + 8], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
pop ebx
xor ecx, esp
call fcn.00482be9
mov esp, ebp
pop ebp
ret 4