Function at 0x1400c6ce0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x38], 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 + 0x150], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
call fcn.14013d07c
mov rcx, rax
xor r12d, r12d
mov edx, r12d
test rax, rax
setne dl
test edx, edx
jne 0x1400c6d45
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
mov edx, 0x82
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
or rsi, 0xffffffffffffffff
mov rcx, rsi
lea rdi, [rsp + 0x40]
repne scasb al, byte [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x1400c6ddd
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400c6e55
cmp dword [rdx + 0x10], eax
jge 0x1400c6db2
cmp dword [rbx - 0xc], eax
jge 0x1400c6da7
mov ecx, 0x80070057
call fcn.140001c00
int3
mov dword [rbx - 0x10], r12d
mov byte [rbx], al
jmp 0x1400c6e55
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c6dc9
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 + 0x20], rbx
jmp 0x1400c6e55
mov ebp, dword [rbx - 0x10]
lea r13, [rsp + 0x40]
sub r13, rbx
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x1400c6e0a
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c53a0
mov rbx, qword [rsp + 0x20]
cmp r13, rbp
ja 0x1400c6e27
movsxd rbp, edi
lea r8, [r13 + rbx]
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.14015cf60
jmp 0x1400c6e3d
movsxd rbp, edi
mov r9, rbp
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, rbx
call fcn.14015cd30
test edi, edi
js 0x1400c71c1
cmp edi, dword [rbx - 0xc]
jg 0x1400c71c1
mov dword [rbx - 0x10], edi
mov byte [rbx + rbp], 0
cmp dword [r14 + 0x130], 0
je 0x1400c6eea
xor eax, eax
mov rcx, rsi
lea r13, str.MaxxAudioRealtek464.dll
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
lea r15, [rcx - 1]
mov rbp, r13
sub rbp, rbx
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400c6eac
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c53a0
mov rbx, qword [rsp + 0x20]
cmp rbp, r14
ja 0x1400c6eb5
lea r13, [rbx + rbp]
movsxd rdx, r15d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, r13
call fcn.14015cd30
test edi, edi
js 0x1400c6edf
cmp edi, dword [rbx - 0xc]
jg 0x1400c6edf
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
jmp 0x1400c6ffe
mov ecx, 0x80070057
call fcn.140001c00
int3
cmp dword [r14 + 0x12c], 0
je 0x1400c6f7f
xor eax, eax
mov rcx, rsi
lea r13, str.MaxxAudioRealtek364.dll
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
lea r15, [rcx - 1]
mov rbp, r13
sub rbp, rbx
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400c6f41
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c53a0
mov rbx, qword [rsp + 0x20]
cmp rbp, r14
ja 0x1400c6f4a
lea r13, [rbx + rbp]
movsxd rdx, r15d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, r13
call fcn.14015cd30
test edi, edi
js 0x1400c6f74
cmp edi, dword [rbx - 0xc]
jg 0x1400c6f74
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
jmp 0x1400c6ffe
mov ecx, 0x80070057
call fcn.140001c00
int3
xor eax, eax
mov rcx, rsi
lea r13, str.MaxxAudioRealtek264.dll
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
lea r15, [rcx - 1]
mov rbp, r13
sub rbp, rbx
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + rcx - 1]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, edx
jge 0x1400c6fc8
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c53a0
mov rbx, qword [rsp + 0x20]
cmp rbp, r14
ja 0x1400c6fd1
lea r13, [rbx + rbp]
movsxd rdx, r15d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, r13
call fcn.14015cd30
test edi, edi
js 0x1400c71b6
cmp edi, dword [rbx - 0xc]
jg 0x1400c71b6
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
mov r14, qword [rsp + 0x30]
lea rbp, [r14 + 0xd8]
lea r13, [r14 + 0x188]
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rbx - 8], 0
jl 0x1400c7035
cmp rax, qword [rbx - 0x18]
jne 0x1400c7035
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x1400c706d
mov rax, qword [rax]
mov r8d, 1
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
je 0x1400c71b0
mov ecx, dword [rbx - 0x10]
mov dword [rax + 8], ecx
mov ecx, dword [rbx - 0x10]
add ecx, 1
movsxd rdx, ecx
mov r8, rbx
lea rcx, [rax + 0x18]
mov r9, rdx
call fcn.14015cd30
lea rax, [rdi + 0x18]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x30], rcx
cmp r12d, 4
jb 0x1400c70aa
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c717e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c717e
cmp byte [r13], 0
jne 0x1400c70d5
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c717e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c717e
mov rdi, qword [rbp]
test rdi, rdi
jne 0x1400c712a
movsxd rdx, r12d
lea rcx, [r14 + rdx*4]
lea rdx, [rdx + rcx + 0x188]
mov r9, rax
xor r8d, r8d
mov rcx, r14
call fcn.1400c4b00
mov rdi, rax
test rax, rax
jne 0x1400c7125
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c717e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c717e
mov rax, qword [rsp + 0x28]
mov r9, qword [0x14022e5f0]
test r9, r9
je 0x1400c7146
mov r8d, esi
mov edx, esi
mov rcx, rdi
call r9
mov rax, qword [rsp + 0x28]
cmp qword [rbp], 0
jne 0x1400c7163
mov rdx, qword [0x14022e550]
test rdx, rdx
je 0x1400c7163
mov rcx, rdi
call rdx
mov rax, qword [rsp + 0x28]
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c717e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add r12d, 1
add rbp, 8
add r13, 5
cmp r12d, 4
jb 0x1400c7011
lock xadd dword [rbx - 8], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400c71cc
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c71cc
call fcn.1400c5210
int3
mov ecx, 0x80070057
call fcn.140001c00
int3
mov ecx, 0x80070057
call fcn.140001c00
nop
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14015d000
lea r11, [rsp + 0x160]
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