Function at 0x14000e270
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.140015cb0
mov rcx, rax
test rax, rax
jne 0x14000e2cf
mov ecx, 0x80004005
call fcn.1400026e0
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.1400033f0
or rsi, 0xffffffffffffffff
xor r15d, r15d
test rdi, rdi
jne 0x14000e300
mov eax, r15d
jmp 0x14000e30d
mov rax, rsi
inc rax
cmp word [rdi + rax*2], r15w
jne 0x14000e303
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140002b70
mov r13d, r15d
mov r14d, r15d
mov dword [rsp + 0x40], r15d
call fcn.140015cb0
mov rcx, rax
test rax, rax
jne 0x14000e340
mov ecx, 0x80004005
call fcn.1400026e0
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
test rbx, rbx
je 0x14000e38d
test rbx, 0xffffffffffff0000
jne 0x14000e37e
movzx ebx, bx
mov ecx, ebx
call fcn.14001633c
test rax, rax
je 0x14000e3a1
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140002150
jmp 0x14000e3a1
mov rax, rsi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14000e381
jmp 0x14000e390
mov eax, r15d
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140002550
nop
mov rbx, qword [rsp + 0x58]
cmp dword [rbx - 0x10], 0
jle 0x14000e45b
mov edx, 0x2e
mov rcx, rbx
call fcn.140039fd8
mov rdi, rax
test rax, rax
je 0x14000e45b
sub rdi, rbx
sar rdi, 1
cmp edi, 1
jl 0x14000e45b
mov r8d, edi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x58]
call fcn.14000f230
nop
mov rcx, qword [rsp + 0x70]
call fcn.1400400d0
mov r13d, eax
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.14000f2d0
mov rbx, qword [rbp - 0x80]
mov rcx, rbx
call fcn.1400400d0
mov r14d, eax
lea rdx, [rbx - 0x18]
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000e434
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 0x14000e692
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x14000e692
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 0x14000e692
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 0x14000e683
nop dword [rax]
call fcn.140015cb0
test rax, rax
je 0x14000e678
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 0x14000e521
movzx edi, cx
mov ecx, edi
call fcn.14001633c
test rax, rax
je 0x14000e550
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140002150
jmp 0x14000e54b
lea rcx, [rbp - 0x40]
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000e530
mov r8d, eax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x48]
call fcn.140002550
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 0x10], 0
jle 0x14000e61b
mov edx, 0x2e
mov rcx, rbx
call fcn.140039fd8
mov rdi, rax
test rax, rax
je 0x14000e61b
sub rdi, rbx
sar rdi, 1
cmp edi, 1
jl 0x14000e61b
mov r8d, edi
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000f230
nop
mov rcx, qword [rsp + 0x78]
call fcn.1400400d0
mov r14d, eax
lea r8d, [rdi + 1]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x48]
call fcn.14000f2d0
mov rbx, qword [rbp - 0x78]
mov rcx, rbx
call fcn.1400400d0
cmp r14d, r13d
jg 0x14000e5cd
jne 0x14000e5d9
cmp eax, dword [rsp + 0x40]
jle 0x14000e5d9
mov r13d, r14d
mov r14d, eax
mov dword [rsp + 0x40], eax
jmp 0x14000e5de
mov r14d, dword [rsp + 0x40]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e5f8
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 0x14000e616
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 0x14000e63f
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 0x14000e4d0
jmp 0x14000e683
mov ecx, 0x80004005
call fcn.1400026e0
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 0x14000e6c6
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 0x14000e6f2
mov rcx, qword [r12 + 0xd8]
test rcx, rcx
je 0x14000e6ec
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 0x14000e6f2
mov r15d, 1
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e711
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 0x14000e72e
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.1400371e0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret