Function at 0x1400093f0
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 [0x140037010]
xor rax, rsp
mov qword [rsp + 0xb8], rax
test r9d, r9d
lea rax, section..rdata
lea rcx, [0x140028010]
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 0x14000949d
test r15, r15
je 0x14000946f
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400192f0
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 0x1400094c8
mov rax, rbx
or rax, rsi
je 0x1400094c8
test rbx, rbx
cmovne rsi, rbx
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.1400098c0
jmp 0x1400094e9
movaps xmm0, xmmword [0x14002d710]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
call fcn.1400099b0
mov edi, eax
test eax, eax
jns 0x14000951c
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x78], 0
test r12, r12
je 0x140009461
mov rcx, r12
call fcn.14000e248
test r15, r15
jne 0x140009466
jmp 0x14000946f
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call fcn.1400173f8
mov rcx, qword [rsp + 0x70]
mov r12, qword [rsp + 0x78]
lea r14, [rax + rcx]
add r14, 1
mov qword [rsp + 0x20], r12
lea r8, [0x14002ff5a]
lea rcx, [rsp + 0xa0]
mov rdx, r14
mov r9, rsi
call fcn.140009ab0
mov edi, 0x80004005
cmp qword [rsp + 0xa0], r14
jne 0x140009664
movaps xmmword [rsp + 0x60], xmm6
test r13, r13
jne 0x14000968b
test ebp, ebp
jne 0x1400095cc
mov r9d, dword [rsp + 0x140]
cmp qword [rsp + 0x60], 0
je 0x1400095af
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
mov r8b, 1
jmp 0x1400095bd
lea rcx, [rsp + 0xa0]
mov rdx, rcx
xor r8d, r8d
call fcn.140009bd0
mov edi, eax
test eax, eax
js 0x14000964c
mov rax, qword [rsp + 0x148]
test r13, r13
je 0x140009602
cmp qword [rsp + 0x60], 0
je 0x14000962c
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x140009633
call fcn.1400173f8
mov qword [rsp + 0x60], rax
jmp 0x14000964a
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov qword [rsp + 0xa8], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x14000963e
call fcn.1400173f8
mov qword [rsp + 0xa0], rax
jmp 0x14000964a
mov edi, 0x80004005
jmp 0x14000964c
mov qword [rsp + 0x60], 0
jmp 0x14000964a
mov qword [rsp + 0xa0], 0
xor edi, edi
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
test rcx, rcx
je 0x140009664
call fcn.14000e248
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
test rcx, rcx
je 0x1400094f4
call fcn.14000e248
jmp 0x1400094f4
mov qword [rsp + 0x58], 0
test rbx, rbx
lea r8, [0x14002e0e7]
cmovne r8, rbx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x40], xmm6
lea r9, [0x14002da83]
lea rcx, [rsp + 0x40]
call fcn.140009b30
cmp qword [rsp + 0x40], 0
je 0x14000980a
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 0x140009766
mov ebx, dword [rsp + 0x90]
add rbx, rbx
mov rcx, rbx
call fcn.14000e240
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.14000fe30
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 0x140009768
jmp 0x140009827
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 0x14000980a
mov esi, dword [rsp + 0x90]
add rsi, rsi
mov rcx, rsi
call fcn.14000e240
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.14000fe30
mov qword [rsp + 0x58], rbx
test rdi, rdi
je 0x1400097d0
mov rcx, rdi
call fcn.14000e248
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 0x140009827
cmp ebp, 1
sete r8b
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.1400092d0
test eax, eax
js 0x140009871
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [str.updates]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, rbx
call fcn.1400173f8
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.140009ab0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x140009889
call fcn.14000e248
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
test rcx, rcx
je 0x140009589
call fcn.14000e248
test ebp, ebp
jne 0x1400095cc
jmp 0x14000958d