Function at 0x140238550
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 [0x14039f680], cl
jne 0x1401097b7
cmp byte [0x14039f618], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x140109407
call fcn.140177200
sub rax, qword [0x14039f628]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.140177530
call fcn.1401281b0
cmp byte [0x14039f618], 0
je 0x14010943e
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
call fcn.140118860
cmp byte [0x14039f618], 0
je 0x140109475
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
mov ecx, ntohs
call fcn.1401189f0
mov ecx, ntohs
call fcn.140118a70
cmp byte [0x14039f618], 0
je 0x1401094ed
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
cmp byte [0x14039f618], 0
je 0x1401094ed
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
call fcn.1401091f0
cmp byte [0x14039f618], 0
je 0x14010953a
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
jmp 0x14010953a
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x14039f688], 0
jne 0x140109530
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x14039f680], cl
mov rcx, qword [0x14039f630]
call fcn.1401ad870
mov rcx, qword [0x14039f630]
test rcx, rcx
je 0x140109572
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x14039f630], 0
cmp byte [0x14039f618], 0
je 0x1401095af
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
call fcn.140234a30
mov rsi, qword [0x14039f638]
test rsi, rsi
je 0x140109688
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x1401095e0
mov rbx, qword [rcx]
call fcn.140261f34
mov rcx, rbx
test rbx, rbx
jne 0x1401095d0
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x140109620
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.140261f34
mov rcx, r14
test r14, r14
jne 0x140109610
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140109650
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.140261f34
mov rcx, rbx
test rbx, rbx
jne 0x140109640
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x140109680
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.140261f34
mov rcx, rbx
test rbx, rbx
jne 0x140109670
mov rcx, rsi
call fcn.140258ec0
mov qword [0x14039f638], 0
cmp byte [0x14039f618], 0
je 0x1401096c5
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
mov rcx, qword [0x14039f620]
call fcn.1401ab7a0
cmp byte [0x14039f618], 0
je 0x140109703
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
call fcn.1401765e0
mov eax, dword [0x1403a44f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x6a0]
call fcn.1401178b0
mov qword [0x14039f620], 0
call fcn.1401a0c60
call fcn.140178440
call fcn.1401a9670
call fcn.140114420
call fcn.14014c4e0
call fcn.14010b880
call fcn.14010f810
call fcn.140108350
call fcn.1401bf040
call fcn.1401bec00
call fcn.14012f990
call fcn.1401bad80
call fcn.1401a4fa0
call fcn.1401b0b70
call fcn.140178bb0
mov ecx, dword [0x14039ac80]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x1401097cc
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x1401097ae
mov rcx, rsi
call fcn.140042800
mov rsi, rax
test rax, rax
je 0x1401097cc
xor ecx, ecx
call fcn.140176610
jmp 0x1401097e0
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140008400
call fcn.140176500
mov rsi, rax
xor ecx, ecx
call fcn.140176610
test rsi, rsi
je 0x1401097ed
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x14039f618], 0
je 0x140109851
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
cmp byte [0x14039f618], 0
je 0x140109851
call fcn.140177200
sub rax, qword [0x14039f628]
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.140177530
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x14039f618], 0
je 0x140109888
call fcn.140177200
sub rax, qword [0x14039f628]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.140177530
call fcn.1401106e0
call fcn.1401b08b0
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x14039ce38]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403a44f8]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x14023858c
cmp qword [rax + 0x6a0], 0
jne 0x1402385a3
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140258ea0
nop
add rsp, 0x38
jmp 0x1401093b0
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x49e
lea rcx, [0x14037bab3]
call fcn.140233df0
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.140006bb0
int3