Function at 0x140177a30
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.140002db0
nop
lea rcx, [rsp + 0x48]
call fcn.1400142b0
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 0x140177af8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140177b32
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.1400143e0
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xa8]
jmp 0x140177ea8
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.140175ad0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140177b9f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x48]
call fcn.1400143e0
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xac]
jmp 0x140177ea8
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001dd0
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.1400025f0
mov dword [rsp + 0x90], 1
jmp 0x140177c2d
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0
jne 0x140177d00
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.140014360
mov dword [rsp + 0x78], 0x200
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001dd0
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.1400025f0
jmp 0x140177c1c
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0x103
je 0x140177d69
cmp qword [rsp + 0x88], 0
je 0x140177d2d
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.1400143e0
nop
lea rcx, [rsp + 0x70]
call fcn.140001490
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001490
mov eax, dword [rsp + 0xc0]
jmp 0x140177ea8
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x88], 0
cmp qword [rsp + 0x88], 0
je 0x140177d94
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x94], 0
jmp 0x140177db2
mov eax, dword [rsp + 0x94]
add eax, 1
mov dword [rsp + 0x94], eax
movsxd rbx, dword [rsp + 0x94]
lea rcx, [rsp + 0x48]
call fcn.140014cc0
cmp rbx, rax
jge 0x140177e73
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea r8, [0x14023cec4]
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.140014310
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.140177a30
nop
lea rcx, [rsp + 0xd8]
call fcn.140001490
jmp 0x140177da1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x48]
call fcn.1400143e0
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