Function at 0x140007f90
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov ebp, r9d
mov rsi, r8
mov rbx, rdx
mov r13, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
test r9d, r9d
lea rax, [0x140029038]
lea rcx, [0x140029048]
cmove rcx, rax
lea r9, [rsp + 0x88]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
mov r15, qword [rsp + 0x88]
test eax, eax
jns 0x14000803d
test r15, r15
je 0x14000800f
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140019770
mov eax, edi
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xorps xmm0, xmm0
movaps xmmword [rsp + 0x70], xmm0
cmp ebp, 1
jne 0x140008068
mov rax, rbx
or rax, rsi
je 0x140008068
test rbx, rbx
cmovne rsi, rbx
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140008460
jmp 0x140008089
movaps xmm0, xmmword [0x14002e710]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
call fcn.140008550
mov edi, eax
test eax, eax
jns 0x1400080bc
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x78], 0
test r12, r12
je 0x140008001
mov rcx, r12
call fcn.14000e730
test r15, r15
jne 0x140008006
jmp 0x14000800f
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call fcn.14001787c
mov rcx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
lea r14, [rax + rcx]
add r14, 1
mov qword [rsp + 0x20], r12
lea r8, [0x140030fa4]
lea rcx, [rsp + 0xa0]
mov rdx, r14
mov r9, rsi
call fcn.140008650
mov edi, 0x80004005
cmp qword [rsp + 0xa0], r14
jne 0x140008204
movaps xmmword [rsp + 0x60], xmm6
test r13, r13
jne 0x14000822b
test ebp, ebp
jne 0x14000816c
mov r9d, dword [rsp + 0x140]
cmp qword [rsp + 0x60], 0
je 0x14000814f
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
mov r8b, 1
jmp 0x14000815d
lea rcx, [rsp + 0xa0]
mov rdx, rcx
xor r8d, r8d
call fcn.140008770
mov edi, eax
test eax, eax
js 0x1400081ec
mov rax, qword [rsp + 0x148]
test r13, r13
je 0x1400081a2
cmp qword [rsp + 0x60], 0
je 0x1400081cc
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400081d3
call fcn.14001787c
mov qword [rsp + 0x60], rax
jmp 0x1400081ea
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov qword [rsp + 0xa8], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400081de
call fcn.14001787c
mov qword [rsp + 0xa0], rax
jmp 0x1400081ea
mov edi, 0x80004005
jmp 0x1400081ec
mov qword [rsp + 0x60], 0
jmp 0x1400081ea
mov qword [rsp + 0xa0], 0
xor edi, edi
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
test rcx, rcx
je 0x140008204
call fcn.14000e730
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
test rcx, rcx
je 0x140008094
call fcn.14000e730
jmp 0x140008094
mov qword [rsp + 0x58], 0
test rbx, rbx
lea r8, [0x14002f0ff]
cmovne r8, rbx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
lea r9, [0x14002ea93]
lea rcx, [rsp + 0x40]
call fcn.1400086d0
cmp qword [rsp + 0x40], 0
je 0x1400083aa
mov rdx, qword [rsp + 0x48]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rdx
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140008306
mov ebx, dword [rsp + 0x90]
add rbx, rbx
mov rcx, rbx
call fcn.14000e728
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.140010350
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
mov rdx, qword [rsp + 0x38]
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rbx, rdi
test eax, eax
jne 0x140008308
jmp 0x1400083c7
xor edi, edi
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, 0xffffffff80000001
mov rdx, qword [rsp + 0x38]
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400083aa
mov esi, dword [rsp + 0x90]
add rsi, rsi
mov rcx, rsi
call fcn.14000e728
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.140010350
mov qword [rsp + 0x58], rbx
test rdi, rdi
je 0x140008370
mov rcx, rdi
call fcn.14000e730
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
mov rdx, qword [rsp + 0x38]
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400083c7
cmp ebp, 1
sete r8b
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.140007e60
test al, al
je 0x140008411
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [str.updates]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, rbx
call fcn.14001787c
lea rdx, [r14 + rax]
add rdx, 9
mov r9, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r8, str._s_s_s
lea rcx, [rsp + 0x60]
call fcn.140008650
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x140008429
call fcn.14000e730
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
test rcx, rcx
je 0x140008129
call fcn.14000e730
test ebp, ebp
jne 0x14000816c
jmp 0x14000812d