Function at 0x1801ebce0
Capabilities:
Allocate thread local storage
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0xa0
mov rax, qword [0x18066dcd8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov esi, 1
xor eax, eax
mov ebx, esi
lock cmpxchg byte [0x18067c0ba], sil
je 0x1801ebd3e
cmp ebx, 0x10
jg 0x1801ebd2b
movsxd rax, ebx
test ebx, ebx
je 0x1801ebd27
nop
pause
sub rax, rsi
jne 0x1801ebd20
add ebx, ebx
jmp 0x1801ebd31
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
xor eax, eax
lock cmpxchg byte [0x18067c0ba], sil
jne 0x1801ebd13
cmp byte [0x18067c0bb], 0
jne 0x1801ebfe8
mov eax, esi
lock xadd dword [0x18067c2a8], eax
inc eax
cmp eax, esi
jne 0x1801ebd92
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x1801ec010
mov dword [0x18067c294], eax
xor ecx, ecx
mov eax, 7
xorps xmm0, xmm0
cpuid
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], ebx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
lea rcx, str.TBB_VERSION
mov qword [rsp + 0xb0], rdi
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1801ebde5
movzx ecx, byte [rax]
cmp cl, byte [0x1805ac070]
jne 0x1801ebdc3
movzx eax, byte [rax + 1]
cmp al, byte [0x1805ac071]
je 0x1801ebde5
mov ecx, 2
mov byte [0x18067cb47], sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.TBB:_VERSION_t_t4.4_nTBB:_INTERFACE_VERSION_t9003_nTBB:_BUILD_DATE_t_tSep_21_202310:16:51_nEmptyTBB:_TBB_USE_DEBUG_t0_nTBB:_TBB_USE_ASSERT_t0_nTBB:_DO_ITT_NOTIFY_t1_n
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
call fcn.1801ebc80
mov eax, dword [0x180703988]
movzx edi, byte [0x18067cb45]
cmp eax, 2
je 0x1801ebe67
nop dword [rax]
mov eax, dword [0x180703988]
test eax, eax
jne 0x1801ebe14
lock cmpxchg dword [0x180703988], esi
je 0x1801ebe58
mov eax, dword [0x180703988]
mov ebx, esi
cmp eax, ebx
jne 0x1801ebe4b
cmp ebx, 0x10
jg 0x1801ebe3b
movsxd rax, ebx
test ebx, ebx
je 0x1801ebe37
nop dword [rax]
pause
sub rax, rsi
jne 0x1801ebe30
add ebx, ebx
jmp 0x1801ebe41
call qword [sym.imp.KERNEL32.dll_SwitchToThread]
mov eax, dword [0x180703988]
cmp eax, esi
je 0x1801ebe20
mov eax, dword [0x180703988]
cmp eax, 2
jne 0x1801ebe00
jmp 0x1801ebe67
call fcn.1801e6220
mov dword [0x180703988], 2
lea rax, str.__RML_open_factory
mov dword [rsp + 0x20], 7
mov qword [rsp + 0x50], rax
lea r9, [0x18067c2c8]
lea rax, [rsp + 0x48]
mov r8d, 4
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
lea rax, str.__TBB_make_rml_server
mov qword [rsp + 0x60], rax
lea rcx, str.irml.dll
lea rax, [0x18067c2d0]
mov qword [rsp + 0x68], rax
lea rax, str.__RML_close_factory
mov qword [rsp + 0x70], rax
lea rax, [0x18067c2c0]
mov qword [rsp + 0x78], rax
lea rax, str.__TBB_call_with_my_server_info
mov qword [rsp + 0x80], rax
lea rax, [0x18067c2d8]
mov qword [rsp + 0x88], rax
call fcn.1801f5e30
test al, al
je 0x1801ebf0d
mov r8d, 2
lea rdx, [rsp + 0x44]
lea rcx, [0x18067c2b8]
call qword [rsp + 0x48]
jmp 0x1801ebf1d
mov qword [0x18067c2c8], 0
mov eax, 2
test eax, eax
mov qword [0x1806711c8], 2
lea rcx, [0x1801e87d0]
mov qword [0x1806711d0], 2
setne byte [0x18067c2e0]
lea rax, [0x1801e86f0]
test dil, dil
cmovne rax, rcx
mov qword [0x18067c2e8], rax
call fcn.18019a950
cmp byte [0x18067c2e0], 0
lea rcx, [0x1805b1cc8]
je 0x1801ebf7b
lea rdx, str.private
call fcn.1801f5c00
jmp 0x1801ebf9b
lea rdx, str.shared
call fcn.1801f5c00
lea rdx, [0x1805a2ed6]
lea rcx, [0x1801f5cd0]
call qword [0x18067c2d8]
cmp qword [0x18067c280], 0
je 0x1801ebfb8
lea rdx, str.cilkrts20.dll
lea rcx, str.CILK
call fcn.1801f5c00
test dil, dil
lea rax, str.enabled
lea rdx, str.disabled
cmovne rdx, rax
lea rcx, str.Tools_support
call fcn.1801f5c00
mov rdi, qword [rsp + 0xb0]
mov byte [0x18067c0bb], sil
mov byte [0x18067c0ba], 0
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18042cdf0
mov rbx, qword [rsp + 0xb8]
add rsp, 0xa0
pop rsi
ret
mov ecx, 0xffffffff
call fcn.1801f5b40
int3