Function at 0x1018ea50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x1020b06c]
xor eax, esp
mov dword [esp + 0xd4], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov eax, dword [edx + 8]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edx
mov eax, dword [eax + 0xe0]
mov dword [esp + 0xc], eax
mov edi, dword [eax]
mov dword [eax + 0xc], edx
movzx esi, word [ecx + 6]
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x1018eabd
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x1018eaa5
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x1018eae8
nop dword [eax + eax]
movzx esi, cx
shl esi, 4
add esi, edi
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x1018ead0
and ecx, 0xf0000000
cmp ecx, 0x60000000
jne 0x1018ecb5
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push esi
push dword [esp + 0x14]
push edx
call fcn.1018e560
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x30]
mov eax, dword [esp + 0x1c]
add esp, 0x10
sub esi, dword [eax]
mov dword [eax + 0x94], 0xffffffff
call fcn.10005736
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x94], 0xffffffff
je 0x1018eb71
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push ecx
push dword [eax + 0x18]
mov dword [esp + 0x1c], 0xfffffffc
push dword [esp + 0x10]
call fcn.10157f90
add esp, 0xc
mov dword [eax + 4], 0xfffffffd
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add esi, eax
mov dword [esp + 0x10], eax
mov edx, dword [esi]
jmp 0x1018eb84
mov eax, dword [esp + 0x10]
movzx ecx, dx
shl ecx, 4
add ecx, eax
mov edx, dword [ecx]
mov eax, edx
shr eax, 0x1c
cmp eax, 8
je 0x1018eb80
cmp eax, 4
jne 0x1018ebac
mov dword [esp + 0x10], 0
xor eax, eax
jmp 0x1018ec53
mov dword [esp + 0x10], 1
cmp eax, 1
jne 0x1018ebe5
cmp byte [esp + 0x29], 0
jne 0x1018ebde
push dword [ecx + 4]
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 8]
add eax, 8
push eax
call fcn.1019b090
add esp, 0xc
mov eax, 1
jmp 0x1018ec53
mov eax, edx
and eax, 0xf4000000
cmp eax, 0x34000000
jne 0x1018ec19
cmp byte [esp + 0x29], 0
jne 0x1018ec12
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x14]
mov eax, dword [eax - 8]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, 1
jmp 0x1018ec53
cmp eax, 0x4000000
je 0x1018ec2e
and edx, 0xf8000000
cmp edx, 0x38000000
jne 0x1018ec34
lea eax, [esp + 0x30]
jmp 0x1018ec38
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x14]
sub eax, 8
push eax
push 0
push ecx
push dword [esp + 0x1c]
call fcn.10188f80
add esp, 0x14
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 8]
add edi, eax
cmp dword [esp + 0x24], 0
je 0x1018ec7e
mov eax, dword [esi]
test eax, 0x30000
jne 0x1018ec7e
or eax, 0x30000
mov dword [esi], eax
mov eax, dword [edx + 8]
and dword [eax + 0x214], 0xffffffef
test edi, edi
jle 0x1018ec9d
mov ecx, dword [edx + 8]
dec edi
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x18]
jb 0x1018ec99
mov ecx, edx
call fcn.10153cb0
mov edx, dword [esp + 8]
test edi, edi
jg 0x1018ec82
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.1014d1c5
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xdc]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, esp
call fcn.1014d1c5
mov esp, ebp
pop ebp
ret