Function at 0x1009aa20
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [edi + 0x48]
sub esp, 0x10
cmp dword [edi + 0x60], 0
push ebx
push ebp
push esi
je 0x1009acc4
mov dword [edi + 0x60], 0
movzx eax, word [eax + 4]
mov dword [edi + 0x18], eax
shl eax, 4
add eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x48]
movzx eax, word [eax + 6]
cmp dword [edi + 0x18], eax
jge 0x1009ad17
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [edx + 8]
mov esi, dword [eax]
lea ecx, [ecx + esi - 1]
mov esi, 1
shl esi, cl
imul esi, dword [eax + 8]
mov dword [edi + 0x30], esi
mov edx, dword [edx + 0xc]
mov ecx, dword [eax]
lea ecx, [edx + ecx - 1]
mov edx, 1
shl edx, cl
imul edx, dword [eax + 0xc]
mov dword [edi + 0x34], edx
mov ecx, dword [eax + 4]
mov edx, 1
add ecx, 0x14
cmp dword [eax], edx
jle 0x1009ab2f
lea ebp, [ecx + 0xc]
mov dword [esp + 0xc], ebp
mov ebx, dword [ebp - 4]
mov esi, dword [eax]
mov ecx, ebx
sub ecx, edx
lea ecx, [ecx + esi - 1]
mov esi, 1
shl esi, cl
imul esi, dword [eax + 8]
mov ecx, esi
mov esi, dword [edi + 0x30]
cmp esi, ecx
jl 0x1009aadc
mov ecx, dword [eax]
sub ebx, edx
lea ecx, [ebx + ecx - 1]
mov esi, 1
shl esi, cl
imul esi, dword [eax + 8]
mov ebx, dword [edi + 0x34]
mov dword [edi + 0x30], esi
mov esi, dword [ebp]
mov ebp, dword [eax]
mov ecx, esi
sub ecx, edx
lea ecx, [ecx + ebp - 1]
mov ebp, 1
shl ebp, cl
imul ebp, dword [eax + 0xc]
cmp ebx, ebp
jge 0x1009ab02
mov esi, ebx
jmp 0x1009ab15
mov ecx, dword [eax]
sub esi, edx
lea ecx, [esi + ecx - 1]
mov esi, 1
shl esi, cl
imul esi, dword [eax + 0xc]
mov ebp, dword [esp + 0xc]
mov dword [edi + 0x34], esi
mov ecx, dword [edi + 0x10]
inc edx
add ebp, 0x14
cmp edx, dword [ecx]
mov dword [esp + 0xc], ebp
jl 0x1009aaa8
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x2c], edx
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x44]
jge 0x1009ad00
mov ecx, dword [edi + 0x38]
mov edx, ecx
cmp edx, dword [edi + 0x40]
mov dword [edi + 0x28], ecx
jge 0x1009ace9
mov eax, dword [edi + 0x48]
movzx eax, byte [eax + 1]
mov ecx, dword [edi + 0x10]
lea edx, [eax + eax*4]
mov dword [edi + 0x1c], eax
mov eax, dword [ecx + 4]
lea ecx, [eax + edx*4]
mov dword [edi + 0x14], ecx
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebx]
jge 0x1009acd5
mov ecx, dword [edi + 0x48]
movzx edx, byte [ecx + 2]
cmp eax, edx
jge 0x1009acd5
mov ecx, dword [edi + 0x14]
cmp dword [ecx], 0
je 0x1009acc9
mov esi, dword [ebx]
mov ebp, dword [ebx + 8]
sub esi, eax
mov eax, dword [edi + 0x38]
dec esi
mov ecx, esi
shl ebp, cl
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov ebp, dword [ebx + 0xc]
shl ebp, cl
mov ecx, dword [edi + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x3c]
lea eax, [eax + ebp - 1]
cdq
idiv ebp
mov ebp, dword [edi + 0x14]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
lea edx, [eax + esi]
cmp ecx, dword [edi + 0x38]
jne 0x1009abf8
mov eax, dword [esp + 0x14]
mov ecx, esi
shl eax, cl
mov ecx, 1
mov dword [esp + 0x18], ecx
mov ecx, edx
mov edx, dword [esp + 0x18]
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x1009ac10
mov eax, dword [ebp + 8]
lea ecx, [eax + esi]
mov eax, dword [ebx + 8]
shl eax, cl
mov ecx, eax
mov eax, dword [edi + 0x28]
cdq
idiv ecx
test edx, edx
jne 0x1009acc9
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x3c]
jne 0x1009ac38
mov eax, dword [esp + 0xc]
mov ecx, esi
shl eax, cl
mov ecx, 1
mov edx, ecx
mov ecx, dword [ebp + 0xc]
add ecx, esi
shl edx, cl
mov ecx, edx
xor edx, edx
div ecx
test edx, edx
jne 0x1009ac4f
mov eax, dword [ebp + 0xc]
lea ecx, [eax + esi]
mov eax, dword [ebx + 0xc]
shl eax, cl
mov ecx, eax
mov eax, dword [edi + 0x2c]
cdq
idiv ecx
test edx, edx
jne 0x1009acc9
mov eax, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
mov ecx, esi
shl eax, cl
shl ebx, cl
mov ecx, dword [edi + 0x2c]
mov dword [esp + 0x18], eax
lea eax, [eax + ecx - 1]
cdq
idiv dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [esp + 0xc]
shr eax, cl
sar esi, cl
mov ecx, dword [ebp + 8]
sub esi, eax
mov eax, dword [edi + 0x28]
imul esi, dword [ebp + 0x10]
lea eax, [ebx + eax - 1]
cdq
idiv ebx
mov dword [edi + 0x24], 0
sar eax, cl
add esi, eax
mov eax, dword [esp + 0x14]
shr eax, cl
sub esi, eax
mov dword [edi + 0x20], esi
mov eax, dword [edi + 0x24]
cmp eax, dword [edi]
jge 0x1009acc9
mov ecx, dword [edi + 0x48]
movzx ecx, word [ecx + 8]
cmp eax, ecx
jge 0x1009acc9
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x20]
mov ecx, dword [ecx + 4]
cmp eax, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
jge 0x1009ad0c
inc dword [edi + 0x24]
jmp 0x1009aca1
inc dword [edi + 0x1c]
add dword [edi + 0x14], 0x14
jmp 0x1009ab6b
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x30]
mov eax, ecx
cdq
idiv esi
sub ecx, edx
add ecx, esi
jmp 0x1009ab44
mov ecx, dword [edi + 0x2c]
mov esi, dword [edi + 0x34]
mov eax, ecx
cdq
idiv esi
sub ecx, edx
add ecx, esi
mov dword [edi + 0x2c], ecx
jmp 0x1009ab35
inc dword [edi + 0x18]
add dword [edi + 0x10], 0x10
jmp 0x1009aa4a
inc dword [ecx]
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10
ret