Function at 0x1401281d0
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 [0x1403a2290], cl
jne 0x1401285c9
cmp byte [0x1403a2228], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x140128227
call fcn.1401968f0
sub rax, qword [0x1403a2238]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.140196c20
call fcn.140147550
cmp byte [0x1403a2228], 0
je 0x14012825e
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
call fcn.1401370d0
cmp byte [0x1403a2228], 0
je 0x140128295
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
mov ecx, ntohs
call fcn.140137260
cmp byte [0x1403a2228], 0
je 0x140128303
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
cmp byte [0x1403a2228], 0
je 0x140128303
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
call fcn.140128010
cmp byte [0x1403a2228], 0
je 0x14012834a
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
jmp 0x14012834a
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x1403a2298], 0
jne 0x140128340
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x1403a2290], cl
mov rcx, qword [0x1403a2240]
call fcn.1401cd330
mov rcx, qword [0x1403a2240]
test rcx, rcx
je 0x140128382
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403a2240], 0
cmp byte [0x1403a2228], 0
je 0x1401283bf
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
call fcn.140243000
mov rsi, qword [0x1403a2248]
test rsi, rsi
je 0x140128498
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x1401283f0
mov rbx, qword [rcx]
call fcn.14026e508
mov rcx, rbx
test rbx, rbx
jne 0x1401283e0
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x140128430
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.14026e508
mov rcx, r14
test r14, r14
jne 0x140128420
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140128460
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.14026e508
mov rcx, rbx
test rbx, rbx
jne 0x140128450
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x140128490
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.14026e508
mov rcx, rbx
test rbx, rbx
jne 0x140128480
mov rcx, rsi
call fcn.140266000
mov qword [0x1403a2248], 0
cmp byte [0x1403a2228], 0
je 0x1401284d5
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
mov rcx, qword [0x1403a2230]
xor edx, edx
call fcn.1401cb9f0
cmp byte [0x1403a2228], 0
je 0x140128515
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
call fcn.140195e10
mov eax, dword [0x1403a6ee0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x680]
call fcn.140136120
mov qword [0x1403a2230], 0
call fcn.1401c2420
call fcn.140197c80
call fcn.1401c9a40
call fcn.140133010
call fcn.14016b5d0
call fcn.14016ca50
call fcn.14012a9e0
call fcn.140127540
call fcn.1401de4f0
call fcn.1401de130
call fcn.14014e290
call fcn.1401da5d0
call fcn.1401c51e0
call fcn.1401d0510
call fcn.140198450
mov ecx, dword [0x14039ddc0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401285de
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1401285c0
mov rcx, rsi
call fcn.14006e790
mov rsi, rax
test rax, rax
je 0x1401285de
xor ecx, ecx
call fcn.140195e40
jmp 0x1401285f2
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140024d80
call fcn.140195d30
mov rsi, rax
xor ecx, ecx
call fcn.140195e40
test rsi, rsi
je 0x1401285ff
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x1403a2228], 0
je 0x140128663
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
cmp byte [0x1403a2228], 0
je 0x140128663
call fcn.1401968f0
sub rax, qword [0x1403a2238]
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.140196c20
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x1403a2228], 0
je 0x14012869a
call fcn.1401968f0
sub rax, qword [0x1403a2238]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.140196c20
call fcn.14012f2e0
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x14039fd98]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403a6ee0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x140246e3c
cmp qword [rax + 0x680], 0
jne 0x140246e53
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140265fe0
nop
add rsp, 0x38
jmp 0x1401281d0
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x4c1
lea rcx, [0x140381779]
call fcn.140242420
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.1400235e0
int3