Function at 0x14003ecd0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x558]
sub rsp, 0x630
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14026fdb0]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov r12, rcx
xor r8d, r8d
lea rdx, str.CUNINSTALLERDlg::SetPrinterList
lea rcx, [rsp + 0x48]
call fcn.140001190
nop
xor r15d, r15d
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], r15
call fcn.140056384
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003ed59
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
call fcn.140056384
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003ed8b
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
call fcn.140056384
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x14003edbd
mov ecx, 0x80004005
call fcn.140004550
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x40], rsi
mov ecx, 0x15
call fcn.140056158
test rax, rax
je 0x14003edf6
mov r8d, 0x15
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005730
mov rbx, qword [rsp + 0x30]
mov ecx, 0x16
call fcn.140056158
test rax, rax
je 0x14003ee1d
mov r8d, 0x16
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140005730
mov rdi, qword [rsp + 0x38]
mov ecx, 0x17
call fcn.140056158
test rax, rax
je 0x14003ee44
mov r8d, 0x17
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140005730
mov rsi, qword [rsp + 0x40]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rsi
xor edx, edx
mov r8d, 0xd8
lea rcx, [rbp - 0x48]
call fcn.14019d7c0
mov dword [rbp + 0xa0], 0x14
mov dword [rbp + 0xa4], 9
mov dword [rbp + 0xa8], 8
mov dword [rbp + 0xac], 3
cmp dword [r12 + 0x280], 1
jne 0x14003f078
mov r14, r15
mov word [rbp + 0x310], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x312]
call fcn.14019d7c0
mov dword [rbp + 0xb0], 0xffffffef
mov dword [rbp + 0xb4], 0xffffff74
mov dword [rbp + 0xb8], 0xffffff73
mov dword [rbp + 0xbc], 0xffffff58
mov dword [rbp + 0xc0], 0xffffff57
mov dword [rbp + 0xc4], 0xffffff56
mov dword [rbp + 0xc8], 0xffffffe3
mov dword [rbp + 0xcc], 0xffffffe3
mov dword [rbp + 0xd0], 0x7fffffff
mov dword [rbp + 0xd8], 0xffffffcd
mov dword [rbp + 0xdc], 0xffffffcb
mov dword [rbp + 0xe0], 0xffffffcc
mov dword [rbp + 0xe4], 0xffffffcf
mov dword [rbp + 0xe8], 0xffffffce
mov dword [rbp + 0xec], 0xffffffd0
mov dword [rbp + 0xf0], 0xffffff5c
mov dword [rbp + 0xf4], 0xffffff5c
mov dword [rbp + 0xf8], 0x7fffffff
call fcn.1400166e0
cmp eax, 0xa
jne 0x14003efd5
mov word [rbp + 0x100], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x102]
call fcn.14019d7c0
mov edx, 0x104
lea rcx, [rbp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea r9, str.IMAGERES.DLL
lea r8, [rbp + 0x100]
lea rdx, str._s_s
lea rcx, [rbp + 0x310]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r14, [rbp + 0x310]
lea r13, [rbp + 0xd8]
jmp 0x14003efdc
lea r13, [rbp + 0xb0]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call fcn.140067fd0
mov rbx, rax
lea rdi, [r12 + 0x270]
mov qword [rsp + 0x20], rax
mov r8, r13
mov rcx, r14
mov rdx, rdi
cmp dword [r12 + 0x284], 1
jne 0x14003f032
mov r9d, 1
call fcn.140016890
test rdi, rdi
mov r9, r15
je 0x14003f02a
mov r9, qword [rdi + 8]
mov r8d, 1
jmp 0x14003f049
xor r9d, r9d
call fcn.140016890
test rdi, rdi
mov r9, r15
je 0x14003f046
mov r9, qword [rdi + 8]
xor r8d, r8d
mov edx, 0x1003
mov rcx, qword [r12 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, rax
call fcn.140066dc4
test rbx, rbx
je 0x14003f078
mov rdx, qword [rbx + 8]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_ReleaseDC]
lea rdx, [rbp + 0x90]
mov rcx, qword [r12 + 0x158]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, r15d
mov rdi, r15
lea r13, [rbp - 0x60]
lea r14, [rbp + 0xa4]
nop
mov qword [rsp + 0x60], 0xf
mov rax, qword [r13]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x7c], ebx
mov ecx, dword [rbp + 0x98]
sub ecx, dword [rbp + 0x90]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, dword [r14]
mov dword [rsp + 0x68], edx
lea r9, [rsp + 0x60]
mov r8, rdi
mov edx, 0x1061
mov rcx, qword [r12 + 0x158]
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
inc rdi
add r14, 4
add r13, 8
cmp ebx, 3
jl 0x14003f0a0
mov rcx, r12
call fcn.14003f1c0
lea r8, [0x1402209ac]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140001370
nop
lea rdx, [rsi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003f145
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14003f165
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14003f183
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x48]
call fcn.140001320
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.140198b40
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret