Function at 0x140162300
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 [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r14d, edx
mov rsi, rcx
lea r12, [0x14034d1a0]
mov qword [rbp - 0x70], r12
xor r15d, r15d
mov qword [rbp - 0x68], r15
mov rdx, r8
lea rcx, [rbp - 0x70]
call fcn.1401620d0
test al, al
jne 0x140162363
xor r14b, r14b
jmp 0x140162c16
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 0x140162835
lea rax, [rbp - 0x50]
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140162391
mov qword [rsp + 0x68], r15
test ebx, ebx
jne 0x1401623ab
mov qword [rsp + 0x60], r12
jmp 0x1401623d1
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140203bb0
nop
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400d4050
nop
cmp dword [rsp + 0x68], 0
jle 0x140162403
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x140162417
mov qword [rsp + 0x30], r12
jmp 0x140162442
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401633f0
mov qword [rsp + 0x38], r15
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401624b0
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x1401624ca
mov qword [rsp + 0x50], r12
jmp 0x1401624f0
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
cmp dword [rsp + 0x78], 0
jle 0x14016255b
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14016256d
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x14016257e
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401625da
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x1401625ee
mov qword [rsp + 0x30], r12
jmp 0x140162619
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401633f0
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 0x140162824
mov qword [rsp + 0x38], r15
lea edx, [rax + 0x16]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 0x16
lea r8, str.GoogleDesktopInstall
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 0x16
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea rax, [rbp - 0x50]
mov rbx, rdi
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401626a0
mov qword [rsp + 0x58], r15
test ebx, ebx
jne 0x1401626ba
mov qword [rsp + 0x50], r12
jmp 0x1401626e0
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
cmp dword [rsp + 0x78], 0
jle 0x14016274b
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14016275d
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x14016276e
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x40]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x40]
call fcn.140203bb0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401627ca
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x1401627de
mov qword [rsp + 0x30], r12
jmp 0x140162809
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401633f0
nop
cmp dword [rsp + 0x48], 0
jle 0x140162835
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x1401629a8
mov qword [rsp + 0x38], r15
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.1402028a0
mov eax, dword [rsp + 0x38]
inc eax
movsxd rdx, eax
mov r9d, 9
lea r8, str.Installer
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
lea rax, [rbp - 0x50]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140162894
mov qword [rsp + 0x58], r15
test edi, edi
jne 0x1401628ae
mov qword [rsp + 0x50], r12
jmp 0x1401628d4
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.1402028a0
movsxd r9, edi
mov eax, dword [rsp + 0x58]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x50]
call fcn.1402c06dc
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140203bb0
nop
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400d4050
nop
lea r8, [rbp - 0x70]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400d4050
nop
cmp dword [rsp + 0x78], 0
jle 0x14016291a
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x58], 0
jle 0x14016292c
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x38], 0
jle 0x14016293d
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov qword [rsp + 0x68], r15
mov edx, dword [rsp + 0x4c]
test edx, edx
jne 0x140162951
mov qword [rsp + 0x60], r12
jmp 0x14016297c
lea rcx, [rsp + 0x60]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x4c]
lea rcx, [rsp + 0x60]
call fcn.140203bb0
mov r8d, r14d
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.1401633f0
nop
cmp dword [rsp + 0x48], 0
jle 0x1401629a8
mov rcx, qword [rsp + 0x40]
call fcn.1402bd0e0
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.140162c50
test al, al
je 0x140162b2c
mov r9d, dword [rbp - 0x64]
add r9d, 0xfffffffe
mov r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140204ad0
nop
mov r8, rax
lea rdx, [0x14035c6ec]
lea rcx, [rsp + 0x60]
call fcn.140201410
nop
cmp dword [rsp + 0x78], 0
jle 0x140162a11
mov rcx, qword [rsp + 0x70]
call fcn.1402bd0e0
mov r8, r12
lea rdx, [0x140354db0]
lea rcx, [rsp + 0x60]
call fcn.140203f80
mov rdi, qword [rbp - 0x80]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x140162b1b
nop word [rax + rax]
lea rdx, [rbx + 0x20]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400d4050
nop
mov qword [rsp + 0x38], r15
mov edx, dword [rsp + 0x5c]
test edx, edx
jne 0x140162a68
mov qword [rsp + 0x30], r12
jmp 0x140162a93
lea rcx, [rsp + 0x30]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rsp + 0x5c]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
mov r8d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1401633f0
nop
cmp dword [rsp + 0x58], 0
jle 0x140162abf
mov rcx, qword [rsp + 0x50]
call fcn.1402bd0e0
cmp byte [rbx + 0x19], 0
jne 0x140162b0e
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140162aee
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140162b0e
nop dword [rax + rax]
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140162ae0
jmp 0x140162b0e
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140162b0b
cmp rbx, qword [rax + 0x10]
jne 0x140162b0b
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140162af8
mov rbx, rax
mov rdi, qword [rbp - 0x80]
cmp rbx, rdi
jne 0x140162a40
cmp dword [rsp + 0x68], 0
jle 0x140162b30
mov rcx, qword [rsp + 0x60]
call fcn.1402bd0e0
mov rdi, qword [rbp - 0x80]
mov r14b, 1
mov rbx, qword [rdi]
cmp rbx, rbx
jne 0x140162b9d
mov rsi, qword [rdi + 8]
mov rbx, rsi
cmp byte [rsi + 0x19], 0
jne 0x140162b84
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 0x140162b6f
mov rcx, qword [rsi + 0x20]
call fcn.1402bd0e0
mov rcx, rsi
call fcn.14021ae20
mov rsi, rbx
cmp byte [rbx + 0x19], 0
je 0x140162b50
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 0x140162c09
cmp rbx, rdi
je 0x140162c0d
mov r8, rbx
cmp byte [rbx + 0x19], 0
jne 0x140162bf6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
jne 0x140162bcf
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
jne 0x140162bf6
mov rbx, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x140162bc1
jmp 0x140162bf6
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140162bf3
nop dword [rax]
cmp rbx, qword [rax + 0x10]
jne 0x140162bf3
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140162be0
mov rbx, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x80]
call fcn.140008e20
cmp rbx, rdi
jne 0x140162ba2
mov rdi, qword [rbp - 0x80]
mov rcx, rdi
call fcn.14021ae20
nop
cmp dword [rbp - 0x68], 0
jle 0x140162c25
mov rcx, qword [rbp - 0x70]
call fcn.1402bd0e0
movzx eax, r14b
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x2d0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret