Function at 0x4087dc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov byte [ebp - 8], 0x50
push 1
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 8], 0x4b
push 1
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 0xc], 3
push 1
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 0xc], 4
push 1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov edx, dword [ebp + 8]
xor eax, eax
mov ax, word [edx + 2]
and eax, 0xff
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]
xor ecx, ecx
mov cx, word [eax + 2]
sar ecx, 8
mov byte [ebp - 0x10], cl
push 1
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx + 0x2c]
and edx, 0xff
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]
xor eax, eax
mov ax, word [edx + 0x2c]
sar eax, 8
mov byte [ebp - 0x14], al
push 1
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [ebp + 8]
xor ecx, ecx
mov cx, word [eax + 6]
and ecx, 0xff
mov byte [ebp - 0x18], cl
push 1
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 8]
xor edx, edx
mov dx, word [ecx + 6]
sar edx, 8
mov byte [ebp - 0x18], dl
push 1
lea eax, [ebp - 0x18]
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
and eax, 0xff
mov byte [ebp - 0x1c], al
push 1
lea ecx, [ebp - 0x1c]
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]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 0x1c], cl
push 1
lea edx, [ebp - 0x1c]
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
and edx, 0xff
mov byte [ebp - 0x20], dl
push 1
lea eax, [ebp - 0x20]
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]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0x20], al
push 1
lea ecx, [ebp - 0x20]
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
and ecx, 0xff
mov byte [ebp - 0x24], cl
push 1
lea edx, [ebp - 0x24]
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]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0x24], dl
push 1
lea eax, [ebp - 0x24]
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
and eax, 0xff
mov byte [ebp - 0x28], al
push 1
lea ecx, [ebp - 0x28]
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]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 0x28], cl
push 1
lea edx, [ebp - 0x28]
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
and edx, 0xff
mov byte [ebp - 0x2c], dl
push 1
lea eax, [ebp - 0x2c]
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]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 0x2c], al
push 1
lea ecx, [ebp - 0x2c]
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
and ecx, 0xff
mov byte [ebp - 0x30], cl
push 1
lea edx, [ebp - 0x30]
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]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 0x30], dl
push 1
lea eax, [ebp - 0x30]
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
and eax, 0xff
mov byte [ebp - 0x34], al
push 1
lea ecx, [ebp - 0x34]
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]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 0x34], cl
push 1
lea edx, [ebp - 0x34]
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
and edx, 0xff
mov byte [ebp - 0x38], dl
push 1
lea eax, [ebp - 0x38]
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]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0x38], al
push 1
lea ecx, [ebp - 0x38]
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]
and ecx, 0xff
mov byte [ebp - 0x3c], cl
push 1
lea edx, [ebp - 0x3c]
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 + 0x18]
shr edx, 8
mov byte [ebp - 0x3c], dl
push 1
lea eax, [ebp - 0x3c]
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 + 0x1c]
and eax, 0xff
mov byte [ebp - 0x40], al
push 1
lea ecx, [ebp - 0x40]
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 + 0x1c]
shr ecx, 8
mov byte [ebp - 0x40], cl
push 1
lea edx, [ebp - 0x40]
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 + 0x18]
push edx
mov eax, dword [ebp + 8]
add eax, 0x148
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
je 0x408bb2
mov eax, 0xa
jmp 0x408bed
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0
je 0x408beb
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x13c]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x1c]
je 0x408beb
mov eax, 0xa
jmp 0x408bed
xor eax, eax
mov esp, ebp
pop ebp
ret