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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rsp + 0x118], rbx
mov r13d, r8d
mov r14, rdx
mov r12, rcx
xor r15d, r15d
mov dword [rbp - 0x29], r15d
lea rax, [0x1415d9430]
mov qword [rbp - 0x39], rax
lock inc dword [0x1415d9430]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], r15
lea rax, [rbp - 0x31]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x14009eed2
mov edx, eax
lea rcx, [rbp + 0xf]
call fcn.14009cf30
nop
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.140012020
mov rbx, rax
mov rcx, qword [rax]
mov edx, dword [rcx]
cmp edx, 1
jne 0x14009ee11
mov rdx, qword [rax]
lea rcx, [rdx + 0x18]
cmp qword [rdx + 0x10], rcx
je 0x14009ee1f
mov rcx, qword [rax]
mov edx, dword [rcx + 8]
mov rcx, rax
call fcn.14000cc90
mov rax, qword [rbx]
mov rdx, qword [rax + 0x10]
lea rcx, [0x1415a6cd8]
call fcn.14001b2c0
nop
mov rcx, qword [rbp - 0x19]
lock dec dword [rcx]
jne 0x14009ee46
mov rcx, qword [rbp - 0x19]
call fcn.14000c4e0
nop
mov rax, qword [rbp + 0xf]
lock dec dword [rax]
jne 0x14009ee58
mov rcx, qword [rbp + 0xf]
call fcn.140012a00
mov rax, qword [rbp - 0x39]
mov qword [r12], rax
lock inc dword [rax]
mov rax, qword [r12]
test byte [rax + 0x10], 1
jne 0x14009ee78
mov edx, dword [rax + 4]
mov rcx, r12
call fcn.140003840
mov dword [rbp - 0x29], 1
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x14009f187
lock dec dword [rax]
jne 0x14009f187
mov rdi, qword [rbp - 0x39]
movsxd rax, dword [rdi + 0xc]
lea rbx, [rdi + rax*8 + 0x18]
movsxd rax, dword [rdi + 8]
lea rsi, [rdi + rax*8 + 0x18]
cmp rsi, rbx
je 0x14009f179
sub rbx, 8
mov rcx, qword [rbx]
lock dec dword [rcx]
jne 0x14009eec8
mov rcx, qword [rbx]
call fcn.140012a00
cmp rbx, rsi
jne 0x14009eeb4
jmp 0x14009f179
mov eax, dword [rbp - 0x2d]
inc eax
mov dword [rbp - 0x2d], eax
mov edx, dword [rbp - 0x31]
inc edx
mov dword [rbp - 0x31], edx
cmp r13d, 1
jne 0x14009eeed
mov esi, dword [rbp - 0x25]
jmp 0x14009eef2
mov esi, dword [rbp - 0x21]
mov edx, eax
inc edx
add edx, edx
xor r8d, r8d
lea rcx, [rbp - 0x49]
call fcn.14000cb80
nop
mov edi, r15d
test esi, esi
jle 0x14009f0fc
lea r12, [0x1415d9378]
nop word [rax + rax]
mov qword [rbp - 0x41], r12
lock inc dword [0x1415d9378]
mov rax, qword [rbp - 0x49]
movsxd rcx, dword [rax + 8]
shr rcx, 1
mov dword [rbp + 0x7f], ecx
mov ecx, dword [rax]
cmp r13d, 1
jne 0x14009ef8d
cmp ecx, r13d
jne 0x14009ef54
mov rcx, qword [rbp - 0x49]
lea rdx, [rcx + 0x18]
cmp qword [rcx + 0x10], rdx
je 0x14009ef64
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x49]
call fcn.14000cc90
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7f]
mov r8, qword [rcx + 0x10]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
jmp 0x14009efd7
cmp ecx, 1
jne 0x14009efa0
mov rcx, qword [rbp - 0x49]
lea rdx, [rcx + 0x18]
cmp qword [rcx + 0x10], rdx
je 0x14009efb0
mov edx, dword [rax + 8]
lea rcx, [rbp - 0x49]
call fcn.14000cc90
mov rcx, qword [rbp - 0x49]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7f]
mov r8, qword [rcx + 0x10]
mov edx, edi
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14009f062
mov rax, qword [rbp - 0x49]
mov r8d, dword [rbp + 0x7f]
mov rdx, qword [rax + 0x10]
lea rcx, [rbp - 1]
call fcn.140016c40
nop
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140012be0
nop
mov rax, qword [rbp - 1]
lock dec dword [rax]
jne 0x14009f014
mov rcx, qword [rbp - 1]
call fcn.140012a00
mov rax, qword [rbp - 0x41]
cmp dword [rax + 8], 0
jne 0x14009f052
or r8d, 0xffffffff
lea rdx, [0x1400db9fc]
lea rcx, [rbp - 0x11]
call fcn.140014670
nop
mov rdx, rax
lea rcx, [rbp - 0x41]
call fcn.140012be0
nop
mov rax, qword [rbp - 0x11]
lock dec dword [rax]
jne 0x14009f052
mov rcx, qword [rbp - 0x11]
call fcn.140012a00
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x39]
call fcn.140008810
nop
jmp 0x14009f0dc
mov edx, eax
lea rcx, [rbp + 7]
call fcn.14009cf30
nop
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140012020
mov rbx, rax
mov rcx, qword [rax]
mov edx, dword [rcx]
cmp edx, 1
jne 0x14009f094
mov rdx, qword [rax]
lea rcx, [rdx + 0x18]
cmp qword [rdx + 0x10], rcx
je 0x14009f0a2
mov rcx, qword [rax]
mov edx, dword [rcx + 8]
mov rcx, rax
call fcn.14000cc90
mov rax, qword [rbx]
mov rdx, qword [rax + 0x10]
lea rcx, [0x1415a6cb0]
call fcn.14001b2c0
nop
mov rax, qword [rbp - 9]
lock dec dword [rax]
jne 0x14009f0c9
mov rcx, qword [rbp - 9]
call fcn.14000c4e0
nop
mov rax, qword [rbp + 7]
lock dec dword [rax]
jne 0x14009f0dc
mov rcx, qword [rbp + 7]
call fcn.140012a00
nop
mov rax, qword [rbp - 0x41]
lock dec dword [rax]
jne 0x14009f0ee
mov rcx, qword [rbp - 0x41]
call fcn.140012a00
inc edi
cmp edi, esi
jl 0x14009ef20
mov r12, qword [rbp + 0x67]
mov rax, qword [rbp - 0x39]
mov qword [r12], rax
lock inc dword [rax]
mov rax, qword [r12]
test byte [rax + 0x10], 1
jne 0x14009f11c
mov edx, dword [rax + 4]
mov rcx, r12
call fcn.140003840
mov dword [rbp - 0x29], 1
mov rax, qword [rbp - 0x49]
lock dec dword [rax]
jne 0x14009f136
mov rcx, qword [rbp - 0x49]
call fcn.14000c4e0
nop
mov rax, qword [rbp - 0x39]
test rax, rax
je 0x14009f187
lock dec dword [rax]
jne 0x14009f187
mov rdi, qword [rbp - 0x39]
movsxd rax, dword [rdi + 0xc]
lea rbx, [rdi + rax*8 + 0x18]
movsxd rax, dword [rdi + 8]
lea rsi, [rdi + rax*8 + 0x18]
cmp rsi, rbx
je 0x14009f179
nop
sub rbx, 8
mov rcx, qword [rbx]
lock dec dword [rcx]
jne 0x14009f174
mov rcx, qword [rbx]
call fcn.140012a00
cmp rbx, rsi
jne 0x14009f160
mov eax, dword [rdi]
test eax, eax
jne 0x14009f187
mov rcx, rdi
call fcn.14000c4e0
mov rax, r12
mov rbx, qword [rsp + 0x118]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret