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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14013c010]
xor rax, rsp
mov qword [rbp - 8], rax
xor r14d, r14d
mov dword [rbp - 0x40], r14d
mov dword [rbp - 0x3c], r14d
mov qword [rbp - 0x30], r14
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14000d0b7
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x40], 1
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e3308]
lea rcx, [rbp - 0x30]
call fcn.1400064f0
lea r9, [rbp - 0x3c]
lea r8, str.ASIOInstall
mov rbx, qword [rbp - 0x30]
mov rdx, rbx
mov rcx, qword [0x14013c488]
call fcn.14007edf0
mov esi, r14d
test eax, eax
cmovne esi, dword [rbp - 0x3c]
mov dword [rbp - 0x40], r14d
lea rdx, [rbx - 0x18]
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000ce67
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
test esi, esi
jne 0x14000d086
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14000d0c2
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rbx, [0x140144950]
cmp word [0x140144950], si
jne 0x14000cebb
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea edx, [rsi + 0x25]
xor ecx, ecx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov r9, qword [0x140144da0]
mov r8, rbx
lea rdx, [0x1400e3308]
lea rcx, [rbp - 0x18]
call fcn.1400064f0
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000d061
mov rcx, qword [0x140144da0]
add rcx, 0xffffffffffffffe8
call fcn.140006460
add rax, 0x18
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.1400be3e0
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14000d0cd
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rbp - 0x10], rax
lea rbx, [0x140144150]
cmp word [0x140144150], 0
jne 0x14000cf56
mov qword [rsp + 0x20], rbx
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 [0x140144da8]
mov r8, rbx
lea rdx, [0x1400e3308]
lea rcx, [rbp - 0x10]
call fcn.1400064f0
mov rsi, qword [rbp - 0x10]
lea rcx, [rsi - 0x18]
call fcn.140006460
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.1400be3e0
mov r8d, 0x2d
lea rdx, str.CAsioMgr::InstallAsio
lea rcx, [0x1400e3358]
call fcn.14005b9a0
nop
mov qword [rbp - 0x38], r14
call fcn.1400046f0
mov rcx, rax
test rax, rax
je 0x14000d0ac
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140048c62.0]
add rax, 0x18
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x40], 2
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e3308]
lea rcx, [rbp - 0x38]
call fcn.1400064f0
mov r9d, 1
lea r8, str.ASIOInstall
mov rbx, qword [rbp - 0x38]
mov rdx, rbx
mov rcx, qword [0x14013c488]
call fcn.14007ef10
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000d03c
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov eax, edi
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x14000d061
lfence
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
lea rdx, [rsi - 0x18]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000d086
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140048c62.0]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400c17f0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140004820
nop
mov ecx, 0x80004005
call fcn.140004820
nop
mov ecx, 0x80004005
call fcn.140004820
nop
mov ecx, 0x80004005
call fcn.140004820
int3