Function at 0x4072f0
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, edx
mov esi, dword [edi]
and esi, 0x3f
mov byte [esi + edi + 0x28], 0x80
inc esi
cmp esi, 0x38
jbe 0x40732c
mov eax, 0x40
sub eax, esi
push eax
lea eax, [edi + 0x28]
add eax, esi
push 0
push eax
call fcn.004a3c90
add esp, 0xc
lea edx, [edi + 0x28]
mov ecx, edi
xor esi, esi
call fcn.00407150
mov eax, 0x38
sub eax, esi
push eax
lea eax, [edi + 0x28]
add eax, esi
push 0
push eax
call fcn.004a3c90
mov eax, dword [edi]
add esp, 0xc
mov ecx, dword [edi + 4]
shld ecx, eax, 3
mov dword [edi + 4], ecx
shl eax, 3
mov dword [edi], eax
mov eax, ecx
shr eax, 0x18
mov byte [edi + 0x60], al
shr ecx, 0x10
mov byte [edi + 0x61], cl
mov edx, dword [edi + 4]
mov eax, edx
mov ebx, dword [edi]
mov ecx, ebx
shr eax, 8
mov byte [edi + 0x62], al
mov eax, edx
shrd ecx, eax, 0x18
mov byte [edi + 0x63], dl
mov byte [edi + 0x64], cl
mov ecx, ebx
shrd ecx, eax, 0x10
mov eax, ebx
mov byte [edi + 0x67], bl
shrd eax, edx, 8
mov byte [edi + 0x65], cl
lea edx, [edi + 0x28]
mov ecx, edi
mov byte [edi + 0x66], al
call fcn.00407150
movzx eax, byte [edi + 0xb]
mov byte [ebp], al
movzx eax, byte [edi + 0xa]
mov byte [ebp + 1], al
mov eax, dword [edi + 8]
shr eax, 8
mov byte [ebp + 2], al
movzx eax, byte [edi + 8]
mov byte [ebp + 3], al
movzx eax, byte [edi + 0xf]
mov byte [ebp + 4], al
movzx eax, byte [edi + 0xe]
mov byte [ebp + 5], al
mov eax, dword [edi + 0xc]
shr eax, 8
mov byte [ebp + 6], al
movzx eax, byte [edi + 0xc]
mov byte [ebp + 7], al
movzx eax, byte [edi + 0x13]
mov byte [ebp + 8], al
movzx eax, byte [edi + 0x12]
mov byte [ebp + 9], al
mov eax, dword [edi + 0x10]
shr eax, 8
mov byte [ebp + 0xa], al
movzx eax, byte [edi + 0x10]
mov byte [ebp + 0xb], al
movzx eax, byte [edi + 0x17]
mov byte [ebp + 0xc], al
movzx eax, byte [edi + 0x16]
mov byte [ebp + 0xd], al
mov eax, dword [edi + 0x14]
shr eax, 8
mov byte [ebp + 0xe], al
movzx eax, byte [edi + 0x14]
mov byte [ebp + 0xf], al
movzx eax, byte [edi + 0x1b]
mov byte [ebp + 0x10], al
movzx eax, byte [edi + 0x1a]
mov byte [ebp + 0x11], al
mov eax, dword [edi + 0x18]
shr eax, 8
mov byte [ebp + 0x12], al
movzx eax, byte [edi + 0x18]
mov byte [ebp + 0x13], al
movzx eax, byte [edi + 0x1f]
mov byte [ebp + 0x14], al
movzx eax, byte [edi + 0x1e]
mov byte [ebp + 0x15], al
mov eax, dword [edi + 0x1c]
shr eax, 8
mov byte [ebp + 0x16], al
movzx eax, byte [edi + 0x1c]
mov byte [ebp + 0x17], al
movzx eax, byte [edi + 0x23]
mov byte [ebp + 0x18], al
movzx eax, byte [edi + 0x22]
mov byte [ebp + 0x19], al
mov eax, dword [edi + 0x20]
shr eax, 8
mov byte [ebp + 0x1a], al
movzx eax, byte [edi + 0x20]
mov byte [ebp + 0x1b], al
movzx eax, byte [edi + 0x27]
mov byte [ebp + 0x1c], al
movzx eax, byte [edi + 0x26]
mov byte [ebp + 0x1d], al
mov eax, dword [edi + 0x24]
shr eax, 8
mov byte [ebp + 0x1e], al
movzx eax, byte [edi + 0x24]
mov byte [ebp + 0x1f], al
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0x6a09e667
mov dword [edi + 0xc], 0xbb67ae85
mov dword [edi + 0x10], 0x3c6ef372
mov dword [edi + 0x14], 0xa54ff53a
mov dword [edi + 0x18], 0x510e527f
mov dword [edi + 0x1c], 0x9b05688c
mov dword [edi + 0x20], 0x1f83d9ab
mov dword [edi + 0x24], 0x5be0cd19
pop edi
pop esi
pop ebp
pop ebx
ret