Function at 0x1401531c0
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 [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
lea r12, [0x140323de0]
mov qword [rbp - 0x70], r12
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov rdx, r8
lea rcx, [rbp - 0x70]
call fcn.140152f90
test al, al
jne 0x140153223
xor r14b, r14b
jmp 0x140153ad6
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 0x1401536f5
lea rax, [rbp - 0x50]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140153251
mov qword [rsp + 0x68], r15
test ebx, ebx
jne 0x14015326b
mov qword [rsp + 0x60], r12
jmp 0x140153291
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400d1690
nop
cmp dword [rsp + 0x68], 0
jle 0x1401532c3
mov rcx, qword [rsp + 0x60]
call fcn.140298600
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x1401532d7
mov qword [rsp + 0x30], r12
jmp 0x140153302
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401542b0
mov qword [rsp + 0x38], r15
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140153370
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x14015338a
mov qword [rsp + 0x50], r12
jmp 0x1401533b0
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
cmp dword [rsp + 0x78], 0
jle 0x14015341b
mov rcx, qword [rsp + 0x70]
call fcn.140298600
nop
cmp dword [rsp + 0x58], 0
jle 0x14015342d
mov rcx, qword [rsp + 0x50]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x14015343e
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
cmp dword [rsp + 0x78], 0
jle 0x14015349a
mov rcx, qword [rsp + 0x70]
call fcn.140298600
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x1401534ae
mov qword [rsp + 0x30], r12
jmp 0x1401534d9
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401542b0
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 0x1401536e4
mov qword [rsp + 0x38], r15
lea edx, [rax + 0x16]
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140153560
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x14015357a
mov qword [rsp + 0x50], r12
jmp 0x1401535a0
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
cmp dword [rsp + 0x78], 0
jle 0x14015360b
mov rcx, qword [rsp + 0x70]
call fcn.140298600
nop
cmp dword [rsp + 0x58], 0
jle 0x14015361d
mov rcx, qword [rsp + 0x50]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x14015362e
mov rcx, qword [rsp + 0x30]
call fcn.140298600
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d1690
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1401ea290
nop
cmp dword [rsp + 0x78], 0
jle 0x14015368a
mov rcx, qword [rsp + 0x70]
call fcn.140298600
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x14015369e
mov qword [rsp + 0x30], r12
jmp 0x1401536c9
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401542b0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401536f5
mov rcx, qword [rsp + 0x40]
call fcn.140298600
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x140153868
mov qword [rsp + 0x38], r15
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1401e9030
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.Installer
mov rcx, qword [rsp + 0x30]
call fcn.14029b4d8
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1401ea290
nop
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140153754
mov qword [rsp + 0x58], r15
test edi, edi
jne 0x14015376e
mov qword [rsp + 0x50], r12
jmp 0x140153794
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1401e9030
movsxd r9, edi
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.14029b4d8
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1401ea290
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d1690
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400d1690
nop
cmp dword [rsp + 0x78], 0
jle 0x1401537da
mov rcx, qword [rsp + 0x70]
call fcn.140298600
nop
cmp dword [rsp + 0x58], 0
jle 0x1401537ec
mov rcx, qword [rsp + 0x50]
call fcn.140298600
nop
cmp dword [rsp + 0x38], 0
jle 0x1401537fd
mov rcx, qword [rsp + 0x30]
call fcn.140298600
mov qword [rsp + 0x68], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x140153811
mov qword [rsp + 0x60], r12
jmp 0x14015383c
lea rcx, [rsp + 0x60]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.1401ea290
mov r8d, r14d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1401542b0
nop
cmp dword [rsp + 0x48], 0
jle 0x140153868
mov rcx, qword [rsp + 0x40]
call fcn.140298600
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
call fcn.14000a210
mov qword [rbp - 0x80], rax
lea rdx, [rbp - 0x80]
movzx ecx, word [rbp - 0x50]
call fcn.140153b10
test al, al
je 0x1401539ec
mov r9d, dword [rbp - 0x64]
add r9d, 0xfffffffe
mov r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.1401eb1b0
nop
mov r8, rax
lea rdx, [0x1403324e0]
lea rcx, [rsp + 0x60]
call fcn.1401e7ba0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401538d1
mov rcx, qword [rsp + 0x70]
call fcn.140298600
mov r8, r12
lea rdx, [0x14032bd2c]
lea rcx, [rsp + 0x60]
call fcn.1401ea660
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1401539db
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400d1690
nop
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x5c]
test edx, edx
jne 0x140153928
mov qword [rsp + 0x30], r12
jmp 0x140153953
lea rcx, [rsp + 0x30]
call fcn.1401e9030
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.14029b4d8
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.1401ea290
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401542b0
nop
cmp dword [rsp + 0x58], 0
jle 0x14015397f
mov rcx, qword [rsp + 0x50]
call fcn.140298600
cmp byte [rbx + 0x19], 0
jne 0x1401539ce
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x1401539ae
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x1401539ce
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1401539a0
jmp 0x1401539ce
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x1401539cb
cmp rbx, qword [rax + 0x10]
jne 0x1401539cb
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x1401539b8
mov rbx, rax
mov rdi, qword [rbp - 0x80]
cmp rbx, rdi
jne 0x140153900
cmp dword [rsp + 0x68], 0
jle 0x1401539f0
mov rcx, qword [rsp + 0x60]
call fcn.140298600
mov rdi, qword [rbp - 0x80]
mov r14b, 1
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x140153a5d
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140153a44
nop dword [rax + rax]
mov rdx, qword [rbx + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14000a110
mov rbx, qword [rbx]
cmp dword [rsi + 0x28], 0
jle 0x140153a2f
mov rcx, qword [rsi + 0x20]
call fcn.140298600
mov rcx, rsi
call fcn.1402012c0
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140153a10
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 0x140153ac9
cmp rbx, rdi
je 0x140153acd
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x140153ab6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140153a8f
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140153ab6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140153a81
jmp 0x140153ab6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140153ab3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140153ab3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140153aa0
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140008cf0
cmp rbx, rdi
jne 0x140153a62
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call fcn.1402012c0
nop
cmp dword [rbp - 0x68], 0
jle 0x140153ae5
mov rcx, qword [rbp - 0x70]
call fcn.140298600
movzx eax, r14b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140297ff0
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret