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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [0x1404390a1]
call fcn.14010e740
cmp qword [0x1404390d8], 2
je 0x14010f1bf
mov rax, qword [0x140359390]
lea rcx, [0x140419dc0]
mov qword [0x1404390d8], 1
test rax, rax
cmovne rcx, rax
xor ebx, ebx
mov qword [0x140359390], rcx
lea rdi, [rcx + 0x10]
mov qword [rdi + 0x1f278], rbx
mov qword [rdi + 0x1f290], rbx
mov qword [rdi + 0x1f298], rbx
mov qword [rdi + 0x1f2a0], 0x10000
mov word [rdi + 0x1f2a8], bx
mov byte [rdi + 0x1f2aa], bl
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rdi + 0x1f2ac], eax
cmp eax, 0xffffffff
je 0x14010f244
lea rcx, [rdi + 0x6140]
mov rdx, rdi
call fcn.140111d80
mov rdx, rdi
mov rcx, rdi
call fcn.140114a80
mov rcx, qword [0x140359390]
add rcx, 0x10
call fcn.140112c50
test al, al
je 0x14010f244
lea rcx, [0x1404390b8]
mov qword [0x1404390c0], rbx
mov word [0x1404390d0], bx
call fcn.14010e740
cmp byte [0x1404390b0], bl
jne 0x14010f075
lea rcx, str.TBB_MALLOC_USE_HUGE_PAGES
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x14010f065
movzx ecx, byte [rax]
cmp cl, byte [0x14027d8fc]
jne 0x14010f065
movzx eax, byte [rax + 1]
cmp al, byte [0x14027d8fd]
jne 0x14010f065
mov ebx, 1
mov qword [0x1404390a8], rbx
mov byte [0x1404390b0], 1
jmp 0x14010f07c
mov rbx, qword [0x1404390a8]
cmp byte [0x1404390d0], 0
jne 0x14010f08e
cmp byte [0x1404390d1], 0
je 0x14010f09a
mov byte [0x1404390d2], 1
test rbx, rbx
jne 0x14010f0a1
mov byte [0x1404390d2], 0
mov byte [0x1404390b8], 0
call fcn.1401108d0
lea rcx, str.TBB_VERSION
mov qword [0x1404390d8], 2
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
je 0x14010f1bf
lea rdx, [0x14027d900]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
mov rbx, rax
cmp byte [rax + rdi], 0x31
jne 0x14010f1bf
inc rbx
lea rdx, [0x14027d900]
lea rcx, [rbx + rdi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
add rbx, rax
cmp byte [rbx + rdi], 0
jne 0x14010f1bf
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.TBBmalloc:_VERSION_t_t2019.0_nTBBmalloc:_INTERFACE_VERSION_t11008_nTBBmalloc:_BUILD_DATE_t_tJan_23_202015:03:28_nEmptyTBBmalloc:_TBB_USE_DEBUG_t0_nTBBmalloc:_TBB_USE_ASSERT_t0_n
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov rbx, qword [0x1404390a8]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, [0x14028d2a8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
test rbx, rbx
jne 0x14010f16a
lea ecx, [rbx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.not
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.requested
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, [0x14028d2c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
cmp qword [0x1404390a8], 0
je 0x14010f1bf
cmp qword [0x1404390c0], 0
je 0x14010f1d3
mov qword [0x1404390c8], 1
mov byte [0x1404390a1], 0
mov al, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, [0x14028d2a8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.not
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, str.available
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, [0x14028d2c8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
jmp 0x14010f1bf
mov qword [0x1404390d8], rbx
mov byte [0x1404390a1], bl
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret