Function at 0x1400c50c0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x380
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov r14, rcx
cmp qword [rcx + 0x20], 0
je 0x1400c5a96
call fcn.14013e120
mov rdx, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c512c
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [r14 + 0x20]
mov edi, dword [rax + 0x168]
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c5167
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 0x20]
cmp dword [rax + 0x170], 0
je 0x1400c51c7
lea rax, str.APORenderDockA
lea rdx, str.APOMVCaptureDock
test edi, edi
cmovne rdx, rax
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x1400c51a7
mov ecx, ebp
jmp 0x1400c51b8
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.1400c61f0
jmp 0x1400c5206
lea rax, str.APORenderGFX
lea rdx, str.APOMVCaptureLFX
test edi, edi
cmovne rdx, rax
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x1400c51e8
mov ecx, ebp
jmp 0x1400c51f9
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.1400c61f0
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x90]
call fcn.1401601f0
cmp dword [0x14022c504], 0
jne 0x1400c522d
cmp dword [0x14022c530], 0
je 0x1400c528b
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400c5ea0
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0xc7
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, esi
mov r8, qword [rsp + 0x70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c528b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r9, [rsp + 0x90]
mov r8d, 8
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
mov rcx, r14
call fcn.1400c5b90
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1400c52f9
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c52d2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400c5a96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c5a96
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c5318
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rdx, [0x14019bd68]
mov r15, rdx
shr r15, 0x10
mov qword [rsp + 0x48], r15
jne 0x1400c5365
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x1400c5386
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140005140
mov rbx, qword [rsp + 0x40]
jmp 0x1400c5386
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x40]
call fcn.1400038f0
mov rbx, qword [rsp + 0x40]
mov edx, 0x104
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x160]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
lea r8d, [rax + 1]
test ecx, ecx
jne 0x1400c541f
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400c54af
cmp dword [rdx + 0x10], eax
jge 0x1400c53eb
cmp dword [rbx - 0xc], eax
jge 0x1400c53e0
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x1400c54af
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c5402
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov r8d, 1
jmp 0x1400c54af
mov r12d, dword [rbx - 0x10]
lea r13, [rsp + 0x160]
sub r13, rbx
sar r13, 1
mov ecx, r8d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400c5451
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001c90
mov rbx, qword [rsp + 0x40]
cmp r13, r12
ja 0x1400c5471
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbx
call fcn.14015c620
jmp 0x1400c548e
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x160]
mov rdx, r12
mov rcx, rbx
call fcn.14015c410
test edi, edi
js 0x1400c5a8b
cmp edi, dword [rbx - 0xc]
jg 0x1400c5a8b
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], 0
mov r8d, 1
mov rcx, qword [r14 + 0x20]
bt dword [rcx + 0x320], 0x17
jae 0x1400c555c
xor eax, eax
mov rcx, rsi
lea r12, str.Drivers_rtwaves40.dat
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov qword [rsp + 0x58], rcx
mov r13, r12
sub r13, rbx
sar r13, 1
mov r15d, dword [rbx - 0x10]
lea edi, [r15 + rcx]
sub r8d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r8d
jge 0x1400c5514
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001c90
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
cmp r13, r15
ja 0x1400c551d
lea r12, [rbx + r13*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
mov r8, r12
call fcn.14015c410
test edi, edi
js 0x1400c5551
cmp edi, dword [rbx - 0xc]
jg 0x1400c5551
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov r15, qword [rsp + 0x48]
jmp 0x1400c57cf
mov ecx, 0x80070057
call fcn.140001c70
int3
bt dword [rcx + 0x318], 0x1c
jb 0x1400c573c
cmp dword [0x14022c504], 0
jne 0x1400c573c
test rcx, rcx
je 0x1400c56cf
mov eax, dword [rcx + 0x324]
shr eax, 0x11
and eax, 1
je 0x1400c56cf
mov eax, dword [rcx + 0x324]
bt eax, 0xe
jae 0x1400c55dd
cmp dword [rcx + 0x168], 0
je 0x1400c55c2
lea rdx, str.Drivers_rtwaves40.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
lea rdx, str.Drivers_rtwavesvpcap.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
bt eax, 0xf
jae 0x1400c5622
cmp dword [rcx + 0x168], 0
je 0x1400c5607
lea rdx, str.Drivers_rtwavesvp.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
lea rdx, str.Drivers_rtwavesvpcap.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
bt eax, 0x10
jae 0x1400c5643
lea rdx, str.Drivers_rtwavesvolpro.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
test rcx, rcx
je 0x1400c568f
shr eax, 0x12
and eax, 1
je 0x1400c568f
cmp dword [rcx + 0x168], 0
je 0x1400c5674
lea rdx, str.Drivers_rtwavesmapro.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
lea rdx, str.Drivers_rtwavesmaprocap.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
test rcx, rcx
je 0x1400c57cf
mov al, byte [rcx + 0x327]
and eax, 1
je 0x1400c57cf
cmp dword [rcx + 0x168], 0
je 0x1400c57cf
lea rdx, str.Drivers_rtwavesmapro.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
test rcx, rcx
je 0x1400c56e2
mov eax, dword [rcx + 0x310]
shr eax, 9
and eax, 1
jne 0x1400c56fd
test rcx, rcx
je 0x1400c57cf
mov eax, dword [rcx + 0x310]
shr eax, 0xa
and eax, 1
je 0x1400c57cf
cmp dword [rcx + 0x168], 0
je 0x1400c5721
lea rdx, str.Drivers_rtwaves60.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
lea rdx, str.Drivers_rtwavesvp3cap.dat
lea rcx, [rsp + 0x40]
call fcn.1400400a0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c57cf
xor eax, eax
mov rcx, rsi
lea r13, str.Drivers_rtwaves30.dat
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov qword [rsp + 0x58], rcx
mov r12, r13
sub r12, rbx
sar r12, 1
mov r15d, dword [rbx - 0x10]
lea edi, [r15 + rcx]
sub r8d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, r8d
jge 0x1400c578f
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001c90
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
cmp r12, r15
ja 0x1400c5798
lea r13, [rbx + r12*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x1400c5a80
cmp edi, dword [rbx - 0xc]
jg 0x1400c5a80
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov r15, qword [rsp + 0x48]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c57f8
mov ecx, 0x80004005
call fcn.140001c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
test r15, r15
jne 0x1400c5837
lea rdx, [0x14019bd68]
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x1400c585b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140005140
jmp 0x1400c585b
xor eax, eax
mov rcx, rsi
lea rdx, [0x14019bd68]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x60]
call fcn.1400038f0
nop
add rbx, 0xffffffffffffffe8
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx + 0x10], 0
jl 0x1400c5880
cmp rax, qword [rbx]
jne 0x1400c5880
mov rdi, rbx
lock add dword [rbx + 0x10], 1
jmp 0x1400c58bf
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx + 8]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x1400c589c
call fcn.1400c63c0
int3
mov eax, dword [rbx + 8]
mov dword [rdi + 8], eax
mov eax, dword [rbx + 8]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
lea r8, [rbx + 0x18]
add rdx, rdx
lea rcx, [rdi + 0x18]
call fcn.14015c410
lea rax, [rdi + 0x18]
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rdx, rdi
mov rcx, r14
call fcn.1400c4bd0
test eax, eax
jne 0x1400c594c
mov eax, esi
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c5904
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c5925
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400c5a96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c5a96
mov rdx, qword [0x14022c230]
test rdx, rdx
je 0x1400c5964
mov rcx, rdi
call rdx
mov rdx, qword [0x14022c230]
mov rax, qword [r14 + 0x20]
cmp dword [rax + 0x168], 0
je 0x1400c59ca
mov rax, qword [0x14022c228]
test rax, rax
je 0x1400c5995
xor r8d, r8d
xor edx, edx
lea rcx, str.DellPresets
call rax
mov rbp, rax
mov rdx, qword [0x14022c230]
mov rax, qword [0x14022c318]
test rax, rax
je 0x1400c59be
xor r9d, r9d
lea r8, [0x1401a5288]
lea rdx, [0x1401a5288]
mov rcx, rbp
call rax
mov rdx, qword [0x14022c230]
test rdx, rdx
je 0x1400c5a24
mov rcx, rbp
call rdx
jmp 0x1400c5a24
mov rax, qword [0x14022c228]
test rax, rax
je 0x1400c59f0
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, str.DellPresets
call rax
mov rbp, rax
mov rdx, qword [0x14022c230]
mov rax, qword [0x14022c318]
test rax, rax
je 0x1400c5a19
xor r9d, r9d
lea r8, [0x1401a5288]
lea rdx, [0x1401a5288]
mov rcx, rbp
call rax
mov rdx, qword [0x14022c230]
test rdx, rdx
je 0x1400c5a24
mov rcx, rbp
call rdx
nop
mov eax, esi
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c5a3f
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c5a60
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400c5a96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c5a96
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
nop
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14015b6f0
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret