Function at 0x1400c7ea0
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 [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov r14, rcx
mov qword [rsp + 0x30], rcx
call fcn.14013e120
mov rcx, rax
xor r12d, r12d
mov edx, r12d
test rax, rax
setne dl
test edx, edx
jne 0x1400c7f05
mov ecx, 0x80004005
call fcn.140001c70
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 0x1400c7f9d
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400c8015
cmp dword [rdx + 0x10], eax
jge 0x1400c7f72
cmp dword [rbx - 0xc], eax
jge 0x1400c7f67
mov ecx, 0x80070057
call fcn.140001c70
int3
mov dword [rbx - 0x10], r12d
mov byte [rbx], al
jmp 0x1400c8015
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c7f89
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 0x1400c8015
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 0x1400c7fca
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c6550
mov rbx, qword [rsp + 0x20]
cmp r13, rbp
ja 0x1400c7fe7
movsxd rbp, edi
lea r8, [r13 + rbx]
mov r9, rbp
mov rdx, rbp
mov rcx, rbx
call fcn.14015c620
jmp 0x1400c7ffd
movsxd rbp, edi
mov r9, rbp
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, rbx
call fcn.14015c410
test edi, edi
js 0x1400c8381
cmp edi, dword [rbx - 0xc]
jg 0x1400c8381
mov dword [rbx - 0x10], edi
mov byte [rbx + rbp], 0
cmp dword [r14 + 0x130], 0
je 0x1400c80aa
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 0x1400c806c
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c6550
mov rbx, qword [rsp + 0x20]
cmp rbp, r14
ja 0x1400c8075
lea r13, [rbx + rbp]
movsxd rdx, r15d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x1400c809f
cmp edi, dword [rbx - 0xc]
jg 0x1400c809f
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
jmp 0x1400c81be
mov ecx, 0x80070057
call fcn.140001c70
int3
cmp dword [r14 + 0x12c], 0
je 0x1400c813f
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 0x1400c8101
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c6550
mov rbx, qword [rsp + 0x20]
cmp rbp, r14
ja 0x1400c810a
lea r13, [rbx + rbp]
movsxd rdx, r15d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x1400c8134
cmp edi, dword [rbx - 0xc]
jg 0x1400c8134
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov byte [rax + rbx], 0
jmp 0x1400c81be
mov ecx, 0x80070057
call fcn.140001c70
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 0x1400c8188
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400c6550
mov rbx, qword [rsp + 0x20]
cmp rbp, r14
ja 0x1400c8191
lea r13, [rbx + rbp]
movsxd rdx, r15d
lea rcx, [r14 + rbx]
mov r9, rdx
mov r8, r13
call fcn.14015c410
test edi, edi
js 0x1400c8376
cmp edi, dword [rbx - 0xc]
jg 0x1400c8376
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 0x1400c81f5
cmp rax, qword [rbx - 0x18]
jne 0x1400c81f5
lea rdi, [rbx - 0x18]
lock add dword [rbx - 8], 1
jmp 0x1400c822d
mov rax, qword [rax]
mov r8d, 1
mov edx, dword [rbx - 0x10]
call qword [rax]
mov rdi, rax
test rax, rax
je 0x1400c8370
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.14015c410
lea rax, [rdi + 0x18]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x30], rcx
cmp r12d, 4
jb 0x1400c826a
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c833e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c833e
cmp byte [r13], 0
jne 0x1400c8295
lea rdx, [rax - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c833e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c833e
mov rdi, qword [rbp]
test rdi, rdi
jne 0x1400c82ea
movsxd rdx, r12d
lea rcx, [r14 + rdx*4]
lea rdx, [rdx + rcx + 0x188]
mov r9, rax
xor r8d, r8d
mov rcx, r14
call fcn.1400c5ce0
mov rdi, rax
test rax, rax
jne 0x1400c82e5
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400c833e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c833e
mov rax, qword [rsp + 0x28]
mov r9, qword [0x14022c2d0]
test r9, r9
je 0x1400c8306
mov r8d, esi
mov edx, esi
mov rcx, rdi
call r9
mov rax, qword [rsp + 0x28]
cmp qword [rbp], 0
jne 0x1400c8323
mov rdx, qword [0x14022c230]
test rdx, rdx
je 0x1400c8323
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 0x1400c833e
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 0x1400c81d1
lock xadd dword [rbx - 8], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400c838c
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400c838c
call fcn.1400c63c0
int3
mov ecx, 0x80070057
call fcn.140001c70
int3
mov ecx, 0x80070057
call fcn.140001c70
nop
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14015b6f0
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