Function at 0x14000f6a0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x14007a6a0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, r8
mov rdi, rdx
mov qword [rbp - 0x68], rdx
mov r12, rcx
mov qword [rbp - 0x70], rcx
call fcn.1400179f4
mov rcx, rax
test rax, rax
je 0x14000fbde
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rdx, str.TypeLib_
lea rcx, [rsp + 0x58]
call fcn.140003140
mov rsi, 0xffffffffffffffff
xor r15d, r15d
test rdi, rdi
jne 0x14000f72c
mov eax, r15d
jmp 0x14000f73a
mov rax, rsi
nop
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14000f730
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.140002920
mov r13d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
call fcn.1400179f4
mov rcx, rax
test rax, rax
je 0x14000fbc8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140001f80
test al, al
jne 0x14000f7ae
test rbx, rbx
jne 0x14000f790
mov eax, r15d
jmp 0x14000f79d
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000f793
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140002300
nop
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 0x10], 0
jle 0x14000f8b7
mov edx, 0x2e
mov rcx, rbx
call fcn.140037e10
mov rdi, rax
test rax, rax
je 0x14000f8b7
sub rdi, rbx
sar rdi, 1
cmp edi, 1
jl 0x14000f8b7
mov r14d, r15d
test edi, edi
cmovns r14d, edi
cmp r14d, dword [rbx - 0x10]
jl 0x14000f808
lea rcx, [rbx - 0x18]
call fcn.140002a10
lea rcx, [rax + 0x18]
mov qword [rsp + 0x60], rcx
jmp 0x14000f842
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14000f81c
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x14000f82a
call fcn.1400179f4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
mov r8d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.14000c710
mov rcx, qword [rsp + 0x60]
call fcn.14003f588
mov r13d, eax
lea r8d, [rdi + 1]
mov r9d, dword [rbx - 0x10]
sub r9d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000c560
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.14003f588
mov r14d, eax
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000f88f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000f8ad
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
jmp 0x14000fb07
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000fb07
mov dword [rsp + 0x44], 0x40
mov r12d, r15d
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000faf8
call fcn.1400179f4
test rax, rax
je 0x14000fbd3
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.140001f80
test al, al
jne 0x14000f97c
lea rcx, [rbp - 0x40]
mov rax, rsi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000f960
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.140002300
nop
mov rbx, qword [rsp + 0x50]
cmp dword [rbx - 0x10], 0
jle 0x14000fa98
mov edx, 0x2e
mov rcx, rbx
call fcn.140037e10
mov rdi, rax
test rax, rax
je 0x14000fa98
sub rdi, rbx
sar rdi, 1
cmp edi, 1
jl 0x14000fa98
mov r14d, r15d
test edi, edi
cmovns r14d, edi
cmp r14d, dword [rbx - 0x10]
jl 0x14000f9d6
lea rcx, [rbx - 0x18]
call fcn.140002a10
lea rcx, [rax + 0x18]
mov qword [rsp + 0x68], rcx
jmp 0x14000fa10
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14000f9ea
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x14000f9f8
call fcn.1400179f4
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov r9, rax
mov r8d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14000c710
mov rcx, qword [rsp + 0x68]
call fcn.14003f588
mov r14d, eax
lea r8d, [rdi + 1]
mov r9d, dword [rbx - 0x10]
sub r9d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x50]
call fcn.14000c560
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.14003f588
cmp r14d, r13d
jg 0x14000fa4a
jne 0x14000fa56
cmp eax, dword [rsp + 0x40]
jle 0x14000fa56
mov r13d, r14d
mov r14d, eax
mov dword [rsp + 0x40], eax
jmp 0x14000fa5b
mov r14d, dword [rsp + 0x40]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000fa75
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000fa93
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x50]
inc r12d
mov dword [rsp + 0x44], 0x40
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000fabc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x44]
lea r8, [rbp - 0x40]
mov edx, r12d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000f925
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rbp - 0x70]
lea rdx, [rbp - 0x58]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov rcx, qword [r12 + 0xb8]
test rcx, rcx
je 0x14000fb3b
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, r13d
lea rdx, [rbp - 0x58]
call qword [rax + 0x48]
test eax, eax
jne 0x14000fb67
mov rcx, qword [r12 + 0xd8]
test rcx, rcx
je 0x14000fb61
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, r13d
lea rdx, [rbp - 0x58]
call qword [rax + 0x48]
test eax, eax
jne 0x14000fb67
mov r15d, 1
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000fb81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14000fb9e
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r15d
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400361e0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400024c0
nop
mov ecx, 0x80004005
call fcn.1400024c0
nop
mov ecx, 0x80004005
call fcn.1400024c0
int3