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

Disassembly:
push esi
push 0x756089
call fcn.004d7100
add esp, 4
cmp dword [0x7560a4], 2
je 0x4d7a0c
mov eax, dword [0x6b4a10]
mov ecx, 0x7472d8
test eax, eax
mov dword [0x7560a4], 1
cmovne ecx, eax
lea esi, [ecx + 8]
mov dword [0x6b4a10], ecx
mov dword [esi + 0xed78], 0
mov dword [esi + 0xed84], 0
mov dword [esi + 0xed88], 0
mov dword [esi + 0xed8c], 0x10000
mov word [esi + 0xed90], 0
mov byte [esi + 0xed92], 0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi + 0xed94], eax
cmp eax, 0xffffffff
je 0x4d7a4c
push esi
lea ecx, [esi + 0x3100]
call fcn.004d9e80
push esi
mov ecx, esi
call fcn.004dc150
mov eax, dword [0x6b4a10]
add eax, 8
push eax
call fcn.004dab10
add esp, 4
test al, al
je 0x4d7a4c
push 0x756094
mov dword [0x756098], 0
mov word [0x7560a0], 0
call fcn.004d7100
mov esi, dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
cmp byte [0x756090], 0
jne 0x4d790a
push str.TBB_MALLOC_USE_HUGE_PAGES
call esi
add esp, 4
test eax, eax
je 0x4d78fa
mov ecx, 0x62f3c0
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4d78e0
test dl, dl
je 0x4d78dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4d78e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4d78c0
xor eax, eax
jmp 0x4d78e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4d78fa
mov eax, 1
mov dword [0x75608c], eax
mov byte [0x756090], al
jmp 0x4d790f
xor eax, eax
mov byte [0x756090], 1
mov dword [0x75608c], eax
jmp 0x4d790f
mov eax, dword [0x75608c]
cmp byte [0x7560a0], 0
jne 0x4d7921
cmp byte [0x7560a1], 0
je 0x4d792c
mov byte [0x7560a2], 1
test eax, eax
jne 0x4d7933
mov byte [0x7560a2], 0
push edi
mov byte [0x756094], 0
call fcn.004d8ca0
push str.TBB_VERSION
mov dword [0x7560a4], 2
call esi
mov edi, eax
add esp, 4
test edi, edi
je 0x4d7a0b
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strspn]
push 0x62f3c4
push edi
call ebx
mov esi, eax
add esp, 8
cmp byte [esi + edi], 0x31
jne 0x4d7a0a
inc esi
push 0x62f3c4
lea ecx, [esi + edi]
push ecx
call ebx
add esi, eax
add esp, 8
cmp byte [esi + edi], 0
jne 0x4d7a0a
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push 2
call edi
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputs]
push eax
push str.TBBmalloc:_VERSION_t_t2019.0_nTBBmalloc:_INTERFACE_VERSION_t11008_nTBBmalloc:_BUILD_DATE_t_tJan_23_202015:09:07_nEmptyTBBmalloc:_TBB_USE_DEBUG_t0_nTBBmalloc:_TBB_USE_ASSERT_t0_n
call ebx
mov esi, dword [0x75608c]
push 2
call edi
push eax
push 0x637e88
call ebx
add esp, 0x18
test esi, esi
jne 0x4d79d3
push 2
call edi
push eax
push str.not
call ebx
add esp, 0xc
push 2
call edi
push eax
push str.requested
call ebx
push 2
call edi
push eax
push 0x637ea8
call ebx
add esp, 0x18
cmp dword [0x75608c], 0
je 0x4d7a0a
cmp dword [0x756098], 0
je 0x4d7a17
mov dword [0x75609c], 1
pop ebx
pop edi
mov al, 1
mov byte [0x756089], 0
pop esi
ret
push 2
call edi
push eax
push 0x637e88
call ebx
push 2
call edi
push eax
push str.not
call ebx
push 2
call edi
push eax
push str.available
call ebx
push 2
call edi
push eax
push 0x637ea8
call ebx
add esp, 0x30
jmp 0x4d7a0a
mov dword [0x7560a4], 0
xor al, al
jmp 0x4d7a0e