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

Disassembly:
push rbp
mov rbp, rsp
lea rsp, [rsp - 0xa0]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r14
mov rbx, rcx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x30], 0
nop
movabs rcx, 0x400
call fcn.100c94d80
mov rsi, rax
mov rcx, rsi
mov edx, 0x400
call fcn.100ccb3d0
mov qword [rbp - 8], 0xffffffffffffffff
mov dword [rbp - 0x18], 0x400
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov r9d, 0x20019
mov r8d, 0
movabs rcx, 0xffffffff80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x100cbb425
mov r13d, 0
jmp 0x100cbb3d8
mov qword [rbp - 0x10], 0xffffffffffffffff
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, qword [rbp - 8]
mov r9d, 0x20019
mov r8d, 0
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x100cbb3d0
mov dword [rbp - 0x18], 0x400
movabs rdx, 0
lea rcx, [rbp - 0x28]
call fcn.100c8f4e0
mov qword [rsp + 0x20], rsi
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rdx, str.DisplayName
mov rcx, qword [rbp - 0x10]
movabs r8, 0
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x100cbb2ec
mov eax, dword [rbp - 0x18]
lea r14d, [eax - 1]
mov edi, 0
cmp r14d, edi
jl 0x100cbb2ec
sub edi, 1
add edi, 1
movsxd rax, edi
cmp word [rsi + rax*2], 0x20
je 0x100cbb2e7
movsxd rax, edi
movzx edx, word [rsi + rax*2]
lea rcx, [rbp - 0x30]
call fcn.100c8f880
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.100c8f590
cmp r14d, edi
jg 0x100cbb2b8
mov dword [rbp - 0x18], 0x400
mov qword [rsp + 0x20], rsi
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rdx, str.InstallLocation
mov rcx, qword [rbp - 0x10]
movabs r8, 0
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x100cbb3b3
movabs rdx, 0
mov rcx, qword [rbp - 0x28]
call fcn.100c8f920
test rax, rax
je 0x100cbb3b3
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.100c8f470
mov rcx, qword [rbp - 0x30]
movabs rdx, 0
call fcn.100c8f920
test rax, rax
je 0x100cbb3b3
lea rcx, [0x100e6fa80]
movabs rdx, 1
call fcn.100c92060
mov r12, rax
lea rcx, [r12 + 8]
mov rdx, qword [rbp - 0x28]
call fcn.100c8f4e0
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.100c8f470
mov rdx, qword [rbp - 0x30]
lea rcx, [r12 + 0x10]
call fcn.100c8f4e0
mov rcx, qword [rbx + 0x9a8]
mov rdx, r12
call fcn.100ccf4b0
mov rcx, rsi
mov edx, 0x3ff
call fcn.100ccb3d0
mov rcx, qword [rbp - 0x10]
call sub.advapi32.dll_RegCloseKey
mov dword [rbp - 0x18], 0x400
lea eax, [r13d + 1]
mov r13d, eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x18]
mov r8, rsi
mov edx, r13d
mov rcx, qword [rbp - 8]
call sub.advapi32.dll_RegEnumKeyExW
cmp eax, 0x103
jne 0x100cbb228
mov rcx, qword [rbp - 8]
call sub.advapi32.dll_RegCloseKey
jmp 0x100cbb43a
lea rdx, [0x100e7281c]
mov rcx, rbx
mov r8d, 1
call fcn.100cb52e0
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov r9d, 0x20219
mov r8d, 0
movabs rcx, 0xffffffff80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x100cbb6b1
mov r13d, 0
jmp 0x100cbb664
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, qword [rbp - 8]
mov r9d, 0x20219
mov r8d, 0
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x100cbb65c
mov dword [rbp - 0x18], 0x400
movabs rdx, 0
lea rcx, [rbp - 0x28]
call fcn.100c8f4e0
mov qword [rsp + 0x20], rsi
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rdx, str.DisplayName
mov rcx, qword [rbp - 0x10]
movabs r8, 0
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x100cbb534
mov eax, dword [rbp - 0x18]
lea r14d, [eax - 1]
mov edi, 0
cmp r14d, edi
jl 0x100cbb534
sub edi, 1
add edi, 1
movsxd rax, edi
cmp word [rsi + rax*2], 0x20
je 0x100cbb52f
movsxd rax, edi
movzx edx, word [rsi + rax*2]
lea rcx, [rbp - 0x30]
call fcn.100c8f880
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.100c8f590
cmp r14d, edi
jg 0x100cbb500
mov dword [rbp - 0x18], 0x400
mov qword [rsp + 0x20], rsi
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x20]
lea rdx, str.InstallLocation
mov rcx, qword [rbp - 0x10]
movabs r8, 0
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x100cbb63f
movabs rdx, 0
mov rcx, qword [rbp - 0x28]
call fcn.100c8f920
test rax, rax
je 0x100cbb63f
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.100c8f470
mov rcx, qword [rbp - 0x30]
movabs rdx, 0
call fcn.100c8f920
test rax, rax
je 0x100cbb63f
movabs rdx, 0
mov rcx, qword [rbp - 0x28]
call fcn.100c8f920
test rax, rax
je 0x100cbb63f
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.100c8f470
mov rcx, qword [rbp - 0x30]
movabs rdx, 0
call fcn.100c8f920
test rax, rax
je 0x100cbb63f
lea rcx, [0x100e6fa80]
movabs rdx, 1
call fcn.100c92060
mov r12, rax
lea rcx, [r12 + 8]
mov rdx, qword [rbp - 0x28]
call fcn.100c8f4e0
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.100c8f470
mov rdx, qword [rbp - 0x30]
lea rcx, [r12 + 0x10]
call fcn.100c8f4e0
mov rcx, qword [rbx + 0x9a8]
mov rdx, r12
call fcn.100ccf4b0
mov rcx, rsi
mov edx, 0x3ff
call fcn.100ccb3d0
mov rcx, qword [rbp - 0x10]
call sub.advapi32.dll_RegCloseKey
mov dword [rbp - 0x18], 0x400
lea eax, [r13d + 1]
mov r13d, eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x18]
mov r8, rsi
mov edx, r13d
mov rcx, qword [rbp - 8]
call sub.advapi32.dll_RegEnumKeyExW
cmp eax, 0x103
jne 0x100cbb478
mov rcx, qword [rbp - 8]
call sub.advapi32.dll_RegCloseKey
jmp 0x100cbb6c6
lea rdx, [0x100e7281c]
mov rcx, rbx
mov r8d, 1
call fcn.100cb52e0
mov rcx, rsi
call fcn.100c94d60
nop
mov rcx, rbp
call fcn.100cbb150
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x58]
mov rsi, qword [rbp - 0x50]
mov r12, qword [rbp - 0x48]
mov r13, qword [rbp - 0x40]
mov r14, qword [rbp - 0x38]
lea rsp, [rbp]
pop rbp
ret