Function at 0x411e50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa48
mov eax, dword [0x5c5b9c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push str.CPrinterDriverInf::SetDirectoryId__________________________IN._n
push 5
mov esi, ecx
mov dword [ebp - 0xa48], eax
mov dword [ebp - 0xa44], 0
call fcn.00411380
mov ecx, dword [ebp - 0xa48]
add esp, 8
push ecx
push ebx
push edi
mov ecx, esi
call sym.Setup.exe_protected_virtual:_int___thiscall_CDeviceInf::SetDirectoryId_void___wchar_t_const___wchar_t_const__
test eax, eax
je 0x4120b7
lea edx, [ebp - 0xa44]
push edx
push 0x20a
lea eax, [ebp - 0x41c]
push eax
xor esi, esi
push 1
push esi
push esi
mov dword [ebp - 0xa44], esi
call sub.WINSPOOL.DRV_GetPrinterDriverDirectoryW
test eax, eax
jne 0x411eda
push str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66000_is_failed._n
jmp 0x4120ad
lea ecx, [ebp - 0x41c]
push ecx
push 0x101d0
push edi
call dword [0x5c710c]
test eax, eax
je 0x4120a8
lea edx, [ebp - 0x41c]
push edx
push str.CPrinterDriverInf::SetDirectoryId_66000____1_s__._n
push 5
call fcn.00411380
add esp, 0xc
lea eax, [ebp - 0xa44]
push eax
push 0x20a
lea ecx, [ebp - 0x628]
push ecx
push 1
push esi
push esi
mov dword [ebp - 0xa44], esi
call sub.WINSPOOL.DRV_GetPrintProcessorDirectoryW
test eax, eax
jne 0x411f3b
push str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66001_is_failed._n
jmp 0x4120ad
lea edx, [ebp - 0x628]
push edx
push 0x101d1
push edi
call dword [0x5c710c]
test eax, eax
je 0x4120a8
lea eax, [ebp - 0x628]
push eax
push str.CPrinterDriverInf::SetDirectoryId_66001____1_s__._n
push 5
call fcn.00411380
add esp, 0xc
push 0x105
lea ecx, [ebp - 0x834]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x411f8c
push str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66002_is_failed._n
jmp 0x4120ad
lea edx, [ebp - 0x834]
push edx
push 0x101d2
push edi
call dword [0x5c710c]
test eax, eax
je 0x4120a8
lea eax, [ebp - 0x834]
push eax
push str.CPrinterDriverInf::SetDirectoryId_66002____1_s__._n
push 5
call fcn.00411380
add esp, 0xc
lea ecx, [ebp - 0xa44]
push ecx
lea edx, [ebp - 0xa40]
push edx
push esi
mov dword [ebp - 0xa44], 0x20a
call dword [0x5c7108]
test eax, eax
jne 0x411fea
push str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66003_is_failed._n
jmp 0x4120ad
lea eax, [ebp - 0xa40]
push eax
push 0x101d3
push edi
call dword [0x5c710c]
test eax, eax
je 0x4120a8
lea ecx, [ebp - 0xa40]
push ecx
push str.CPrinterDriverInf::SetDirectoryId_66003____1_s__._n
push 5
call fcn.00411380
add esp, 0xc
push 0x105
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jne 0x412055
push str.CPrinterDriverInf::SetDirectoryId_Getting_the_directory_of_66004_is_failed._n
push 2
call fcn.00411380
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00530f8d
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str.webprinters_
lea eax, [ebp - 0x210]
push eax
call esi
push ebx
lea ecx, [ebp - 0x210]
push ecx
call esi
push 0x55a33c
lea edx, [ebp - 0x210]
push edx
call esi
mov eax, dword [ebp - 0xa48]
push eax
lea ecx, [ebp - 0x210]
push ecx
call esi
lea edx, [ebp - 0x210]
push edx
push 0x101d4
push edi
call dword [0x5c710c]
test eax, eax
jne 0x4120db
push str.CPrinterDriverInf::SetDirectoryId_SetupSetDirectoryId_failed.__0x_1_lX___n
push 2
call fcn.00411380
add esp, 8
push str.CPrinterDriverInf::SetDirectoryId__________________________Error_OUT._n
push 5
call fcn.00411380
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00530f8d
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ebp - 0x210]
push eax
push str.CPrinterDriverInf::SetDirectoryId_66004____1_s__._n
push 5
call fcn.00411380
push str.CPrinterDriverInf::SetDirectoryId__________________________OUT._n
push 5
call fcn.00411380
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00530f8d
mov esp, ebp
pop ebp
ret 0xc