Function at 0x40aec0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0x2014b50
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ad00
add esp, 8
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040ad60
add esp, 8
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 2]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ad60
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ad60
add esp, 8
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040ad60
add esp, 8
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ad60
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ad60
add esp, 8
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040ad00
add esp, 8
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ad00
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 4
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ad00
add esp, 8
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x18]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040ad60
add esp, 8
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x1a]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ad60
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ad60
add esp, 8
mov edx, dword [ebp - 4]
add edx, 2
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1e]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040ad60
add esp, 8
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.0040ad60
add esp, 8
mov ecx, dword [ebp - 4]
add ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.0040ad00
add esp, 8
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.0040ad00
add esp, 8
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x18]
test edx, edx
je 0x40b0e1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402ec0
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x18]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x1a]
test edx, edx
je 0x40b114
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1a]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x30]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402ec0
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x1a]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
movzx edx, word [ecx + 0x1c]
test edx, edx
je 0x40b147
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.00402ec0
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 0x1c]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret