Function at 0x140044b90
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 [0x14027bbd0]
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.140017fc0
nop
xor r15d, r15d
mov qword [rbp + 0x90], r15
mov qword [rbp + 0x98], r15
call fcn.140051e58
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140044c19
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
call fcn.140051e58
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140044c4b
mov ecx, 0x80004005
call fcn.140001010
int3
mov rax, qword [rax]
mov rcx, r11
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
call fcn.140051e58
mov r11, rax
mov ecx, r15d
test rax, rax
setne cl
test ecx, ecx
jne 0x140044c7d
mov ecx, 0x80004005
call fcn.140001010
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.140051c2c
test rax, rax
je 0x140044cb6
mov r8d, 0x15
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140001b00
mov rbx, qword [rsp + 0x30]
mov ecx, 0x16
call fcn.140051c2c
test rax, rax
je 0x140044cdd
mov r8d, 0x16
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001b00
mov rdi, qword [rsp + 0x38]
mov ecx, 0x17
call fcn.140051c2c
test rax, rax
je 0x140044d04
mov r8d, 0x17
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001b00
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.140192cb0
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 0x140044f3d
mov r14, r15
mov word [rbp + 0x310], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x312]
call fcn.140192cb0
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.14000c310
cmp eax, 0xa
jne 0x140044e95
mov word [rbp + 0x100], r15w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x102]
call fcn.140192cb0
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 0x140044e9c
lea r13, [rbp + 0xb0]
mov rcx, qword [r12 + 0x40]
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
call fcn.140062248
mov rbx, rax
lea rdi, [r12 + 0x270]
mov qword [rsp + 0x28], rax
mov r8, r13
mov rcx, r14
mov rdx, rdi
mov dword [rsp + 0x20], r15d
cmp dword [r12 + 0x284], 1
jne 0x140044ef7
mov r9d, 1
call fcn.14000f290
test rdi, rdi
mov r9, r15
je 0x140044eef
mov r9, qword [rdi + 8]
mov r8d, 1
jmp 0x140044f0e
xor r9d, r9d
call fcn.14000f290
test rdi, rdi
mov r9, r15
je 0x140044f0b
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.14005ebc4
test rbx, rbx
je 0x140044f3d
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]
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 0x140044f63
mov rcx, r12
call fcn.1400416c0
lea r8, [0x1401c6ea8]
mov edx, 2
lea rcx, [rsp + 0x48]
call fcn.140017c80
nop
lea rdx, [rsi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140045008
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 0x140045028
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 0x140045046
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x48]
call fcn.140018150
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.1401945b0
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