Function at 0x140177960
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.140002d50
nop
lea rcx, [rsp + 0x48]
call fcn.140014da0
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.140001440
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 0x140177a28
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140177a62
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.140014ed0
nop
lea rcx, [rsp + 0x70]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001470
mov eax, dword [rsp + 0xa8]
jmp 0x140177dd8
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.140175a00
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140177acf
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x48]
call fcn.140014ed0
nop
lea rcx, [rsp + 0x70]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001470
mov eax, dword [rsp + 0xac]
jmp 0x140177dd8
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001d70
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.140002590
mov dword [rsp + 0x90], 1
jmp 0x140177b5d
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0
jne 0x140177c30
lea rax, [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb8]
call fcn.140001440
mov qword [rsp + 0xf8], rax
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0x48]
call fcn.140014e50
mov dword [rsp + 0x78], 0x200
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001d70
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.140002590
jmp 0x140177b4c
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0x103
je 0x140177c99
cmp qword [rsp + 0x88], 0
je 0x140177c5d
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.140014ed0
nop
lea rcx, [rsp + 0x70]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001470
mov eax, dword [rsp + 0xc0]
jmp 0x140177dd8
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x88], 0
cmp qword [rsp + 0x88], 0
je 0x140177cc4
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x94], 0
jmp 0x140177ce2
mov eax, dword [rsp + 0x94]
add eax, 1
mov dword [rsp + 0x94], eax
movsxd rbx, dword [rsp + 0x94]
lea rcx, [rsp + 0x48]
call fcn.14000f920
cmp rbx, rax
jge 0x140177da3
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea r8, [0x14023dec4]
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.140014e00
mov r8, rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xd0]
call fcn.140006b70
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x130]
call fcn.140177960
nop
lea rcx, [rsp + 0xd8]
call fcn.140001470
jmp 0x140177cd1
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x48]
call fcn.140014ed0
nop
lea rcx, [rsp + 0x70]
call fcn.140001470
nop
mov rcx, qword [rsp + 0x138]
call fcn.140001470
mov eax, dword [rsp + 0xe0]
add rsp, 0x120
pop rbx
ret