Function at 0x140084650
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rdi, r8
mov rsi, rdx
mov r14, rcx
mov rbx, qword [rdx]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1400846a2
nop dword [rax]
cmp qword [rax], rbx
je 0x1400848a5
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140084690
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xb8
call fcn.140021fa0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140084ca0]
mov qword [rbx + 0x28], rax
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], r15
mov dword [rbx + 0x30], r15d
movups xmm0, xmmword [rdi]
movups xmmword [rbx + 0x38], xmm0
mov rax, qword [rdi + 0x10]
mov qword [rbx + 0x48], rax
mov rax, qword [rdi + 0x18]
mov qword [rbx + 0x50], rax
mov eax, dword [rdi + 0x24]
mov dword [rbx + 0x5c], eax
mov eax, dword [rdi + 0x28]
mov dword [rbx + 0x60], eax
movups xmm0, xmmword [rdi + 0x30]
movups xmmword [rbx + 0x68], xmm0
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
movups xmm0, xmmword [rdi + 0x48]
movups xmmword [rbx + 0x80], xmm0
movups xmm0, xmmword [rdi + 0x58]
movups xmmword [rbx + 0x90], xmm0
movups xmm0, xmmword [rdi + 0x68]
movups xmmword [rbx + 0xa0], xmm0
mov rax, qword [rdi + 0x78]
mov qword [rbx + 0xb0], rax
mov r8, rbx
mov rdx, rsi
mov rcx, r14
call fcn.140024870
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x68], r15
test al, al
je 0x140084888
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x20]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [r14 + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rsi]
mov qword [rsp + 0x58], rax
call fcn.1400b35b0
mov rdi, qword [r14 + 0x28]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rbx
movups xmm0, xmmword [rbx + 0x38]
movaps xmmword [rbp - 0x80], xmm0
mov rax, qword [rbx + 0x48]
mov qword [rbp - 0x70], rax
mov rax, qword [rbx + 0x50]
mov qword [rbp - 0x68], rax
mov eax, dword [rbx + 0x5c]
mov dword [rbp - 0x5c], eax
mov eax, dword [rbx + 0x60]
mov dword [rbp - 0x58], eax
movups xmm0, xmmword [rbx + 0x68]
movaps xmmword [rbp - 0x50], xmm0
mov rax, qword [rbx + 0x78]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbx + 0x80]
movups xmmword [rbp - 0x38], xmm0
movups xmm1, xmmword [rbx + 0x90]
movups xmmword [rbp - 0x28], xmm1
movups xmm0, xmmword [rbx + 0xa0]
movups xmmword [rbp - 0x18], xmm0
mov rax, qword [rbx + 0xb0]
mov qword [rbp - 8], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x140084840
mov qword [rsp + 0x48], r15
lea r8, [rbp - 0x80]
mov edx, 0xb8
mov rcx, rbx
call fcn.140022030
mov ebx, r15d
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x140084854
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.1400859e0
nop
nop
test rbx, rbx
je 0x14008486b
lea r8, [rbp - 0x80]
mov edx, 0xb8
mov rcx, rbx
call fcn.140022030
nop
lea rcx, [rsp + 0x50]
call fcn.140024650
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1402daed4]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp qword [rax + 8], 0
je 0x1400846a2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.1400859e0
nop
nop
jmp 0x140084888