Function at 0x10007600
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push esi
push edi
movzx eax, word [ebx + 6]
mov edi, ecx
mov ecx, 0xffff
mov dword [esp + 0x14], edi
mov esi, eax
cmp ax, cx
je 0x10007638
push ebx
call sub.tbb12.dll_unsigned_short_int___cdecl_tbb::detail::r1::execution_slot_struct_tbb::detail::d1::execution_data_const__
add esp, 4
cmp si, ax
je 0x10007638
push ebx
call sub.tbb12.dll_unsigned_short_int___cdecl_tbb::detail::r1::execution_slot_struct_tbb::detail::d1::execution_data_const__
add esp, 4
cmp dword [edi + 0x60], 0
lea esi, [edi + 0x60]
jne 0x1000767b
push ebx
mov dword [esi], 1
call fcn.1000aa60
add esp, 4
test al, al
je 0x1000767b
mov eax, dword [edi + 0x5c]
mov eax, dword [eax + 4]
cmp eax, 2
jl 0x1000767b
mov eax, dword [edi + 0x5c]
mov edx, 1
mov byte [eax + 0xc], 1
mov al, byte [esi + 8]
test al, al
movzx ecx, al
cmove ecx, edx
inc cl
mov byte [esi + 8], cl
mov eax, dword [edi + 0x40]
lea ebp, [edi + 0x40]
sub eax, dword [ebp + 4]
cmp dword [ebp + 8], eax
jb 0x10007698
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jae 0x100077ae
mov eax, dword [esi]
cmp eax, 1
ja 0x100076bd
test eax, eax
je 0x100077ae
mov al, byte [esi + 8]
test al, al
je 0x100077ae
dec al
mov dword [esi], 0
mov byte [esi + 8], al
lea eax, [esp + 0x1c]
push eax
call fcn.10015540
add esp, 4
mov byte [esp + 0x1c], al
nop
push ebx
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 edi, eax
push 0x30
push 0
lea ecx, [edi + 0x10]
mov dword [edi + 8], 0
push ecx
mov dword [edi + 0xc], 0
call fcn.100263d0
add esp, 0x18
mov dword [edi], vtable.tbb::detail::d1::start_for_class_Intel::OpenCL::TaskExecutor::BlockedRangeByDefaultTBB2d__struct_TaskLoopBody2D_class_Intel::OpenCL::TaskExecutor::BlockedRangeByDefaultTBB2d___class_tbb::detail::d1::auto_partitioner_const__.0
lea ecx, [edi + 0x40]
push dword [esp + 0x1c]
push ebp
call fcn.1000b240
mov ecx, dword [esp + 0x14]
push ebx
push 0x10
mov eax, dword [ecx + 0x58]
mov dword [edi + 0x58], eax
shr dword [esi], 1
mov eax, dword [esi]
mov dword [edi + 0x60], eax
mov dword [edi + 0x64], 2
mov al, byte [esi + 8]
mov byte [edi + 0x68], al
mov eax, dword [esp + 0x18]
mov dword [edi + 0x6c], eax
lea eax, [esp + 0x18]
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 edx, dword [esp + 0x20]
mov ecx, dword [edx + 0x5c]
mov dword [eax], ecx
mov dword [eax + 4], 2
mov ecx, dword [esp + 0x1c]
mov dword [eax + 8], ecx
mov byte [eax + 0xc], 0
mov dword [edx + 0x5c], eax
mov dword [edi + 0x5c], eax
push dword [ebx]
push edi
call sub.tbb12.dll_void___cdecl_tbb::detail::r1::spawn_class_tbb::detail::d1::task___class_tbb::detail::d1::task_group_context__
add esp, 0x14
mov ecx, ebp
call fcn.1000b220
test al, al
je 0x100077aa
mov eax, dword [esi]
cmp eax, 1
ja 0x100076d0
test eax, eax
je 0x100077aa
mov al, byte [esi + 8]
test al, al
je 0x100077aa
dec al
mov dword [esi], 0
mov byte [esi + 8], al
jmp 0x100076d0
mov edi, dword [esp + 0x14]
push ebx
push ebp
push edi
mov ecx, esi
call fcn.100104f0
push ebx
mov ecx, edi
call fcn.1000f1b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 4