Function at 0x14017d2c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x120
mov qword [rsp + 0xe8], 0xfffffffffffffffe
lea rcx, [rsp + 0x70]
call fcn.140002de0
nop
lea rcx, [rsp + 0x48]
call fcn.140012450
nop
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x78], 0x200
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xa0]
call fcn.140001430
mov qword [rsp + 0xf0], rax
mov r8b, 1
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x130]
call qword [rsp + 0x140]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14017d388
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x14017d3c2
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.140012580
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xa8]
jmp 0x14017d738
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.14017b360
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x14017d42f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x48]
call fcn.140012580
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xac]
jmp 0x14017d738
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001dc0
mov r8, rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
xor edx, edx
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r11d, eax
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x88], r11d
mov edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.140002620
mov dword [rsp + 0x90], 1
jmp 0x14017d4bd
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0
jne 0x14017d590
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
call fcn.140001430
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x48]
call fcn.140012500
mov dword [rsp + 0x78], 0x200
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001dc0
mov r8, rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
mov edx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov r11d, eax
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x88], r11d
mov edx, 0xffffffff
lea rcx, [rsp + 0x70]
call fcn.140002620
jmp 0x14017d4ac
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0x103
je 0x14017d5f9
cmp qword [rsp + 0x88], 0
je 0x14017d5bd
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0xc0], reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rcx, [rsp + 0x48]
call fcn.140012580
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xc0]
jmp 0x14017d738
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x88], 0
cmp qword [rsp + 0x88], 0
je 0x14017d624
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x94], 0
jmp 0x14017d642
mov eax, dword [rsp + 0x94]
add eax, 1
mov dword [rsp + 0x94], eax
movsxd rbx, dword [rsp + 0x94]
lea rcx, [rsp + 0x48]
call fcn.140012e60
cmp rbx, rax
jge 0x14017d703
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea r8, [0x140242a34]
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0xd8]
call fcn.1400010b0
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x108], rax
movsxd rdx, dword [rsp + 0x94]
lea rcx, [rsp + 0x48]
call fcn.1400124b0
mov r8, rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xd0]
call fcn.140006bd0
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x130]
call fcn.14017d2c0
nop
lea rcx, [rsp + 0xd8]
call fcn.140001490
jmp 0x14017d631
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x48]
call fcn.140012580
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xe0]
add rsp, 0x120
pop rbx
ret