Function at 0x458ff0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x511014]
xor eax, ebp
mov dword [esp + 0x48], eax
call fcn.00459380
mov ebx, eax
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x28], eax
sar eax, 0x1f
mov dword [esp + 0x2c], eax
mov edx, dword [edi + 0x10]
mov ecx, dword [0x52113c]
xor esi, esi
test ecx, ecx
jne 0x4592ab
mov ecx, esi
shr ecx, 0xe
mov eax, esi
shr eax, 0x13
mov dword [esp + 8], eax
mov eax, dword [eax*4 + 0x518914]
mov dword [esp + 0xc], ecx
bt eax, ecx
jb 0x4592bb
mov eax, esi
shr eax, 0x15
mov byte [eax + 0x520914], 1
mov dword [esp + 4], 0xffffffff
test esi, esi
jne 0x4592d1
mov dword [esp + 0x28], 0xd017d00d
mov dword [esp + 0x44], 0x1d178119
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
movups xmm0, xmmword [edi + 0x34]
movups xmmword [esp + 0x30], xmm0
mov eax, dword [edi + 0x44]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
push eax
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 0x459263
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
and ecx, 3
cmp ecx, 2
jne 0x4591f9
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0x11e1a300
lea ebx, [esp + 0x10]
push 0x1db
push str....._base_threading_thread_local_storage.cc
push 0x50535a
push ebx
call fcn.00454af0
add esp, 4
movsd xmm0, qword [esp + 0x2c]
movsd qword [esp + 4], xmm0
mov dword [esp], ebx
call fcn.004be150
add esp, 0xc
xor ebx, ebx
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x45923f
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
mov dword [esp], esi
mov esi, ebx
mov ebx, dword [edi]
mov dword [edi], 0
mov ecx, dword [ebx + 4]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
test ebx, ebx
jne 0x459222
push dword [0x514c54]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 0xfffffffc
je 0x459251
mov ecx, dword [0x5261d8]
mov dword [eax + ecx*8], esi
mov ecx, dword [0x5261dc]
mov edx, dword [0x5261d8]
mov dword [eax + edx*8 + 4], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
lea eax, [esp + 0x28]
push eax
call fcn.00459370
add esp, 4
mov edx, dword [esp]
test edx, edx
jne 0x4592ea
mov eax, dword [esp + 8]
mov eax, dword [eax*4 + 0x518914]
mov ecx, dword [esp + 0xc]
bt eax, ecx
jb 0x45931d
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00496ce3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
xor ebx, ebx
and eax, 0xfffffffc
je 0x459124
mov ecx, dword [0x5261d8]
mov edx, dword [eax + ecx*8 + 4]
cmp edx, dword [0x5261dc]
jne 0x459124
mov ebx, dword [eax + ecx*8]
jmp 0x459124
lock dec dword [ebx]
jne 0x459176
mov ecx, dword [ebx + 8]
call dword [section..00cfg]
push ebx
call ecx
add esp, 4
jmp 0x459176
test edi, edi
je 0x459152
call fcn.004048c0
jmp 0x459139
test esi, esi
je 0x4591a4
call fcn.004048c0
jmp 0x45918b
push 0x5261e0
call fcn.00494ba0
add esp, 4
cmp dword [0x5261e0], 0xffffffff
jne 0x4590c5
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 0x4590c5
mov esi, edx
call fcn.004d7a40
mov edx, esi
mov esi, eax
jmp 0x459032
push esi
mov dword [esp + 4], edx
call fcn.00455550
mov edx, dword [esp + 4]
add esp, 4
jmp 0x459060
lea eax, [esp + 0x28]
mov ecx, esi
push eax
push 0x10
push edx
push ebx
call fcn.004d7280
mov dword [esp + 4], eax
jmp 0x459070
mov eax, dword [esp + 4]
cmp dword [edx + 0xc], eax
jbe 0x459307
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 4]
shl ecx, 7
cmp dword [eax + ecx + 0x68], 0
jne 0x45932b
mov edx, dword [esp]
mov eax, dword [edx + 4]
lock dec dword [eax + 0x38]
mov eax, dword [edx + 4]
lock inc dword [eax + 0x3c]
jmp 0x4591cc
push edx
call fcn.00454d60
add esp, 4
jmp 0x4591e4
mov edi, dword [0x52113c]
lea esi, [edi + 0x74]
push esi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x459358
add edi, 0x48
mov ecx, dword [esp]
push edi
push dword [esp + 8]
call fcn.004d7640
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x459307
mov ecx, esi
call fcn.004597a0
jmp 0x45933f