Function at 0x140009080
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 0x14000912d
test r15, r15
je 0x1400090ff
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0xb8]
xor rcx, rsp
call fcn.1400195d0
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 + 0x60], xmm0
cmp ebp, 1
jne 0x140009158
mov rax, rbx
or rax, rsi
je 0x140009158
test rbx, rbx
cmovne rsi, rbx
lea rcx, [rsp + 0x60]
mov rdx, rsi
call fcn.140009550
jmp 0x140009179
movaps xmm0, xmmword [0x14002e720]
movaps xmmword [rsp + 0xa0], xmm0
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0xa0]
call fcn.140009640
mov edi, eax
test eax, eax
jns 0x1400091ac
mov r12, qword [rsp + 0x68]
mov qword [rsp + 0x68], 0
test r12, r12
je 0x1400090f1
mov rcx, r12
call fcn.14000e5b4
test r15, r15
jne 0x1400090f6
jmp 0x1400090ff
xorps xmm6, xmm6
movaps xmmword [rsp + 0xa0], xmm6
mov rsi, qword [rsp + 0x88]
mov rcx, rsi
call fcn.1400176d8
mov rcx, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
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.140009740
mov edi, 0x80004005
cmp qword [rsp + 0xa0], r14
jne 0x1400092f4
movaps xmmword [rsp + 0x40], xmm6
test r13, r13
jne 0x14000931b
test ebp, ebp
jne 0x14000925c
mov r9d, dword [rsp + 0x140]
cmp qword [rsp + 0x40], 0
je 0x14000923f
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0x40]
mov r8b, 1
jmp 0x14000924d
lea rcx, [rsp + 0xa0]
mov rdx, rcx
xor r8d, r8d
call fcn.140009860
mov edi, eax
test eax, eax
js 0x1400092dc
mov rax, qword [rsp + 0x148]
test r13, r13
je 0x140009292
cmp qword [rsp + 0x40], 0
je 0x1400092bc
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rax]
mov qword [rsp + 0x48], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400092c3
call fcn.1400176d8
mov qword [rsp + 0x40], rax
jmp 0x1400092da
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rax]
mov qword [rsp + 0xa8], rcx
mov qword [rax], rdx
test rcx, rcx
je 0x1400092ce
call fcn.1400176d8
mov qword [rsp + 0xa0], rax
jmp 0x1400092da
mov edi, 0x80004005
jmp 0x1400092dc
mov qword [rsp + 0x40], 0
jmp 0x1400092da
mov qword [rsp + 0xa0], 0
xor edi, edi
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x48], 0
test rcx, rcx
je 0x1400092f4
call fcn.14000e5b4
mov rcx, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], 0
test rcx, rcx
je 0x140009184
call fcn.14000e5b4
jmp 0x140009184
mov qword [rsp + 0x38], 0
test rbx, rbx
lea r8, [0x14002f0ff]
cmovne r8, rbx
xorps xmm6, xmm6
movaps xmmword [rsp + 0x70], xmm6
lea r9, [0x14002ea93]
lea rcx, [rsp + 0x70]
call fcn.1400097c0
cmp qword [rsp + 0x70], 0
je 0x14000949a
mov rdx, qword [rsp + 0x78]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm6
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x58], rdx
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400093f6
mov ebx, dword [rsp + 0x90]
add rbx, rbx
mov rcx, rbx
call fcn.14000e5ac
mov rdi, rax
mov rcx, rax
xor edx, edx
mov r8, rbx
call fcn.1400101a0
mov qword [rsp + 0x38], 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 + 0x58]
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov rbx, rdi
test eax, eax
jne 0x1400093f8
jmp 0x1400094b7
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 + 0x58]
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x14000949a
mov esi, dword [rsp + 0x90]
add rsi, rsi
mov rcx, rsi
call fcn.14000e5ac
mov rbx, rax
mov rcx, rax
xor edx, edx
mov r8, rsi
call fcn.1400101a0
mov qword [rsp + 0x38], rbx
test rdi, rdi
je 0x140009460
mov rcx, rdi
call fcn.14000e5b4
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 + 0x58]
mov r8, r13
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400094b7
cmp ebp, 1
sete r8b
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.140008f60
test eax, eax
js 0x140009501
mov rbx, qword [rsp + 0x38]
movaps xmm0, xmmword [str.updates]
movaps xmmword [rsp + 0x90], xmm0
mov rcx, rbx
call fcn.1400176d8
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 + 0x40]
call fcn.140009740
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x78], 0
test rcx, rcx
je 0x140009519
call fcn.14000e5b4
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x140009219
call fcn.14000e5b4
test ebp, ebp
jne 0x14000925c
jmp 0x14000921d