Function at 0x14008ecd0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x378]
sub rsp, 0x450
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403b88b0]
xor rax, rsp
mov qword [rbp + 0x340], rax
mov rsi, rcx
cmp qword [rcx + 0x20], 0
jne 0x14008ed32
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimaxxaudio3setting.cpp
mov edx, 0xfd
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f3ef
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14008f425
mov rax, qword [rax]
call qword [rax + 0x18]
mov r15, rax
lea rcx, [rax + 0x18]
mov qword [rsp + 0x78], rcx
mov rcx, qword [rsi + 0x20]
mov ebx, dword [rcx + 0x168]
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14008f430
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rax, qword [rsi + 0x20]
lea rcx, [rsp + 0x50]
cmp dword [rax + 0x170], 0
je 0x14008eda1
lea rax, str.APORenderDockA
lea rdx, str.APOMVCaptureDock
jmp 0x14008edaf
lea rax, str.APORenderGFX
lea rdx, str.APOMVCaptureLFX
test ebx, ebx
cmovne rdx, rax
call fcn.14008f910
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp + 0x60]
call fcn.1402841a0
xor r14d, r14d
lea rdi, [r14 - 1]
cmp dword [0x1403dba98], r14d
jne 0x14008ede4
cmp dword [0x1403dba8c], r14d
je 0x14008ee39
lea rdx, [rsp + 0x58]
call fcn.14008f610
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xc7
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, qword [rsp + 0x58]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008ee39
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov r8d, 0xc8
lea rcx, [rbp - 0x70]
call fcn.1402841a0
mov rax, qword [rsi + 0x20]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xc7
lea rcx, [rbp - 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, edi
mov r8, qword [rax + 0x118]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14008f43b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea r9, [rbp - 0x70]
mov r8, qword [rsp + 0x50]
lea rdx, [0x140337f54]
lea rcx, [rsp + 0x60]
call fcn.14008fe30
mov rbx, qword [rsp + 0x60]
mov rax, qword [0x1403dbb58]
test rax, rax
jne 0x14008eee3
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiwavesfxapi.cpp
lea edx, [rax + 0x72]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
mov r12, r14
jmp 0x14008eef4
lea r8, [rbp + 0x60]
mov edx, 8
mov rcx, rbx
call rax
mov r12, rax
lea rdx, [rbx - 0x18]
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14008ef0e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test r12, r12
jne 0x14008ef30
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimaxxaudio3setting.cpp
mov edx, 0x11f
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f3b9
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14008f446
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rbx, [0x140328530]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140014ab0
test al, al
jne 0x14008ef8b
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14008ef70
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x40]
call fcn.140010390
nop
mov edx, 0x104
lea rcx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rcx, [rbp + 0x130]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14008efb0
mov r8d, eax
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x40]
call fcn.140010390
mov rcx, qword [rsi + 0x20]
test dword [rcx + 0x320], 0x800000
je 0x14008efff
lea rdx, str.Drivers_rtwaves40.dat
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008eff0
jmp 0x14008f1ea
test dword [rcx + 0x318], 0x10000000
jne 0x14008f1cf
cmp dword [0x1403dba98], 0
jne 0x14008f1cf
call fcn.14008f740
mov rcx, qword [rsi + 0x20]
test eax, eax
je 0x14008f17c
mov eax, dword [rcx + 0x324]
bt eax, 0xe
jae 0x14008f075
mov rax, rdi
cmp dword [rcx + 0x168], 0
je 0x14008f05f
lea rdx, str.Drivers_rtwaves40.dat
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f050
jmp 0x14008f1ea
lea rdx, str.Drivers_rtwavesvpcap.dat
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f066
jmp 0x14008f1ea
bt eax, 0xf
jae 0x14008f0b5
mov rax, rdi
cmp dword [rcx + 0x168], 0
je 0x14008f09f
lea rdx, str.Drivers_rtwavesvp.dat
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f090
jmp 0x14008f1ea
lea rdx, str.Drivers_rtwavesvpcap.dat
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f0a6
jmp 0x14008f1ea
bt eax, 0x10
jae 0x14008f0d4
lea rdx, str.Drivers_rtwavesvolpro.dat
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f0c5
jmp 0x14008f1ea
call fcn.14008f780
test eax, eax
mov rax, qword [rsi + 0x20]
je 0x14008f11f
cmp dword [rax + 0x168], 0
mov rax, rdi
je 0x14008f103
lea rdx, str.Drivers_rtwavesmapro.dat
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f0f4
jmp 0x14008f1ea
lea rdx, str.Drivers_rtwavesmaprocap.dat
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f110
jmp 0x14008f1ea
test rax, rax
jne 0x14008f141
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimaxxaudio3setting.cpp
mov edx, 0x205
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f1f7
test dword [rax + 0x324], 0x1000000
je 0x14008f1f7
cmp dword [rax + 0x168], 0
je 0x14008f1f7
lea rdx, str.Drivers_rtwavesmapro.dat
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f170
jmp 0x14008f1ea
call fcn.14008f7c0
test eax, eax
jne 0x14008f192
mov rcx, qword [rsi + 0x20]
call fcn.14008f800
test eax, eax
je 0x14008f1f7
mov rax, qword [rsi + 0x20]
cmp dword [rax + 0x168], 0
mov rax, rdi
je 0x14008f1bc
lea rdx, str.Drivers_rtwaves60.dat
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f1b0
jmp 0x14008f1ea
lea rdx, str.Drivers_rtwavesvp3cap.dat
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f1c3
jmp 0x14008f1ea
lea rdx, str.Drivers_rtwaves30.dat
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14008f1e0
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.14001bf50
lea rax, [rsp + 0x48]
mov qword [rbp - 0x80], rax
call fcn.1400f5f94
mov rcx, rax
test rax, rax
je 0x14008f41a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140014ab0
test al, al
jne 0x14008f24f
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14008f234
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140010390
nop
mov rbx, qword [rsp + 0x40]
lea rcx, [rbx - 0x18]
call fcn.140014810
add rax, 0x18
mov qword [rsp + 0x68], rax
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x68]
mov rdx, r12
call fcn.14008eb70
test eax, eax
jne 0x14008f299
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguimaxxaudio3setting.cpp
mov edx, 0x16f
lea rcx, str._VCpl__RETURN_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f39e
mov rax, qword [0x1403dbb48]
test rax, rax
jne 0x14008f2bd
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiwavesfxapi.cpp
lea edx, [rax + 0x78]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f2c2
mov rcx, r12
call rax
mov rax, qword [rsi + 0x20]
cmp dword [rax + 0x168], 0
mov rax, qword [0x1403dbb58]
je 0x14008f328
test rax, rax
jne 0x14008f2f3
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiwavesfxapi.cpp
lea edx, [rax + 0x72]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f304
xor r8d, r8d
xor edx, edx
lea rcx, str.DellPresets
call rax
mov r14, rax
mov rax, qword [0x1403dbb10]
test rax, rax
je 0x14008f364
xor r9d, r9d
lea r8, [0x14032b75c]
lea rdx, [0x14032b75c]
mov rcx, r14
call rax
jmp 0x14008f395
test rax, rax
jne 0x14008f345
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiwavesfxapi.cpp
lea edx, [rax + 0x72]
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f358
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, str.DellPresets
call rax
mov r14, rax
mov r10, qword [0x1403dbb10]
test r10, r10
jne 0x14008f37e
lea r8, str.c:userschunyung_source_repos_rtkngui_rtknguiwavesfxapi.cpp
mov edx, 0xc6
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140052e90
jmp 0x14008f395
xor r9d, r9d
lea r8, [0x14032b75c]
lea rdx, [0x14032b75c]
mov rcx, r14
call r10
mov rcx, r14
call fcn.1400f3c90
nop
mov eax, edi
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14008f3b9
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14008f3d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r15 + 0x10], edi
sub edi, 1
jg 0x14008f3ef
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.140281bf0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
nop
mov ecx, 0x80004005
call fcn.14000dc70
int3
mov ecx, 0x80004005
call fcn.14000dc70
int3