Function at 0x14000c130
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rbx
push r14
push r15
lea rbp, [rsp - 0x5a8]
sub rsp, 0x6a8
mov rax, qword [0x140071250]
mov r14, rdx
mov r15, rcx
mov rbx, 0xffffffffffffffff
test rax, rax
jne 0x14000c31d
cmp qword [0x140071250], rax
jne 0x14000c31d
xor edx, edx
mov qword [rsp + 0x6a0], r12
mov r8d, 0x208
lea rcx, [rbp + 0x390]
call fcn.1400376d0
lea rax, [rbp - 0x80]
mov dword [rbp + 0x5e8], 0x104
mov qword [rsp + 0x58], rax
lea r8, [rbp + 0x5e8]
lea rax, [rsp + 0x64]
xor r12d, r12d
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x390]
lea rax, [rsp + 0x68]
mov dword [rbp + 0x5e0], r12d
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x6c]
mov rcx, 0xffffffff80000003
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x5e0]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x14000c315
mov eax, dword [rbp + 0x5e0]
mov qword [rsp + 0x6d0], rsi
mov qword [rsp + 0x6d8], rdi
test eax, eax
je 0x14000c2f8
mov esi, r12d
nop dword [rax + rax]
lea rax, [rbp - 0x80]
mov dword [rsp + 0x60], 0xff
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x60]
mov qword [rsp + 0x30], r12
lea r8, [rbp - 0x70]
mov qword [rsp + 0x28], r12
mov edx, esi
mov rcx, 0xffffffff80000003
mov qword [rsp + 0x20], r12
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14000c2ea
lea r8, [rbp - 0x70]
mov edx, 0xff
lea rcx, [rbp + 0x190]
call fcn.14004126c
lea rcx, [0x1400729a0]
call fcn.140008e10
mov r8, rax
lea rcx, [rbp + 0x190]
mov edx, 0xff
mov rdi, rax
call fcn.1400411ec
mov rcx, rdi
call fcn.140038520
lea rax, [rbp - 0x78]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp + 0x190]
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000c3c4
inc esi
cmp esi, dword [rbp + 0x5e0]
jb 0x14000c240
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x6d8]
mov rsi, qword [rsp + 0x6d0]
mov r12, qword [rsp + 0x6a0]
mov rax, qword [0x140071250]
test rax, rax
je 0x14000c417
test r14, r14
je 0x14000c44d
test r15, r15
je 0x14000c417
cmp qword [r15], 0
jne 0x14000c417
mov rcx, qword [0x140071250]
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000c353
nop dword [rax]
inc rbx
cmp word [r14 + rbx*2], 0
jne 0x14000c360
add rax, 2
mov edx, 2
add rbx, rax
mov rcx, rbx
call fcn.14003853c
mov qword [r15], rax
mov rdx, rbx
mov r8, qword [0x140071250]
mov rcx, qword [r15]
call fcn.14004126c
mov rcx, qword [r15]
lea r8, [0x1400729b8]
mov rdx, rbx
call fcn.1400411ec
mov rcx, qword [r15]
mov r8, r14
mov rdx, rbx
call fcn.1400411ec
mov al, 1
add rsp, 0x6a8
pop r15
pop r14
pop rbx
pop rbp
ret
lea rax, [rbp - 0x70]
mov rdi, rbx
nop dword [rax + rax]
cmp word [rax + rdi*2 + 2], r12w
lea rdi, [rdi + 1]
jne 0x14000c3d0
mov edx, 2
lea rcx, [rdi + 1]
call fcn.14003853c
lea r8, [rbp - 0x70]
mov qword [0x140071250], rax
lea rdx, [rdi + 1]
mov rcx, rax
call fcn.14004126c
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp - 0x78]
jmp 0x14000c2ff
test r14, r14
je 0x14000c44d
nop dword [rax]
cmp word [r14 + rbx*2 + 2], 0
lea rbx, [rbx + 1]
jne 0x14000c420
mov edx, 2
lea rcx, [rbx + 1]
call fcn.14003853c
mov r8, r14
mov qword [r15], rax
lea rdx, [rbx + 1]
mov rcx, rax
call fcn.14004126c
xor al, al
add rsp, 0x6a8
pop r15
pop r14
pop rbx
pop rbp
ret