Function at 0x140011f28
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 r14
sub rsp, 0x30
mov r14, 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 0x140011f6e
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x70]
and dword [rsp + 0x70], eax
lea rdi, [rsp + 0x70]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
inc dword [rdi]
mov r10, qword [0x14003d048]
lea r12, [0x14003d048]
lea rdx, [0x140035650]
mov esi, 0x1df
cmp r10, r12
je 0x140011fcc
test byte [r10 + 0x1c], 1
je 0x140011fcc
mov eax, dword [rdi]
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x140011fac
mov eax, ecx
mov ecx, esi
sub rcx, rax
jmp 0x140011fae
xor ecx, ecx
lea r9, [rcx + rdx]
mov qword [rsp + 0x20], r14
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036400]
mov edx, Ordinal_24
call fcn.140004a7c
and qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x20], rax
lea r9, [0x1400363e0]
lea rcx, [0x140036fe8]
lea r8d, [rdx + 4]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebp, eax
test eax, eax
js 0x1400120c8
mov rcx, qword [rsp + 0x68]
xor edx, edx
call qword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
test eax, eax
jns 0x140012065
mov rcx, qword [0x14003d048]
cmp rcx, r12
je 0x1400120b1
test byte [rcx + 0x1c], 8
je 0x14001206c
mov eax, dword [rdi]
inc eax
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140012040
mov eax, edx
mov rdx, rsi
sub rdx, rax
jmp 0x140012042
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, rdx
mov dword [rsp + 0x20], ebp
mov edx, reloc.ProximityCommon.dll_Ordinal_24
lea r8, [0x140036400]
call fcn.140001304
mov rcx, qword [0x14003d048]
cmp rcx, r12
je 0x1400120b1
test byte [rcx + 0x1c], 4
je 0x1400120b1
mov eax, dword [rdi]
inc eax
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x140012090
mov eax, edx
mov rdx, rsi
sub rdx, rax
jmp 0x140012092
xor edx, edx
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, rdx
lea r8, [0x140036400]
mov edx, 0x19
call fcn.1400012b0
mov rcx, qword [rsp + 0x68]
mov rdx, r14
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x140034e68]
mov ebp, eax
mov rcx, qword [0x14003d048]
cmp rcx, r12
je 0x140012113
test byte [rcx + 0x1c], 1
je 0x140012113
mov eax, dword [rdi]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x1400120ee
mov eax, edx
sub rsi, rax
jmp 0x1400120f0
xor esi, esi
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, rsi
mov dword [rsp + 0x20], ebp
mov edx, 0x1a
lea r8, [0x140036400]
call fcn.140001304
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140012130
and qword [rsp + 0x68], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
dec dword [rdi]
cmp ebx, 0xffffffff
je 0x14001214e
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14001214e
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov eax, ebp
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret