Function at 0x140110470
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x138
movaps xmmword [rsp + 0x120], xmm15
movaps xmmword [rsp + 0x110], xmm14
movaps xmmword [rsp + 0x100], xmm13
movaps xmmword [rsp + 0xf0], xmm12
movaps xmmword [rsp + 0xe0], xmm11
movaps xmmword [rsp + 0xd0], xmm10
movaps xmmword [rsp + 0xc0], xmm9
movaps xmmword [rsp + 0xb0], xmm8
movaps xmmword [rsp + 0xa0], xmm7
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rdx
mov rax, qword [0x14029a038]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [0x140270690]
movaps xmmword [rsp + 0x30], xmm0
call fcn.140105b90
mov rdi, rax
movsxd rax, dword [rsi + 0x78]
mov qword [rsp + 0x48], rax
mov rbx, qword [rsi + 0x20]
mov r14, qword [0x1402a0ca0]
test r14, r14
jne 0x140110730
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x40], 0
movabs rax, 0xc001c0ded017d00d
mov qword [rsp + 0x48], rax
movabs rax, 0xd00d1d1d178119
mov qword [rsp + 0x80], rax
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rsi + 0x48]
movups xmm1, xmmword [rsi + 0x58]
movups xmmword [rsp + 0x58], xmm0
movups xmmword [rsp + 0x68], xmm1
mov eax, dword [rsi + 0x68]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x48]
call fcn.140110840
mov eax, dword [0x1402a54b0]
mov ecx, dword [0x14029dfe4]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1401107df
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14011082d
mov rcx, qword [0x1402a54a0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1402a54a8]
jne 0x14011082d
mov rbx, qword [rax + rcx]
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401107b9
mov rcx, qword [0x1402a54a0]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [0x1402a54a8]
mov rdx, qword [0x1402a54a0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rdi, qword [rsi]
mov qword [rsi], 0
mov rax, qword [rdi + 8]
mov rcx, rdi
call qword [case.0x1401e7f70.0]
test rdi, rdi
jne 0x140110715
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x1401107cc
mov rcx, qword [0x1402a54a0]
shl rcx, 4
mov qword [rax + rcx], rbx
mov ecx, dword [0x1402a54a8]
mov rdx, qword [0x1402a54a0]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x48]
call fcn.140110840
lea rcx, [rsp + 0x30]
call fcn.140007200
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14017e7b0
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm7, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm9, xmmword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0xd0]
movaps xmm11, xmmword [rsp + 0xe0]
movaps xmm12, xmmword [rsp + 0xf0]
movaps xmm13, xmmword [rsp + 0x100]
movaps xmm14, xmmword [rsp + 0x110]
movaps xmm15, xmmword [rsp + 0x120]
add rsp, 0x138
pop rbx
pop rdi
pop rsi
pop r14
ret
lock dec dword [rdi]
jne 0x14011063d
mov rax, qword [rdi + 0x10]
mov rcx, rdi
call qword [case.0x1401e7f70.0]
jmp 0x14011063d
mov ecx, dword [0x14029bf80]
cmp ecx, 0xffffffff
je 0x14011074b
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and eax, 3
dec eax
cmp eax, 2
jb 0x140110778
mov ecx, dword [0x14029bf80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x140110778
mov rcx, qword [r14 + 0x18]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [r14 + 0x20]
jne 0x140110778
mov rax, qword [rax + rcx]
test rax, rax
jne 0x140110790
mov rcx, r14
call fcn.1401baa30
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140110532
jmp 0x140110795
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, rdi
mov r8, rbx
mov r9b, 0x10
call fcn.1401bab30
mov dword [rsp + 0x38], eax
jmp 0x140110532
test rsi, rsi
je 0x14011061d
call fcn.140002990
jmp 0x1401105f9
test rbx, rbx
je 0x140110677
call fcn.140002990
jmp 0x140110653
lea rcx, [0x1402a54b0]
call fcn.14017b2bc
cmp dword [0x1402a54b0], 0xffffffff
jne 0x1401105ae
mov qword [0x1402a54a8], 0
lea rcx, [0x1402a54a0]
mov qword [0x1402a54a0], 0xffffffffffffffff
xor edx, edx
call fcn.140002850
lea rcx, [0x1402a54b0]
call fcn.14017b25c
jmp 0x1401105ae
xor ebx, ebx
jmp 0x1401105e3