Function at 0x140002cf0
Capabilities:
Accept command line arguments
Check if file exists
Get file attributes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x1ba0]
mov eax, 0x1ca0
call fcn.140007640
sub rsp, rax
mov rax, qword [0x14003e020]
xor rax, rsp
mov qword [rbp + 0x1b90], rax
xor edx, edx
mov qword [rsp + 0x1cd8], r13
mov r8d, 0x208
lea rcx, [rbp + 0x770]
call fcn.1400095e0
xor edx, edx
lea rcx, [rbp + 0x1390]
mov r8d, 0x800
call fcn.1400095e0
lea r9, str.Starting_new_Session..........................
lea r8, [0x1400390d0]
lea rdx, str._s:__s
lea rcx, [rbp + 0x1390]
call fcn.1400059d0
lea rcx, [rbp + 0x1390]
call fcn.140001cf0
mov dword [rsp + 0x64], 0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x64]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [rsp + 0x64], 2
mov rdi, 0xffffffffffffffff
mov r13, rax
jne 0x140002dc1
mov r8, qword [rax + 8]
lea rcx, [rbp + 0x770]
mov edx, 0x104
call fcn.14000d158
jmp 0x140002f9b
lea rax, str.AC76BA86_0000_0000_7760_7E8A45000000
mov qword [rsp + 0x1cd0], r12
mov qword [rsp + 0x40], rax
lea r12, [rsp + 0x40]
lea rax, str.AC76BA86_0000_0000_BA7E_7E8A45000000
mov qword [rsp + 0x1ce0], r15
mov qword [rsp + 0x48], rax
xor r15d, r15d
mov r14, qword [r12]
xor ebx, ebx
nop word [rax + rax]
xor edx, edx
lea rcx, [rbp + 0x1390]
mov r8d, 0x208
call fcn.1400095e0
lea r9, [rbp + 0x1390]
mov r8d, ebx
xor edx, edx
mov rcx, r14
call qword [sym.imp.msi.dll_MsiSourceListClearAllW]
mov esi, eax
test eax, eax
jne 0x140002eef
lea rax, [rbp + 0x1390]
mov rcx, rdi
nop dword [rax]
inc rcx
cmp word [rax + rcx*2], 0
jne 0x140002e40
test rcx, rcx
je 0x140002eef
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x1390]
lea r8, str.GetINFPath::_Found_Product_code:
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rbp + 0x980]
mov r8d, 0x208
call fcn.1400095e0
lea r9, [rsp + 0x60]
mov dword [rsp + 0x60], 0x104
lea r8, [rbp + 0x980]
lea rdx, str.InstallLocation
lea rcx, [rbp + 0x1390]
call qword [sym.imp.msi.dll_MsiGetPropertyW]
test eax, eax
jne 0x140002eef
lea rcx, [rbp + 0x980]
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002ee0
test rax, rax
jne 0x140002f0c
inc ebx
test esi, esi
je 0x140002e00
inc r15d
add r12, 8
cmp r15d, 2
jb 0x140002df1
jmp 0x140002f8b
lea r8, str.AcrobatXtrasAdobePDF
mov edx, 0x104
lea rcx, [rbp + 0x980]
call fcn.14000dad0
lea rcx, [rbp + 0x980]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140002f73
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x980]
lea r8, str.GetINFPath::_Didnt_find_INF_at_:
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
jmp 0x140002f8b
lea r8, [rbp + 0x980]
mov edx, 0x104
lea rcx, [rbp + 0x770]
call fcn.14000d158
mov r12, qword [rsp + 0x1cd0]
mov r15, qword [rsp + 0x1ce0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, str.Searching_for_INF_File.
lea r8, [0x1400390d0]
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
mov r13, qword [rsp + 0x1cd8]
lea rcx, [rbp + 0x770]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x140002ff1
dec rax
cmp rax, 0x103
ja 0x140003818
lea r8, str.AdobePDF.inf
mov edx, 0x104
lea rcx, [rbp + 0x770]
call fcn.14000dad0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x770]
lea r8, str.Adobe_PDF_Printer_Creator::_INF_Path_is:
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
lea rcx, [rbp + 0x770]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140003094
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x770]
lea r8, str.ERROR::_Adobe_PDF_Printer_Creator::_Did_not_find_file:
jmp 0x140003838
lea rcx, [rbp + 0x770]
call fcn.140002550
mov ecx, 0x7d0
mov dword [rsp + 0x50], 0
xor sil, sil
mov dword [rsp + 0x60], 0
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.WINSPOOL.DRV_EnumMonitorsW]
test eax, eax
jne 0x140003172
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
mov ebx, eax
call fcn.1400095e0
mov r9d, ebx
lea r8, str.IsPrintMonitorInstalled::First_Call_To_EnumMonitors___Failed._This_should_be_ERROR_INSUFFICIENT_BUFFER__122_
lea rdx, str._s_:_Code:__ul
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
cmp ebx, 0x7a
je 0x140003172
xor edx, edx
lea rcx, [rbp + 0x1390]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, ebx
lea r8, str.ERROR:_IsPrintMonitorInstalled::First_Call_To_EnumMonitors___Failed.
lea rdx, str._s_:_Code:__ul
lea rcx, [rbp + 0x1390]
call fcn.1400059d0
lea rcx, [rbp + 0x1390]
call fcn.140001cf0
jmp 0x140003230
mov ecx, dword [rsp + 0x50]
call fcn.140007068
mov r9d, dword [rsp + 0x50]
mov r14, rax
lea rax, [rsp + 0x60]
mov r8, r14
mov qword [rsp + 0x28], rax
mov edx, 1
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.WINSPOOL.DRV_EnumMonitorsW]
test eax, eax
jne 0x1400031f0
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rbp + 0x980]
mov r8d, 0x800
mov ebx, eax
call fcn.1400095e0
mov r9d, ebx
lea r8, str.IsPrintMonitorInstalled::Second_Call_To_EnumMonitors___Failed.
lea rdx, str._s_:_Code:__ul
lea rcx, [rbp + 0x980]
call fcn.1400059d0
lea rcx, [rbp + 0x980]
call fcn.140001cf0
xor ebx, ebx
cmp dword [rsp + 0x60], ebx
jbe 0x140003230
nop dword [rax + rax]
mov rcx, qword [r14 + rbx*8]
lea rdx, str.Adobe_PDF_Port_Monitor
call fcn.14000d2b0
test eax, eax
jne 0x140003223
lea rcx, str.IsPrintMonitorInstalled::Adobe_PDF_Port_Monitor_Found
call fcn.140001cf0
mov sil, 1
inc ebx
cmp ebx, dword [rsp + 0x60]
jb 0x140003200
test sil, sil
jne 0x14000326b
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, str.PortMonitor_failed_to_Install_but_will_still_continue_and_take_a_chance
lea r8, str.Adobe_PDF_Printer_Creator::
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwarePortMonitorCreationDone
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rbp + 0x1180]
mov r8d, 0x208
call fcn.1400095e0
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 0x104
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x770]
lea rax, [rbp + 0x1180]
mov r9d, 3
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], 0
call qword [sym.imp.WINSPOOL.DRV_UploadPrinterDriverPackageW]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
mov ebx, eax
call fcn.1400095e0
movzx esi, bx
lea r8, str.UploadPrinterDriverPackage___::
mov r9d, esi
lea rdx, str._s_:_Code:__ul
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, ebx
lea r8, str.UploadPrinterDriverPackage___::
lea rdx, str._s_HRESULT__x
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SoftwareUploadPrinterDriverPackage
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp + 0x1180]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400033a0
test rax, rax
jne 0x14000345c
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [0x14003809c]
lea r8, str.ERROR::StoreInf_path_is_NULL
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, esi
lea r8, str.UploadPrinterDriverPackage___Failed.
lea rdx, str._s_:_Code:__ul
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, ebx
lea r8, str.UploadPrinterDriverPackage___Failed.
lea rdx, str._s_HRESULT__x
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
test ebx, ebx
jne 0x1400037b2
lea rcx, [rbp + 0x1180]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x140003470
test rax, rax
je 0x1400037b2
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x1180]
lea r8, str.StoreInf_path
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
lea rsi, str.Adobe_PDF_Converter
mov dword [rsp + 0x20], 1
mov r8, rsi
lea rdx, [rbp + 0x1180]
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.WINSPOOL.DRV_InstallPrinterDriverFromPackageW]
mov r9d, 0x20019
lea rdx, str.SoftwareInstallPrinterDriverFromPackage
mov ebx, eax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
test ebx, ebx
jne 0x14000374a
mov r8d, 0x208
lea rcx, [rbp + 0x1390]
call fcn.1400095e0
lea rcx, [rbp + 0x1390]
call fcn.140002820
lea rax, [rbp + 0x1390]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140003545
test rdi, rdi
jne 0x1400035a7
lea r8, str.COM1:
mov edx, 0x104
lea rcx, [rbp + 0x1390]
call fcn.14000d158
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x1390]
lea r8, str.Didnt_get_any_port_hence_Initialized_default_port:
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [rbp + 0x1390]
lea r8, str.Finally_using_Port:
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xorps xmm0, xmm0
lea r8, [rbp + 0x980]
xor eax, eax
mov edx, 2
mov qword [rbp + 0xa00], rax
xor ecx, ecx
lea rax, str.Adobe_PDF
movups xmmword [rbp + 0x980], xmm0
mov qword [rbp + 0x988], rax
movups xmmword [rbp + 0x990], xmm0
mov qword [rbp + 0x990], rax
lea rax, [rbp + 0x1390]
movups xmmword [rbp + 0x9a0], xmm0
mov qword [rbp + 0x998], rax
movups xmmword [rbp + 0x9e0], xmm0
mov qword [rbp + 0x9a0], rsi
movups xmmword [rbp + 0x9b0], xmm0
mov qword [rbp + 0x980], 0
movups xmmword [rbp + 0x9c0], xmm0
mov dword [rbp + 0x9e8], 0x1200
movups xmmword [rbp + 0x9d0], xmm0
movups xmmword [rbp + 0x9f0], xmm0
call qword [sym.imp.WINSPOOL.DRV_AddPrinterW]
mov r9d, 0x20019
lea rdx, str.SoftwareAddPrinter
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x58]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test rbx, rbx
je 0x140003701
mov rcx, rbx
call qword [sym.imp.WINSPOOL.DRV_ClosePrinter]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, [0x14003809c]
lea r8, str.AddPrinter___succeeded
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
call fcn.140001e70
jmp 0x140003853
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
mov ebx, eax
call fcn.1400095e0
mov r9d, ebx
lea r8, str.AddPrinter___Failed:
lea rdx, str._s_:_Code:__ul
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
call fcn.140001e70
jmp 0x140003853
mov r8d, 0x800
lea rcx, [rsp + 0x70]
call fcn.1400095e0
movzx r9d, bx
lea r8, str.InstallPrinterDriverFromPackage___Failed.
lea rdx, str._s_:_Code:__ul
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, ebx
lea r8, str.InstallPrinterDriverFromPackage___Failed.
lea rdx, str._s_HRESULT__x
lea rcx, [rsp + 0x70]
call fcn.1400059d0
jmp 0x140003849
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, ebx
lea r8, str.UploadPrinterDriverPackage___Failed.
lea rdx, str._s_HRESULT__x
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
mov r9d, esi
lea r8, str.UploadPrinterDriverPackage___Failed.
lea rdx, str._s_:_Code:__ul
lea rcx, [rsp + 0x70]
call fcn.1400059d0
jmp 0x140003849
xor edx, edx
lea rcx, [rsp + 0x70]
mov r8d, 0x800
call fcn.1400095e0
lea r9, str.Couldnt_locate_INF._Please_provide_it_over_command_line.
lea r8, str.ERROR::_Adobe_PDF_Printer_Creator::
lea rdx, str._s:__s
lea rcx, [rsp + 0x70]
call fcn.1400059d0
lea rcx, [rsp + 0x70]
call fcn.140001cf0
xor eax, eax
mov rcx, qword [rbp + 0x1b90]
xor rcx, rsp
call fcn.140006fd0
add rsp, 0x1ca0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret