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

Disassembly:
push ebp
mov ebp, esp
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 [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp ebx, 0x38
je 0x4558de
and ebx, 0x3f
jne 0x4558d3
mov edx, edi
call fcn.00455490
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov byte [edi + ebx + 0x28], 0
inc ebx
cmp ebx, 0x38
jne 0x4558c1
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 [ebp - 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.00455490
movzx ecx, byte [edi + 3]
mov byte [esi], cl
movzx edx, byte [edi + 2]
mov byte [esi + 1], dl
mov eax, dword [edi]
shr eax, 8
mov byte [esi + 2], al
movzx ecx, byte [edi]
mov byte [esi + 3], cl
movzx edx, byte [edi + 7]
mov byte [esi + 4], dl
movzx eax, byte [edi + 6]
mov byte [esi + 5], al
mov ecx, dword [edi + 4]
shr ecx, 8
mov byte [esi + 6], cl
movzx edx, byte [edi + 4]
mov byte [esi + 7], dl
movzx eax, byte [edi + 0xb]
mov byte [esi + 8], al
movzx ecx, byte [edi + 0xa]
mov byte [esi + 9], cl
mov edx, dword [edi + 8]
shr edx, 8
mov byte [esi + 0xa], dl
movzx eax, byte [edi + 8]
mov byte [esi + 0xb], al
movzx ecx, byte [edi + 0xf]
mov byte [esi + 0xc], cl
movzx edx, byte [edi + 0xe]
mov byte [esi + 0xd], dl
mov eax, dword [edi + 0xc]
shr eax, 8
mov byte [esi + 0xe], al
movzx ecx, byte [edi + 0xc]
mov byte [esi + 0xf], cl
movzx edx, byte [edi + 0x13]
mov byte [esi + 0x10], dl
movzx eax, byte [edi + 0x12]
mov byte [esi + 0x11], al
mov ecx, dword [edi + 0x10]
shr ecx, 8
mov byte [esi + 0x12], cl
movzx edx, byte [edi + 0x10]
mov byte [esi + 0x13], dl
movzx eax, byte [edi + 0x17]
mov byte [esi + 0x14], al
movzx ecx, byte [edi + 0x16]
mov byte [esi + 0x15], cl
mov edx, dword [edi + 0x14]
shr edx, 8
mov byte [esi + 0x16], dl
movzx eax, byte [edi + 0x14]
mov byte [esi + 0x17], al
movzx ecx, byte [edi + 0x1b]
mov byte [esi + 0x18], cl
movzx edx, byte [edi + 0x1a]
mov byte [esi + 0x19], dl
mov eax, dword [edi + 0x18]
shr eax, 8
mov byte [esi + 0x1a], al
movzx ecx, byte [edi + 0x18]
mov byte [esi + 0x1b], cl
movzx edx, byte [edi + 0x1f]
mov byte [esi + 0x1c], dl
movzx eax, byte [edi + 0x1e]
mov byte [esi + 0x1d], al
mov ecx, dword [edi + 0x1c]
shr ecx, 8
mov byte [esi + 0x1e], cl
movzx edx, byte [edi + 0x1c]
mov byte [esi + 0x1f], 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