Function at 0x14010e9c0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140293028]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r14, r8
mov rdi, rdx
mov edx, 0x23
lea rcx, [rsp + 0x30]
call fcn.14010e900
mov rbx, rax
xor r15d, r15d
cmp rdi, rax
je 0x14010ea30
mov rcx, rdi
call fcn.140010b20
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
nop dword [rax]
lea rcx, [rsp + 0x30]
call fcn.140010b20
mov edx, 0x25
lea rcx, [rsp + 0x30]
call fcn.14010e900
mov rbx, rax
lea rsi, [rdi + 0xe0]
cmp rsi, rax
je 0x14010ea80
mov rcx, rsi
call fcn.140010b20
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
nop
lea rcx, [rsp + 0x30]
call fcn.140010b20
mov edx, 0x24
lea rcx, [rsp + 0x30]
call fcn.14010e900
mov rbx, rax
lea rsi, [rdi + 0x120]
cmp rsi, rax
je 0x14010ead0
mov rcx, rsi
call fcn.140010b20
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
nop
lea rcx, [rsp + 0x30]
call fcn.140010b20
mov edx, 0x1c
lea rcx, [rsp + 0x30]
call fcn.14010e900
mov rbx, rax
lea rsi, [rdi + 0x140]
cmp rsi, rax
je 0x14010eb20
mov rcx, rsi
call fcn.140010b20
movups xmm0, xmmword [rbx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
nop
lea rcx, [rsp + 0x30]
call fcn.140010b20
movups xmm0, xmmword [0x1401f67e0]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rbp], r15
lea r9, [rbp]
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
jne 0x14010ef7a
mov rdx, qword [rbp]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14010eb63
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
lea rcx, [rsp + 0x70]
call fcn.14000b550
nop
mov rcx, qword [rbp]
test rcx, rcx
je 0x14010eb99
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x70]
call fcn.14001ee00
lea rcx, [rsp + 0x70]
call fcn.140010b20
lea rcx, [rsp + 0x30]
call fcn.14010e7f0
lea rcx, [rdi + 0x100]
mov rdx, rax
call fcn.14001ee00
lea rcx, [rsp + 0x30]
call fcn.140010b20
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x10], r15
lea rsi, vtable.RegistryAccess.0
mov qword [rbp + 8], rsi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14010ef99
lea rdx, str.ProgramFilesDir
lea rcx, [rbp + 8]
call fcn.140134b80
mov r9d, eax
lea r8, str.ProgramFilesDir
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 8]
call fcn.140134c10
lea rcx, [rdi + 0x20]
lea rdx, [rsp + 0x50]
call fcn.14001ee00
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14010ec6d
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000fd80
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp - 8], r15
mov qword [rbp - 0x10], rsi
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14010ef5b
lea rdx, str.ProgramFilesDir
lea rcx, [rbp - 0x10]
call fcn.140134b80
mov r9d, eax
lea r8, str.ProgramFilesDir
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140134c10
lea rcx, [rdi + 0x40]
lea rdx, [rsp + 0x50]
call fcn.14001ee00
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14010ecff
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.14000fd80
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
mov r8d, 0xa
lea rsi, str.AutoUpdate
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14000b550
nop
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.14010dfe0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.14000fcc0
nop
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.140009b70
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000fcc0
nop
lea rcx, [rbp - 0x70]
call fcn.140010b20
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x18]
call fcn.14000fcc0
nop
lea rcx, [rsp + 0x70]
call fcn.140010b20
nop
lea rcx, [rbp - 0x30]
call fcn.140010b20
nop
lea rcx, [rsp + 0x50]
call fcn.140010b20
test r14, r14
je 0x14010ede1
mov rax, qword [r14]
lea r9, [rbp + 0x18]
lea r8, str.Data_Path
lea rdx, [rsp + 0x30]
mov rcx, r14
mov rax, qword [rax + 0x50]
call qword [case.0x1400d90b6.0]
mov rdx, rax
lea rcx, [rdi + 0x80]
call fcn.14001ee00
lea rcx, [rsp + 0x30]
call fcn.140010b20
jmp 0x14010edf1
lea rdx, [rbp + 0x18]
lea rcx, [rdi + 0x80]
call fcn.14005a7f0
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xa
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x70]
call fcn.140017d70
nop
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.14010e080
nop
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.14000fcc0
nop
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140009b70
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000fcc0
nop
lea rcx, [rsp + 0x70]
call fcn.140010b20
lea rcx, [rdi + 0xa0]
lea rdx, [rsp + 0x30]
call fcn.14001ee00
lea rcx, [rsp + 0x30]
call fcn.140010b20
nop
lea rcx, [rbp - 0x50]
call fcn.140010b20
nop
lea rcx, [rbp - 0x70]
call fcn.140010b20
lea rdx, [rdi + 0xa0]
test r14, r14
je 0x14010eedd
mov rax, qword [r14]
mov rbx, qword [rax + 0x50]
lea rcx, [rsp + 0x30]
call fcn.14000fcc0
nop
lea r9, [rsp + 0x30]
lea r8, str.Installation_Path
lea rdx, [rbp - 0x50]
mov rcx, r14
mov rax, rbx
call qword [case.0x1400d90b6.0]
lea rcx, [rdi + 0xc0]
mov rdx, rax
call fcn.14001ee00
lea rcx, [rbp - 0x50]
call fcn.140010b20
nop
lea rcx, [rsp + 0x30]
call fcn.140010b20
jmp 0x14010eefd
lea rcx, [rdi + 0xc0]
cmp rcx, rdx
je 0x14010eefd
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x14010eef7
mov rdx, qword [rdx]
call fcn.14000b550
nop
lea rcx, [rbp + 0x18]
call fcn.140010b20
nop
lea rbx, vtable.RegistryHandle.0
mov qword [rbp - 0x10], rbx
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14010ef25
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 8], r15
mov qword [rbp + 8], rbx
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14010ef38
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140185380
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Failed_to_open_registry_key
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
nop
lea rdx, str.SHGetKnownFolderPath_failed
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.14010e8d0
nop
lea rdx, str.Failed_to_open_registry_key
lea rcx, [rsp + 0x30]
call fcn.140010040
nop
lea rdx, [rsp + 0x30]
mov ecx, ebx
call fcn.140030620
int3