Function at 0x10008690
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebp, ecx
mov ecx, 0xffff
push edi
movzx eax, word [esi + 6]
mov edi, eax
cmp ax, cx
je 0x100086d5
push esi
call sub.tbb12.dll_unsigned_short_int___cdecl_tbb::detail::r1::execution_slot_struct_tbb::detail::d1::execution_data_const__
add esp, 4
cmp di, ax
je 0x100086d5
push esi
call sub.tbb12.dll_unsigned_short_int___cdecl_tbb::detail::r1::execution_slot_struct_tbb::detail::d1::execution_data_const__
add esp, 4
movzx edx, ax
cmp dword [ebp + 0x60], 0
je 0x100086d5
mov ecx, dword [ebp + 0x64]
mov eax, dword [ebp + 0x74]
mov word [eax + ecx*2], dx
cmp dword [ebp + 0x60], 0x10
jae 0x10008716
push esi
mov dword [ebp + 0x60], 1
call fcn.1000aa60
add esp, 4
test al, al
je 0x10008716
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax + 4]
cmp eax, 2
jl 0x10008716
mov eax, dword [ebp + 0x5c]
mov edx, 1
mov byte [eax + 0xc], 1
mov al, byte [ebp + 0x70]
test al, al
movzx ecx, al
cmove ecx, edx
inc cl
mov byte [ebp + 0x70], cl
mov eax, dword [ebp + 0x44]
lea ebx, [ebp + 0x40]
sub eax, dword [ebx]
cmp dword [ebx + 8], eax
jb 0x10008732
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
cmp dword [ebx + 0x14], eax
jae 0x10008856
cmp dword [ebp + 0x60], 0x10
jbe 0x10008856
nop dword [eax]
push esi
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push 0x80
push eax
call sub.tbb12.dll_void____cdecl_tbb::detail::r1::allocate_class_tbb::detail::d1::small_object_pool____unsigned_int__struct_tbb::detail::d1::execution_data_const__
mov esi, eax
push 0x30
push 0
lea eax, [esi + 0x10]
mov dword [esi + 8], 0
push eax
mov dword [esi + 0xc], 0
call fcn.100263d0
add esp, 0x18
mov dword [esi], vtable.tbb::detail::d1::start_for_class_Intel::OpenCL::TaskExecutor::BlockedRangeByRow2d__struct_TaskLoopBody2D_class_Intel::OpenCL::TaskExecutor::BlockedRangeByRow2d___class_tbb::detail::d1::affinity_partitioner_.0
lea ecx, [esi + 0x40]
push dword [esp + 0x18]
push ebx
call fcn.1000aec0
mov eax, dword [ebp + 0x58]
xor edx, edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], 0
add dword [ebp + 0x60], 0xfffffff0
mov dword [esi + 0x60], 0x10
mov eax, dword [ebp + 0x60]
add eax, dword [ebp + 0x64]
div dword [ebp + 0x68]
push dword [esp + 0x18]
mov dword [esi + 0x64], edx
mov eax, dword [ebp + 0x68]
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], 0
mov al, byte [ebp + 0x70]
mov byte [esi + 0x70], al
mov eax, dword [ebp + 0x74]
mov dword [esi + 0x74], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x78], eax
lea eax, [esp + 0x14]
push 0x10
push eax
call sub.tbb12.dll_void____cdecl_tbb::detail::r1::allocate_class_tbb::detail::d1::small_object_pool____unsigned_int__struct_tbb::detail::d1::execution_data_const__
mov ecx, dword [ebp + 0x5c]
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 2
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
mov dword [ebp + 0x5c], eax
mov dword [esi + 0x5c], eax
cmp dword [esi + 0x60], 0
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
je 0x1000882f
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x74]
movzx eax, word [eax + ecx*2]
test ax, ax
jne 0x10008822
shr ecx, 4
movzx eax, cx
push eax
push edx
push esi
call sub.tbb12.dll_void___cdecl_tbb::detail::r1::spawn_class_tbb::detail::d1::task___class_tbb::detail::d1::task_group_context___unsigned_short_int_
add esp, 0xc
jmp 0x10008839
push edx
push esi
call sub.tbb12.dll_void___cdecl_tbb::detail::r1::spawn_class_tbb::detail::d1::task___class_tbb::detail::d1::task_group_context__
add esp, 8
mov ecx, ebx
call fcn.1000aea0
test al, al
je 0x10008852
cmp dword [ebp + 0x60], 0x10
mov esi, dword [esp + 0x18]
ja 0x10008740
mov esi, dword [esp + 0x18]
push esi
push ebx
push ebp
lea ecx, [ebp + 0x60]
call fcn.10011d40
push esi
mov ecx, ebp
call fcn.1000f1f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 4