Function at 0x442010
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49d830
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4cf500]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x20], ebx
call fcn.00441410
call fcn.00441d40
mov eax, 0x4422b0
lea ecx, [esp + 0x24]
lea esi, [esp + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
call fcn.00444140
mov ecx, esi
mov dword [esp + 0x58], 0
call fcn.004911b0
mov eax, esi
push eax
lea edi, [ebx + 0xe8]
mov dword [esp + 0x5c], 1
call fcn.00445b90
mov ecx, esi
mov dword [esp + 0x58], 2
call fcn.0048f6a0
or edi, 0xffffffff
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4420db
mov esi, eax
add eax, 4
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x4420db
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.._AV___Impl_no_alloc0_U___Callable_obj_V_lambda0___A0x4937de6e___0A__tr1_std__X_tr1_std__.0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x58], 3
mov edx, dword [0x4da1b8]
push edx
mov esi, 0x320
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.00402730
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x442130
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
lea edx, [esp + 0x2c]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call eax
sub esp, 0x20
mov esi, esp
mov dword [esp + 0x38], esp
mov eax, 0x443770
push ebx
push eax
call fcn.00444070
push 0x4da440
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [0x4da764], 1
jne 0x44216d
or dword [0x4da764], 1
push 0x4a39a0
call fcn.00472e64
add esp, 4
push 0x4da440
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4da754
call fcn.00432580
test byte [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x4421b0
or dword [sym.Install.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov dword [esp + 0x58], 4
call fcn.00418090
push 0x4a2ae0
call fcn.00472e64
add esp, 4
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x18]
push ecx
call fcn.00431ed0
mov esi, eax
lea edx, [esp + 0x1c]
push edx
push sym.Install.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wrapp
mov dword [esp + 0x60], 5
call fcn.00419360
mov byte [esp + 0x58], 6
mov ecx, dword [eax]
mov eax, dword [ebx + 0x94]
mov esi, dword [esi]
test eax, eax
je 0x4421f3
push esi
push ecx
mov ebx, eax
call fcn.00452a80
mov ebx, dword [esp + 0x20]
mov byte [esp + 0x58], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442217
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x58], edi
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x442238
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 0x34]
cmp dword [ebx + 0x3c], ecx
jne 0x44225e
call fcn.0045c800
mov ecx, dword [ebx + 0x34]
mov eax, dword [ecx + 0x2c]
mov edx, dword [ebx + 0x2c]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx + 0x2c]
call fcn.0045c800
movzx eax, al
jmp 0x442283
mov ecx, dword [ebx + 0x2c]
call fcn.0045c800
mov ecx, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x34]
mov byte [esp + 0x13], al
mov eax, dword [ecx + 0x2c]
mov dword [edx + 0x28], eax
mov ecx, dword [ebx + 0x34]
call fcn.0045c800
movzx eax, byte [esp + 0x13]
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00472ba1
mov esp, ebp
pop ebp
ret