Function at 0x140008e10
Capabilities:
Check if file exists
Get installed programs
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x2a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403c6400]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
movdqa xmm0, xmmword [0x140369280]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
xor r8d, r8d
lea rdx, [0x140365718]
lea rcx, [rsp + 0x38]
call fcn.140003740
nop
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400055f0
mov dword [rsp + 0x30], 2
mov qword [rsp + 0x68], r15
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMacriumReflect
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, [r15 - 1]
test eax, eax
jne 0x140008f43
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.140268ee0
mov dword [rsp + 0x70], 0x104
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UninstallString
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140008f37
lea rax, [rbp - 0x80]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140008f20
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.140003740
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov dword [rsp + 0x30], 1
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140008f8d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140008f88
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000910e
call fcn.140004a20
mov rsi, qword [rbx + 0x10]
test rsi, rsi
je 0x1400090b5
mov r11, rbx
cmp qword [rbx + 0x18], 8
jb 0x140008fa7
mov r11, qword [rbx]
cmp rsi, 1
jb 0x1400090b5
lea rax, [rsi - 1]
cmp rax, 0xffffffffffffffff
cmovb rdi, rax
lea r9, [r11 + rdi*2]
lea rdi, [0x140368d48]
mov r10, r9
sub r10, rdi
nop
cmp word [r9], 0x5c
jne 0x140009009
mov ecx, 1
mov rax, rdi
mov edx, 0x5c
mov r8d, edx
cmp dx, r8w
ja 0x140009009
cmp rcx, 1
je 0x14000901c
dec rcx
add rax, 2
movzx edx, word [rax + r10]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140008feb
cmp r9, r11
je 0x1400090b5
sub r9, 2
sub r10, 2
jmp 0x140008fd0
sub r9, r11
sar r9, 1
cmp r9, 0xffffffffffffffff
je 0x1400090b5
movdqa xmm0, xmmword [0x140369280]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], r15w
lea r8, [r9 + 1]
cmp rsi, r8
cmovb r8, rsi
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140009058
mov rdx, qword [rbx]
lea rcx, [rsp + 0x38]
call fcn.140003740
mov dword [rsp + 0x30], 5
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14000ad60
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x1400090b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400090b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140009108
call fcn.140004a20
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400090c2
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400090de
xor r8d, r8d
lea rdx, [0x140365718]
mov rcx, rbx
call fcn.140003740
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140263a60
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret
call fcn.14026bb04
int3
call fcn.14026bb04
int3