Function at 0x466b40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b84e8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4f2d80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4f2074]
cmp eax, 0xffffffff
jne 0x466b76
xor ebx, ebx
jmp 0x466b7f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x466cd3
cmp dword [ebx + 0x18], 0
jne 0x466ba1
cmp dword [ebx + 0xc], 0
je 0x466cc9
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x466c19
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x466bef
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
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]
test eax, eax
jne 0x466bef
push 0x49
push str.F:CB11X_MainQImportsOpen_boost_boost_thread_win32_thread_heap_alloc.hpp
push str.detail::win32::HeapFree_detail::win32::GetProcessHeap___0_heap_memory__0
call fcn.00496397
add esp, 0xc
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x466ba1
push 0x49
push str.F:CB11X_MainQImportsOpen_boost_boost_thread_win32_thread_heap_alloc.hpp
push str.detail::win32::HeapFree_detail::win32::GetProcessHeap___0_heap_memory__0
call fcn.00496397
add esp, 0xc
jmp 0x466ba1
mov eax, dword [ebx + 0x14]
mov esi, dword [eax]
mov dword [ebp - 0x10], eax
cmp esi, eax
je 0x466b91
lea esp, [esp]
cmp byte [esi + 0x1d], 0
mov edi, esi
jne 0x466c77
mov eax, dword [esi + 8]
cmp byte [eax + 0x1d], 0
jne 0x466c5c
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
jne 0x466c77
jmp 0x466c50
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0x1d], 0
je 0x466c50
jmp 0x466c77
mov eax, dword [esi + 4]
cmp byte [eax + 0x1d], 0
jne 0x466c75
cmp esi, dword [eax + 8]
jne 0x466c75
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x1d], 0
je 0x466c65
mov esi, eax
cmp dword [edi + 0x10], 0
je 0x466cae
cmp dword [edi + 0x18], 0
je 0x466cae
cmp dword [edi + 0x10], 0
jne 0x466ca0
push 0x286
push str.F:CB11X_MainQImportsOpen_boost_boost_smart_ptr_shared_ptr.hpp
push 0x4d8134
call fcn.00496397
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov edx, dword [ecx]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
call edx
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x10]
call fcn.00418cc0
cmp esi, dword [ebp - 0x10]
jne 0x466c30
jmp 0x466b91
push 0
call fcn.00465610
add esp, 4
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x466d1c
lea ecx, [ebx + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x466d1c
mov eax, dword [ebx]
mov edx, dword [eax]
push 0
mov ecx, ebx
call edx
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
test eax, eax
jne 0x466d1c
push 0x49
push str.F:CB11X_MainQImportsOpen_boost_boost_thread_win32_thread_heap_alloc.hpp
push str.detail::win32::HeapFree_detail::win32::GetProcessHeap___0_heap_memory__0
call fcn.00496397
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret