Function at 0x1401608b0
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 [0x140418a10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
lea r12, [0x140348ca0]
mov qword [rbp - 0x70], r12
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov rdx, r8
lea rcx, [rbp - 0x70]
call fcn.140160680
test al, al
jne 0x140160913
xor r14b, r14b
jmp 0x1401611c6
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 0x140160de5
lea rax, [rbp - 0x50]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140160941
mov qword [rsp + 0x68], r15
test ebx, ebx
jne 0x14016095b
mov qword [rsp + 0x60], r12
jmp 0x140160981
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x68], 0
jle 0x1401609b3
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x1401609c7
mov qword [rsp + 0x30], r12
jmp 0x1401609f2
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.140200570
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401619a0
mov qword [rsp + 0x38], r15
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140160a60
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x140160a7a
mov qword [rsp + 0x50], r12
jmp 0x140160aa0
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
cmp dword [rsp + 0x78], 0
jle 0x140160b0b
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140160b1d
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x140160b2e
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
cmp dword [rsp + 0x78], 0
jle 0x140160b8a
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x140160b9e
mov qword [rsp + 0x30], r12
jmp 0x140160bc9
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.140200570
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401619a0
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 0x140160dd4
mov qword [rsp + 0x38], r15
lea edx, [rax + 0x16]
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140160c50
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x140160c6a
mov qword [rsp + 0x50], r12
jmp 0x140160c90
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
cmp dword [rsp + 0x78], 0
jle 0x140160cfb
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140160d0d
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x140160d1e
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140200570
nop
cmp dword [rsp + 0x78], 0
jle 0x140160d7a
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x140160d8e
mov qword [rsp + 0x30], r12
jmp 0x140160db9
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.140200570
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401619a0
nop
cmp dword [rsp + 0x48], 0
jle 0x140160de5
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140160f58
mov qword [rsp + 0x38], r15
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1401ff260
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.Installer
mov rcx, qword [rsp + 0x30]
call fcn.1402bd21c
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.140200570
nop
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140160e44
mov qword [rsp + 0x58], r15
test edi, edi
jne 0x140160e5e
mov qword [rsp + 0x50], r12
jmp 0x140160e84
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1401ff260
movsxd r9, edi
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402bd21c
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140200570
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d2bd0
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400d2bd0
nop
cmp dword [rsp + 0x78], 0
jle 0x140160eca
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x58], 0
jle 0x140160edc
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
nop
cmp dword [rsp + 0x38], 0
jle 0x140160eed
mov rcx, qword [rsp + 0x30]
call fcn.1402b9c20
mov qword [rsp + 0x68], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x140160f01
mov qword [rsp + 0x60], r12
jmp 0x140160f2c
lea rcx, [rsp + 0x60]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.140200570
mov r8d, r14d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1401619a0
nop
cmp dword [rsp + 0x48], 0
jle 0x140160f58
mov rcx, qword [rsp + 0x40]
call fcn.1402b9c20
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.140161200
test al, al
je 0x1401610dc
mov r9d, dword [rbp - 0x64]
add r9d, 0xfffffffe
mov r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140201490
nop
mov r8, rax
lea rdx, [0x140358560]
lea rcx, [rsp + 0x60]
call fcn.1401fddd0
nop
cmp dword [rsp + 0x78], 0
jle 0x140160fc1
mov rcx, qword [rsp + 0x70]
call fcn.1402b9c20
mov r8, r12
lea rdx, [0x140350f5c]
lea rcx, [rsp + 0x60]
call fcn.140200940
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1401610cb
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400d2bd0
nop
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x5c]
test edx, edx
jne 0x140161018
mov qword [rsp + 0x30], r12
jmp 0x140161043
lea rcx, [rsp + 0x30]
call fcn.1401ff260
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.1402bd21c
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.140200570
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401619a0
nop
cmp dword [rsp + 0x58], 0
jle 0x14016106f
mov rcx, qword [rsp + 0x50]
call fcn.1402b9c20
cmp byte [rbx + 0x19], 0
jne 0x1401610be
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14016109e
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401610be
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140161090
jmp 0x1401610be
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401610bb
cmp rbx, qword [rax + 0x10]
jne 0x1401610bb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401610a8
mov rbx, rax
mov rdi, qword [rbp - 0x80]
cmp rbx, rdi
jne 0x140160ff0
cmp dword [rsp + 0x68], 0
jle 0x1401610e0
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
mov rdi, qword [rbp - 0x80]
mov r14b, 1
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x14016114d
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140161134
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 0x14016111f
mov rcx, qword [rsi + 0x20]
call fcn.1402b9c20
mov rcx, rsi
call fcn.1402177e0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140161100
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 0x1401611b9
cmp rbx, rdi
je 0x1401611bd
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x1401611a6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x14016117f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401611a6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140161171
jmp 0x1401611a6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401611a3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x1401611a3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140161190
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140008e20
cmp rbx, rdi
jne 0x140161152
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call fcn.1402177e0
nop
cmp dword [rbp - 0x68], 0
jle 0x1401611d5
mov rcx, qword [rbp - 0x70]
call fcn.1402b9c20
movzx eax, r14b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402b9610
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret