Function at 0x140242370
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 [0x1403a9490], cl
jne 0x14011ff2c
cmp byte [0x1403a9428], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x14011fb87
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.14018f020
call fcn.14013f100
cmp byte [0x1403a9428], 0
je 0x14011fbbe
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
call fcn.14012f1f0
cmp byte [0x1403a9428], 0
je 0x14011fbf5
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
mov ecx, listen
call fcn.14012f380
cmp byte [0x1403a9428], 0
je 0x14011fc63
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
cmp byte [0x1403a9428], 0
je 0x14011fc63
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
call fcn.14011f970
cmp byte [0x1403a9428], 0
je 0x14011fcaa
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
jmp 0x14011fcaa
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x1403a9498], 0
jne 0x14011fca0
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x1403a9490], cl
mov rcx, qword [0x1403a9440]
call fcn.1401c47e0
mov rcx, qword [0x1403a9440]
test rcx, rcx
je 0x14011fce2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403a9440], 0
cmp byte [0x1403a9428], 0
je 0x14011fd1f
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
call fcn.14023e230
mov rsi, qword [0x1403a9448]
test rsi, rsi
je 0x14011fdf8
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x14011fd50
mov rbx, qword [rcx]
call fcn.14026c948
mov rcx, rbx
test rbx, rbx
jne 0x14011fd40
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x14011fd90
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.14026c948
mov rcx, r14
test r14, r14
jne 0x14011fd80
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x14011fdc0
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.14026c948
mov rcx, rbx
test rbx, rbx
jne 0x14011fdb0
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x14011fdf0
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.14026c948
mov rcx, rbx
test rbx, rbx
jne 0x14011fde0
mov rcx, rsi
call fcn.140263820
mov qword [0x1403a9448], 0
cmp byte [0x1403a9428], 0
je 0x14011fe35
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
mov rcx, qword [0x1403a9430]
call fcn.1401c2770
cmp byte [0x1403a9428], 0
je 0x14011fe73
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
call fcn.14018e210
mov eax, dword [0x1403ae1f0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x690]
call fcn.14012e2d0
mov qword [0x1403a9430], 0
call fcn.1401b8d40
call fcn.14018ff50
call fcn.1401c0660
call fcn.14012afc0
call fcn.1401643f0
call fcn.1401220a0
call fcn.140126340
call fcn.14011ed70
call fcn.1401d58f0
call fcn.1401d5530
call fcn.140146640
call fcn.1401d17c0
call fcn.140024d80
call fcn.1401bbf40
call fcn.1401c7ad0
call fcn.1401906c0
mov ecx, dword [0x1403a4e50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14011ff41
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14011ff23
mov rcx, rsi
call fcn.140048300
mov rsi, rax
test rax, rax
je 0x14011ff41
xor ecx, ecx
call fcn.14018e240
jmp 0x14011ff55
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400251a0
call fcn.14018e130
mov rsi, rax
xor ecx, ecx
call fcn.14018e240
test rsi, rsi
je 0x14011ff62
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x1403a9428], 0
je 0x14011ffc6
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
cmp byte [0x1403a9428], 0
je 0x14011ffc6
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
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.14018f020
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x1403a9428], 0
je 0x14011fffd
call fcn.14018ecf0
sub rax, qword [0x1403a9438]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.14018f020
call fcn.140127230
call fcn.1401c7810
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x1403a6f08]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403ae1f0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x1402423ac
cmp qword [rax + 0x690], 0
jne 0x1402423c3
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140263800
nop
add rsp, 0x38
jmp 0x14011fb30
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x4aa
lea rcx, [0x1403859bf]
call fcn.14023d5e0
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.140023910
int3