Function at 0x10157d80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov byte [ebp - 5], 0x50
push 1
lea eax, [ebp - 5]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 5], 0x4b
push 1
lea edx, [ebp - 5]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 6], 3
push 1
lea ecx, [ebp - 6]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 0xc
mov byte [ebp - 6], 4
push 1
lea eax, [ebp - 6]
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]
and eax, 0xff
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]
movzx ecx, word [eax + 2]
sar ecx, 8
mov byte [ebp - 7], cl
push 1
lea edx, [ebp - 7]
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 + 0x2c]
and edx, 0xff
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]
movzx eax, word [edx + 0x2c]
sar eax, 8
mov byte [ebp - 8], al
push 1
lea ecx, [ebp - 8]
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]
and ecx, 0xff
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]
movzx edx, word [ecx + 6]
sar edx, 8
mov byte [ebp - 9], dl
push 1
lea eax, [ebp - 9]
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 - 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 + 8]
and ecx, 0xffff
shr ecx, 8
mov byte [ebp - 0xa], cl
push 1
lea edx, [ebp - 0xa]
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 - 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 + 8]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0xb], al
push 1
lea ecx, [ebp - 0xb]
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 - 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 + 0xc]
and edx, 0xffff
shr edx, 8
mov byte [ebp - 0xc], dl
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]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xff
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 + 0xc]
shr ecx, 0x10
shr ecx, 8
mov byte [ebp - 0xd], cl
push 1
lea edx, [ebp - 0xd]
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 - 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 + 0x10]
and eax, 0xffff
shr eax, 8
mov byte [ebp - 0xe], al
push 1
lea ecx, [ebp - 0xe]
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 - 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 + 0x10]
shr edx, 0x10
shr edx, 8
mov byte [ebp - 0xf], dl
push 1
lea eax, [ebp - 0xf]
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 - 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 + 0x14]
and ecx, 0xffff
shr 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]
mov edx, dword [ecx + 0x14]
shr edx, 0x10
and edx, 0xff
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]
mov eax, dword [edx + 0x14]
shr eax, 0x10
shr eax, 8
mov byte [ebp - 0x11], al
push 1
lea ecx, [ebp - 0x11]
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 - 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]
mov edx, dword [ecx + 0x18]
shr edx, 8
mov byte [ebp - 0x12], dl
push 1
lea eax, [ebp - 0x12]
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 - 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 + 0x1c]
shr ecx, 8
mov byte [ebp - 0x13], cl
push 1
lea edx, [ebp - 0x13]
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 0x1015814a
mov eax, 0xa
jmp 0x10158185
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x1c], 0
je 0x10158183
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 0x10158183
mov eax, 0xa
jmp 0x10158185
xor eax, eax
mov esp, ebp
pop ebp
ret