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

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
mov dword [rbp - 0x50], edi
mov dword [rbp - 0x4c], edi
xor eax, eax
mov qword [rbp - 0x40], rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14000a05a
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x50], 1
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140081910]
lea rcx, [rbp - 0x40]
call fcn.140004c30
lea r9, [rbp - 0x4c]
lea r8, str.ASIOInstall
mov rbx, qword [rbp - 0x40]
mov rdx, rbx
mov rcx, qword [0x1400bf598]
call fcn.1400418b0
mov esi, edi
test eax, eax
cmovne esi, dword [rbp - 0x4c]
mov dword [rbp - 0x50], edi
lea rdx, [rbx - 0x18]
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009e47
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test esi, esi
jne 0x14000a035
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14000a065
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rbx, [0x1400bf360]
cmp word [0x1400bf360], si
jne 0x140009e94
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 [0x1400bf7c0]
mov r8, rbx
lea rdx, [0x140081910]
lea rcx, [rbp - 0x20]
call fcn.140004c30
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000a01a
mov rcx, qword [0x1400bf7c0]
add rcx, 0xffffffffffffffe8
call fcn.140004bb0
add rax, 0x18
mov qword [rbp - 0x38], rax
lea rcx, [rbp - 0x38]
call fcn.140064100
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14000a070
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x18], rax
lea rbx, [0x1400bef60]
cmp word [0x1400bef60], 0
jne 0x140009f28
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 [0x1400bf7c8]
mov r8, rbx
lea rdx, [0x140081910]
lea rcx, [rbp - 0x18]
call fcn.140004c30
mov rsi, qword [rbp - 0x18]
lea rcx, [rsi - 0x18]
call fcn.140004bb0
add rax, 0x18
mov qword [rbp - 0x30], rax
lea rcx, [rbp - 0x30]
call fcn.140064100
mov r8d, 0x2d
lea rdx, str.CAsioMgr::InstallAsio
lea rcx, [0x140081b98]
call fcn.140026f80
nop
xor eax, eax
mov qword [rbp - 0x48], rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14000a07b
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x48], rax
mov dword [rbp - 0x50], 2
lea r9, str.General
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x140081910]
lea rcx, [rbp - 0x48]
call fcn.140004c30
mov r9d, 1
lea r8, str.ASIOInstall
mov rbx, qword [rbp - 0x48]
mov rdx, rbx
mov rcx, qword [0x1400bf598]
call fcn.1400419e0
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140009fff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lock xadd dword [rsi - 8], eax
sub eax, 1
jg 0x14000a01a
mov rcx, qword [rsi - 0x18]
mov rax, qword [rcx]
lea rdx, [rsi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14000a035
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
nop
mov ecx, 0x80004005
call fcn.140003270
int3