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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1730]
mov eax, 0x1830
call fcn.1402807a0
sub rsp, rax
mov rax, qword [0x1403b9868]
xor rax, rsp
mov qword [rbp + 0x1728], rax
mov rdi, rdx
mov rbx, rcx
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x70], rax
movups xmm0, xmmword [rdx + 0x18]
movups xmmword [rsp + 0x78], xmm0
mov eax, dword [rdx + 0x28]
mov dword [rbp - 0x78], eax
mov rax, qword [rdx + 0x30]
mov qword [rbp - 0x70], rax
add rdx, 0x38
lea rcx, [rbp - 0x68]
call fcn.1400b6790
nop
mov rax, qword [rbx]
mov qword [rbp + 0x510], rax
movups xmm0, xmmword [rbx + 8]
movups xmmword [rbp + 0x518], xmm0
mov eax, dword [rbx + 0x18]
mov dword [rbp + 0x528], eax
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x530], rax
lea rdx, [rbx + 0x28]
lea rcx, [rbp + 0x538]
call fcn.1400bb510
movups xmm0, xmmword [rbx + 0x618]
movups xmmword [rbp + 0xb28], xmm0
mov eax, dword [rbx + 0x628]
mov dword [rbp + 0xb38], eax
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb40]
call fcn.1400bcda0
nop
lea rsi, [rdi + 8]
mov rdi, qword [rdi]
mov rbx, qword [rsi]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14009d7a2
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x14009d8ef
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x14009d790
lea rax, [rbp + 0xb40]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0xb68]
mov ecx, 0xc08
call fcn.140062870
mov rbx, rax
mov qword [rsp + 0x50], rax
xor r14d, r14d
mov qword [rsp + 0x58], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14014cc20]
mov qword [rbx + 0x28], rax
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r14
mov dword [rbx + 0x30], r14d
lea rcx, [rbx + 0x38]
lea rdx, [rbp + 0xb40]
call fcn.1400bcda0
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.140156110
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
test al, al
je 0x14009d89a
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x30]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call fcn.14018e9e0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov rdx, rbx
mov rcx, qword [rdi + 0x28]
call fcn.14014cc20
nop
lea rcx, [rsp + 0x20]
call fcn.1400c5a90
nop
mov rdx, qword [rsp + 0x40]
mov ecx, dword [0x1403e78b8]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
lea rcx, [rbp + 0x1180]
call fcn.1400bfb10
lea rcx, [rbp + 0xb68]
call fcn.1400bfb10
nop
lea rcx, [rbp + 0x5b0]
call fcn.1400bfb10
lea rcx, [rbp - 0x68]
call fcn.1400bfb10
mov rcx, qword [rbp + 0x1728]
xor rcx, rsp
call fcn.1402806f0
lea r11, [rsp + 0x1830]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x14009d7a2
nop
lea rdx, [rbp + 0xb68]
lea rcx, [rbp + 0xb40]
call fcn.14009e250
nop
nop
jmp 0x14009d89a