Function at 0x14011f500
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x2e8]
sub rsp, 0x3e0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402bb010]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor esi, esi
mov dword [rsp + 0x20], esi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xc0]
call fcn.1401706d2
mov edx, 0x104
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
movdqa xmm0, xmmword [0x14024d4b0]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], si
mov qword [rbp - 0x60], 0x11c
mov qword [rbp - 0x58], rsi
mov dword [rbp - 0x50], esi
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x4c]
call fcn.1401706d2
mov word [rbp + 0xb4], si
xor eax, eax
mov dword [rbp + 0xb6], eax
mov word [rbp + 0xba], ax
mov r8b, 3
lea edx, [rsi + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, 3
lea edx, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov rcx, rax
mov r8b, 3
lea edx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_VerSetConditionMask]
mov dword [rbp - 0x5c], 6
mov dword [rbp - 0x58], 2
mov word [rbp + 0xb4], si
mov r8, rax
lea edx, [rsi + 0x23]
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
lea rcx, [rsp + 0x78]
test eax, eax
je 0x14011f7b8
lea rdx, str.Shcore.dll
call fcn.140053ee0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14011f98b
lea rdx, str.SetProcessDpiAwareness
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011f981
lea ecx, [rsi + 1]
call rax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.1401706d2
lea rax, [0x140227eb8]
mov qword [rbp - 0x60], rax
lea rax, [0x140227c80]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x38]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
lea edx, [rsi + 3]
lea rcx, [rbp - 0x48]
call fcn.140057c70
nop
lea rdx, str.setProcessDpiAwareness:_success_PROCESS_SYSTEM_DPI_AWARE
lea rcx, [rbp - 0x50]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.DPIAware
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
lea edx, [rsi + 0x2d]
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140057bc0
nop
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], sil
lea r8d, [rsi + 0xb]
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x28]
call fcn.140047980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [0x1401a9e98]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
jmp 0x14011f964
lea rdx, str.User32.dll
call fcn.140053ee0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rdx, qword [rsp + 0x78]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
lea rcx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14011f98b
lea rdx, str.SetProcessDpiAware
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14011f981
call rax
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp - 0x60]
call fcn.1401706d2
lea rax, [0x140227eb8]
mov qword [rbp - 0x60], rax
lea rax, [0x140227c80]
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x38]
call qword [0x1401a9250]
nop
mov dword [rsp + 0x20], 4
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x60]
call qword [0x1401a91b0]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
mov edx, 3
lea rcx, [rbp - 0x48]
call fcn.140057c70
nop
lea rdx, str.setProcessDpiAware:_success_PROCESS_SYSTEM_DPI_AWARE
lea rcx, [rbp - 0x50]
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5868]
call fcn.140058ba0
mov rcx, rax
lea rdx, str.DPIAware
call fcn.140058ba0
mov rcx, rax
lea rdx, [0x1401b5844]
call fcn.140058ba0
mov rcx, rax
mov edx, 0x39
call qword [0x1401a9130]
mov rcx, rax
lea rdx, [0x1401b5840]
call fcn.140058ba0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140057bc0
nop
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], 0xf
mov byte [rsp + 0x28], 0
mov r8d, SHCreateMemStream
lea rdx, str.HWAccountUI
lea rcx, [rsp + 0x28]
call fcn.140047980
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call qword [0x1401a9e98]
nop
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], rdi
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx - 0x64], edx
lea rcx, [rbp - 0x48]
call fcn.140055cb0
lea rcx, [rbp - 0x40]
call qword [0x1401a9120]
lea rcx, [rbp + 0x38]
call qword [0x1401a9198]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x78]
call fcn.1400524a0
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.14016ee40
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret