Function at 0x1400c3ee0
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 [0x140210348]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov r14, rcx
cmp qword [rcx + 0x20], 0
je 0x1400c48b6
call fcn.14013d07c
mov rdx, rax
xor ebp, ebp
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c3f4c
mov ecx, 0x80004005
call fcn.140001c00
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.14013d07c
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c3f87
mov ecx, 0x80004005
call fcn.140001c00
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 0x1400c3fe7
lea rax, str.APORenderDockA
lea rdx, str.APOMVCaptureDock
test edi, edi
cmovne rdx, rax
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x1400c3fc7
mov ecx, ebp
jmp 0x1400c3fd8
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.1400c5040
jmp 0x1400c4026
lea rax, str.APORenderGFX
lea rdx, str.APOMVCaptureLFX
test edi, edi
cmovne rdx, rax
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x1400c4008
mov ecx, ebp
jmp 0x1400c4019
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.1400c5040
xor edx, edx
mov r8d, 0xc8
lea rcx, [rsp + 0x90]
call fcn.140160e90
cmp dword [0x14022e83c], 0
jne 0x1400c404d
cmp dword [0x14022e848], 0
je 0x1400c40ab
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.1400c4cc0
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 0x1400c40ab
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.1400c49b0
mov qword [rsp + 0x80], rax
test rax, rax
jne 0x1400c4119
lea rdx, [rdi - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c40f2
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 0x1400c48b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c48b6
call fcn.14013d07c
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c4138
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rdx, [0x14019cf88]
mov r15, rdx
shr r15, 0x10
mov qword [rsp + 0x48], r15
jne 0x1400c4185
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x1400c41a6
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400020e0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c41a6
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.140002390
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 0x1400c423f
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400c42cf
cmp dword [rdx + 0x10], eax
jge 0x1400c420b
cmp dword [rbx - 0xc], eax
jge 0x1400c4200
mov ecx, 0x80070057
call fcn.140001c00
int3
mov dword [rbx - 0x10], ebp
mov word [rbx], ax
jmp 0x1400c42cf
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c4222
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 0x1400c42cf
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 0x1400c4271
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001df0
mov rbx, qword [rsp + 0x40]
cmp r13, r12
ja 0x1400c4291
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rbx + r13*2]
mov r9, r12
mov rdx, r12
mov rcx, rbx
call fcn.14015cf60
jmp 0x1400c42ae
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
lea r8, [rsp + 0x160]
mov rdx, r12
mov rcx, rbx
call fcn.14015cd30
test edi, edi
js 0x1400c48ab
cmp edi, dword [rbx - 0xc]
jg 0x1400c48ab
mov dword [rbx - 0x10], edi
mov word [r12 + rbx], 0
mov r8d, 1
mov rcx, qword [r14 + 0x20]
bt dword [rcx + 0x320], 0x17
jae 0x1400c437c
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 0x1400c4334
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001df0
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
cmp r13, r15
ja 0x1400c433d
lea r12, [rbx + r13*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
mov r8, r12
call fcn.14015cd30
test edi, edi
js 0x1400c4371
cmp edi, dword [rbx - 0xc]
jg 0x1400c4371
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov r15, qword [rsp + 0x48]
jmp 0x1400c45ef
mov ecx, 0x80070057
call fcn.140001c00
int3
bt dword [rcx + 0x318], 0x1c
jb 0x1400c455c
cmp dword [0x14022e83c], 0
jne 0x1400c455c
test rcx, rcx
je 0x1400c44ef
mov eax, dword [rcx + 0x324]
shr eax, 0x11
and eax, 1
je 0x1400c44ef
mov eax, dword [rcx + 0x324]
bt eax, 0xe
jae 0x1400c43fd
cmp dword [rcx + 0x168], 0
je 0x1400c43e2
lea rdx, str.Drivers_rtwaves40.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
lea rdx, str.Drivers_rtwavesvpcap.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
bt eax, 0xf
jae 0x1400c4442
cmp dword [rcx + 0x168], 0
je 0x1400c4427
lea rdx, str.Drivers_rtwavesvp.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
lea rdx, str.Drivers_rtwavesvpcap.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
bt eax, 0x10
jae 0x1400c4463
lea rdx, str.Drivers_rtwavesvolpro.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
test rcx, rcx
je 0x1400c44af
shr eax, 0x12
and eax, 1
je 0x1400c44af
cmp dword [rcx + 0x168], 0
je 0x1400c4494
lea rdx, str.Drivers_rtwavesmapro.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
lea rdx, str.Drivers_rtwavesmaprocap.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
test rcx, rcx
je 0x1400c45ef
mov al, byte [rcx + 0x327]
and eax, 1
je 0x1400c45ef
cmp dword [rcx + 0x168], 0
je 0x1400c45ef
lea rdx, str.Drivers_rtwavesmapro.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
test rcx, rcx
je 0x1400c4502
mov eax, dword [rcx + 0x310]
shr eax, 9
and eax, 1
jne 0x1400c451d
test rcx, rcx
je 0x1400c45ef
mov eax, dword [rcx + 0x310]
shr eax, 0xa
and eax, 1
je 0x1400c45ef
cmp dword [rcx + 0x168], 0
je 0x1400c4541
lea rdx, str.Drivers_rtwaves60.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
lea rdx, str.Drivers_rtwavesvp3cap.dat
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rbx, qword [rsp + 0x40]
jmp 0x1400c45ef
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 0x1400c45af
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001df0
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x58]
cmp r12, r15
ja 0x1400c45b8
lea r13, [rbx + r12*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rbx + r15*2]
mov r9, rdx
mov r8, r13
call fcn.14015cd30
test edi, edi
js 0x1400c48a0
cmp edi, dword [rbx - 0xc]
jg 0x1400c48a0
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.14013d07c
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1400c4618
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
test r15, r15
jne 0x1400c4657
lea rdx, [0x14019cf88]
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x1400c467b
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400020e0
jmp 0x1400c467b
xor eax, eax
mov rcx, rsi
lea rdx, [0x14019cf88]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x60]
call fcn.140002390
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 0x1400c46a0
cmp rax, qword [rbx]
jne 0x1400c46a0
mov rdi, rbx
lock add dword [rbx + 0x10], 1
jmp 0x1400c46df
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rbx + 8]
call qword [rax]
mov rdi, rax
test rax, rax
jne 0x1400c46bc
call fcn.1400c5210
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.14015cd30
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.1400c39f0
test eax, eax
jne 0x1400c476c
mov eax, esi
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c4724
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 0x1400c4745
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 0x1400c48b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c48b6
mov rdx, qword [0x14022e550]
test rdx, rdx
je 0x1400c4784
mov rcx, rdi
call rdx
mov rdx, qword [0x14022e550]
mov rax, qword [r14 + 0x20]
cmp dword [rax + 0x168], 0
je 0x1400c47ea
mov rax, qword [0x14022e548]
test rax, rax
je 0x1400c47b5
xor r8d, r8d
xor edx, edx
lea rcx, str.DellPresets
call rax
mov rbp, rax
mov rdx, qword [0x14022e550]
mov rax, qword [0x14022e638]
test rax, rax
je 0x1400c47de
xor r9d, r9d
lea r8, [0x1401a64e8]
lea rdx, [0x1401a64e8]
mov rcx, rbp
call rax
mov rdx, qword [0x14022e550]
test rdx, rdx
je 0x1400c4844
mov rcx, rbp
call rdx
jmp 0x1400c4844
mov rax, qword [0x14022e548]
test rax, rax
je 0x1400c4810
xor r8d, r8d
lea edx, [r8 + 2]
lea rcx, str.DellPresets
call rax
mov rbp, rax
mov rdx, qword [0x14022e550]
mov rax, qword [0x14022e638]
test rax, rax
je 0x1400c4839
xor r9d, r9d
lea r8, [0x1401a64e8]
lea rdx, [0x1401a64e8]
mov rcx, rbp
call rax
mov rdx, qword [0x14022e550]
test rdx, rdx
je 0x1400c4844
mov rcx, rbp
call rdx
nop
mov eax, esi
lock xadd dword [rbx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c485f
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 0x1400c4880
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 0x1400c48b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c48b6
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
nop
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14015d000
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