Function at 0x14001e0b8
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x260
mov rax, qword [0x14003d0d8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbp, rcx
mov qword [rsp + 0x30], rdx
mov ecx, dword [0x14003d17c]
mov rsi, r9
mov r13, r8
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov r14, rax
test rax, rax
jne 0x14001e122
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x38]
and dword [rsp + 0x38], eax
lea r14, [rsp + 0x38]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [r14]
mov r10, qword [0x14003d048]
lea rax, [0x14003d048]
lea rdx, [0x140035650]
mov r12d, 0x1df
cmp r10, rax
je 0x14001e184
test byte [r10 + 0x1c], 1
je 0x14001e184
mov eax, dword [r14]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14001e164
mov eax, ecx
mov ecx, r12d
sub rcx, rax
jmp 0x14001e166
xor ecx, ecx
lea r9, [rcx + rdx]
mov qword [rsp + 0x20], rbp
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036cb8]
mov edx, 0x3e
call fcn.140001370
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
xor edi, edi
call sub.msvcrt.dll_memset
lea r9, str.NearFieldProximity_Global_Share_Content_AppId
mov edx, 0x104
lea r8, str.Global_s
lea rcx, [rsp + 0x40]
call fcn.1400104f0
lea r8, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexW]
mov rcx, qword [rbp + 0x148]
mov r15, rax
and qword [rbp + 0x148], rdi
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x14001e1e5
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov qword [rbp + 0x148], r15
cmp qword [rsp + 0x30], rdi
jne 0x14001e2b3
cmp byte [rbp + 0x135], dil
jne 0x14001e2b3
lea r15, [rbp + 0xb0]
cmp qword [r15], rdi
jne 0x14001e23d
mov rcx, qword [r15]
test rcx, rcx
je 0x14001e228
and qword [r15], rdi
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
mov rdx, r15
mov cl, 1
call qword [sym.imp.ProximityCommon.dll_Ordinal_21]
mov edi, eax
test eax, eax
js 0x14001e2bd
test r13, r13
je 0x14001e24f
mov rdx, r13
mov rcx, rbp
call fcn.14001e364
jmp 0x14001e2bb
test rsi, rsi
je 0x14001e2bd
mov rax, qword [rsi]
lea rdx, [rsp + 0x30]
mov rcx, rsi
mov rax, qword [rax + 0x30]
call qword [0x140034e68]
mov edi, eax
test eax, eax
js 0x14001e2bd
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringLen]
xor edx, edx
mov rcx, rdi
lea esi, [rax*2 + 2]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov rdx, qword [r15]
lea rcx, [rbp + 0xb8]
and qword [r15], 0
lea r8, str.WindowsUri
mov r9d, esi
mov qword [rsp + 0x20], rax
call fcn.140025c60
jmp 0x14001e2bb
mov rcx, rbp
call fcn.14001e61c
mov edi, eax
mov rcx, qword [0x14003d048]
lea rax, [0x14003d048]
cmp rcx, rax
je 0x14001e316
test byte [rcx + 0x1c], 1
je 0x14001e316
mov eax, dword [r14]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14001e2eb
mov eax, edx
sub r12, rax
jmp 0x14001e2ee
xor r12d, r12d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r12
mov dword [rsp + 0x28], edi
mov edx, 0x3f
mov qword [rsp + 0x20], rbp
lea r8, [0x140036cb8]
call fcn.140001730
or eax, 0xffffffff
add dword [r14], eax
cmp ebx, eax
je 0x14001e337
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14001e337
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, edi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1400304d0
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x260
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret