Function at 0x429f80
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x810
mov eax, dword [0x519058]
xor eax, ebp
mov dword [esp + 0x808], eax
mov eax, dword [0x519008]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x42a052
lea edi, [esp + 4]
push edi
call fcn.00440bc0
add esp, 4
test al, al
jne 0x429fe1
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0xd0
push str..._.._base_threading_thread_local_storage.cc
call fcn.0040a140
mov ecx, esi
call fcn.0040a280
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
jne 0x42a02d
push edi
call fcn.00440bc0
add esp, 4
test al, al
je 0x429ffe
cmp dword [esp + 4], 0xffffffff
jne 0x42a01f
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key___key___PlatformThreadLocalStorage::TLS_KEY_OUT_OF_INDEXES
push 0xda
push str..._.._base_threading_thread_local_storage.cc
call fcn.0040a140
mov ecx, esi
call fcn.0040a280
push 0xffffffffffffffff
call fcn.00440be0
add esp, 4
mov ecx, dword [esp + 4]
mov eax, 0xffffffff
lock cmpxchg dword [0x519008], ecx
mov eax, dword [esp + 4]
je 0x42a052
push eax
call fcn.00440be0
add esp, 4
mov eax, dword [0x519008]
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
and edi, 3
je 0x42a2ca
lea ebx, [esp + 0xc]
mov dword [esp + 8], 0x4dfe90
mov dword [esp + 0x58], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
lea ecx, [esp + 0x58]
mov dword [esp + 0x54], 0x48
push 0
push ebx
call fcn.00408322
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 8], 0x4dfe8c
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 4], ecx
mov dword [esp + 0xc], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
push 8
call fcn.0049a550
add esp, 4
mov esi, eax
push 1
call fcn.0049d5a7
add esp, 4
mov dword [esi + 4], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x40], esi
lea esi, [esp + 8]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x30]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x34]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], 0x4df8d0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 4
push str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
push esi
call fcn.0045e430
add esp, 8
push 0x4e00a4
push eax
call fcn.0045e430
add esp, 8
mov ecx, esi
push edi
call fcn.00462cb0
push str._vs.
push esi
call fcn.0045e430
add esp, 8
mov ecx, esi
push 0
call fcn.00462cb0
push 0x4e0098
push esi
call fcn.0045e430
add esp, 8
push 0x18
call fcn.0049a550
add esp, 4
mov ecx, ebx
mov edi, eax
lea ebx, [esp + 0x58]
push eax
call fcn.0045ee60
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 8], 0x4dfe8c
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 4], ecx
mov dword [esp + 0xc], 0x4df8d0
test byte [esp + 0x48], 1
je 0x42a222
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x42a1e6
lea ecx, [ebx - 0x1c]
jmp 0x42a1ef
mov eax, dword [esp + 0x28]
lea ecx, [ebx - 0x20]
mov eax, dword [eax]
mov ecx, dword [ecx]
add eax, dword [ecx]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
sub eax, ecx
cmp eax, 0x1000
jb 0x42a218
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x42a337
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.0049a588
add esp, 8
mov eax, dword [esp + 0x18]
mov dword [eax], 0
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov eax, dword [esp + 0x38]
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
mov dword [eax], 0
mov eax, dword [esp + 0x2c]
mov dword [eax], 0
mov eax, dword [esp + 0x3c]
mov dword [eax], 0
mov dword [esp + 0x44], 0
and byte [esp + 0x48], 0xfe
mov dword [esp + 0xc], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov esi, dword [esp + 0x40]
test esi, esi
je 0x42a29c
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x42a293
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42a293
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push esi
call fcn.0049a583
add esp, 4
mov dword [esp + 0x58], vtable.std::ios_base.0
push ebx
call fcn.0049d84c
add esp, 4
lea esi, [esp + 8]
mov ecx, esi
push edi
push 0xec
push str..._.._base_threading_thread_local_storage.cc
call fcn.0040b320
mov ecx, esi
call fcn.0040a280
lea edi, [esp + 8]
push 0x800
push 0
push edi
call fcn.004a19e0
add esp, 0xc
lea eax, [esp + 0xb]
push eax
push dword [esp + 8]
call fcn.00440bf0
add esp, 8
push 0x800
call fcn.0049aff7
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.004a1460
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [esp + 8]
call fcn.00440bf0
add esp, 8
mov ecx, dword [esp + 0x808]
xor ecx, ebp
call fcn.0049a81b
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004a49d8
int3