Function at 0x18006e600
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1800fb008]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov ecx, 0x10
call fcn.180088680
mov qword [rbp - 0x18], rax
xor r14d, r14d
test rax, rax
je 0x18006e655
mov rcx, rax
call fcn.1800082d0
mov rbx, rax
jmp 0x18006e658
mov rbx, r14
mov qword [rbp - 0x40], rbx
mov qword [rbp - 0x28], r14
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
mov r8d, 0x34
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
lea rcx, [rbp - 0x38]
call fcn.180003940
nop
mov qword [rbp - 0x48], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e71e
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e71e
mov r9d, dword [rbx]
or r9d, 0x20019
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, 0xffffffff80000002
call rax
test eax, eax
jne 0x18006e71e
mov r9, rdi
mov r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
call fcn.18006e950
mov rbx, qword [rbp - 0x40]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e71e
lea rdx, str.RegCloseKey
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e71e
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18006e71e
call rax
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x48], r14
mov edx, 0x20019
lea rcx, [rbp - 0x18]
call fcn.18002ca20
mov rsi, rax
mov qword [rbp - 0x48], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e7c2
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e7c2
test rsi, rsi
je 0x18006e7c2
mov r9d, dword [rbx]
or r9d, 0x20019
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
call rax
test eax, eax
jne 0x18006e7c2
mov r9, rdi
mov r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
call fcn.18006e950
mov rbx, qword [rbp - 0x40]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e7c2
lea rdx, str.RegCloseKey
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e7c2
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18006e7c2
call rax
mov dword [rbx], 0x200
mov qword [rbp - 0x48], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e852
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e852
mov r9d, dword [rbx]
or r9d, 0x20019
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea r8, [rbp - 0x48]
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov rcx, 0xffffffff80000002
call rax
test eax, eax
jne 0x18006e852
mov r9, rdi
mov r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
call fcn.18006e950
mov rbx, qword [rbp - 0x40]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e852
lea rdx, str.RegCloseKey
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e852
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18006e852
call rax
mov qword [rbp - 0x48], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e8e5
lea rdx, str.RegOpenKeyExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e8e5
test rsi, rsi
je 0x18006e8e5
mov r9d, dword [rbx]
or r9d, 0x20019
lea rdx, [rbp - 0x38]
cmp qword [rbp - 0x20], 8
cmovae rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, rsi
call rax
test eax, eax
jne 0x18006e8e5
mov r9, rdi
mov r8, qword [rbp - 0x48]
lea rdx, [rbp - 0x40]
call fcn.18006e950
mov rbx, qword [rbp - 0x40]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x18006e8e5
lea rdx, str.RegCloseKey
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x18006e8e5
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x18006e8e5
call rax
mov qword [rbp - 0x48], r14
cmp qword [rbp - 0x18], 0
je 0x18006e8f6
lea rcx, [rbp - 0x18]
call fcn.18002cbb0
nop
cmp qword [rbp - 0x20], 8
jb 0x18006e906
mov rcx, qword [rbp - 0x38]
call fcn.18008861c
mov qword [rbp - 0x20], 7
mov qword [rbp - 0x28], r14
mov word [rbp - 0x38], r14w
mov rcx, rbx
call fcn.18008861c
mov qword [rbp - 0x40], r14
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180087ea0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret