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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x28], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
lea rdx, [rcx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.140023410
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 8], xmm0
xor r14d, r14d
mov qword [rbp + 8], r14
mov qword [rbp + 0x10], r14
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140018a0a
lock inc dword [rcx + 8]
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rcx
mov rax, qword [rdi + 0x10]
mov qword [rbp + 0x18], rax
lea rdi, [rsi + 8]
mov rsi, qword [rsi]
mov rbx, qword [rdi]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x140018a52
nop dword [rax + rax]
cmp qword [rax], rbx
je 0x140018bf3
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140018a40
lea rax, [rbp - 0x80]
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x80]
mov ecx, 0xd8
call fcn.140035ee0
mov rbx, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov qword [rax + 0x20], r14
lea rax, [fcn.14003d040]
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 - 0x80]
call fcn.140023b20
mov r8, rbx
mov rdx, rdi
mov rcx, rsi
call fcn.1400411c0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
test al, al
je 0x140018b5f
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
mov ecx, dword [0x1403d4d0c]
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 [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x50], rax
mov rax, qword [rdi]
mov qword [rsp + 0x58], rax
lea r8, [0x1403d4c88]
lea rdx, [0x14001aea0]
lea rcx, [0x1403d4c80]
call fcn.1400ddbc4
test eax, eax
je 0x140018c11
xor r9d, r9d
lea r8, [rsp + 0x68]
mov rdx, rbx
mov rcx, qword [rsi + 0x28]
call fcn.14003d040
nop
lea rcx, [rsp + 0x50]
call fcn.14002a7c0
nop
mov rdx, qword [rsp + 0x30]
mov ecx, dword [0x1403d4d0c]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
nop
mov edi, 0xffffffff
mov rbx, qword [rbp + 0x10]
test rbx, rbx
je 0x140018b96
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140018b96
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140018b96
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x18]
test rbx, rbx
je 0x140018bc6
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140018bc6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140018bc6
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rcx, [rbp - 0x78]
call fcn.140029e10
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp qword [rax + 8], 0
je 0x140018a52
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.14001d3d0
nop
jmp 0x140018b5f
call fcn.14028ff34
int3