Function at 0x14023b500
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 [0x1403a47c0], cl
jne 0x1401177f7
cmp byte [0x1403a4758], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x140117447
call fcn.140186720
sub rax, qword [0x1403a4768]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.140186a40
call fcn.1401368b0
cmp byte [0x1403a4758], 0
je 0x14011747e
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
call fcn.140126c80
cmp byte [0x1403a4758], 0
je 0x1401174b5
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
mov ecx, ntohs
call fcn.140126e10
mov ecx, ntohs
call fcn.140126e90
cmp byte [0x1403a4758], 0
je 0x14011752d
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
cmp byte [0x1403a4758], 0
je 0x14011752d
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
call fcn.140117230
cmp byte [0x1403a4758], 0
je 0x14011757a
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
jmp 0x14011757a
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x1403a47c8], 0
jne 0x140117570
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x1403a47c0], cl
mov rcx, qword [0x1403a4770]
call fcn.1401bd210
mov rcx, qword [0x1403a4770]
test rcx, rcx
je 0x1401175b2
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403a4770], 0
cmp byte [0x1403a4758], 0
je 0x1401175ef
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
call fcn.1402379e0
mov rsi, qword [0x1403a4778]
test rsi, rsi
je 0x1401176c8
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x140117620
mov rbx, qword [rcx]
call fcn.140265df4
mov rcx, rbx
test rbx, rbx
jne 0x140117610
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x140117660
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.140265df4
mov rcx, r14
test r14, r14
jne 0x140117650
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140117690
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.140265df4
mov rcx, rbx
test rbx, rbx
jne 0x140117680
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x1401176c0
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.140265df4
mov rcx, rbx
test rbx, rbx
jne 0x1401176b0
mov rcx, rsi
call fcn.14025cd70
mov qword [0x1403a4778], 0
cmp byte [0x1403a4758], 0
je 0x140117705
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
mov rcx, qword [0x1403a4760]
call fcn.1401bb140
cmp byte [0x1403a4758], 0
je 0x140117743
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
call fcn.140185b20
mov eax, dword [0x1403a95e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x690]
call fcn.140125cd0
mov qword [0x1403a4760], 0
call fcn.1401b0650
call fcn.140187960
call fcn.1401b9030
call fcn.140122840
call fcn.14015bc60
call fcn.1401198f0
call fcn.14011db40
call fcn.140116630
call fcn.1401ce7a0
call fcn.1401ce360
call fcn.14013dd50
call fcn.1401ca5e0
call fcn.1401b49a0
call fcn.1401c0580
call fcn.1401880d0
mov ecx, dword [0x14039fef0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14011780c
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1401177ee
mov rcx, rsi
call fcn.1400498c0
mov rsi, rax
test rax, rax
je 0x14011780c
xor ecx, ecx
call fcn.140185b50
jmp 0x140117820
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140025750
call fcn.140185a40
mov rsi, rax
xor ecx, ecx
call fcn.140185b50
test rsi, rsi
je 0x14011782d
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x1403a4758], 0
je 0x140117891
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
cmp byte [0x1403a4758], 0
je 0x140117891
call fcn.140186720
sub rax, qword [0x1403a4768]
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.140186a40
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x1403a4758], 0
je 0x1401178c8
call fcn.140186720
sub rax, qword [0x1403a4768]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.140186a40
call fcn.14011ea40
call fcn.1401c02c0
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x1403a1f58]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403a95e8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x14023b53c
cmp qword [rax + 0x690], 0
jne 0x14023b553
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14025cd50
nop
add rsp, 0x38
jmp 0x1401173f0
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x4aa
lea rcx, [0x1403807ef]
call fcn.140236da0
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.140023f00
int3