Function at 0x14004a4d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x600]
sub rsp, 0x700
mov rax, qword [0x1402a76c0]
xor rax, rsp
mov qword [rbp + 0x5f0], rax
lea rdx, str.CheckPrinterDriverInstall::FindRegisteredDriverSet
lea rcx, [rbp - 0x80]
call fcn.14001abe0
nop
lea r15, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402a8360]
cmp rcx, r15
je 0x14004a561
test byte [rcx + 0x1c], 1
je 0x14004a561
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x26
lea r8, [0x140254a20]
mov rcx, qword [rcx + 0x10]
call fcn.140001ad0
xor edi, edi
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
xor edx, edx
mov rax, qword [rax + 0x58]
call qword [case.0x1400136d6.0]
test rax, rax
jne 0x14004a85b
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
lea edx, [rdi + 1]
mov rax, qword [rax + 0x28]
call qword [case.0x1400136d6.0]
mov r14, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.1401e7e40
mov edx, 0x104
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea rdx, str.inf_
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rax, qword [r14]
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, r14
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov dword [rsp + 0x44], eax
mov ebx, edi
mov dword [rsp + 0x30], ebx
mov r13d, edi
test eax, eax
jle 0x14004a83c
lfence
nop
test r13d, r13d
jne 0x14004a82e
lea rcx, [rsp + 0x50]
call fcn.1401c8bf0
nop
mov rax, qword [r14]
xor r9d, r9d
mov r8d, ebx
lea rdx, [rsp + 0x50]
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [case.0x1400136d6.0]
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x1e0]
call fcn.1401e7e40
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
mov dword [rsp + 0x40], eax
mov r12d, edi
test eax, eax
jle 0x14004a814
test r13d, r13d
jne 0x14004a80b
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
mov rcx, rax
mov rax, qword [rax]
mov r9d, r12d
mov r8d, 0x208
lea rdx, [rbp + 0x1e0]
mov rax, qword [rax + 0x20]
call qword [case.0x1400136d6.0]
call fcn.1401bb0c4
mov rcx, rax
test rax, rax
je 0x14004a973
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rax, qword [rsp + 0x60]
mov r15, rax
mov r14d, edi
mov rsi, rdi
test rax, rax
jle 0x14004a7d7
test rsi, rsi
js 0x14004a96d
cmp rsi, rax
jge 0x14004a96d
lfence
mov rax, qword [rsp + 0x58]
lea rdx, [rax + rsi*8]
mov rcx, qword [rdx]
sub rcx, 0x18
mov rbx, qword [rsp + 0x38]
lea rdi, [rbx - 0x18]
cmp rcx, rdi
je 0x14004a7a3
cmp dword [rdi + 0x10], 0
jl 0x14004a78a
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14004a78a
call fcn.140004d00
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14004a77f
lfence
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
add rbx, 0x18
mov qword [rsp + 0x38], rbx
jmp 0x14004a7a3
lfence
mov rdx, qword [rdx]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140004e60
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
lea rcx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x14004a7cf
inc r14d
inc rsi
movsxd rax, r14d
cmp rax, r15
jge 0x14004a7d5
mov rax, qword [rsp + 0x60]
jmp 0x14004a711
mov r13d, 1
xor edi, edi
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14004a7fd
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400136d6.0]
inc r12d
cmp r12d, dword [rsp + 0x40]
jl 0x14004a696
mov r14, qword [rsp + 0x48]
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.1401c8c10
inc ebx
mov dword [rsp + 0x30], ebx
cmp ebx, dword [rsp + 0x44]
jl 0x14004a620
lea r15, [0x1402a8360]
lea rsi, [0x1402bbdb0]
mov rcx, qword [0x1402bbf50]
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0x30]
call qword [case.0x1400136d6.0]
cmp r13d, 1
jne 0x14004a887
mov rcx, qword [0x1402bbf68]
mov rax, qword [rcx]
mov edx, 0x33
mov rax, qword [rax + 0x18]
call qword [case.0x1400136d6.0]
test eax, eax
je 0x14004a887
mov edi, 0x80010068
mov dword [0x1402bbd98], 0x68
mov cl, 1
mov byte [rbp - 0x78], cl
mov rax, qword [0x1402a8360]
cmp rax, r15
je 0x14004a8d4
test byte [rax + 0x1c], cl
je 0x14004a8d4
mov r9, rsi
cmp qword [0x1402bbdc8], 8
cmovae r9, qword [0x1402bbdb0]
mov edx, 0x27
mov dword [rsp + 0x20], edi
lea r8, [0x140254a20]
mov rcx, qword [rax + 0x10]
call fcn.140001b40
movzx ecx, byte [rbp - 0x78]
mov rax, qword [0x1402a8360]
lea rdx, vtable.WppTrace.0
mov qword [rbp - 0x80], rdx
test cl, cl
jne 0x14004a929
cmp rax, r15
je 0x14004a929
test byte [rax + 0x1c], 1
je 0x14004a929
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
cmp qword [0x1402bbdc8], 8
cmovae rsi, qword [0x1402bbdb0]
mov edx, 0xa
mov qword [rsp + 0x20], rcx
mov r9, rsi
lea r8, [0x140252818]
mov rcx, qword [rax + 0x10]
call fcn.140006c90
lea rcx, [rbp - 0x50]
call fcn.1400048a0
lea rcx, [rbp - 0x70]
call fcn.1400048a0
mov eax, edi
mov rcx, qword [rbp + 0x5f0]
xor rcx, rsp
call fcn.1401e2900
lea r11, [rsp + 0x700]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1401bb848
nop
mov ecx, 0x80004005
call fcn.140001470
int3