Function at 0x140009d60
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x460
mov rax, qword [0x140030118]
xor rax, rsp
mov qword [rsp + 0x450], rax
xor eax, eax
xor edi, edi
movzx r13d, r9b
movzx r12d, r8b
mov rsi, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor ebp, ebp
call fcn.14000aea0
test rax, rax
je 0x140009dd2
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__start.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov rcx, rbx
mov dword [rsp + 0x48], 0xf000c
call fcn.140005a90
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14000fc08
test eax, eax
je 0x140009f66
call fcn.14000aea0
test rax, rax
je 0x140009e21
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__check_printer_has_jobs.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov rdx, qword [rsp + 0x30]
lea r8, [0x140025560]
mov rcx, rbx
call fcn.140004f00
test al, al
je 0x140009e96
call fcn.14000aea0
test rax, rax
je 0x140009e5e
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__start_cancel_all_print_jobs.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140005060
mov edi, eax
test eax, eax
je 0x140009e96
call fcn.14000aea0
test rax, rax
je 0x140009e96
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__FAILED_to_cancel_all_print_jobs.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
call fcn.14000aea0
test rax, rax
je 0x140009ebb
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__check_other_printers_installed.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov rdx, qword [rsp + 0x30]
mov r8, rsi
mov rcx, rbx
call fcn.140005210
movzx ebp, al
call fcn.14000aea0
test rax, rax
je 0x140009ef3
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__Before_delete_printer...
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov rcx, qword [rsp + 0x30]
call sub.WINSPOOL.DRV_DeletePrinter
test eax, eax
jne 0x140009f39
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14000aea0
test rax, rax
je 0x140009f5a
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__FAILED_to_delete_printer___s___error___d
mov r9d, edi
mov rcx, rax
mov r8, rsi
call fcn.14000ac50
mov rcx, qword [rsp + 0x30]
call fcn.14000fbfc
jmp 0x140009f92
call fcn.14000aea0
test rax, rax
je 0x140009f5a
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__deleted_printer___s_
mov r8, rsi
mov rcx, rax
call fcn.14000ac50
mov rcx, qword [rsp + 0x30]
call fcn.14000fbfc
jmp 0x140009f92
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14000aea0
test rax, rax
je 0x140009f92
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__FAILED_to_open_printer___s__Error___d
mov r9d, edi
mov rcx, rax
mov r8, rsi
call fcn.14000ac50
test r12b, r12b
je 0x14000a010
call fcn.14000aea0
test rax, rax
je 0x140009fbc
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__before_delete_profiles.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov rdx, rsi
mov rcx, rbx
call fcn.140006770
cmp dword [0x1400335e8], 0
jne 0x140009feb
lea r8, [rsp + 0x50]
mov rdx, rsi
mov rcx, rbx
call fcn.140005dd0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.14000aea0
test rax, rax
je 0x14000a010
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__after_delete_profiles.
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
test ebp, ebp
jne 0x14000a204
call fcn.14000aea0
test rax, rax
je 0x14000a03d
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__Before_delete_monitor...
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
lea r8, [rbx + 0x240]
xor edx, edx
xor ecx, ecx
call fcn.14000fc50
test eax, eax
jne 0x14000a083
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.14000aea0
test rax, rax
je 0x14000a0a8
call fcn.14000aea0
lea r8, [rbx + 0x240]
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__did_NOT_delete_port_monitor:___s___error___d
mov rcx, rax
mov r9d, esi
call fcn.14000ac50
jmp 0x14000a0a8
call fcn.14000aea0
test rax, rax
je 0x14000a0a8
call fcn.14000aea0
lea r8, [rbx + 0x240]
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__deleted_monitor___s_
mov rcx, rax
call fcn.14000ac50
call fcn.14000aea0
test rax, rax
je 0x14000a0cd
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__Before_delete_printer_driver...
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
mov r9d, 1
mov r8, rbx
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.14000fc4a
test eax, eax
jne 0x14000a119
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14000aea0
test rax, rax
je 0x14000a13a
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__did_NOT_delete_printer_driver:___s___error___d
mov r9d, edi
mov rcx, rax
mov r8, rbx
call fcn.14000ac50
jmp 0x14000a13a
call fcn.14000aea0
test rax, rax
je 0x14000a13a
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__deleted_printer_driver___s_
mov r8, rbx
mov rcx, rax
call fcn.14000ac50
call fcn.14000aea0
test rax, rax
je 0x14000a15f
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__Before_delete_other_driver...
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
lea rdx, str.Windows_NT_x86
mov r9d, 1
mov r8, rbx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call fcn.14000fc4a
test eax, eax
jne 0x14000a1b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.14000aea0
test rax, rax
je 0x14000a1d1
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__did_NOT_delete_other_printer_driver:___s___error___d
mov r9d, edi
mov rcx, rax
mov r8, rbx
call fcn.14000ac50
jmp 0x14000a1d1
call fcn.14000aea0
test rax, rax
je 0x14000a1d1
call fcn.14000aea0
lea rdx, str.PdfsInstaller.UninstallPdfsPrinter__deleted_printer_other_driver___s_
mov r8, rbx
mov rcx, rax
call fcn.14000ac50
call fcn.14000aea0
test rax, rax
je 0x14000a1f6
call fcn.14000aea0
lea r8, str.PdfsInstaller.UninstallPdfsPrinter__Before_delete_files...
lea rdx, [0x1400239b8]
mov rcx, rax
call fcn.14000ac50
movzx edx, r13b
mov rcx, rbx
call fcn.140008ce0
jmp 0x14000a206
mov eax, edi
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.14000fd60
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x460
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret