Function at 0x40de90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
je 0x40e04a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x40e05e
mov ecx, dword [esi + 0x28]
cmp ecx, 0x40
jb 0x40debc
pop edi
mov eax, 0x10
pop esi
pop ebp
ret
lea eax, [ecx*8]
add dword [esi], eax
adc dword [esi + 4], 0
mov byte [ecx + esi + 0x2c], 0x80
inc dword [esi + 0x28]
mov eax, dword [esi + 0x28]
cmp eax, 0x38
jbe 0x40df06
cmp eax, 0x40
jae 0x40def0
nop
mov byte [eax + esi + 0x2c], 0
inc dword [esi + 0x28]
mov eax, dword [esi + 0x28]
cmp eax, 0x40
jb 0x40dee0
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.0040e080
add esp, 8
mov dword [esi + 0x28], 0
jmp 0x40df10
jae 0x40df21
nop dword [eax + eax]
mov eax, dword [esi + 0x28]
mov byte [eax + esi + 0x2c], 0
inc dword [esi + 0x28]
cmp dword [esi + 0x28], 0x38
jb 0x40df10
movzx eax, byte [esi + 7]
mov byte [esi + 0x64], al
movzx eax, byte [esi + 6]
mov byte [esi + 0x65], al
movzx eax, byte [esi + 5]
mov byte [esi + 0x66], al
movzx eax, byte [esi + 4]
mov byte [esi + 0x67], al
movzx eax, byte [esi + 3]
mov byte [esi + 0x68], al
movzx eax, byte [esi + 2]
mov byte [esi + 0x69], al
movzx eax, byte [esi + 1]
mov byte [esi + 0x6a], al
movzx eax, byte [esi]
mov byte [esi + 0x6b], al
lea eax, [esi + 0x2c]
push eax
push esi
call fcn.0040e080
movzx eax, byte [esi + 0xb]
add esp, 8
mov byte [edi], al
movzx eax, byte [esi + 0xa]
mov byte [edi + 1], al
movzx eax, byte [esi + 9]
mov byte [edi + 2], al
movzx eax, byte [esi + 8]
mov byte [edi + 3], al
movzx eax, byte [esi + 0xf]
mov byte [edi + 4], al
movzx eax, byte [esi + 0xe]
mov byte [edi + 5], al
movzx eax, byte [esi + 0xd]
mov byte [edi + 6], al
movzx eax, byte [esi + 0xc]
mov byte [edi + 7], al
movzx eax, byte [esi + 0x13]
mov byte [edi + 8], al
movzx eax, byte [esi + 0x12]
mov byte [edi + 9], al
movzx eax, byte [esi + 0x11]
mov byte [edi + 0xa], al
movzx eax, byte [esi + 0x10]
mov byte [edi + 0xb], al
movzx eax, byte [esi + 0x17]
mov byte [edi + 0xc], al
movzx eax, byte [esi + 0x16]
mov byte [edi + 0xd], al
movzx eax, byte [esi + 0x15]
mov byte [edi + 0xe], al
movzx eax, byte [esi + 0x14]
mov byte [edi + 0xf], al
movzx eax, byte [esi + 0x1b]
mov byte [edi + 0x10], al
movzx eax, byte [esi + 0x1a]
mov byte [edi + 0x11], al
movzx eax, byte [esi + 0x19]
mov byte [edi + 0x12], al
movzx eax, byte [esi + 0x18]
mov byte [edi + 0x13], al
movzx eax, byte [esi + 0x1f]
mov byte [edi + 0x14], al
movzx eax, byte [esi + 0x1e]
mov byte [edi + 0x15], al
movzx eax, byte [esi + 0x1d]
mov byte [edi + 0x16], al
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x17], al
movzx eax, byte [esi + 0x23]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 0x22]
mov byte [edi + 0x19], al
movzx eax, byte [esi + 0x21]
mov byte [edi + 0x1a], al
movzx eax, byte [esi + 0x20]
mov byte [edi + 0x1b], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x1c], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x1d], al
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x1e], al
movzx eax, byte [esi + 0x24]
mov byte [edi + 0x1f], al
xor eax, eax
pop edi
pop esi
pop ebp
ret
push 0xf0
push str.f:_sourcecryptlibtomcrypt_srchashes_sha2_sha256.c
push str.md___NULL
call fcn.0040c100
push 0xf1
push str.f:_sourcecryptlibtomcrypt_srchashes_sha2_sha256.c
push str.out___NULL
call fcn.0040c100
int3