Function at 0x430f90
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 [0x56600c]
xor eax, ebp
mov dword [esp + 0x808], eax
mov eax, dword [0x566e54]
cmp eax, 0xffffffff
mov dword [esp + 4], eax
jne 0x431062
lea edi, [esp + 4]
push edi
call fcn.00447af0
add esp, 4
test al, al
jne 0x430ff1
lea esi, [esp + 8]
mov ecx, esi
push str.PlatformThreadLocalStorage::AllocTLS_key_
push 0xd0
push str..._.._base_threading_thread_local_storage.cc
call fcn.0040f4d0
mov ecx, esi
call fcn.0040f610
mov ecx, dword [esp + 4]
cmp ecx, 0xffffffff
jne 0x43103d
push edi
call fcn.00447af0
add esp, 4
test al, al
je 0x43100e
cmp dword [esp + 4], 0xffffffff
jne 0x43102f
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.0040f4d0
mov ecx, esi
call fcn.0040f610
push 0xffffffffffffffff
call fcn.00447b10
add esp, 4
mov ecx, dword [esp + 4]
mov eax, 0xffffffff
lock cmpxchg dword [0x566e54], ecx
mov eax, dword [esp + 4]
je 0x431062
push eax
call fcn.00447b10
add esp, 4
mov eax, dword [0x566e54]
mov dword [esp + 4], eax
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
and edi, 3
je 0x4312da
lea ebx, [esp + 0xc]
mov dword [esp + 8], 0x516f14
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.00407500
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 8], 0x516f1c
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.00478358
add esp, 4
mov esi, eax
push 1
call fcn.004fa129
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], 0x516f30
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 4
push str.GetTlsVectorStateAndValue_key___TlsVectorState::kUninitialized
push esi
call fcn.0045905b
add esp, 8
push 0x516f07
push eax
call fcn.0045905b
add esp, 8
mov ecx, esi
push edi
call fcn.0040c41e
push str._vs.
push esi
call fcn.0045905b
add esp, 8
mov ecx, esi
push 0
call fcn.0040c41e
push 0x516f10
push esi
call fcn.0045905b
add esp, 8
push 0x18
call fcn.00478358
add esp, 4
mov ecx, ebx
mov edi, eax
lea ebx, [esp + 0x58]
push eax
call fcn.0040ada0
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + eax + 8], 0x516f1c
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
lea ecx, [eax - 0x50]
mov dword [esp + eax + 4], ecx
mov dword [esp + 0xc], 0x516f30
test byte [esp + 0x48], 1
je 0x431232
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x4311f6
lea ecx, [ebx - 0x1c]
jmp 0x4311ff
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 0x431228
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x431347
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.0047834a
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 0x4312ac
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4312a3
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4312a3
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
push esi
call fcn.004783ab
add esp, 4
mov dword [esp + 0x58], vtable.std::ios_base.0
push ebx
call fcn.004fa3c3
add esp, 4
lea esi, [esp + 8]
mov ecx, esi
push edi
push 0xec
push str..._.._base_threading_thread_local_storage.cc
call fcn.004106c0
mov ecx, esi
call fcn.0040f610
lea edi, [esp + 8]
push 0x800
push 0
push edi
call fcn.004d37c0
add esp, 0xc
lea eax, [esp + 0xb]
push eax
push dword [esp + 8]
call fcn.00447b20
add esp, 8
push 0x800
call fcn.004fb437
add esp, 4
mov esi, eax
push 0x800
push edi
push eax
call fcn.004d3ae0
add esp, 0xc
mov eax, esi
or eax, 3
push eax
push dword [esp + 8]
call fcn.00447b20
add esp, 8
mov ecx, dword [esp + 0x808]
xor ecx, ebp
call fcn.00478339
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004d7bfa
int3