Function at 0x140086470
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 - 0x20]
sub rsp, 0x120
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 0x1400864c2
nop dword [rax]
cmp qword [rax], rbx
je 0x1400866d0
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x1400864b0
mov qword [rsp + 0x60], rdi
mov rdx, rdi
mov ecx, 0xc0
call fcn.140021fa0
mov rbx, rax
xor r15d, r15d
mov qword [rax + 0x20], r15
lea rax, [0x140086730]
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
movups xmm0, xmmword [rdi + 0x18]
movups xmmword [rbx + 0x50], xmm0
movsd xmm1, qword [rdi + 0x28]
movsd qword [rbx + 0x60], xmm1
mov eax, dword [rdi + 0x30]
mov dword [rbx + 0x68], eax
mov rax, qword [rdi + 0x38]
mov qword [rbx + 0x70], rax
mov rax, qword [rdi + 0x40]
mov qword [rbx + 0x78], rax
movups xmm0, xmmword [rdi + 0x50]
movups xmmword [rbx + 0x88], xmm0
movups xmm0, xmmword [rdi + 0x60]
movups xmmword [rbx + 0x98], xmm0
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rbx + 0xa8], xmm0
mov rax, qword [rdi + 0x80]
mov qword [rbx + 0xb8], 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 0x1400866b3
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
movups xmm0, xmmword [rbx + 0x50]
movups xmmword [rbp - 0x68], xmm0
movsd xmm1, qword [rbx + 0x60]
movsd qword [rbp - 0x58], xmm1
mov eax, dword [rbx + 0x68]
mov dword [rbp - 0x50], eax
mov rax, qword [rbx + 0x70]
mov qword [rbp - 0x48], rax
mov rax, qword [rbx + 0x78]
mov qword [rbp - 0x40], rax
movups xmm0, xmmword [rbx + 0x88]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rbx + 0x98]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rbx + 0xa8]
movaps xmmword [rbp - 0x10], xmm0
mov rax, qword [rbx + 0xb8]
mov qword [rbp], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x14008666b
mov qword [rsp + 0x48], r15
lea r8, [rbp - 0x80]
mov edx, 0xc0
mov rcx, rbx
call fcn.140022030
mov ebx, r15d
mov qword [rsp + 0x40], rbx
test rdi, rdi
je 0x14008667f
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140086f60
nop
nop
test rbx, rbx
je 0x140086696
lea r8, [rbp - 0x80]
mov edx, 0xc0
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 + 0x120]
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 0x1400864c2
nop
mov rdx, rdi
mov rcx, rdi
call fcn.140086f60
nop
nop
jmp 0x1400866b3