Function at 0x458c70
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov ebx, dword [ebp + 8]
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x50], eax
lea eax, [esp + 0x14]
mov dword [eax], 0x260
push eax
call fcn.00459370
add esp, 4
call fcn.00459380
mov edx, eax
mov eax, dword [ebx + 0x4c]
mov dword [esp + 0x30], eax
sar eax, 0x1f
mov dword [esp + 0x34], eax
mov edi, dword [ebx + 0x10]
mov ecx, dword [0x52113c]
xor esi, esi
test ecx, ecx
jne 0x458f31
mov ecx, esi
shr ecx, 0xe
mov eax, esi
shr eax, 0x13
mov dword [esp + 0xc], eax
mov eax, dword [eax*4 + 0x518914]
mov dword [esp + 0x10], ecx
bt eax, ecx
jb 0x458f41
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x520914], 1
test esi, esi
jne 0x458f57
xor eax, eax
dec eax
mov dword [esp + 8], eax
lea ecx, [esp + 0x30]
mov dword [ecx], 0xd017d00d
mov dword [ecx + 0x1c], 0x1d178119
mov eax, dword [ebx + 0x10]
mov dword [ecx + 4], eax
movups xmm0, xmmword [ebx + 0x34]
movups xmmword [ecx + 8], xmm0
mov eax, dword [ebx + 0x44]
mov dword [ecx + 0x18], eax
push ecx
call fcn.00459370
add esp, 4
mov eax, dword [0x5261e0]
mov ecx, dword [0x514f00]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x458ee9
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
mov dword [esp + 4], esi
jne 0x458e7f
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0x11e1a300
lea esi, [esp + 0x18]
push 0x1db
push str....._base_threading_thread_local_storage.cc
push 0x50535a
push esi
call fcn.00454af0
add esp, 4
movsd xmm0, qword [esp + 0x34]
movsd qword [esp + 4], xmm0
mov dword [esp], esi
call fcn.004be150
add esp, 0xc
xor edi, edi
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x458ec5
mov ecx, dword [0x5261d8]
mov dword [eax + ecx*8], ebx
mov ecx, dword [0x5261dc]
mov edx, dword [0x5261d8]
mov dword [eax + edx*8 + 4], ecx
mov esi, dword [ebx]
mov dword [ebx], 0
mov ecx, dword [esi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
test esi, esi
jne 0x458ea8
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
mov esi, dword [esp + 4]
je 0x458ed7
mov ecx, dword [0x5261d8]
mov dword [eax + ecx*8], edi
mov ecx, dword [0x5261dc]
mov edx, dword [0x5261d8]
mov dword [eax + edx*8 + 4], ecx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x30]
push eax
call fcn.00459370
add esp, 4
test esi, esi
jne 0x458f6c
mov eax, dword [esp + 0xc]
mov eax, dword [eax*4 + 0x518914]
mov ecx, dword [esp + 0x10]
bt eax, ecx
jb 0x458fa1
mov ecx, dword [esp + 0x50]
xor ecx, ebp
call fcn.00496ce3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
xor edi, edi
and eax, 0xfffffffc
je 0x458db4
mov ecx, dword [0x5261d8]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x5261dc]
jne 0x458db4
mov edi, dword [eax + ecx*8]
jmp 0x458db4
lock dec dword [esi]
jne 0x458e01
mov ecx, dword [esi + 8]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x458e01
test ebx, ebx
je 0x458de2
call fcn.004048c0
jmp 0x458dc9
test edi, edi
je 0x458e33
call fcn.004048c0
jmp 0x458e1a
push 0x5261e0
call fcn.00494ba0
add esp, 4
cmp dword [0x5261e0], 0xffffffff
jne 0x458d51
xor eax, eax
mov dword [0x5261dc], eax
mov dword [0x5261d8], 0xffffffff
mov ecx, 0x5261d8
push eax
call fcn.00404c70
push 0x5261e0
call fcn.00495b95
add esp, 4
jmp 0x458d51
mov esi, edx
call fcn.004d7a40
mov edx, esi
mov esi, eax
jmp 0x458cc5
push esi
mov dword [esp + 8], edx
call fcn.00455550
mov edx, dword [esp + 8]
add esp, 4
jmp 0x458cf3
lea eax, [esp + 0x30]
mov ecx, esi
push eax
push 0x10
push edi
push edx
call fcn.004d7280
jmp 0x458cfe
mov eax, dword [esp + 8]
cmp dword [esi + 0xc], eax
jbe 0x458f8a
mov eax, dword [esp + 4]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 8]
shl ecx, 7
cmp dword [eax + ecx + 0x68], 0
jne 0x458faf
mov esi, dword [esp + 4]
mov eax, dword [esi + 4]
lock dec dword [eax + 0x38]
mov eax, dword [esi + 4]
lock inc dword [eax + 0x3c]
jmp 0x458e52
push esi
call fcn.00454d60
add esp, 4
jmp 0x458e6a
mov esi, dword [0x52113c]
lea edi, [esi + 0x74]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x458fdd
add esi, 0x48
mov ecx, dword [esp + 4]
push esi
push dword [esp + 0xc]
call fcn.004d7640
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x458f8a
mov ecx, edi
call fcn.004597a0
jmp 0x458fc3