Function at 0x1400b0460
Capabilities:
Delete file
Get common file path
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
lea rdx, str.PrinterDriverInstall::DeleteDriverDataBaseForUpdateINF
lea rcx, [rsp + 0x30]
call fcn.14001abe0
nop
lea rsi, [0x1402a8360]
lea rdi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400b04ea
test byte [rcx + 0x1c], 1
je 0x1400b04ea
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x4d
lea r8, [0x14025a4d8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.1401e7e40
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x190]
call fcn.1401e7e40
mov edx, 0x104
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
cmp word [rbp + rcx*2 + 0x18e], 0x5c
je 0x1400b0550
lea rdx, [0x140251df8]
lea rcx, [rbp + 0x190]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r8, [rbp + 0x190]
lea rdx, str._sINFDrvData.BIN
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400b05ab
test byte [rcx + 0x1c], 4
je 0x1400b05ab
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x4e
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, [0x14025a4d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov edx, 0x20
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400b0606
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b0659
mov rax, qword [0x1402a8360]
cmp rax, rsi
je 0x1400b0659
test byte [rax + 0x1c], 2
je 0x1400b0659
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x30]
call fcn.14001b0b0
mov edx, 0x4f
jmp 0x1400b063a
mov rax, qword [0x1402a8360]
cmp rax, rsi
je 0x1400b0659
test byte [rax + 0x1c], 2
je 0x1400b0659
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x30]
call fcn.14001b0b0
mov edx, 0x50
mov rcx, qword [0x1402a8360]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14025a4d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea r8, [rbp + 0x190]
lea rdx, str._sINFDrvIDX.BIN
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400b06b4
test byte [rcx + 0x1c], 4
je 0x1400b06b4
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x51
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r8, [0x14025a4d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov edx, 0x20
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x1400b0713
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400b0766
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400b076d
test byte [rcx + 0x1c], 2
je 0x1400b076d
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x30]
call fcn.14001b0b0
mov edx, 0x52
jmp 0x1400b0747
mov rcx, qword [0x1402a8360]
cmp rcx, rsi
je 0x1400b076d
test byte [rcx + 0x1c], 2
je 0x1400b076d
mov rbx, rdi
cmp qword [0x1402bbdc8], 8
cmovae rbx, qword [0x1402bbdb0]
lea rcx, [rsp + 0x30]
call fcn.14001b0b0
mov edx, 0x53
mov rcx, qword [0x1402a8360]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x14025a4d8]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
mov rcx, qword [0x1402a8360]
mov al, 1
mov byte [rsp + 0x38], al
cmp rcx, rsi
je 0x1400b07b1
test byte [rcx + 0x1c], al
je 0x1400b07b1
mov r9, rdi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, MsiOpenDatabaseW
lea r8, [0x14025a4d8]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
movzx eax, byte [rsp + 0x38]
mov rcx, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rsp + 0x30], rdx
test al, al
jne 0x1400b080a
cmp rcx, rsi
je 0x1400b080a
test byte [rcx + 0x1c], 1
je 0x1400b080a
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rax, qword [rsp + 0x40]
cmp qword [0x1402bbdc8], 8
cmovae rdi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rax
mov r9, rdi
lea r8, [0x140252818]
mov rcx, qword [rcx + 0x10]
call fcn.140006c90
lea rcx, [rsp + 0x60]
call fcn.1400048a0
lea rcx, [rsp + 0x40]
call fcn.1400048a0
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret