Function at 0x1401214b0
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 [0x1403ab4c0], cl
jne 0x1401218ac
cmp byte [0x1403ab458], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x140121507
call fcn.140190ad0
sub rax, qword [0x1403ab468]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.140190e00
call fcn.140140b70
cmp byte [0x1403ab458], 0
je 0x14012153e
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
call fcn.140130c60
cmp byte [0x1403ab458], 0
je 0x140121575
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
mov ecx, listen
call fcn.140130df0
cmp byte [0x1403ab458], 0
je 0x1401215e3
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
cmp byte [0x1403ab458], 0
je 0x1401215e3
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
call fcn.1401212f0
cmp byte [0x1403ab458], 0
je 0x14012162a
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
jmp 0x14012162a
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x1403ab4c8], 0
jne 0x140121620
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x1403ab4c0], cl
mov rcx, qword [0x1403ab470]
call fcn.1401c6520
mov rcx, qword [0x1403ab470]
test rcx, rcx
je 0x140121662
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403ab470], 0
cmp byte [0x1403ab458], 0
je 0x14012169f
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
call fcn.140240520
mov rsi, qword [0x1403ab478]
test rsi, rsi
je 0x140121778
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x1401216d0
mov rbx, qword [rcx]
call fcn.14026f0d8
mov rcx, rbx
test rbx, rbx
jne 0x1401216c0
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x140121710
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.14026f0d8
mov rcx, r14
test r14, r14
jne 0x140121700
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140121740
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.14026f0d8
mov rcx, rbx
test rbx, rbx
jne 0x140121730
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x140121770
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.14026f0d8
mov rcx, rbx
test rbx, rbx
jne 0x140121760
mov rcx, rsi
call fcn.140265fb0
mov qword [0x1403ab478], 0
cmp byte [0x1403ab458], 0
je 0x1401217b5
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
mov rcx, qword [0x1403ab460]
call fcn.1401c44f0
cmp byte [0x1403ab458], 0
je 0x1401217f3
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
call fcn.14018fed0
mov eax, dword [0x1403b0260]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x690]
call fcn.14012fd40
mov qword [0x1403ab460], 0
call fcn.1401baae0
call fcn.140191d20
call fcn.1401c23e0
call fcn.14012c910
call fcn.140165d70
call fcn.1401239f0
call fcn.140127c30
call fcn.1401206f0
call fcn.1401d72b0
call fcn.1401d6ef0
call fcn.140148060
call fcn.1401d3200
call fcn.140025000
call fcn.1401bdd10
call fcn.1401c9800
call fcn.140192490
mov ecx, dword [0x1403a6e30]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401218c1
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1401218a3
mov rcx, rsi
call fcn.140048a50
mov rsi, rax
test rax, rax
je 0x1401218c1
xor ecx, ecx
call fcn.14018ff00
jmp 0x1401218d5
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.1400254a0
call fcn.14018fdf0
mov rsi, rax
xor ecx, ecx
call fcn.14018ff00
test rsi, rsi
je 0x1401218e2
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x1403ab458], 0
je 0x140121946
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
cmp byte [0x1403ab458], 0
je 0x140121946
call fcn.140190ad0
sub rax, qword [0x1403ab468]
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.140190e00
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x1403ab458], 0
je 0x14012197d
call fcn.140190ad0
sub rax, qword [0x1403ab468]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.140190e00
call fcn.140128b20
call fcn.1401c9540
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x1403a8f38]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403b0260]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x1402446ac
cmp qword [rax + 0x690], 0
jne 0x1402446c3
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265f90
nop
add rsp, 0x38
jmp 0x1401214b0
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x4aa
lea rcx, [0x140387f6f]
call fcn.14023f8e0
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.140023be0
int3