Function at 0x140012870
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x790]
sub rsp, 0x890
mov rax, qword [0x140048360]
xor rax, rsp
mov qword [rbp + 0x780], rax
mov rdi, rcx
lea rdx, str.Intel_R__HD_Graphics_Control_Panel___Hot_Key_Panel
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x1400128db
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
lea rdx, str.Intel_R__Graphics_Control_Panel
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rbx, rax
test rax, rax
je 0x140012918
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rbx
call qword [sym.imp.USER32.dll_PostMessageW]
lea rdx, str.Intel_R__Display_Port_Topology_Viewer
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14001293f
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
lea rdx, str.Intel_R__Display_Custom_Resolutions
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140012966
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 0x10]
call qword [sym.imp.USER32.dll_PostMessageW]
lea rdx, str.igfxtrayWindow
lea rcx, str.igfxtrayClass
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140012993
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1989
mov rcx, rax
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, rdi
call fcn.140012d20
mov rbx, qword [rdi + 0x68]
test rbx, rbx
je 0x140012cb7
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
xor edi, edi
mov rcx, rbx
mov dword [rsp + 0x30], edi
call qword [rax + 0x2b8]
test eax, eax
jns 0x1400129d4
lea r8, [0x140034118]
mov rdx, rbx
mov ecx, eax
call fcn.140016fc0
lea rcx, [rbp + 0x570]
mov edx, 0x208
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r8, [rbp + 0x570]
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.1400180f0
lea r8, [0x140031ad8]
lea rcx, [rsp + 0x40]
mov edx, 0x104
call fcn.140018068
lea r8, [rbp + 0x570]
lea rcx, [rbp + 0x360]
mov edx, 0x104
call fcn.1400180f0
lea r8, [0x140031ad8]
lea rcx, [rbp + 0x360]
mov edx, 0x104
call fcn.140018068
lea r8, [rbp + 0x570]
lea rcx, [rbp + 0x150]
mov edx, 0x104
call fcn.1400180f0
lea r8, [0x140031ad8]
lea rcx, [rbp + 0x150]
mov edx, 0x104
call fcn.140018068
mov edx, 0x104
lea rcx, [rsp + 0x40]
cmp dword [rsp + 0x30], edi
je 0x140012aaf
lea r8, str.Gfxv4_0.exe
call fcn.140018068
lea r8, str.DPTopologyApp.exe
lea rcx, [rbp + 0x360]
mov edx, 0x104
call fcn.140018068
lea r8, str.CustomModeApp.exe
jmp 0x140012ada
lea r8, str.Gfxv2_0.exe
call fcn.140018068
lea r8, str.DPTopologyAppv2_0.exe
lea rcx, [rbp + 0x360]
mov edx, 0x104
call fcn.140018068
lea r8, str.CustomModeAppv2_0.exe
lea rcx, [rbp + 0x150]
mov edx, 0x104
call fcn.140018068
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140012b71
lea r9, [rsp + 0x38]
lea r8, [0x14003d130]
lea rcx, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x140012b71
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x14003d140]
lea rcx, [0x14003d120]
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140012b66
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140012bff
lea r9, [rsp + 0x30]
lea r8, [0x14003d130]
lea rcx, [rbp + 0x360]
xor edx, edx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x140012bff
xor edx, edx
lea rax, [rsp + 0x38]
lea r9, [0x14003d140]
lea rcx, [0x14003d120]
lea r8d, [rdx + 1]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140012bf4
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140012c8d
lea r9, [rsp + 0x30]
lea r8, [0x14003d130]
lea rcx, [rbp + 0x150]
xor edx, edx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.SHELL32.dll_SHCreateItemFromParsingName]
test eax, eax
js 0x140012c8d
xor edx, edx
lea rax, [rsp + 0x38]
lea r9, [0x14003d140]
lea rcx, [0x14003d120]
lea r8d, [rdx + 1]
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140012c82
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x780]
xor rcx, rsp
call fcn.1400198a0
lea r11, [rsp + 0x890]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov ecx, 0x80004003
call fcn.140016fb0
int3