Function at 0x14000b000
Capabilities:
Check if file exists
Get common file path

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edi, edi
mov dword [rsp + 0x30], edi
lea r8, str.General
lea rdx, [rsp + 0x48]
call fcn.1400045b0
nop
lea r9, [rsp + 0x30]
lea r8, str.ASIOInstall
mov rdx, qword [rax]
mov rcx, qword [0x1400db268]
call fcn.14004d820
test eax, eax
cmovne edi, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b084
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x14000b255
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14000b0a4
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdi, [0x1400daa20]
cmp word [0x1400daa20], 0
jne 0x14000b0db
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov r9, qword [0x1400db490]
mov r8, rdi
lea rdx, [0x1400934b8]
lea rcx, [rsp + 0x68]
call fcn.1400054e0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000b239
mov rcx, qword [0x1400db490]
add rcx, 0xffffffffffffffe8
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400769d0
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14000b144
mov ecx, 0x80004005
call fcn.140003fc0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea rdi, [0x1400db020]
cmp word [0x1400db020], 0
jne 0x14000b17b
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov r9, qword [0x1400db498]
mov r8, rdi
lea rdx, [0x1400934b8]
lea rcx, [rsp + 0x70]
call fcn.1400054e0
mov rdi, qword [rsp + 0x70]
lea rcx, [rdi - 0x18]
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.1400769d0
mov r8d, 0x2d
lea rdx, str.CAsioMgr::InstallAsio
lea rcx, [0x1400937f8]
call fcn.140032320
lea r8, str.General
lea rdx, [rsp + 0x50]
call fcn.1400045b0
nop
mov r9d, 1
lea r8, str.ASIOInstall
mov rdx, qword [rax]
mov rcx, qword [0x1400db268]
call fcn.14004d950
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b21e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, ebx
lock xadd dword [rdi - 8], eax
sub eax, 1
jg 0x14000b239
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14000b255
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140078ef0
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret