Function at 0x4185fd
Capabilities:
Enumerate pe sections

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