Function at 0x14000c330
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x690]
sub rsp, 0x790
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x7d0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x680], rax
xor r14d, r14d
mov esi, r14d
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1400057d0
nop
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c6b0
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x50]
call fcn.14003da30
mov dword [rsp + 0x6c], 0x104
mov dword [rsp + 0x60], r14d
lea rax, [rbp - 0x60]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x6c]
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [rsp + 0x64]
add ecx, 0xa
mov eax, 2
mul rcx
mov r15, 0xffffffffffffffff
cmovo rax, r15
mov rcx, rax
call fcn.14003a944
mov rbx, rax
mov edi, r14d
cmp dword [rsp + 0x60], r14d
jbe 0x14000c6a5
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rsp + 0x64]
add ecx, 2
mov dword [rsp + 0x68], ecx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
mov r8, rbx
mov edx, edi
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000c699
cmp dword [rsp + 0x68], eax
jbe 0x14000c699
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r14
mov word [rbp - 0x30], r14w
cmp word [rbx], ax
jne 0x14000c4d4
mov r8, r14
jmp 0x14000c4eb
mov r8, r15
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14000c4e0
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140003a80
nop
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
mov r8d, 1
lea rdx, [0x14007afa8]
lea rcx, [rbp - 0x50]
call fcn.140003a80
nop
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x10]
call fcn.14000e280
nop
lea r8, [rbp - 0x30]
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.140004ba0
nop
mov r8, qword [rbp + 0x28]
cmp r8, 8
jb 0x14000c55d
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140003ec0
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r14
mov word [rbp + 0x10], r14w
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14000c588
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140003ec0
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r14
mov word [rbp - 0x50], r14w
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14000c5b3
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.140003ec0
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c67f
mov dword [rsp + 0x70], 0x208
mov dword [rsp + 0x74], 0x208
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x260]
call fcn.14003da30
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x260]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UninstallerPath
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c674
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x470]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.UninstallerArgs
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c674
inc rsi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8, qword [rbp + 0x48]
cmp r8, 8
jb 0x14000c699
inc r8
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140003ec0
inc edi
cmp edi, dword [rsp + 0x60]
jb 0x14000c470
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x14000c6ca
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.140003ec0
mov rax, rsi
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.14003a3d0
mov rbx, qword [rsp + 0x7d0]
add rsp, 0x790
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret