Function at 0x140008e60
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, [0x140029010]
lea rcx, [0x140029020]
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 0x140008f0d
test r15, r15
je 0x140008edf
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400193c0
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 0x140008f38
mov rax, rbx
or rax, rsi
je 0x140008f38
test rbx, rbx
cmovne rsi, rbx
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140009330
jmp 0x140008f59
movaps xmm0, xmmword [0x14002e720]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
call fcn.140009420
mov edi, eax
test eax, eax
jns 0x140008f8c
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x78], 0
test r12, r12
je 0x140008ed1
mov rcx, r12
call fcn.14000e3a4
test r15, r15
jne 0x140008ed6
jmp 0x140008edf
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call fcn.1400174c8
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.140009520
mov edi, 0x80004005
cmp qword [rsp + 0xa0], r14
jne 0x1400090d4
movaps xmmword [rsp + 0x60], xmm6
test r13, r13
jne 0x1400090fb
test ebp, ebp
jne 0x14000903c
mov r9d, dword [rsp + 0x140]
cmp qword [rsp + 0x60], 0
je 0x14000901f
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
mov r8b, 1
jmp 0x14000902d
lea rcx, [rsp + 0xa0]
mov rdx, rcx
xor r8d, r8d
call fcn.140009640
mov edi, eax
test eax, eax
js 0x1400090bc
mov rax, qword [rsp + 0x148]
test r13, r13
je 0x140009072
cmp qword [rsp + 0x60], 0
je 0x14000909c
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400090a3
call fcn.1400174c8
mov qword [rsp + 0x60], rax
jmp 0x1400090ba
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov qword [rsp + 0xa8], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400090ae
call fcn.1400174c8
mov qword [rsp + 0xa0], rax
jmp 0x1400090ba
mov edi, 0x80004005
jmp 0x1400090bc
mov qword [rsp + 0x60], 0
jmp 0x1400090ba
mov qword [rsp + 0xa0], 0
xor edi, edi
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
test rcx, rcx
je 0x1400090d4
call fcn.14000e3a4
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
test rcx, rcx
je 0x140008f64
call fcn.14000e3a4
jmp 0x140008f64
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.1400095a0
cmp qword [rsp + 0x40], 0
je 0x14000927a
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 0x1400091d6
mov ebx, dword [rsp + 0x90]
add rbx, rbx
mov rcx, rbx
call fcn.14000e39c
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14000ff90
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 0x1400091d8
jmp 0x140009297
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 0x14000927a
mov esi, dword [rsp + 0x90]
add rsi, rsi
mov rcx, rsi
call fcn.14000e39c
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.14000ff90
mov qword [rsp + 0x58], rbx
test rdi, rdi
je 0x140009240
mov rcx, rdi
call fcn.14000e3a4
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 0x140009297
cmp ebp, 1
sete r8b
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.140008d20
test eax, eax
js 0x1400092e1
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [str.updates]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, rbx
call fcn.1400174c8
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.140009520
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x1400092f9
call fcn.14000e3a4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
test rcx, rcx
je 0x140008ff9
call fcn.14000e3a4
test ebp, ebp
jne 0x14000903c
jmp 0x140008ffd