Function at 0x14000c8f4
Capabilities:
Create thread
Get thread local storage value
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, rcx
mov rbp, rdx
mov ecx, dword [0x14003d17c]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
or ebx, 0xffffffff
mov r14, rax
test rax, rax
jne 0x14000c943
mov ebx, dword [0x14003d17c]
lea rdx, [rsp + 0x70]
and dword [rsp + 0x70], eax
lea r14, [rsp + 0x70]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov edi, 1
add dword [r14], edi
mov eax, dword [r14]
mov r10, qword [0x14003d048]
lea rcx, [0x14003d048]
lea rdx, [0x140035650]
mov r12d, 0x1df
cmp r10, rcx
je 0x14000c9a4
test byte [r10 + 0x1c], dil
je 0x14000c9a4
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000c989
mov eax, ecx
mov ecx, r12d
sub rcx, rax
jmp 0x14000c98b
xor ecx, ecx
lea r9, [rcx + rdx]
mov edx, Ordinal_24
mov rcx, qword [r10 + 0x10]
lea r8, [0x140036090]
call fcn.1400012b0
mov esi, 0x80004004
xor eax, eax
lock cmpxchg dword [0x14003d988], edi
jne 0x14000ca5c
mov ecx, Ordinal_20
call fcn.140030ea0
mov rdi, rax
test rax, rax
je 0x14000c9d6
and qword [rax], 0
and qword [rax + 8], 0
jmp 0x14000c9d8
xor edi, edi
mov rax, rdi
neg rax
sbb esi, esi
not esi
and esi, 0x8007000e
test rdi, rdi
je 0x14000cab7
cmp qword [rdi], r15
je 0x14000ca23
test r15, r15
je 0x14000ca0b
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [0x140034e68]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000ca20
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
mov qword [rdi], r15
lea rdx, [rdi + 8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_SHStrDupW]
mov esi, eax
test eax, eax
js 0x14000cabb
xor r9d, r9d
lea rcx, [0x14000c870]
mov rdx, rdi
lea r8d, [r9 + 4]
call qword [sym.imp.api_ms_win_shcore_thread_l1_1_0.dll_SHCreateThread]
test eax, eax
je 0x14000ca99
xor esi, esi
mov edi, 1
lea r15, [0x14003d048]
mov rcx, qword [0x14003d048]
cmp rcx, r15
je 0x14000cb81
test byte [rcx + 0x1c], dil
je 0x14000cb81
mov eax, dword [r14]
lea edx, [rax + rax*4]
cmp edx, 0x1e1
ja 0x14000cb5b
mov eax, edx
sub r12, rax
jmp 0x14000cb5e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov eax, 0x80004005
test esi, esi
cmovns esi, eax
test esi, esi
jns 0x14000ca57
mov r10, qword [0x14003d048]
lea r15, [0x14003d048]
cmp r10, r15
je 0x14000cb10
test byte [r10 + 0x1c], 8
je 0x14000cb10
mov eax, dword [r14]
inc eax
lea ecx, [rax + rax*4]
cmp ecx, 0x1e1
ja 0x14000caef
mov eax, ecx
mov rcx, r12
sub rcx, rax
jmp 0x14000caf1
xor ecx, ecx
lea r9, [0x140035650]
mov edx, reloc.ProximityCommon.dll_Ordinal_24
add r9, rcx
lea r8, [0x140036090]
mov rcx, qword [r10 + 0x10]
call fcn.1400012b0
mov rcx, rbp
call fcn.14000d9ec
test rdi, rdi
je 0x14000cb49
mov rcx, qword [rdi + 8]
and qword [rdi + 8], 0
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000cb41
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x140034e68]
mov rcx, rdi
call fcn.140030104
xor eax, eax
mov edi, 1
xchg dword [0x14003d988], eax
jmp 0x14000ca63
xor r12d, r12d
mov rcx, qword [rcx + 0x10]
lea r9, [0x140035650]
add r9, r12
mov dword [rsp + 0x20], esi
mov edx, 0x19
lea r8, [0x140036090]
call fcn.140001304
or eax, 0xffffffff
add dword [r14], eax
cmp ebx, eax
je 0x14000cba2
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
test rax, rax
je 0x14000cba2
xor edx, edx
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret