Function at 0x14000f5a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5c0
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov rax, qword [0x1400395a0]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
xor r9d, r9d
mov r8d, 2
xor edx, edx
mov rcx, qword [rsp + 0x5d0]
call qword [sym.imp.SETUPAPI.dll_SetupOpenInfFileA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14000f5f8
xor eax, eax
jmp 0x14000f954
mov byte [rsp + 0x1b0], 0
lea rax, [rsp + 0x1b1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
lea r9, str.AllUserShortcuts
lea r8, str.Strings
mov rdx, qword [rsp + 0x48]
xor ecx, ecx
call qword [sym.imp.SETUPAPI.dll_SetupGetLineTextA]
test eax, eax
jne 0x14000f663
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
xor eax, eax
jmp 0x14000f954
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
lea rdx, [0x14002b508]
lea rcx, [rsp + 0x168]
call fcn.140001850
nop
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x188]
call fcn.140001850
nop
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x188]
call fcn.14000ab70
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x188]
call fcn.14000c230
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x168]
call fcn.14000c230
lea rax, [rsp + 0x1b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x19
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x50], rax
jmp 0x14000f739
mov rax, qword [rsp + 0x50]
add rax, 0x20
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
cmp qword [rsp + 0x50], rax
jne 0x14000f772
mov dword [rsp + 0x40], 1
jmp 0x14000f77a
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x14000f78d
mov dword [rsp + 0x44], 1
jmp 0x14000f795
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x14000f933
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 0x10
jb 0x14000f7d4
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x14000f7de
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.140001760
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.140010f20
mov rcx, rax
call fcn.140010df0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax]
sub rax, 0x18
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140002b90
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x90]
sub rax, 0x18
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.140007d70
lea rax, [rsp + 0x148]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x128]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x110], rax
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0xe8]
call fcn.140001850
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x98]
call fcn.140001850
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb8]
call fcn.140011d80
nop
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140007d70
jmp 0x14000f72b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x78]
call fcn.14000c3b0
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.1400168f0
add rsp, 0x5c0
pop rdi
ret