Function at 0x1400090a0
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 0x14000914d
test r15, r15
je 0x14000911f
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.140019600
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 0x140009178
mov rax, rbx
or rax, rsi
je 0x140009178
test rbx, rbx
cmovne rsi, rbx
lea rcx, [rsp + 0x70]
mov rdx, rsi
call fcn.140009570
jmp 0x140009199
movaps xmm0, xmmword [0x14002e720]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0xa0]
call fcn.140009660
mov edi, eax
test eax, eax
jns 0x1400091cc
mov r12, qword [rsp + 0x78]
mov qword [rsp + 0x78], 0
test r12, r12
je 0x140009111
mov rcx, r12
call fcn.14000e5e4
test r15, r15
jne 0x140009116
jmp 0x14000911f
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call fcn.140017708
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.140009760
mov edi, 0x80004005
cmp qword [rsp + 0xa0], r14
jne 0x140009314
movaps xmmword [rsp + 0x60], xmm6
test r13, r13
jne 0x14000933b
test ebp, ebp
jne 0x14000927c
mov r9d, dword [rsp + 0x140]
cmp qword [rsp + 0x60], 0
je 0x14000925f
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x60]
mov r8b, 1
jmp 0x14000926d
lea rcx, [rsp + 0xa0]
mov rdx, rcx
xor r8d, r8d
call fcn.140009880
mov edi, eax
test eax, eax
js 0x1400092fc
mov rax, qword [rsp + 0x148]
test r13, r13
je 0x1400092b2
cmp qword [rsp + 0x60], 0
je 0x1400092dc
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rax]
mov qword [rsp + 0x68], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400092e3
call fcn.140017708
mov qword [rsp + 0x60], rax
jmp 0x1400092fa
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov qword [rsp + 0xa8], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400092ee
call fcn.140017708
mov qword [rsp + 0xa0], rax
jmp 0x1400092fa
mov edi, 0x80004005
jmp 0x1400092fc
mov qword [rsp + 0x60], 0
jmp 0x1400092fa
mov qword [rsp + 0xa0], 0
xor edi, edi
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
test rcx, rcx
je 0x140009314
call fcn.14000e5e4
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
test rcx, rcx
je 0x1400091a4
call fcn.14000e5e4
jmp 0x1400091a4
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.1400097e0
cmp qword [rsp + 0x40], 0
je 0x1400094ba
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 0x140009416
mov ebx, dword [rsp + 0x90]
add rbx, rbx
mov rcx, rbx
call fcn.14000e5dc
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.1400101d0
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 0x140009418
jmp 0x1400094d7
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 0x1400094ba
mov esi, dword [rsp + 0x90]
add rsi, rsi
mov rcx, rsi
call fcn.14000e5dc
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.1400101d0
mov qword [rsp + 0x58], rbx
test rdi, rdi
je 0x140009480
mov rcx, rdi
call fcn.14000e5e4
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 0x1400094d7
cmp ebp, 1
sete r8b
lea rdx, [rsp + 0x58]
mov rcx, r13
call fcn.140008f60
test eax, eax
js 0x140009521
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [str.updates]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, rbx
call fcn.140017708
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.140009760
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x140009539
call fcn.14000e5e4
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], 0
test rcx, rcx
je 0x140009239
call fcn.14000e5e4
test ebp, ebp
jne 0x14000927c
jmp 0x14000923d