Function at 0x140024e50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xaa8
mov rax, qword [0x1402aa808]
xor rax, rsp
mov qword [rsp + 0xa90], rax
mov dword [rsp + 0x30], 0
lea rdx, str.CPrinterDriverInf::SetDirectoryId__________________________IN._n
mov ecx, 5
call fcn.14001c160
mov r9, qword [rsp + 0xac8]
mov r8, qword [rsp + 0xac0]
mov rdx, qword [rsp + 0xab8]
mov rcx, qword [rsp + 0xab0]
call sym.Setup.exe_protected_virtual:_int___cdecl_CDeviceInf::SetDirectoryId_void____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64
test eax, eax
jne 0x140024ec9
jmp 0x140025204
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20a
lea r9, [rsp + 0x250]
mov r8d, 1
xor edx, edx
xor ecx, ecx
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryW
test eax, eax
jne 0x140024f19
lea rdx, str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66000_is_failed._n
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x250]
mov edx, 0x101d0
mov rcx, qword [rsp + 0xab8]
call qword [0x1402ac810]
test eax, eax
jne 0x140024f53
lea rdx, [0x1401f41c0]
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x250]
lea rdx, str.CPrinterDriverInf::SetDirectoryId_66000____1_s__._n
mov ecx, 5
call fcn.14001c160
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x20a
lea r9, [rsp + 0x40]
mov r8d, 1
xor edx, edx
xor ecx, ecx
call sub.WINSPOOL.DRV_GetPrintProcessorDirectoryW
test eax, eax
jne 0x140024fb9
lea rdx, str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66001_is_failed._n
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x40]
mov edx, 0x101d1
mov rcx, qword [rsp + 0xab8]
call qword [0x1402ac810]
test eax, eax
jne 0x140024ff0
lea rdx, [0x1401f4370]
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x40]
lea rdx, str.CPrinterDriverInf::SetDirectoryId_66001____1_s__._n
mov ecx, 5
call fcn.14001c160
mov edx, 0x105
lea rcx, [rsp + 0x460]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x140025038
lea rdx, str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66002_is_failed._n
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x460]
mov edx, 0x101d2
mov rcx, qword [rsp + 0xab8]
call qword [0x1402ac810]
test eax, eax
jne 0x140025072
lea rdx, [0x1401f4520]
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x460]
lea rdx, str.CPrinterDriverInf::SetDirectoryId_66002____1_s__._n
mov ecx, 5
call fcn.14001c160
mov dword [rsp + 0x30], 0x20a
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x670]
xor ecx, ecx
call qword [0x1402ac808]
test eax, eax
jne 0x1400250c7
lea rdx, str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66003_is_failed._n
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x670]
mov edx, 0x101d3
mov rcx, qword [rsp + 0xab8]
call qword [0x1402ac810]
test eax, eax
jne 0x140025101
lea rdx, [0x1401f46d0]
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x670]
lea rdx, str.CPrinterDriverInf::SetDirectoryId_66003____1_s__._n
mov ecx, 5
call fcn.14001c160
mov edx, 0x105
lea rcx, [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x140025149
lea rdx, str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66004_is_failed._n
mov ecx, 2
call fcn.14001c160
xor eax, eax
jmp 0x140025217
lea rdx, str.webprinters_
lea rcx, [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rsp + 0xac0]
lea rcx, [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rdx, [0x1401eb98c]
lea rcx, [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, qword [rsp + 0xac8]
lea rcx, [rsp + 0x880]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rsp + 0x880]
mov edx, 0x101d4
mov rcx, qword [rsp + 0xab8]
call qword [0x1402ac810]
test eax, eax
jne 0x1400251d3
lea rdx, str.CPrinterDriverInf::SetDirectoryId_SetupSetDirectoryId_failed.__0x_1_lX___n
mov ecx, 2
call fcn.14001c160
jmp 0x140025204
lea r8, [rsp + 0x880]
lea rdx, str.CPrinterDriverInf::SetDirectoryId_66004____1_s__._n
mov ecx, 5
call fcn.14001c160
lea rdx, str.CPrinterDriverInf::SetDirectoryId__________________________OUT._n
mov ecx, 5
call fcn.14001c160
mov eax, 1
jmp 0x140025217
lea rdx, str.CPrinterDriverInf::SetDirectoryId__________________________Error_OUT._n
mov ecx, 5
call fcn.14001c160
xor eax, eax
mov rcx, qword [rsp + 0xa90]
xor rcx, rsp
call fcn.1401ab2d0
add rsp, 0xaa8
ret