Function at 0x14011f710
Capabilities:
Get thread local storage value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov cl, 3
mov al, 2
lock cmpxchg byte [0x140399240], cl
jne 0x14011fb11
cmp byte [0x1403991d8], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x14011f767
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.14018df20
call fcn.14013e740
cmp byte [0x1403991d8], 0
je 0x14011f79e
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Disabling_isolate_creation_n
call fcn.14018df20
call fcn.14012e850
cmp byte [0x1403991d8], 0
je 0x14011f7d5
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Killing_all_app_isolates_n
call fcn.14018df20
mov ecx, listen
call fcn.14012e9e0
cmp byte [0x1403991d8], 0
je 0x14011f843
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Shutting_down_kernel_isolate_n
call fcn.14018df20
cmp byte [0x1403991d8], 0
je 0x14011f843
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Shutting_down_service_isolate_n
call fcn.14018df20
call fcn.14011f550
cmp byte [0x1403991d8], 0
je 0x14011f88a
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Deleting_thread_pool_n
call fcn.14018df20
jmp 0x14011f88a
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x140399248], 0
jne 0x14011f880
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x140399240], cl
mov rcx, qword [0x1403991f0]
call fcn.1401c2dc0
mov rcx, qword [0x1403991f0]
test rcx, rcx
je 0x14011f8c2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403991f0], 0
cmp byte [0x1403991d8], 0
je 0x14011f8ff
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_deleting_thread_pool_n
call fcn.14018df20
call fcn.140238810
mov rsi, qword [0x1403991f8]
test rsi, rsi
je 0x14011f9d8
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x14011f930
mov rbx, qword [rcx]
call fcn.140266508
mov rcx, rbx
test rbx, rbx
jne 0x14011f920
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x14011f970
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.140266508
mov rcx, r14
test r14, r14
jne 0x14011f960
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x14011f9a0
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.140266508
mov rcx, rbx
test rbx, rbx
jne 0x14011f990
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x14011f9d0
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.140266508
mov rcx, rbx
test rbx, rbx
jne 0x14011f9c0
mov rcx, rsi
call fcn.14025e000
mov qword [0x1403991f8], 0
cmp byte [0x1403991d8], 0
je 0x14011fa15
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Cleaning_up_vm_isolate_n
call fcn.14018df20
mov rcx, qword [0x1403991e0]
call fcn.1401c0e10
cmp byte [0x1403991d8], 0
je 0x14011fa53
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Disabling_OS_Thread_creation_n
call fcn.14018df20
call fcn.14018d110
mov eax, dword [0x14039dea0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x688]
call fcn.14012d930
mov qword [0x1403991e0], 0
call fcn.1401b7850
call fcn.14018eff0
call fcn.1401bed20
call fcn.14012a650
call fcn.140163530
call fcn.1401649e0
call fcn.140121d00
call fcn.140125f90
call fcn.14011ea80
call fcn.1401d3da0
call fcn.1401d39e0
call fcn.140145550
call fcn.1401cfc10
call fcn.140024dc0
call fcn.1401ba610
call fcn.1401c60b0
call fcn.14018f7c0
mov ecx, dword [0x140394de0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14011fb26
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14011fb08
mov rcx, rsi
call fcn.140048340
mov rsi, rax
test rax, rax
je 0x14011fb26
xor ecx, ecx
call fcn.14018d140
jmp 0x14011fb3a
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400251e0
call fcn.14018d030
mov rsi, rax
xor ecx, ecx
call fcn.14018d140
test rsi, rsi
je 0x14011fb47
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x1403991d8], 0
je 0x14011fbab
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Deleted_os_thread_n
call fcn.14018df20
cmp byte [0x1403991d8], 0
je 0x14011fbab
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Deleting_code_observers_n
call fcn.14018df20
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x1403991d8], 0
je 0x14011fbe2
call fcn.14018dbf0
sub rax, qword [0x1403991e8]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.14018df20
call fcn.140126c90
call fcn.1401c5df0
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x140396de8]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x14039dea0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x14023cc3c
cmp qword [rax + 0x688], 0
jne 0x14023cc53
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025dfe0
nop
add rsp, 0x38
jmp 0x14011f710
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x4c0
lea rcx, [0x1403785a9]
call fcn.140237bc0
lea rdx, str._s_expects_there_to_be_no_current_isolate._Did_you_forget_to_call_Dart_ExitIsolate_
lea rcx, [rsp + 0x20]
mov r8, rax
call fcn.140023950
int3