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

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