Function at 0x419bb0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [edi + 0x20]
push ebp
mov ebp, dword [edi + 0x20]
push esi
mov esi, eax
mov eax, dword [edi + 0x24]
shld eax, ebx, 3
add ebx, ebx
and ebp, 0x3f
add ebx, ebx
mov byte [edi + ebp + 0x28], 0x80
inc ebp
add ebx, ebx
mov dword [esp + 0x10], eax
cmp ebp, 0x38
je 0x419bf8
and ebp, 0x3f
jne 0x419bed
mov edx, edi
call fcn.00419af0
mov eax, dword [esp + 0x10]
mov byte [edi + ebp + 0x28], 0
inc ebp
cmp ebp, 0x38
jne 0x419bdd
mov ecx, eax
shld eax, ebx, 8
mov edx, eax
shl ebx, 8
shld eax, ebx, 8
shr ecx, 0x18
mov byte [edi + ebp + 0x28], cl
mov ecx, eax
shl ebx, 8
shld eax, ebx, 8
shr edx, 0x18
mov byte [edi + ebp + 0x29], dl
mov edx, eax
shl ebx, 8
shld eax, ebx, 8
shr ecx, 0x18
mov byte [edi + ebp + 0x2a], cl
mov ecx, eax
shl ebx, 8
shld eax, ebx, 8
shr edx, 0x18
mov byte [edi + ebp + 0x2b], dl
mov edx, eax
shl ebx, 8
shld eax, ebx, 8
shr ecx, 0x18
mov byte [edi + ebp + 0x2c], cl
shr edx, 0x18
mov ecx, eax
mov byte [edi + ebp + 0x2d], dl
shr ecx, 0x18
shr eax, 0x10
shl ebx, 8
mov edx, edi
mov dword [esp + 0xc], ebx
mov byte [edi + ebp + 0x2e], cl
mov byte [edi + ebp + 0x2f], al
call fcn.00419af0
mov eax, dword [edi]
mov edx, eax
inc esi
shr edx, 0x18
mov byte [esi - 1], dl
mov dl, byte [edi]
mov ecx, eax
inc esi
shr ecx, 0x10
mov byte [esi - 1], cl
shr eax, 8
mov byte [esi], al
mov eax, dword [edi + 4]
mov byte [esi + 1], dl
inc esi
inc esi
mov ecx, eax
mov edx, eax
shr ecx, 0x18
mov byte [esi], cl
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 8
mov byte [esi], al
movzx eax, byte [edi + 4]
mov byte [esi + 1], al
mov eax, dword [edi + 8]
inc esi
mov ecx, eax
inc esi
shr ecx, 0x18
mov byte [esi], cl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
shr eax, 8
inc esi
mov byte [esi], al
movzx eax, byte [edi + 8]
inc esi
mov byte [esi], al
mov eax, dword [edi + 0xc]
inc esi
mov ecx, eax
inc esi
mov edx, eax
inc esi
shr ecx, 0x18
mov byte [esi - 2], cl
shr eax, 8
shr edx, 0x10
mov byte [esi - 1], dl
mov byte [esi], al
movzx eax, byte [edi + 0xc]
mov byte [esi + 1], al
mov eax, dword [edi + 0x10]
inc esi
inc esi
mov ecx, eax
inc esi
mov edx, eax
shr ecx, 0x18
mov byte [esi - 1], cl
inc esi
shr edx, 0x10
mov byte [esi - 1], dl
shr eax, 8
mov byte [esi], al
movzx eax, byte [edi + 0x10]
mov byte [esi + 1], al
mov eax, dword [edi + 0x14]
inc esi
inc esi
mov ecx, eax
inc esi
mov edx, eax
shr ecx, 0x18
mov byte [esi - 1], cl
inc esi
shr edx, 0x10
mov byte [esi - 1], dl
shr eax, 8
mov byte [esi], al
movzx eax, byte [edi + 0x14]
mov byte [esi + 1], al
mov eax, dword [edi + 0x18]
inc esi
inc esi
mov ecx, eax
mov edx, eax
shr ecx, 0x18
mov byte [esi], cl
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 8
mov byte [esi], al
movzx eax, byte [edi + 0x18]
mov byte [esi + 1], al
mov eax, dword [edi + 0x1c]
inc esi
mov ecx, eax
inc esi
shr ecx, 0x18
mov byte [esi], cl
mov edx, eax
inc esi
shr edx, 0x10
mov byte [esi], dl
inc esi
shr eax, 8
mov byte [esi], al
movzx eax, byte [edi + 0x1c]
mov byte [esi + 1], al
mov dword [edi], 0x6a09e667
mov dword [edi + 4], 0xbb67ae85
mov dword [edi + 8], 0x3c6ef372
mov dword [edi + 0xc], 0xa54ff53a
mov dword [edi + 0x10], 0x510e527f
mov dword [edi + 0x14], 0x9b05688c
pop esi
xor eax, eax
pop ebp
mov dword [edi + 0x18], 0x1f83d9ab
mov dword [edi + 0x1c], 0x5be0cd19
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], eax
pop ebx
add esp, 8
ret