Function at 0x140011bf0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5c0
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov rax, qword [0x1400425e0]
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 0x140011c48
xor eax, eax
jmp 0x140011fa7
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 0x140011cb3
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
xor eax, eax
jmp 0x140011fa7
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
lea rdx, [0x140033af0]
lea rcx, [rsp + 0x168]
call fcn.140001b00
nop
lea rdx, [rsp + 0x1b0]
lea rcx, [rsp + 0x188]
call fcn.140001b00
nop
lea r8, [rsp + 0x168]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x188]
call fcn.14000cac0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x188]
call fcn.14000e180
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x168]
call fcn.14000e180
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 0x140011d89
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 0x140011dc2
mov dword [rsp + 0x40], 1
jmp 0x140011dca
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
test eax, eax
jne 0x140011ddd
mov dword [rsp + 0x44], 1
jmp 0x140011de5
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
test eax, eax
je 0x140011f86
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
cmp qword [rax + 0x18], 0x10
jb 0x140011e24
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 0x140011e2e
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x90]
call fcn.140001a10
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xb0], rax
mov rcx, qword [rsp + 0xb0]
call fcn.14000c9f0
mov rcx, rax
call fcn.14000c8c0
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.1400032e0
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.140009650
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.140001b00
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.140001b00
mov qword [rsp + 0xb8], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb8]
call fcn.1400166d0
nop
mov rax, qword [rsp + 0x70]
sub rax, 0x18
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140009650
jmp 0x140011d7b
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
mov dword [rsp + 0x68], 1
lea rcx, [rsp + 0x78]
call fcn.14000e300
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.14001c4b0
add rsp, 0x5c0
pop rdi
ret