Function at 0x100306e0
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 0x1003072b
and ebp, 0x3f
jne 0x10030720
mov edx, edi
call fcn.100305e0
mov eax, dword [esp + 0x14]
mov byte [edi + ebp + 0x28], 0
inc ebp
cmp ebp, 0x38
jne 0x10030710
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 + 0x10], ebx
mov byte [edi + ebp + 0x2e], cl
mov byte [edi + ebp + 0x2f], al
call fcn.100305e0
movzx edx, byte [edi + 3]
mov byte [esi], dl
movzx eax, byte [edi + 2]
mov byte [esi + 1], al
mov ecx, dword [edi]
inc esi
inc esi
inc esi
shr ecx, 8
mov byte [esi - 1], cl
movzx edx, byte [edi]
mov byte [esi], dl
movzx eax, byte [edi + 7]
mov byte [esi + 1], al
movzx ecx, byte [edi + 6]
inc esi
mov byte [esi + 1], cl
mov edx, dword [edi + 4]
inc esi
inc esi
shr edx, 8
mov byte [esi], dl
movzx eax, byte [edi + 4]
mov byte [esi + 1], al
movzx ecx, byte [edi + 0xb]
inc esi
mov byte [esi + 1], cl
movzx edx, byte [edi + 0xa]
inc esi
mov byte [esi + 1], dl
mov eax, dword [edi + 8]
inc esi
inc esi
shr eax, 8
mov byte [esi], al
movzx ecx, byte [edi + 8]
inc esi
mov byte [esi], cl
movzx edx, byte [edi + 0xf]
inc esi
mov byte [esi], dl
movzx eax, byte [edi + 0xe]
inc esi
mov byte [esi], al
mov ecx, dword [edi + 0xc]
inc esi
inc esi
shr ecx, 8
mov byte [esi - 1], cl
movzx edx, byte [edi + 0xc]
mov byte [esi], dl
movzx eax, byte [edi + 0x13]
mov byte [esi + 1], al
movzx ecx, byte [edi + 0x12]
inc esi
mov byte [esi + 1], cl
mov edx, dword [edi + 0x10]
inc esi
inc esi
inc esi
shr edx, 8
mov byte [esi - 1], dl
movzx eax, byte [edi + 0x10]
mov byte [esi], al
movzx ecx, byte [edi + 0x17]
mov byte [esi + 1], cl
movzx edx, byte [edi + 0x16]
inc esi
mov byte [esi + 1], dl
mov eax, dword [edi + 0x14]
inc esi
inc esi
shr eax, 8
mov byte [esi], al
movzx ecx, byte [edi + 0x14]
mov byte [esi + 1], cl
movzx edx, byte [edi + 0x1b]
inc esi
mov byte [esi + 1], dl
movzx eax, byte [edi + 0x1a]
inc esi
mov byte [esi + 1], al
mov ecx, dword [edi + 0x18]
inc esi
inc esi
shr ecx, 8
mov byte [esi], cl
movzx edx, byte [edi + 0x18]
mov byte [esi + 1], dl
movzx eax, byte [edi + 0x1f]
inc esi
mov byte [esi + 1], al
movzx ecx, byte [edi + 0x1e]
inc esi
mov byte [esi + 1], cl
mov edx, dword [edi + 0x1c]
inc esi
inc esi
shr edx, 8
mov byte [esi], dl
movzx eax, byte [edi + 0x1c]
mov ecx, edi
pop edi
mov byte [esi + 1], al
pop esi
pop ebp
pop ebx
add esp, 8
jmp fcn.10030390