Function at 0x14000b280
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 0x14000b304
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
je 0x14000b4d2
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14000b324
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 0x14000b35b
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 0x14000b4b6
mov rcx, qword [0x1400db490]
add rcx, 0xffffffffffffffe8
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140076c40
call fcn.140004250
mov rcx, rax
test rax, rax
jne 0x14000b3c4
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 0x14000b3fb
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.140076c40
mov r8d, 0x48
lea rdx, str.CAsioMgr::UninstallAsio
lea rcx, [0x1400937f8]
call fcn.140032320
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 [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 0x14000b49b
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 0x14000b4b6
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 0x14000b4d2
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