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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r13, rcx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov rdi, rax
test rax, rax
jne 0x14000e0b6
mov ebx, dword [0x14003d17c]
lea rdx, [rbp - 0x10]
and dword [rbp - 0x10], eax
lea rdi, [rbp - 0x10]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov r15d, 1
add dword [rdi], r15d
mov rax, qword [0x14003d048]
lea r14, [0x14003d048]
lea r12, [0x140035650]
mov esi, 0x1df
cmp rax, r14
je 0x14000e135
test byte [rax + 0x1c], r15b
je 0x14000e135
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000e0fb
mov eax, ecx
mov r14d, esi
sub r14, rax
jmp 0x14000e0fe
xor r14d, r14d
xor edx, edx
mov rcx, r13
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov rcx, qword [0x14003d048]
lea r9, [r14 + r12]
mov edx, reloc.ProximityCommon.dll_Ordinal_20
mov qword [rsp + 0x20], rax
lea r8, [0x140036280]
mov rcx, qword [rcx + 0x10]
call fcn.140004a7c
lea r14, [0x14003d048]
and qword [rbp + 0x58], 0
lea rdx, [rbp + 0x58]
lea rcx, [0x140036270]
call qword [sym.imp.SHELL32.dll_SHCreateAssociationRegistration]
test eax, eax
js 0x14000e1ec
mov r10, qword [0x14003d048]
cmp r10, r14
je 0x14000e19b
test byte [r10 + 0x1c], 4
je 0x14000e19b
mov eax, dword [rdi]
add eax, r15d
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000e180
mov eax, ecx
mov rcx, rsi
sub rcx, rax
jmp 0x14000e182
xor ecx, ecx
lea r9, [rcx + r12]
mov edx, reloc.ProximityCommon.dll_Ordinal_21
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036280]
call fcn.1400012b0
xor edx, edx
mov rcx, r13
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov rcx, qword [rbp + 0x58]
mov r9d, r15d
and qword [rbp + 0x48], 0
mov r10, rax
mov r8d, r15d
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x18]
lea rdx, [rbp + 0x48]
mov qword [rsp + 0x20], rdx
mov rdx, r10
call qword [0x140034e68]
mov rcx, qword [rbp + 0x48]
mov r14d, eax
and qword [rbp + 0x48], 0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
test r14d, r14d
jns 0x14000e381
mov r10, qword [0x14003d048]
lea rax, [0x14003d048]
cmp r10, rax
je 0x14000e23b
test byte [r10 + 0x1c], 4
je 0x14000e23b
mov eax, dword [rdi]
add eax, r15d
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000e220
mov eax, ecx
mov rcx, rsi
sub rcx, rax
jmp 0x14000e222
xor ecx, ecx
lea r9, [rcx + r12]
mov edx, reloc.ProximityCommon.dll_Ordinal_22
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036280]
call fcn.1400012b0
xor r14d, r14d
mov r12d, r15d
and qword [rbp + 0x50], r14
lea rcx, [0x14003d848]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rcx, qword [0x14003d870]
lea r8, [rbp + 0x48]
mov rdx, r13
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsCompareStringOrdinal]
mov ecx, dword [rbp + 0x48]
mov eax, ecx
neg eax
sbb r15d, r15d
and r15d, 0x80004005
test ecx, ecx
jne 0x14000e28f
mov rcx, qword [0x14003d878]
lea rdx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDuplicateString]
mov r15d, eax
lea rcx, [0x14003d848]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test r15d, r15d
jns 0x14000e2de
and qword [rbp + 0x50], r14
mov ecx, 0x32
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000e2bf
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov r15d, 1
add r12d, r15d
cmp r12d, 0xa
jle 0x14000e241
lea r12, [0x140035650]
jmp 0x14000e381
mov r15d, 1
test byte [0x14003d7c0], r15b
je 0x14000e2f9
lea rdx, [0x140035950]
call fcn.140010b80
mov r10, qword [0x14003d048]
lea rax, [0x14003d048]
cmp r10, rax
je 0x14000e351
test byte [r10 + 0x1c], 4
je 0x14000e351
mov eax, dword [rdi]
add eax, r15d
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000e32d
mov eax, ecx
mov rcx, rsi
sub rcx, rax
jmp 0x14000e32f
xor ecx, ecx
lea r12, [0x140035650]
mov edx, Ordinal_24
lea r9, [rcx + r12]
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036280]
call fcn.1400012b0
jmp 0x14000e358
lea r12, [0x140035650]
mov rcx, qword [rbp + 0x50]
xor edx, edx
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsGetStringRawBuffer]
mov rcx, rax
call fcn.14000d9ec
mov rcx, qword [rbp + 0x50]
mov r14d, 0x80004004
test rcx, rcx
je 0x14000e381
call qword [sym.imp.api_ms_win_core_winrt_string_l1_1_0.dll_WindowsDeleteString]
mov rcx, qword [0x14003d048]
lea rax, [0x14003d048]
cmp rcx, rax
je 0x14000e3ce
test byte [rcx + 0x1c], r15b
je 0x14000e3ce
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14000e3ae
mov eax, edx
sub rsi, rax
jmp 0x14000e3b0
xor esi, esi
mov rcx, qword [rcx + 0x10]
lea r9, [rsi + r12]
mov edx, reloc.ProximityCommon.dll_Ordinal_24
mov dword [rsp + 0x20], r14d
lea r8, [0x140036280]
call fcn.140001304
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14000e3e4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
or eax, 0xffffffff
add dword [rdi], eax
cmp ebx, eax
je 0x14000e404
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14000e404
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, r14d
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret