Function at 0x14000b300
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 [0x1400d8010]
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 [0x1400dd2a8]
call fcn.14004e540
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 0x14000b384
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
je 0x14000b552
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14000b3a4
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, [0x1400dc870]
cmp word [0x1400dc870], 0
jne 0x14000b3db
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 [0x1400dd4d8]
mov r8, rdi
lea rdx, [0x1400944d8]
lea rcx, [rsp + 0x68]
call fcn.1400054e0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000b536
mov rcx, qword [0x1400dd4d8]
add rcx, 0xffffffffffffffe8
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140077b80
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14000b444
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, [0x1400dce70]
cmp word [0x1400dce70], 0
jne 0x14000b47b
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 [0x1400dd4e0]
mov r8, rdi
lea rdx, [0x1400944d8]
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.140077b80
mov r8d, 0x48
lea rdx, str.CAsioMgr::UninstallAsio
lea rcx, [0x140094818]
call fcn.140033040
lea r8, str.General
lea rdx, [rsp + 0x50]
call fcn.1400045b0
nop
xor r9d, r9d
lea r8, str.ASIOInstall
mov rdx, qword [rax]
mov rcx, qword [0x1400dd2a8]
call fcn.14004e670
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000b51b
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 0x14000b536
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 0x14000b552
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.140079e30
mov rbx, qword [rsp + 0x90]
add rsp, 0x80
pop rdi
ret