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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xd8
mov r14, r8
mov rcx, rdx
xor r15d, r15d
mov edi, r15d
mov dword [rbp - 1], r15d
mov qword [rbp + 7], r15
mov qword [rbp - 0x49], r15
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007e838
mov rdi, qword [rbp - 0x49]
mov qword [rbp - 9], rdi
mov dword [rbp - 1], r15d
mov esi, r15d
mov dword [rbp + 0x7f], 0x3e8
mov ecx, 0x7d2
call fcn.1402327a0
mov rbx, rax
mov qword [rbp - 0x19], rax
lea r12, [0x1402d44c0]
lea rax, [rbp + 0xf]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7f]
mov r8, rbx
mov edx, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
inc esi
mov dword [rbp - 0x6d], esi
test eax, eax
jne 0x14007e808
mov eax, dword [rbp + 0x7f]
mov word [rbx + rax*2], r15w
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.140002d2c
lea rbx, [rax + 0x18]
mov qword [rbp - 0x79], rbx
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14007e0ea
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14007e104
call fcn.140010070
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rax, rax
je 0x14007e85a
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x39]
cmp r12, 0x10000
jae 0x14007e12a
movzx edx, r12w
call fcn.1400108d0
jmp 0x14007e133
mov rdx, r12
call fcn.1400131d0
nop
mov rdi, qword [rbp - 0x39]
movsxd rax, dword [rdi - 0x10]
mov r12, rdi
mov r14, rdi
sub r14, rbx
sar r14, 1
mov r15d, dword [rbx - 0x10]
test eax, eax
js 0x14007e891
mov rdx, rax
mov rcx, rdi
call fcn.14022f580
mov r13, rax
mov ecx, 0x7fffffff
sub ecx, eax
cmp ecx, r15d
jl 0x14007e891
lea esi, [r15 + rax]
test esi, esi
js 0x14007e891
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14007e19d
mov edx, esi
lea rcx, [rbp - 0x79]
call fcn.140002b08
mov rbx, qword [rbp - 0x79]
cmp r14, r15
ja 0x14007e1a6
lea r12, [rbx + r14*2]
movsxd r8, r13d
add r8, r8
lea rcx, [rbx + r15*2]
je 0x14007e1dd
test rcx, rcx
je 0x14007e1cd
test r12, r12
je 0x14007e1c6
mov rdx, r12
call fcn.1402540d0
jmp 0x14007e1dd
xor edx, edx
call fcn.140254770
call fcn.14022a39c
mov dword [rax], 0x16
call fcn.14022a230
cmp esi, dword [rbx - 0xc]
jg 0x14007e891
mov dword [rbx - 0x10], esi
movsxd rax, esi
xor r15d, r15d
mov word [rbx + rax*2], r15w
lea rdx, [rdi - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e210
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdx, qword [rbp - 0x19]
test rdx, rdx
jne 0x14007e21e
mov r8d, r15d
jmp 0x14007e230
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007e225
lea rcx, [rbp - 0x79]
call fcn.14000581c
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14007e85a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x21], rax
call fcn.140010070
test rax, rax
je 0x14007e886
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x69], rax
lea r12, str.DisplayName
lea rcx, [rbp - 0x69]
cmp r12, 0x10000
jae 0x14007e296
movzx edx, r12w
call fcn.1400108d0
jmp 0x14007e2a5
mov r8d, SafeArrayGetDim
mov rdx, r12
call fcn.140002b6c
nop
lea r9, [rbp - 0x21]
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x79]
mov rsi, qword [rbp + 0x6f]
mov rcx, rsi
call fcn.14007dd00
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e2de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14007e886
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x29], rax
call fcn.140010070
test rax, rax
je 0x14007e87b
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x61], rax
lea r12, str.DisplayVersion
lea rcx, [rbp - 0x61]
cmp r12, 0x10000
jae 0x14007e33b
movzx edx, r12w
call fcn.1400108d0
jmp 0x14007e34a
mov r8d, SafeArrayGetDim
mov rdx, r12
call fcn.140002b6c
nop
lea r9, [rbp - 0x29]
lea r8, [rbp - 0x61]
lea rdx, [rbp - 0x79]
mov rcx, rsi
call fcn.14007dd00
nop
mov rdx, qword [rbp - 0x61]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e37f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14007e87b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x51], rax
call fcn.140010070
test rax, rax
je 0x14007e870
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x59], rax
lea r12, str.Publisher
lea rcx, [rbp - 0x59]
cmp r12, 0x10000
jae 0x14007e3dc
movzx edx, r12w
call fcn.1400108d0
jmp 0x14007e3eb
mov r8d, 9
mov rdx, r12
call fcn.140002b6c
nop
lea r9, [rbp - 0x51]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x79]
mov rcx, rsi
call fcn.14007dd00
nop
mov rdx, qword [rbp - 0x59]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e420
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140010070
test rax, rax
je 0x14007e870
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbp - 0x31], rax
lea r12, [0x1402cf4e8]
lea rcx, [rbp - 0x31]
cmp r12, 0x10000
jae 0x14007e45e
movzx edx, r12w
call fcn.1400108d0
jmp 0x14007e46d
mov r8d, 7
mov rdx, r12
call fcn.140002b6c
nop
mov qword [rbp - 0x11], r15
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x79]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rbx, qword [rbp - 0x31]
test eax, eax
jne 0x14007e4e4
mov rdi, qword [rbp - 0x11]
mov dword [rbp - 0x41], 4
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x71]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3d]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007e4d2
cmp dword [rbp - 0x3d], 4
je 0x14007e4d6
mov dword [rbp - 0x71], r15d
test rdi, rdi
je 0x14007e4e4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e500
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x21]
cmp dword [rbx - 0x10], 0
je 0x14007e76a
mov ecx, 0x20
call fcn.140084970
mov r14, rax
test rax, rax
je 0x14007e57e
call fcn.140010070
test rax, rax
je 0x14007e870
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [r14], rax
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14007e870
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14 + 8], rax
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14007e870
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r14 + 0x18], rax
jmp 0x14007e581
mov r14, r15
lea rcx, [rbx - 0x18]
mov rdi, qword [r14]
sub rdi, 0x18
cmp rcx, rdi
je 0x14007e5db
cmp dword [rdi + 0x10], 0
jl 0x14007e5cc
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14007e5cc
call fcn.140002d2c
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14007e5c3
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [r14], rax
jmp 0x14007e5db
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r14
call fcn.140002b6c
mov rdx, qword [rbp - 0x29]
lea rcx, [rdx - 0x18]
mov rbx, qword [r14 + 8]
sub rbx, 0x18
cmp rcx, rbx
je 0x14007e639
cmp dword [rbx + 0x10], 0
jl 0x14007e62c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14007e62c
call fcn.140002d2c
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14007e622
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [r14 + 8], rax
jmp 0x14007e639
mov r8d, dword [rdx - 0x10]
lea rcx, [r14 + 8]
call fcn.140002b6c
mov eax, dword [rbp - 0x71]
mov dword [r14 + 0x10], eax
mov rbx, qword [rbp - 0x51]
lea rcx, [rbx - 0x18]
mov rdi, qword [r14 + 0x18]
sub rdi, 0x18
cmp rcx, rdi
je 0x14007e6a5
cmp dword [rdi + 0x10], 0
jl 0x14007e695
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14007e695
call fcn.140002d2c
mov rbx, rax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x14007e687
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rbx + 0x18]
mov qword [r14 + 0x18], rax
mov rbx, qword [rbp - 0x51]
jmp 0x14007e6a5
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [r14 + 0x18]
call fcn.140002b6c
mov rsi, qword [rbp + 0x67]
mov rdi, qword [rsi + 8]
cmp qword [rsi + 0x20], 0
jne 0x14007e735
mov ecx, dword [rsi + 0x28]
test rcx, rcx
jne 0x14007e6c5
mov rcx, r15
jmp 0x14007e6e3
xor edx, edx
mov rax, 0xffffffffffffffff
div rcx
cmp rax, 0x18
jb 0x14007e865
lea rcx, [rcx + rcx*2]
shl rcx, 3
add rcx, 8
call fcn.1402327a0
test rax, rax
je 0x14007e865
mov rcx, qword [rsi + 0x18]
mov qword [rax], rcx
mov qword [rsi + 0x18], rax
mov r8d, dword [rsi + 0x28]
sub r8d, 1
lea rcx, [r8*2 + 1]
lea rcx, [rcx + r8]
lea rcx, [rax + rcx*8]
js 0x14007e735
nop word [rax + rax]
mov rax, qword [rsi + 0x20]
mov qword [rcx], rax
mov qword [rsi + 0x20], rcx
sub rcx, 0x18
sub r8d, 1
jns 0x14007e720
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
mov qword [rcx + 0x10], r14
mov qword [rsi + 0x20], rax
mov qword [rcx + 8], rdi
mov qword [rcx], r15
inc qword [rsi + 0x10]
mov rax, qword [rsi + 8]
test rax, rax
je 0x14007e761
mov qword [rax], rcx
mov qword [rsi + 8], rcx
jmp 0x14007e76e
mov qword [rsi], rcx
mov qword [rsi + 8], rcx
jmp 0x14007e76e
mov rbx, qword [rbp - 0x51]
mov dword [rbp + 0x7f], 0x3e8
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e792
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e7b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e7d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x79]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14007e7f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x19]
mov rdi, qword [rbp - 0x49]
mov esi, dword [rbp - 0x6d]
mov r14, qword [rbp + 0x77]
jmp 0x14007e079
test rdi, rdi
je 0x14007e81f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
mov qword [rbp - 9], r15
jmp 0x14007e823
mov rdi, qword [rbp - 9]
mov dword [rbp - 1], r15d
mov rcx, rbx
call fcn.14022f758
nop
xor ecx, ecx
call fcn.14022f758
nop
test rdi, rdi
je 0x14007e846
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, 0x8007000e
call fcn.140002e3c
int3
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, 0x80004005
call fcn.140002e3c
nop
mov ecx, 0x80070057
call fcn.140002e3c
int3