Function at 0x140115d40
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 [0x1403a06f0], cl
jne 0x140116147
cmp byte [0x1403a0688], 0
movabs rdi, 0x20c49ba5e353f7cf
je 0x140115d97
call fcn.140184380
sub rax, qword [0x1403a0698]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Starting_shutdown_n
call fcn.1401846a0
call fcn.140134bb0
cmp byte [0x1403a0688], 0
je 0x140115dce
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
call fcn.140125260
cmp byte [0x1403a0688], 0
je 0x140115e05
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
mov ecx, ntohs
call fcn.1401253f0
mov ecx, ntohs
call fcn.140125470
cmp byte [0x1403a0688], 0
je 0x140115e7d
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
cmp byte [0x1403a0688], 0
je 0x140115e7d
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
call fcn.140115b80
cmp byte [0x1403a0688], 0
je 0x140115eca
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
jmp 0x140115eca
mov ecx, 1
call sub.KERNEL32.dll_Sleep
cmp qword [0x1403a06f8], 0
jne 0x140115ec0
xor ecx, ecx
mov al, 3
lock cmpxchg byte [0x1403a06f0], cl
mov rcx, qword [0x1403a06a0]
call fcn.1401ba940
mov rcx, qword [0x1403a06a0]
test rcx, rcx
je 0x140115f02
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [0x1403a06a0], 0
cmp byte [0x1403a0688], 0
je 0x140115f3f
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
call fcn.140235420
mov rsi, qword [0x1403a06a8]
test rsi, rsi
je 0x140116018
mov rcx, qword [rsi + 0x410]
test rcx, rcx
je 0x140115f70
mov rbx, qword [rcx]
call fcn.140262a24
mov rcx, rbx
test rbx, rbx
jne 0x140115f60
mov qword [rsi + 0x410], 0
lea rbx, [rsi + 0x418]
mov rcx, qword [rsi + 0x418]
mov qword [rsi + 0x628], rcx
test rcx, rcx
je 0x140115fb0
nop word cs:[rax + rax]
mov r14, qword [rcx]
call fcn.140262a24
mov rcx, r14
test r14, r14
jne 0x140115fa0
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rsi + 0x628], rbx
mov rcx, qword [rsi]
test rcx, rcx
je 0x140115fe0
nop word cs:[rax + rax]
mov rbx, qword [rcx]
call fcn.140262a24
mov rcx, rbx
test rbx, rbx
jne 0x140115fd0
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
mov qword [rsi + 0x408], rcx
test rcx, rcx
je 0x140116010
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.140262a24
mov rcx, rbx
test rbx, rbx
jne 0x140116000
mov rcx, rsi
call fcn.1402599a0
mov qword [0x1403a06a8], 0
cmp byte [0x1403a0688], 0
je 0x140116055
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
mov rcx, qword [0x1403a0690]
call fcn.1401b8870
cmp byte [0x1403a0688], 0
je 0x140116093
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
call fcn.140183790
mov eax, dword [0x1403a5518]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
mov rcx, qword [rax + 0x6a0]
call fcn.1401242b0
mov qword [0x1403a0690], 0
call fcn.1401add00
call fcn.1401855c0
call fcn.1401b6740
call fcn.140120e20
call fcn.1401591b0
call fcn.140118240
call fcn.14011c1d0
call fcn.140114ce0
call fcn.1401cc110
call fcn.1401cbcd0
call fcn.14013c390
call fcn.1401c7e50
call fcn.1401b2040
call fcn.1401bdc40
call fcn.140185d30
mov ecx, dword [0x14039bdd0]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
test rax, rax
je 0x14011615c
mov rsi, rax
cmp byte [rax + 8], 0
jne 0x14011613e
mov rcx, rsi
call fcn.1400496f0
mov rsi, rax
test rax, rax
je 0x14011615c
xor ecx, ecx
call fcn.1401837c0
jmp 0x140116170
lea rcx, str.VM_already_terminated.
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp fcn.140025550
call fcn.1401836b0
mov rsi, rax
xor ecx, ecx
call fcn.1401837c0
test rsi, rsi
je 0x14011617d
mov rax, qword [rsi]
mov rcx, rsi
mov edx, 1
call qword [rax]
cmp byte [0x1403a0688], 0
je 0x1401161e1
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
cmp byte [0x1403a0688], 0
je 0x1401161e1
call fcn.140184380
sub rax, qword [0x1403a0698]
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.1401846a0
call sym.dart_precompiled_runtime_product.exe_Dart_DisableHeapSampling
cmp byte [0x1403a0688], 0
je 0x140116218
call fcn.140184380
sub rax, qword [0x1403a0698]
imul rdi
mov rax, rdx
shr rax, 0x3f
sar rdx, 7
add rdx, rax
lea rcx, str.__lldms__SHUTDOWN:_Done_n
call fcn.1401846a0
call fcn.14011d0a0
call fcn.1401bd980
xor eax, eax
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
sub rsp, 0x38
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov eax, dword [0x1403a5518]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + 8]
test rax, rax
je 0x140238f7c
cmp qword [rax + 0x6a0], 0
jne 0x140238f93
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140259980
nop
add rsp, 0x38
jmp 0x140115d40
lea rax, str..._.._runtime_vm_dart_api_impl.cc
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 0x49e
lea rcx, [0x14037cb7f]
call fcn.1402347e0
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.140023d10
int3