Function at 0x140051360
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x70
mov rsi, r9
mov rbp, r8
mov r14, rdx
mov rbx, rcx
call fcn.140050bc0
mov rdi, rax
test rax, rax
je 0x140051489
cmp byte [rsp + 0xa0], 0
je 0x1400513b5
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400513b5
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1400513b5
call qword [rax]
test rbp, rbp
jne 0x140051479
test rsi, rsi
jne 0x140051479
mov ecx, dword [0x1400ab148]
cmp ecx, 0xffffffff
je 0x1400513e0
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
test rax, rax
jne 0x1400513fd
call fcn.140050c50
mov ecx, dword [0x1400ab148]
cmp ecx, 0xffffffff
jne 0x1400513f4
xor edi, edi
jmp 0x1400513fd
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov r9, qword [rdi + 0x28]
mov rcx, qword [r9 + 8]
mov rax, rcx
mov r8, r9
cmp byte [rcx + 0x19], 0
jne 0x14005143a
mov rdx, qword [rax + 0x20]
cmp rdx, rbx
jae 0x140051420
mov rax, qword [rax + 0x10]
jmp 0x140051434
cmp byte [r8 + 0x19], 0
je 0x14005142e
cmp rbx, rdx
cmovb r8, rax
mov r9, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140051411
cmp byte [r8 + 0x19], 0
jne 0x140051444
mov rcx, qword [r8]
cmp byte [rcx + 0x19], 0
jne 0x140051468
nop word [rax + rax]
cmp rbx, qword [rcx + 0x20]
jae 0x14005145e
mov r8, rcx
mov rcx, qword [rcx]
jmp 0x140051462
mov rcx, qword [rcx + 0x10]
cmp byte [rcx + 0x19], 0
je 0x140051450
mov rdx, r9
lea rcx, [rdi + 0x28]
call fcn.1400500c0
jmp 0x14005159d
mov qword [rdi], r14
mov qword [rdi + 8], rbp
mov qword [rdi + 0x10], rsi
jmp 0x14005159d
test rbp, rbp
jne 0x140051497
test rsi, rsi
je 0x14005159d
xor edi, edi
mov ecx, dword [0x1400ab148]
cmp ecx, 0xffffffff
je 0x1400514af
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
jne 0x1400514ca
call fcn.140050c50
mov ecx, dword [0x1400ab148]
cmp ecx, 0xffffffff
jne 0x1400514c4
mov rax, rdi
jmp 0x1400514ca
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
lea rsi, [rax + 0x28]
mov rbp, qword [rsi]
mov rax, qword [rbp + 8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], edi
mov rcx, rbp
cmp byte [rax + 0x19], dil
jne 0x140051529
nop word [rax + rax]
mov qword [rsp + 0x30], rax
cmp qword [rax + 0x20], rbx
jae 0x140051515
mov dword [rsp + 0x38], edi
mov rax, qword [rax + 0x10]
jmp 0x140051523
mov dword [rsp + 0x38], 1
mov rcx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], dil
je 0x140051500
cmp byte [rcx + 0x19], dil
jne 0x140051535
cmp rbx, qword [rcx + 0x20]
jae 0x14005159d
movabs rax, 0x3ffffffffffffff
cmp qword [rsi + 8], rax
je 0x1400515b8
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], rdi
mov ecx, 0x40
call fcn.14003e090
nop
mov qword [rax + 0x20], rbx
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rax + 0x28], xmm0
movsd xmm1, qword [rsp + 0x60]
movsd qword [rax + 0x38], xmm1
mov qword [rax], rbp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x20], xmm0
mov r8, rax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.1400420c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
call fcn.140042320
int3