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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rcx, [0x140232151]
call fcn.140101f00
cmp qword [0x140232188], 2
je 0x14010297f
mov rax, qword [str.p.__]
lea rcx, [0x140212e70]
mov qword [0x140232188], 1
test rax, rax
cmovne rcx, rax
xor ebx, ebx
mov qword [str.p.__], 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 0x140102a04
lea rcx, [rdi + 0x6140]
mov rdx, rdi
call fcn.140105540
mov rdx, rdi
mov rcx, rdi
call fcn.140108240
mov rcx, qword [str.p.__]
add rcx, 0x10
call fcn.140106410
test al, al
je 0x140102a04
lea rcx, [0x140232168]
mov qword [0x140232170], rbx
mov word [0x140232180], bx
call fcn.140101f00
cmp byte [0x140232160], bl
jne 0x140102835
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 0x140102825
movzx ecx, byte [rax]
cmp cl, byte [0x14013656c]
jne 0x140102825
movzx eax, byte [rax + 1]
cmp al, byte [0x14013656d]
jne 0x140102825
mov ebx, 1
mov qword [0x140232158], rbx
mov byte [0x140232160], 1
jmp 0x14010283c
mov rbx, qword [0x140232158]
cmp byte [0x140232180], 0
jne 0x14010284e
cmp byte [0x140232181], 0
je 0x14010285a
mov byte [0x140232182], 1
test rbx, rbx
jne 0x140102861
mov byte [0x140232182], 0
mov byte [0x140232168], 0
call fcn.140104090
lea rcx, str.TBB_VERSION
mov qword [0x140232188], 2
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rdi, rax
test rax, rax
je 0x14010297f
lea rdx, [0x140136570]
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 0x14010297f
inc rbx
lea rdx, [0x140136570]
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 0x14010297f
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 [0x140232158]
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rdx, rax
lea rcx, [0x1401426e8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
test rbx, rbx
jne 0x14010292a
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, [0x140142708]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
cmp qword [0x140232158], 0
je 0x14010297f
cmp qword [0x140232170], 0
je 0x140102993
mov qword [0x140232178], 1
mov byte [0x140232151], 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, [0x1401426e8]
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, [0x140142708]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
jmp 0x14010297f
mov qword [0x140232188], rbx
mov byte [0x140232151], bl
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret