Function at 0x10014e80
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1003e2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x1004d650]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004d650]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [0x1004fea0]
mov ebp, dword [esp + 0x70]
push eax
mov esi, ecx
mov dword [esp + 0x28], ebp
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor ebx, ebx
cmp eax, ebx
jne 0x10014edb
push 1
push ebx
push 0xffffffffffffffff
call fcn.10012020
add esp, 0xc
mov edi, eax
mov eax, dword [esi]
cmp dword [edi + 0x10], eax
jne 0x10014ef2
mov edx, dword [ebp]
mov eax, dword [edx]
mov ecx, ebp
call eax
jmp 0x100151d0
mov eax, dword [eax + 0x180]
cmp eax, ebx
jne 0x10014f47
mov eax, dword [esi]
add eax, 0x180
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
lock cmpxchg dword [edx], ecx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], ebx
jne 0x10014f47
cmp dword [esi + 0xc], ebx
mov eax, dword [edi + 0x40]
sete cl
movzx edx, cl
mov ecx, dword [esi]
push ebp
push edx
push eax
push ecx
mov ecx, edi
call fcn.10014060
jmp 0x100151d0
mov eax, 0xcdcdcdcd
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov word [esp + 0x55], bx
mov byte [esp + 0x57], bl
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov byte [esp + 0x54], bl
mov eax, dword [edi + 0x40]
mov eax, dword [eax - 0x20]
push eax
push ebx
push 4
mov ecx, edi
mov dword [esp + 0x74], ebx
call fcn.10016030
cmp eax, ebx
je 0x10014f90
mov byte [eax - 7], 1
mov dword [eax], vtable.tbb::empty_task.0
mov ebp, eax
jmp 0x10014f92
xor ebp, ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edi
mov dword [ebp - 0x10], 2
mov edx, dword [esi + 4]
push 0x10
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
mov dword [esp + 0x24], edx
call sym.tbb.dll_public:_class_tbb::task____thiscall_tbb::internal::allocate_root_with_context_proxy::allocate_unsigned_int_const
cmp eax, ebx
je 0x10014fdd
mov ecx, dword [esi]
mov edx, dword [esp + 0x24]
add ecx, 0x100
mov byte [eax - 7], 1
mov dword [eax], vtable.tbb::interface7::internal::delegated_task.0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ebp
mov ebx, eax
mov eax, dword [0x1004fea0]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x14], eax
mov eax, dword [0x1004c22c]
test eax, eax
je 0x10014ff8
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 0xd4]
mov dword [edx + 0x10], eax
mov eax, dword [esi]
mov byte [ebx - 8], 2
or byte [ebx - 7], 0x10
mov edx, dword [0x1004c1c8]
mov dword [esp + 0x18], eax
lea ecx, [eax + 0x9c]
test edx, edx
je 0x1001502b
push ecx
call edx
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x14]
add ecx, 0x34
push ecx
push ebx
lea ecx, [eax + 0x9c]
call fcn.10014c70
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x88]
cmp edx, 1
je 0x1001505c
mov ecx, dword [ebx + 0xc0]
push 1
push ebx
call fcn.10012ef0
mov ecx, ebx
call fcn.10013ec0
mov eax, dword [ebx + 0x88]
cmp eax, 1
je 0x1001507c
mov ecx, dword [ebx + 0xc0]
push 1
push ebx
call fcn.10012ef0
mov ebx, vtable.tbb::interface7::internal::delegate_base.0
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, dword [esi]
lea edx, [esp + 0x48]
push edx
add ecx, 0x100
call fcn.1000ce00
mov eax, dword [ebp - 0x10]
cmp eax, 2
jl 0x10015189
mov eax, dword [esi]
mov eax, dword [eax + 0x180]
test eax, eax
jne 0x10015136
mov eax, dword [esi]
add eax, 0x180
mov dword [esp + 0x20], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
lock cmpxchg dword [edx], ecx
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0
jne 0x10015136
mov ecx, dword [esi]
lea eax, [esp + 0x44]
push eax
add ecx, 0x100
call fcn.1000ce80
mov dword [esp + 0x30], vtable.tbb::interface7::internal::arena_join_body.0
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebp
cmp dword [esi + 0xc], 0
lea ecx, [esp + 0x30]
sete dl
push ecx
mov ecx, dword [edi + 0x40]
movzx eax, dl
mov edx, dword [esi]
push eax
push ecx
push edx
mov ecx, edi
mov byte [esp + 0x78], 2
call fcn.10014060
mov byte [esp + 0x68], 1
mov dword [esp + 0x30], ebx
jmp 0x1001517b
mov ecx, dword [esi]
mov eax, dword [ecx + 0x110]
add ecx, 0x100
cmp dword [esp + 0x50], eax
sete al
test al, al
je 0x10015171
mov ecx, dword [esp + 0x4c]
push 0
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
cmp byte [esp + 0x56], 0
je 0x1001517b
push 0x12
call sym.tbb.dll_void___cdecl_tbb::internal::throw_exception_v4_enum_tbb::internal::exception_id_
add esp, 4
jmp 0x1001517b
lea edx, [esp + 0x44]
push edx
call fcn.1000ce80
mov eax, dword [ebp - 0x10]
cmp eax, 2
je 0x10015081
jmp 0x1001519b
mov ecx, dword [esi]
lea eax, [esp + 0x44]
push eax
add ecx, 0x100
call fcn.1000ce80
mov byte [ebp - 8], 4
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 4], ecx
mov dword [edi + 0x3c], ebp
cmp byte [esp + 0x57], 0
je 0x100151d0
cmp byte [esp + 0x55], 0
je 0x100151c5
mov edx, dword [esp + 0x4c]
push 0
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.1001cbd7
add esp, 0x58
ret 4