Function at 0x140007c30
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, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
mov r15d, r9d
mov rbp, r8
mov r14, rdx
mov rbx, rcx
mov rax, qword [0x140037010]
xor rax, rsp
mov qword [rsp + 0xa8], rax
test r9d, r9d
lea rax, [0x140028038]
lea rcx, [0x140028048]
cmove rcx, rax
lea rsi, [rsp + 0x78]
mov edx, 0x8000
xor r8d, r8d
mov r9, rsi
call sub.SHELL32.dll_SHGetKnownFolderPath
mov r12, qword [rsi]
test eax, eax
js 0x140007da9
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
cmp r15d, 1
jne 0x140007cb8
mov rax, r14
or rax, rbp
jne 0x1400080e3
movaps xmm0, xmmword [0x14002d730]
lea rdx, [rsp + 0x90]
movaps xmmword [rdx], xmm0
lea rcx, [rsp + 0x60]
call fcn.140008220
mov edi, eax
test eax, eax
js 0x140007db0
xorps xmm6, xmm6
lea rsi, [rsp + 0x90]
movaps xmmword [rsi], xmm6
mov rdi, qword [rsp + 0x78]
mov rcx, rdi
call fcn.14001725c
mov rcx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
lea rbp, [rax + rcx]
inc rbp
mov qword [rsp + 0x20], r13
lea r8, [0x14002ffc4]
mov rcx, rsi
mov rdx, rbp
mov r9, rdi
call fcn.140008340
mov edi, 0x80004005
cmp qword [rsi], rbp
jne 0x140008073
movaps xmmword [rsp + 0x50], xmm6
test rbx, rbx
je 0x140007f97
test r14, r14
lea r8, [0x14002e11f]
cmovne r8, r14
xorps xmm6, xmm6
lea rsi, [rsp + 0x40]
movaps xmmword [rsi], xmm6
lea r9, [0x14002dab3]
mov rcx, rsi
call fcn.140008460
cmp qword [rsi], 0
je 0x140007dba
mov rsi, qword [rsp + 0x48]
lea rdi, [rsp + 0x80]
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm6
mov rcx, 0xffffffff80000002
mov rdx, rsi
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140007dc2
xor r14d, r14d
xor ecx, ecx
jmp 0x140007e23
mov edi, eax
jmp 0x1400080a7
mov r13, qword [rsp + 0x68]
jmp 0x140008091
xor r14d, r14d
jmp 0x140007ebb
mov edi, dword [rsp + 0x80]
add rdi, rdi
mov rcx, rdi
call fcn.14000e284
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
lea rdi, [rsp + 0x80]
call fcn.14000feb0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
mov rdx, rsi
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rcx, r14
test eax, eax
je 0x140007f2f
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rdi
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov rcx, 0xffffffff80000001
mov rdx, rsi
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140007ebb
mov edi, dword [rsp + 0x80]
add rdi, rdi
mov rcx, rdi
call fcn.14000e284
mov r14, rax
mov rcx, rax
xor edx, edx
mov r8, rdi
call fcn.14000feb0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140007e83
call fcn.14000e28c
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
mov rdx, rsi
mov r8, rbx
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140007f2f
cmp word [rbx], 0
je 0x14000811b
xor eax, eax
lea rdx, [rax + 2]
cmp word [rbx + rax + 2], 0
mov rax, rdx
jne 0x140007ec7
mov rcx, rbx
call fcn.14000d3c0
mov rdi, rax
mov ecx, 0x22
call fcn.14000e284
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov word [rax + 0x20], 0
test r14, r14
jne 0x140008122
cmp r15d, 1
je 0x1400080fc
lea r8, str._llX
mov rcx, rsi
mov r9, rdi
call fcn.140007bb0
test eax, eax
jle 0x140007f77
cmp eax, 0x10
ja 0x140007f77
mov r14, rsi
movaps xmm0, xmmword [str.updates]
lea rsi, [rsp + 0x80]
movaps xmmword [rsi], xmm0
mov rcx, r14
call fcn.14001725c
lea rdx, [rax + rbp]
add rdx, 9
mov r9, qword [rsp + 0x98]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rsi
lea r8, str._s_s_s
lea rcx, [rsp + 0x50]
call fcn.140008340
mov rsi, r14
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x140007f8f
call fcn.14000e28c
mov rcx, rsi
call fcn.14000e28c
test r15d, r15d
jne 0x140007fdb
mov r9d, dword [rsp + 0x130]
cmp qword [rsp + 0x50], 0
je 0x140007fbe
lea rcx, [rsp + 0x90]
lea rdx, [rsp + 0x50]
mov r8b, 1
jmp 0x140007fcc
lea rcx, [rsp + 0x90]
mov rdx, rcx
xor r8d, r8d
call fcn.140008570
mov edi, eax
test eax, eax
js 0x14000805b
mov rax, qword [rsp + 0x138]
test rbx, rbx
je 0x140008011
cmp qword [rsp + 0x50], 0
je 0x14000803b
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rax]
mov qword [rsp + 0x58], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x140008042
call fcn.14001725c
mov qword [rsp + 0x50], rax
jmp 0x140008059
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rax]
mov qword [rsp + 0x98], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x14000804d
call fcn.14001725c
mov qword [rsp + 0x90], rax
jmp 0x140008059
mov edi, 0x80004005
jmp 0x14000805b
mov qword [rsp + 0x50], 0
jmp 0x140008059
mov qword [rsp + 0x90], 0
xor edi, edi
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
test rcx, rcx
je 0x140008073
call fcn.14000e28c
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0x98], 0
test rcx, rcx
je 0x140008091
call fcn.14000e28c
mov qword [rsp + 0x68], 0
test r13, r13
je 0x1400080a7
mov rcx, r13
call fcn.14000e28c
test r12, r12
je 0x1400080b5
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140019150
mov eax, edi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r14, r14
cmovne rbp, r14
lea rcx, [rsp + 0x60]
mov rdx, rbp
call fcn.140008130
jmp 0x140007cd4
mov r9, rdi
shr r9, 0x20
mov dword [rsp + 0x20], edi
lea r8, str._X_X
mov rcx, rsi
call fcn.140007bb0
jmp 0x140007f23
xor edx, edx
jmp 0x140007ed6
mov rcx, r14
call fcn.14000e28c
jmp 0x140007f07