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

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