Function at 0x14000e280
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 - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x140079698]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rbx, r8
mov rdi, rdx
mov qword [rbp - 0x60], rdx
mov r12, rcx
mov qword [rbp - 0x68], rcx
call fcn.140015d90
mov rcx, rax
test rax, rax
jne 0x14000e2df
mov ecx, 0x80004005
call fcn.140002430
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.TypeLib_
lea rcx, [rsp + 0x60]
call fcn.1400031b0
or rsi, 0xffffffffffffffff
xor r15d, r15d
test rdi, rdi
jne 0x14000e310
mov eax, r15d
jmp 0x14000e31d
mov rax, rsi
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14000e313
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.1400028a0
mov r13d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
call fcn.140015d90
mov rcx, rax
test rax, rax
jne 0x14000e350
mov ecx, 0x80004005
call fcn.140002430
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x14000e39d
test rbx, 0xffffffffffff0000
jne 0x14000e38e
movzx ebx, bx
mov ecx, ebx
call fcn.140016424
test rax, rax
je 0x14000e3b1
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140001ea0
jmp 0x14000e3b1
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000e391
jmp 0x14000e3a0
mov eax, r15d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.1400022a0
nop
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jle 0x14000e46b
mov edx, 0x2e
mov rcx, rbx
call fcn.14003a098
mov rdi, rax
test rax, rax
je 0x14000e46b
sub rdi, rbx
sar rdi, 1
cmp edi, 1
jl 0x14000e46b
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000f240
nop
mov rcx, qword [rsp + 0x70]
call fcn.140040338
mov r13d, eax
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000f2e0
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.140040338
mov r14d, eax
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000e444
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e6a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000e6a2
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000e6a2
mov dword [rsp + 0x50], 0x40
mov r12d, r15d
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x40]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000e693
nop dword [rax]
call fcn.140015d90
test rax, rax
je 0x14000e688
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea rcx, [rbp - 0x40]
lea rax, [rbp - 0x40]
test rax, 0xffffffffffff0000
jne 0x14000e531
movzx edi, cx
mov ecx, edi
call fcn.140016424
test rax, rax
je 0x14000e560
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140001ea0
jmp 0x14000e55b
lea rcx, [rbp - 0x40]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000e540
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.1400022a0
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 0x10], 0
jle 0x14000e62b
mov edx, 0x2e
mov rcx, rbx
call fcn.14003a098
mov rdi, rax
test rax, rax
je 0x14000e62b
sub rdi, rbx
sar rdi, 1
cmp edi, 1
jl 0x14000e62b
mov r8d, edi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000f240
nop
mov rcx, qword [rsp + 0x78]
call fcn.140040338
mov r14d, eax
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000f2e0
mov rbx, qword [rbp - 0x78]
mov rcx, rbx
call fcn.140040338
cmp r14d, r13d
jg 0x14000e5dd
jne 0x14000e5e9
cmp eax, dword [rsp + 0x40]
jle 0x14000e5e9
mov r13d, r14d
mov r14d, eax
mov dword [rsp + 0x40], eax
jmp 0x14000e5ee
mov r14d, dword [rsp + 0x40]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e608
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e626
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x48]
inc r12d
mov dword [rsp + 0x50], 0x40
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e64f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x50]
lea r8, [rbp - 0x40]
mov edx, r12d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000e4e0
jmp 0x14000e693
mov ecx, 0x80004005
call fcn.140002430
int3
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r12, qword [rbp - 0x68]
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.ole32.dll_CLSIDFromString]
mov rcx, qword [r12 + 0xb8]
test rcx, rcx
je 0x14000e6d6
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, r13d
lea rdx, [rbp - 0x50]
call qword [rax + 0x48]
test eax, eax
jne 0x14000e702
mov rcx, qword [r12 + 0xd8]
test rcx, rcx
je 0x14000e6fc
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, r13d
lea rdx, [rbp - 0x50]
call qword [rax + 0x48]
test eax, eax
jne 0x14000e702
mov r15d, 1
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e721
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x14000e73e
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.140037060
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret