Function at 0x1009a760
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
push ebx
xor eax, eax
push ebp
push esi
cmp dword [edi + 0x60], eax
je 0x1009a9bb
cmp dword [edi + 8], eax
mov ebx, dword [edi + 0xc]
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [esp + 0xc], eax
jle 0x1009a7f4
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
xor esi, esi
test eax, eax
jle 0x1009a7e3
lea ebp, [ecx + 0xc]
mov ecx, dword [ebp - 4]
sub ecx, esi
lea ecx, [ecx + eax - 1]
sub eax, esi
mov edx, 1
shl edx, cl
mov ecx, dword [ebp]
lea ecx, [eax + ecx - 1]
mov eax, 1
imul edx, dword [ebx + 8]
shl eax, cl
mov ecx, dword [edi + 0x30]
imul eax, dword [ebx + 0xc]
test ecx, ecx
je 0x1009a7c4
cmp ecx, edx
jl 0x1009a7c6
mov ecx, edx
mov dword [edi + 0x30], ecx
mov ecx, dword [edi + 0x34]
test ecx, ecx
je 0x1009a7d6
cmp ecx, eax
jge 0x1009a7d6
mov eax, ecx
mov dword [edi + 0x34], eax
mov eax, dword [ebx]
inc esi
add ebp, 0x14
cmp esi, eax
jl 0x1009a791
mov eax, dword [esp + 0xc]
inc eax
add ebx, 0x10
cmp eax, dword [edi + 8]
mov dword [esp + 0xc], eax
jl 0x1009a783
mov edx, dword [edi + 0x3c]
mov dword [edi + 0x60], 0
mov dword [edi + 0x2c], edx
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x44]
jge 0x1009aa0e
mov ecx, dword [edi + 0x38]
mov edx, ecx
cmp edx, dword [edi + 0x40]
mov dword [edi + 0x28], ecx
jge 0x1009a9ec
mov eax, dword [edi + 0x48]
movzx eax, word [eax + 4]
mov dword [edi + 0x18], eax
shl eax, 4
add eax, dword [edi + 0xc]
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 0x18]
cmp ecx, dword [edi + 8]
jge 0x1009a9d8
mov eax, dword [edi + 0x48]
movzx edx, word [eax + 6]
cmp ecx, edx
jge 0x1009a9d8
movzx eax, byte [eax + 1]
mov ecx, dword [edi + 0x10]
mov dword [edi + 0x1c], eax
mov edx, dword [ecx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [edi + 0x14], eax
mov ebx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
cmp eax, dword [ebx]
jge 0x1009a9cc
mov ecx, dword [edi + 0x48]
movzx ecx, byte [ecx + 2]
cmp eax, ecx
jge 0x1009a9cc
mov ecx, dword [edi + 0x14]
cmp dword [ecx], 0
je 0x1009a9c0
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 0x1009a8ef
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 0x1009a907
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 0x1009a9c0
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x3c]
jne 0x1009a92f
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 0x1009a946
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 0x1009a9c0
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 0x1009a9c0
mov ecx, dword [edi + 0x48]
movzx edx, word [ecx + 8]
cmp eax, edx
jge 0x1009a9c0
mov edx, dword [edi + 0x14]
mov ecx, dword [edi + 0x20]
mov edx, dword [edx + 4]
cmp eax, dword [edx + ecx*4]
lea ecx, [edx + ecx*4]
jge 0x1009aa03
inc dword [edi + 0x24]
jmp 0x1009a998
inc dword [edi + 0x1c]
add dword [edi + 0x14], 0x14
jmp 0x1009a862
inc dword [edi + 0x18]
add dword [edi + 0x10], 0x10
jmp 0x1009a831
mov ecx, dword [edi + 0x28]
mov esi, dword [edi + 0x30]
mov eax, ecx
cdq
idiv esi
sub ecx, edx
add ecx, esi
jmp 0x1009a810
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 0x1009a801
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