Function at 0x41f900
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0xc], edx
mov ebx, dword [edi + 0x20]
mov ecx, dword [edi + 0x24]
mov esi, dword [edi + 0x20]
shld ecx, ebx, 3
and esi, 0x3f
inc esi
mov byte [esi + edi + 0x27], 0x80
shl ebx, 3
mov dword [ebp - 4], ecx
cmp esi, 0x38
je 0x41f94a
nop
and esi, 0x3f
jne 0x41f93c
mov ecx, edi
call fcn.0041f5e0
mov byte [edi + esi + 0x28], 0
inc esi
cmp esi, 0x38
jne 0x41f930
mov ecx, dword [ebp - 4]
mov eax, ecx
shld ecx, ebx, 8
shr eax, 0x18
mov byte [esi + edi + 0x28], al
shl ebx, 8
mov eax, ecx
shld ecx, ebx, 8
shr eax, 0x18
mov byte [esi + edi + 0x29], al
shl ebx, 8
mov eax, ecx
shld ecx, ebx, 8
shr eax, 0x18
mov byte [esi + edi + 0x2a], al
shl ebx, 8
mov eax, ecx
shld ecx, ebx, 8
shr eax, 0x18
mov byte [esi + edi + 0x2b], al
mov eax, ecx
shl ebx, 8
shld ecx, ebx, 8
shr eax, 0x18
mov byte [esi + edi + 0x2c], al
mov eax, ecx
shl ebx, 8
shld ecx, ebx, 8
shr eax, 0x18
mov byte [esi + edi + 0x2d], al
mov eax, ecx
shr ecx, 0x10
shr eax, 0x18
mov byte [esi + edi + 0x2f], cl
shl ebx, 8
mov ecx, edi
mov dword [ebp - 8], ebx
mov byte [esi + edi + 0x2e], al
call fcn.0041f5e0
mov edx, dword [ebp - 0xc]
mov ecx, dword [edi]
mov eax, ecx
shr eax, 0x18
mov byte [edx], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 1], al
movzx eax, byte [edi]
shr ecx, 8
mov byte [edx + 2], cl
mov ecx, dword [edi + 4]
mov byte [edx + 3], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 4], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 5], al
movzx eax, byte [edi + 4]
shr ecx, 8
mov byte [edx + 6], cl
mov ecx, dword [edi + 8]
mov byte [edx + 7], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 9], al
movzx eax, byte [edi + 8]
shr ecx, 8
mov byte [edx + 0xa], cl
mov ecx, dword [edi + 0xc]
mov byte [edx + 0xb], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xc], al
mov eax, ecx
shr eax, 0x10
shr ecx, 8
mov byte [edx + 0xd], al
mov byte [edx + 0xe], cl
movzx eax, byte [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov byte [edx + 0xf], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0x10], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0x11], al
movzx eax, byte [edi + 0x10]
shr ecx, 8
mov byte [edx + 0x12], cl
mov ecx, dword [edi + 0x14]
mov byte [edx + 0x13], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0x14], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0x15], al
movzx eax, byte [edi + 0x14]
shr ecx, 8
mov byte [edx + 0x16], cl
mov ecx, dword [edi + 0x18]
mov byte [edx + 0x17], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0x18], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0x19], al
movzx eax, byte [edi + 0x18]
shr ecx, 8
mov byte [edx + 0x1a], cl
mov ecx, dword [edi + 0x1c]
mov byte [edx + 0x1b], al
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0x1c], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0x1d], al
movzx eax, byte [edi + 0x1c]
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
mov dword [edi + 0x18], 0x1f83d9ab
mov dword [edi + 0x1c], 0x5be0cd19
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
pop edi
shr ecx, 8
pop esi
mov byte [edx + 0x1e], cl
mov byte [edx + 0x1f], al
pop ebx
mov esp, ebp
pop ebp
ret