Function at 0x14006dda0
Capabilities:
Get common file path

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x450]
sub rsp, 0x550
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rsp + 0x5a8], rbx
mov rsi, rcx
mov qword [rcx], rdx
xor ebx, ebx
mov qword [rcx + 0x2b4], rbx
mov qword [rcx + 0x2bc], rbx
mov dword [rcx + 0x2c4], 0xfa0
mov qword [rcx + 0x2d0], rbx
mov dword [rcx + 0x2d8], 0xfa0
xor edx, edx
lea rcx, [rbp - 8]
call fcn.1400c9420
nop
mov word [rbp + 0x30], bx
mov rcx, qword [rsi]
add rcx, 0x58
mov r8d, 0x10000603
lea rdx, [rbp + 0x498]
call fcn.140031280
nop
mov rdx, qword [rax]
test rdx, rdx
je 0x14006de37
mov rdx, qword [rdx]
jmp 0x14006de3a
mov rdx, rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
movdqu xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x40]
call fcn.140031c90
nop
mov rcx, qword [rbp + 0x498]
test rcx, rcx
je 0x14006de71
call fcn.140033460
mov qword [rbp + 0x498], rbx
lea rax, vtable.CSynList_class_CRegistryKey_.0
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [rsp + 0x6c], 1
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], ebx
lea rax, vtable.CMultiLevelRegistryKey.0
mov qword [rsp + 0x50], rax
mov rcx, rbx
lea rbx, str.SoftwareSynapticsSynTPEnhOSD
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [rcx + rbx]
mov word [rbp + rcx + 0x30], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14006dec0
mov r14, qword [rbp - 0x38]
test r14, r14
mov ebx, 0
je 0x14006df32
cmp word [r14], bx
je 0x14006df32
cmp word [rbp + 0x30], bx
je 0x14006df05
lea rcx, [rbp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x14006def4
mov eax, dword [0x140122f58]
mov dword [rcx], eax
lea rcx, [rbp + 0x30]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], bx
jne 0x14006df10
xor edx, edx
nop dword [rax + rax]
movzx eax, word [r14 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x14006df20
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400c9ae0
xor ecx, ecx
call fcn.1400dc0c0
or rbx, 0xffffffffffffffff
cmp eax, 0xd
jl 0x14006e031
lea ecx, [rbx + 0xc]
call fcn.1400dc5e0
mov qword [rsp + 0x48], 0xf
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x30], cl
cmp byte [rax], cl
jne 0x14006df8f
mov r8d, ecx
jmp 0x14006df9b
mov r8, rbx
inc r8
cmp byte [rax + r8], cl
jne 0x14006df92
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140034ce0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400338b0
cmp qword [rax + 0x18], 8
jb 0x14006dfc1
mov rax, qword [rax]
mov r9, r14
mov r8, rax
lea rdx, str.SoftwareSynapticsSynTPEnhOSD
lea rcx, [rbp + 0x30]
call fcn.140006b20
cmp qword [rbp - 0x48], 8
jb 0x14006dfe7
mov rcx, qword [rbp - 0x60]
call fcn.1400e4058
mov qword [rbp - 0x48], 7
xor eax, eax
mov qword [rbp - 0x50], rax
mov word [rbp - 0x60], ax
cmp qword [rsp + 0x48], 0x10
jb 0x14006e00d
mov rcx, qword [rsp + 0x30]
call fcn.1400e4058
xor eax, eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400c9ae0
xor ecx, ecx
call fcn.1400dc5e0
mov qword [rsp + 0x48], 0xf
xor ecx, ecx
mov qword [rsp + 0x40], rcx
mov byte [rsp + 0x30], cl
cmp byte [rax], cl
jne 0x14006e054
mov ebx, ecx
jmp 0x14006e05c
inc rbx
cmp byte [rax + rbx], cl
jne 0x14006e054
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140034ce0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x60]
call fcn.1400338b0
cmp qword [rax + 0x18], 8
jb 0x14006e085
mov rax, qword [rax]
mov r9, r14
mov r8, rax
lea rdx, str.SoftwareSynapticsSynTPEnhOSD
lea rcx, [rbp + 0x30]
call fcn.140006b20
cmp qword [rbp - 0x48], 8
jb 0x14006e0ab
mov rcx, qword [rbp - 0x60]
call fcn.1400e4058
mov qword [rbp - 0x48], 7
xor ebx, ebx
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
cmp qword [rsp + 0x48], 0x10
jb 0x14006e0cf
mov rcx, qword [rsp + 0x30]
call fcn.1400e4058
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
xor r9d, r9d
lea r8, [rbp + 0x30]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.1400c9ae0
lea r8, [rsi + 8]
mov qword [rsp + 0x20], rbx
mov r9, r8
lea rdx, str.OSDSupported
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
lea r8, [rsi + 0xc]
mov qword [rsp + 0x20], rbx
mov r9, r8
lea rdx, str.OSDTestWndFlags
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 0x2b4]
lea r8, [rsi + 0x2b4]
lea rdx, str.OSDTPOnOffNotificationSupported
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r8, [rsi + 0x2b8]
mov r9, r8
lea rdx, str.OSDTPOnOffNotificationEnabled
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r8, [rsi + 0x2c0]
mov r9, r8
lea rdx, str.OSDTPOnOffNoNotificationForExtDevice
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 0x2c4]
lea r8, [rsi + 0x2c4]
lea rdx, str.OSDTPOnOffNotificationTimeInterval
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
cmp dword [rsi + 0x2c4], 0
jne 0x14006e1c8
mov dword [rsi + 0x2c4], 0xfa0
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 0x2bc]
lea r8, [rsi + 0x2bc]
lea rdx, str.OSDTPOnOffAudioNotificationEnabled
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r8, [rsi + 0x2d0]
mov r9, r8
lea rdx, str.OSDModeSwitchNotificationSupported
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r8, [rsi + 0x2d4]
mov r9, r8
lea rdx, str.OSDModeSwitchNotificationEnabled
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
mov qword [rsp + 0x20], rbx
lea r9, [rsi + 0x2d8]
lea r8, [rsi + 0x2d8]
lea rdx, str.OSDModeSwitchNotificationTimeInterval
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
cmp dword [rsi + 0x2d8], 0
jne 0x14006e263
mov dword [rsi + 0x2d8], 0xfa0
lea r8, [rsi + 0x708]
mov dword [r8], 1
mov qword [rsp + 0x20], rbx
mov r9, r8
lea rdx, str.DisableTouchInjectionForDesktop
lea rcx, [rsp + 0x50]
call fcn.1400c9db0
cmp dword [rsi + 0x2b4], 0
je 0x14006e479
mov word [rbp + 0x240], bx
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x242]
call fcn.1400e4220
mov edx, 0x104
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp + 0x240]
lea rbx, [rsi + 0x2f4]
lea rax, [rbp + 0x240]
mov rdx, rsi
sub rdx, rax
nop
movzx eax, word [rcx]
mov word [rdx + rcx + 0x2f4], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14006e2e0
lea rcx, [rbp + 0x240]
lea rdi, [rsi + 0x4fc]
nop dword [rax]
nop word [rax + rax]
movzx eax, word [rcx]
mov word [rdx + rcx + 0x4fc], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14006e310
xor ecx, ecx
call fcn.1400dc0c0
sub rdi, 2
cmp eax, 7
jne 0x14006e3e0
nop dword [rax + rax]
lea rdi, [rdi + 2]
cmp word [rdi], 0
jne 0x14006e340
movups xmm0, xmmword [str.MediaWindows_XP_Hardware_Remove.wav]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x14012fb40]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x14012fb50]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [0x14012fb60]
movups xmmword [rdi + 0x30], xmm1
movsd xmm0, qword [0x14012fb70]
movsd qword [rdi + 0x40], xmm0
mov eax, dword [0x14012fb78]
mov dword [rdi + 0x48], eax
sub rbx, 2
nop
lea rbx, [rbx + 2]
cmp word [rbx], 0
jne 0x14006e390
movups xmm0, xmmword [str.MediaWindows_XP_Hardware_Insert.wav]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x14012fb90]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [0x14012fba0]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [0x14012fbb0]
movups xmmword [rbx + 0x30], xmm1
movsd xmm0, qword [0x14012fbc0]
movsd qword [rbx + 0x40], xmm0
mov eax, dword [0x14012fbc8]
mov dword [rbx + 0x48], eax
jmp 0x14006e479
lea rdi, [rdi + 2]
cmp word [rdi], 0
jne 0x14006e3e0
movups xmm0, xmmword [str.MediaWindows_Hardware_Remove.wav]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x14012fbe0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x14012fbf0]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [0x14012fc00]
movups xmmword [rdi + 0x30], xmm1
mov eax, dword [0x14012fc10]
mov dword [rdi + 0x40], eax
movzx eax, word [0x14012fc14]
mov word [rdi + 0x44], ax
sub rbx, 2
nop dword [rax]
lea rbx, [rbx + 2]
cmp word [rbx], 0
jne 0x14006e430
movups xmm0, xmmword [str.MediaWindows_Hardware_Insert.wav]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [0x14012fc30]
movups xmmword [rbx + 0x10], xmm1
movups xmm0, xmmword [0x14012fc40]
movups xmmword [rbx + 0x20], xmm0
movups xmm1, xmmword [0x14012fc50]
movups xmmword [rbx + 0x30], xmm1
mov eax, dword [0x14012fc60]
mov dword [rbx + 0x40], eax
movzx eax, word [0x14012fc64]
mov word [rbx + 0x44], ax
mov edx, dword [rbp + 0x4a0]
mov rcx, rsi
call fcn.140073810
cmp dword [rsi + 0x30], 0
je 0x14006e4d8
mov edx, 5
mov r8d, edx
mov rcx, rsi
call fcn.140076370
mov rcx, qword [0x14026e108]
call qword [sym.imp.USER32.dll_GetDC]
mov rbx, rax
xor r15d, r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, rsi
call fcn.14006e6b0
mov rdx, rbx
mov rcx, qword [0x14026e108]
call qword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x14006e4db
xor r15d, r15d
xor ecx, ecx
call fcn.1400dc0c0
cmp eax, 0xb
jl 0x14006e537
mov rax, qword [rsi]
mov dword [rbp + 0x490], r15d
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x14006e537
mov rax, qword [rcx]
lea r8, [rbp + 0x490]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rbp + 0x490], 2
jne 0x14006e537
cmp dword [0x14026defc], 0
je 0x14006e52c
call fcn.1400b0150
test eax, eax
mov edx, 1
jne 0x14006e52f
mov edx, r15d
mov rcx, rsi
call fcn.140072170
mov rcx, qword [rsi]
call fcn.140010ff0
test eax, eax
jne 0x14006e581
mov rax, qword [rsi]
mov dword [rbp + 0x490], r15d
mov rcx, qword [rax + 0x58]
test rcx, rcx
je 0x14006e59f
mov rax, qword [rcx]
lea r8, [rbp + 0x490]
mov edx, 0x10000102
call qword [rax + 0x18]
cmp dword [rbp + 0x490], 0x10
jne 0x14006e59f
lea rcx, [0x14026d730]
call fcn.140085a60
test eax, eax
je 0x14006e59f
lea r9, [fcn.140071f50]
mov r8d, 0x3e8
mov rdx, rsi
mov rcx, qword [0x14026e108]
call qword [sym.imp.USER32.dll_SetTimer]
nop
lea rax, vtable.CSynList_class_CRegistryKey_.0
mov qword [rsp + 0x50], rax
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x14006e61e
test rbx, rbx
je 0x14006e61e
mov rcx, qword [rbx + 0x10]
mov rax, qword [rbx + 8]
test rcx, rcx
je 0x14006e5cd
mov qword [rcx + 8], rax
jmp 0x14006e5d2
mov qword [rsp + 0x58], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx + 0x10]
test rcx, rcx
je 0x14006e5e5
mov qword [rcx + 0x10], rax
jmp 0x14006e5ea
mov qword [rsp + 0x60], rax
mov rdi, qword [rbx + 8]
cmp dword [rsp + 0x6c], 0
je 0x14006e60a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14006e60a
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov qword [rbx], r15
mov rcx, rbx
call fcn.1400e4058
mov rbx, rdi
dec dword [rsp + 0x68]
test rdi, rdi
jne 0x14006e5b5
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x14006e638
call fcn.1400e66d8
test r14, r14
je 0x14006e645
mov rcx, r14
call fcn.1400e66d8
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14006e653
call fcn.1400e66d8
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14006e661
call fcn.1400e66d8
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14006e66f
call fcn.1400e66d8
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x14006e67e
call fcn.1400e66d8
nop
lea rcx, [rbp - 8]
call fcn.1400c9530
mov rbx, qword [rsp + 0x5a8]
add rsp, 0x550
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret