Function at 0x40f520
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov byte [ebp - 1], 0x50
push 1
lea eax, [ebp - 1]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 1], 0x4b
push 1
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 2], 1
push 1
lea ecx, [ebp - 2]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 2], 2
push 1
lea eax, [ebp - 2]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, word [edx]
and eax, 0xff
mov byte [ebp - 3], al
push 1
lea ecx, [ebp - 3]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
sar ecx, 8
mov byte [ebp - 3], cl
push 1
lea edx, [ebp - 3]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 2]
and edx, 0xff
mov byte [ebp - 4], dl
push 1
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, word [edx + 2]
sar eax, 8
mov byte [ebp - 4], al
push 1
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 4]
and ecx, 0xff
mov byte [ebp - 5], cl
push 1
lea edx, [ebp - 5]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 4]
sar edx, 8
mov byte [ebp - 5], dl
push 1
lea eax, [ebp - 5]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, word [edx + 6]
and eax, 0xff
mov byte [ebp - 6], al
push 1
lea ecx, [ebp - 6]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
sar ecx, 8
mov byte [ebp - 6], cl
push 1
lea edx, [ebp - 6]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
and edx, 0xffff
and edx, 0xff
mov byte [ebp - 7], dl
push 1
lea eax, [ebp - 7]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 7], al
push 1
lea ecx, [ebp - 7]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xff
mov byte [ebp - 8], cl
push 1
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 8], dl
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
and eax, 0xffff
and eax, 0xff
mov byte [ebp - 9], al
push 1
lea ecx, [ebp - 9]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 9], cl
push 1
lea edx, [ebp - 9]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xc]
shr edx, 0x10
and edx, 0xff
mov byte [ebp - 0xa], dl
push 1
lea eax, [ebp - 0xa]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0xa], al
push 1
lea ecx, [ebp - 0xa]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
and ecx, 0xffff
and ecx, 0xff
mov byte [ebp - 0xb], cl
push 1
lea edx, [ebp - 0xb]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0xb], dl
push 1
lea eax, [ebp - 0xb]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
shr eax, 0x10
and eax, 0xff
mov byte [ebp - 0xc], al
push 1
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 0xc], cl
push 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
and edx, 0xffff
and edx, 0xff
mov byte [ebp - 0xd], dl
push 1
lea eax, [ebp - 0xd]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 0xd], al
push 1
lea ecx, [ebp - 0xd]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
and ecx, 0xff
mov byte [ebp - 0xe], cl
push 1
lea edx, [ebp - 0xe]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 0xe], dl
push 1
lea eax, [ebp - 0xe]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
and eax, 0xff
mov byte [ebp - 0xf], al
push 1
lea ecx, [ebp - 0xf]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
shr ecx, 8
mov byte [ebp - 0xf], cl
push 1
lea edx, [ebp - 0xf]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
and edx, 0xff
mov byte [ebp - 0x10], dl
push 1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
shr eax, 8
mov byte [ebp - 0x10], al
push 1
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x24]
and ecx, 0xff
mov byte [ebp - 0x11], cl
push 1
lea edx, [ebp - 0x11]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
shr edx, 8
mov byte [ebp - 0x11], dl
push 1
lea eax, [ebp - 0x11]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x28]
and eax, 0xff
mov byte [ebp - 0x12], al
push 1
lea ecx, [ebp - 0x12]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x28]
sar ecx, 8
mov byte [ebp - 0x12], cl
push 1
lea edx, [ebp - 0x12]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x2a]
and edx, 0xff
mov byte [ebp - 0x13], dl
push 1
lea eax, [ebp - 0x13]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x2a]
sar eax, 8
mov byte [ebp - 0x13], al
push 1
lea ecx, [ebp - 0x13]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
and ecx, 0xffff
and ecx, 0xff
mov byte [ebp - 0x14], cl
push 1
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x30]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0x14], dl
push 1
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
shr eax, 0x10
and eax, 0xff
mov byte [ebp - 0x15], al
push 1
lea ecx, [ebp - 0x15]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 0x15], cl
push 1
lea edx, [ebp - 0x15]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
and edx, 0xffff
and edx, 0xff
mov byte [ebp - 0x16], dl
push 1
lea eax, [ebp - 0x16]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x34]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 0x16], al
push 1
lea ecx, [ebp - 0x16]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x34]
shr ecx, 0x10
and ecx, 0xff
mov byte [ebp - 0x17], cl
push 1
lea edx, [ebp - 0x17]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x34]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 0x17], dl
push 1
lea eax, [ebp - 0x17]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x148
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x18]
jne 0x40fb33
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 0
je 0x40fb07
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x20]
jne 0x40fb33
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x40fb3a
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x24]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x144]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
cmp eax, dword [ecx + 0x24]
je 0x40fb3a
mov eax, 0xa
jmp 0x40fb3c
xor eax, eax
mov esp, ebp
pop ebp
ret