Function at 0x40ce10
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], 0x50
call fcn.0040d8c0
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], 0x4b
call fcn.0040d8c0
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], 1
call fcn.0040d8c0
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], 2
call fcn.0040d8c0
movzx ecx, byte [edi]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 1]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 2]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 3]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 4]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 5]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 6]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 7]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 8]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 9]
push 1
lea edx, [ebp - 1]
mov byte [ebp - 1], cl
push edx
call fcn.0040d8c0
movzx eax, byte [edi + 0xa]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0xb]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0xc]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0xd]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0xe]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0xf]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x10]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x11]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0x12]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x13]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x14]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0x15]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x16]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x17]
mov byte [ebp - 1], dl
push 1
lea eax, [ebp - 1]
push eax
call fcn.0040d8c0
movzx ecx, byte [edi + 0x18]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
mov eax, dword [edi + 0x18]
push 1
lea ecx, [ebp - 1]
shr eax, 8
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x20]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
mov ecx, dword [edi + 0x20]
push 1
lea edx, [ebp - 1]
shr ecx, 8
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x24]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
mov edx, dword [edi + 0x24]
push 1
lea eax, [ebp - 1]
shr edx, 8
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0x28]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x29]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x2a]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0x2b]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x30]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x31]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0x32]
mov byte [ebp - 1], cl
push 1
lea edx, [ebp - 1]
push edx
call fcn.0040d8c0
movzx eax, byte [edi + 0x33]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x34]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
movzx ecx, byte [edi + 0x35]
push 1
lea edx, [ebp - 1]
push edx
mov byte [ebp - 1], cl
call fcn.0040d8c0
movzx eax, byte [edi + 0x36]
push 1
lea ecx, [ebp - 1]
push ecx
mov byte [ebp - 1], al
call fcn.0040d8c0
movzx edx, byte [edi + 0x37]
push 1
lea eax, [ebp - 1]
push eax
mov byte [ebp - 1], dl
call fcn.0040d8c0
mov eax, dword [edi + 0x18]
test eax, eax
je 0x40d160
push eax
lea ecx, [edi + 0x148]
push ecx
call fcn.0040d8c0
cmp eax, dword [edi + 0x18]
jne 0x40d19e
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x40d17e
mov eax, dword [edi + 0x140]
push ecx
push eax
call fcn.0040d8c0
cmp eax, dword [edi + 0x20]
jne 0x40d19e
mov ecx, dword [edi + 0x24]
test ecx, ecx
je 0x40d197
mov eax, dword [edi + 0x144]
push ecx
push eax
call fcn.0040d8c0
cmp eax, dword [edi + 0x24]
jne 0x40d19e
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret