Function at 0x14015f620
Capabilities:
Get common file path
Get program files directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
lea r12, [0x140346ce0]
mov qword [rbp - 0x70], r12
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov rdx, r8
lea rcx, [rbp - 0x70]
call fcn.14015f3f0
test al, al
jne 0x14015f683
xor r14b, r14b
jmp 0x14015ff36
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1c]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x14015fb55
lea rax, [rbp - 0x50]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015f6b1
mov qword [rsp + 0x68], r15
test ebx, ebx
jne 0x14015f6cb
mov qword [rsp + 0x60], r12
jmp 0x14015f6f1
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401fde50
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x68], 0
jle 0x14015f723
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x14015f737
mov qword [rsp + 0x30], r12
jmp 0x14015f762
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140160710
mov qword [rsp + 0x38], r15
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015f7d0
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x14015f7ea
mov qword [rsp + 0x50], r12
jmp 0x14015f810
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x48]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
cmp dword [rsp + 0x78], 0
jle 0x14015f87b
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x14015f88d
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
nop
cmp dword [rsp + 0x38], 0
jle 0x14015f89e
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x48]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
cmp dword [rsp + 0x78], 0
jle 0x14015f8fa
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x14015f90e
mov qword [rsp + 0x30], r12
jmp 0x14015f939
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140160710
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x26]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x14015fb44
mov qword [rsp + 0x38], r15
lea edx, [rax + 0x16]
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14015f9c0
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x14015f9da
mov qword [rsp + 0x50], r12
jmp 0x14015fa00
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x48]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
cmp dword [rsp + 0x78], 0
jle 0x14015fa6b
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x14015fa7d
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
nop
cmp dword [rsp + 0x38], 0
jle 0x14015fa8e
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fcb40
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x48]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x40]
call fcn.1402ba94c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401fde50
nop
cmp dword [rsp + 0x78], 0
jle 0x14015faea
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x14015fafe
mov qword [rsp + 0x30], r12
jmp 0x14015fb29
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140160710
nop
cmp dword [rsp + 0x48], 0
jle 0x14015fb55
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x14015fcc8
mov qword [rsp + 0x38], r15
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.Installer
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1401fde50
nop
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14015fbb4
mov qword [rsp + 0x58], r15
test edi, edi
jne 0x14015fbce
mov qword [rsp + 0x50], r12
jmp 0x14015fbf4
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1401fcb40
movsxd r9, edi
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402ba94c
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1401fde50
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d2ba0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400d2ba0
nop
cmp dword [rsp + 0x78], 0
jle 0x14015fc3a
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
nop
cmp dword [rsp + 0x58], 0
jle 0x14015fc4c
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
nop
cmp dword [rsp + 0x38], 0
jle 0x14015fc5d
mov rcx, qword [rsp + 0x30]
call fcn.1402b7350
mov qword [rsp + 0x68], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x14015fc71
mov qword [rsp + 0x60], r12
jmp 0x14015fc9c
lea rcx, [rsp + 0x60]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x4c]
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.1402ba94c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.1401fde50
mov r8d, r14d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140160710
nop
cmp dword [rsp + 0x48], 0
jle 0x14015fcc8
mov rcx, qword [rsp + 0x40]
call fcn.1402b7350
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
call fcn.14000a340
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
movzx ecx, word [rbp - 0x50]
call fcn.14015ff70
test al, al
je 0x14015fe4c
mov r9d, dword [rbp - 0x64]
add r9d, 0xfffffffe
mov r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1401fed70
nop
mov r8, rax
lea rdx, [0x140356498]
lea rcx, [rsp + 0x60]
call fcn.1401fb6b0
nop
cmp dword [rsp + 0x78], 0
jle 0x14015fd31
mov rcx, qword [rsp + 0x70]
call fcn.1402b7350
mov r8, r12
lea rdx, [0x14034ef8c]
lea rcx, [rsp + 0x60]
call fcn.1401fe220
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x14015fe3b
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400d2ba0
nop
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x5c]
test edx, edx
jne 0x14015fd88
mov qword [rsp + 0x30], r12
jmp 0x14015fdb3
lea rcx, [rsp + 0x30]
call fcn.1401fcb40
movsxd r9, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.1402ba94c
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.1401fde50
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140160710
nop
cmp dword [rsp + 0x58], 0
jle 0x14015fddf
mov rcx, qword [rsp + 0x50]
call fcn.1402b7350
cmp byte [rbx + 0x19], 0
jne 0x14015fe2e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015fe0e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015fe2e
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015fe00
jmp 0x14015fe2e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015fe2b
cmp rbx, qword [rax + 0x10]
jne 0x14015fe2b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015fe18
mov rbx, rax
mov rdi, qword [rbp - 0x80]
cmp rbx, rdi
jne 0x14015fd60
cmp dword [rsp + 0x68], 0
jle 0x14015fe50
mov rcx, qword [rsp + 0x60]
call fcn.1402b7350
mov rdi, qword [rbp - 0x80]
mov r14b, 1
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14015febd
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x14015fea4
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14000a240
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x14015fe8f
mov rcx, qword [rsi + 0x20]
call fcn.1402b7350
mov rcx, rsi
call fcn.1402150f0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x14015fe70
mov rdi, qword [rbp - 0x80]
mov qword [rdi + 8], rdi
mov rax, qword [rbp - 0x80]
mov qword [rax], rax
mov rax, qword [rbp - 0x80]
mov qword [rax + 0x10], rax
mov qword [rbp - 0x78], r15
jmp 0x14015ff29
cmp rbx, rdi
je 0x14015ff2d
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x14015ff16
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14015feef
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x14015ff16
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x14015fee1
jmp 0x14015ff16
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x14015ff13
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x14015ff13
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x14015ff00
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140008e20
cmp rbx, rdi
jne 0x14015fec2
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call fcn.1402150f0
nop
cmp dword [rbp - 0x68], 0
jle 0x14015ff45
mov rcx, qword [rbp - 0x70]
call fcn.1402b7350
movzx eax, r14b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402b6d40
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret