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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
mov ecx, dword [edi + 0x24]
push ebx
mov ebx, dword [edi + 0x20]
push esi
mov esi, eax
mov eax, dword [edi + 0x20]
shld ecx, eax, 3
add eax, eax
and ebx, 0x3f
add eax, eax
mov byte [ebx + edi + 0x28], 0x80
add eax, eax
inc ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
cmp ebx, 0x38
je 0x1002c855
and ebx, 0x3f
jne 0x1002c84a
mov edx, edi
call fcn.1002c700
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov byte [edi + ebx + 0x28], 0
inc ebx
cmp ebx, 0x38
jne 0x1002c836
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [ebx + edi + 0x28], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [ebx + edi + 0x29], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [ebx + edi + 0x2a], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
mov byte [ebx + edi + 0x2b], dl
shl eax, 8
mov edx, ecx
shld ecx, eax, 8
shr edx, 0x18
shl eax, 8
mov byte [ebx + edi + 0x2c], dl
mov edx, ecx
shld ecx, eax, 8
shl eax, 8
mov dword [esp + 8], eax
shr edx, 0x18
mov eax, ecx
mov byte [ebx + edi + 0x2d], dl
shr eax, 0x18
shr ecx, 0x10
mov edx, edi
mov byte [ebx + edi + 0x2e], al
mov byte [ebx + edi + 0x2f], cl
call fcn.1002c700
movzx ecx, byte [edi + 3]
mov byte [esi], cl
movzx edx, byte [edi + 2]
mov byte [esi + 1], dl
mov eax, dword [edi]
inc esi
inc esi
inc esi
shr eax, 8
mov byte [esi - 1], al
movzx ecx, byte [edi]
mov byte [esi], cl
movzx edx, byte [edi + 7]
mov byte [esi + 1], dl
movzx eax, byte [edi + 6]
inc esi
mov byte [esi + 1], al
mov ecx, dword [edi + 4]
inc esi
inc esi
shr ecx, 8
mov byte [esi], cl
movzx edx, byte [edi + 4]
mov byte [esi + 1], dl
movzx eax, byte [edi + 0xb]
inc esi
mov byte [esi + 1], al
movzx ecx, byte [edi + 0xa]
inc esi
mov byte [esi + 1], cl
mov edx, dword [edi + 8]
inc esi
inc esi
shr edx, 8
mov byte [esi], dl
movzx eax, byte [edi + 8]
inc esi
mov byte [esi], al
movzx ecx, byte [edi + 0xf]
inc esi
mov byte [esi], cl
movzx edx, byte [edi + 0xe]
inc esi
mov byte [esi], dl
mov eax, dword [edi + 0xc]
inc esi
inc esi
shr eax, 8
mov byte [esi - 1], al
movzx ecx, byte [edi + 0xc]
mov byte [esi], cl
movzx edx, byte [edi + 0x13]
mov byte [esi + 1], dl
movzx eax, byte [edi + 0x12]
inc esi
mov byte [esi + 1], al
mov ecx, dword [edi + 0x10]
inc esi
inc esi
inc esi
shr ecx, 8
mov byte [esi - 1], cl
movzx edx, byte [edi + 0x10]
mov byte [esi], dl
movzx eax, byte [edi + 0x17]
mov byte [esi + 1], al
movzx ecx, byte [edi + 0x16]
inc esi
mov byte [esi + 1], cl
mov edx, dword [edi + 0x14]
inc esi
inc esi
shr edx, 8
mov byte [esi], dl
movzx eax, byte [edi + 0x14]
mov byte [esi + 1], al
movzx ecx, byte [edi + 0x1b]
inc esi
mov byte [esi + 1], cl
movzx edx, byte [edi + 0x1a]
inc esi
mov byte [esi + 1], dl
mov eax, dword [edi + 0x18]
inc esi
inc esi
shr eax, 8
mov byte [esi], al
movzx ecx, byte [edi + 0x18]
mov byte [esi + 1], cl
movzx edx, byte [edi + 0x1f]
inc esi
mov byte [esi + 1], dl
movzx eax, byte [edi + 0x1e]
inc esi
mov byte [esi + 1], al
mov ecx, dword [edi + 0x1c]
inc esi
inc esi
shr ecx, 8
mov byte [esi], cl
movzx edx, byte [edi + 0x1c]
mov byte [esi + 1], dl
xor eax, eax
pop esi
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 ebx
mov esp, ebp
pop ebp
ret