Function at 0x41a850
Capabilities:
Enumerate pe sections
Hash data using sha256

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebx, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
mov ebp, dword [edi + 0x20]
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 esi, edx
mov dword [esp + 0x14], eax
cmp ebp, 0x38
je 0x41a89a
and ebp, 0x3f
jne 0x41a88f
push edi
call fcn.0041a4a0
mov eax, dword [esp + 0x14]
mov byte [edi + ebp + 0x28], 0
inc ebp
cmp ebp, 0x38
jne 0x41a880
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
mov ecx, eax
shr edx, 0x18
shr ecx, 0x18
shr eax, 0x10
shl ebx, 8
push edi
mov byte [edi + ebp + 0x2d], dl
mov dword [esp + 0x14], ebx
mov byte [edi + ebp + 0x2e], cl
mov byte [edi + ebp + 0x2f], al
call fcn.0041a4a0
movzx edx, byte [edi + 3]
mov byte [esi], dl
movzx eax, byte [edi + 2]
mov byte [esi + 1], al
mov ecx, dword [edi]
shr ecx, 8
mov byte [esi + 2], cl
movzx edx, byte [edi]
mov byte [esi + 3], dl
movzx eax, byte [edi + 7]
mov byte [esi + 4], al
movzx ecx, byte [edi + 6]
mov byte [esi + 5], cl
mov edx, dword [edi + 4]
shr edx, 8
mov byte [esi + 6], dl
movzx eax, byte [edi + 4]
mov byte [esi + 7], al
movzx ecx, byte [edi + 0xb]
mov byte [esi + 8], cl
movzx edx, byte [edi + 0xa]
mov byte [esi + 9], dl
mov eax, dword [edi + 8]
shr eax, 8
mov byte [esi + 0xa], al
movzx ecx, byte [edi + 8]
mov byte [esi + 0xb], cl
movzx edx, byte [edi + 0xf]
mov byte [esi + 0xc], dl
movzx eax, byte [edi + 0xe]
mov byte [esi + 0xd], al
mov ecx, dword [edi + 0xc]
shr ecx, 8
mov byte [esi + 0xe], cl
movzx edx, byte [edi + 0xc]
mov byte [esi + 0xf], dl
movzx eax, byte [edi + 0x13]
mov byte [esi + 0x10], al
movzx ecx, byte [edi + 0x12]
mov byte [esi + 0x11], cl
mov edx, dword [edi + 0x10]
shr edx, 8
mov byte [esi + 0x12], dl
movzx eax, byte [edi + 0x10]
mov byte [esi + 0x13], al
movzx ecx, byte [edi + 0x17]
mov byte [esi + 0x14], cl
movzx edx, byte [edi + 0x16]
mov byte [esi + 0x15], dl
mov eax, dword [edi + 0x14]
shr eax, 8
mov byte [esi + 0x16], al
movzx ecx, byte [edi + 0x14]
mov byte [esi + 0x17], cl
movzx edx, byte [edi + 0x1b]
mov byte [esi + 0x18], dl
movzx eax, byte [edi + 0x1a]
mov byte [esi + 0x19], al
mov ecx, dword [edi + 0x18]
shr ecx, 8
mov byte [esi + 0x1a], cl
movzx edx, byte [edi + 0x18]
mov byte [esi + 0x1b], dl
movzx eax, byte [edi + 0x1f]
mov byte [esi + 0x1c], al
movzx ecx, byte [edi + 0x1e]
mov byte [esi + 0x1d], cl
mov edx, dword [edi + 0x1c]
shr edx, 8
mov byte [esi + 0x1e], dl
movzx eax, byte [edi + 0x1c]
mov byte [esi + 0x1f], al
xor eax, eax
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], eax
mov dword [edi + 0x24], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret