Function at 0x140181d00
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.140002d10
nop
lea rcx, [rsp + 0x48]
call fcn.140013790
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 0x140181dc8
mov rax, qword [rsp + 0x130]
mov eax, dword [rax + 0xac]
and eax, 1
test eax, eax
je 0x140181e02
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xa8], eax
lea rcx, [rsp + 0x48]
call fcn.1400138c0
nop
lea rcx, [rsp + 0x70]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x138]
call fcn.140007060
mov eax, dword [rsp + 0xa8]
jmp 0x140182178
mov dword [rsp + 0x20], 0x20019
xor r9d, r9d
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x130]
call fcn.14017fda0
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
je 0x140181e6f
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xac], eax
lea rcx, [rsp + 0x48]
call fcn.1400138c0
nop
lea rcx, [rsp + 0x70]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x138]
call fcn.140007060
mov eax, dword [rsp + 0xac]
jmp 0x140182178
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001d50
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.140002550
mov dword [rsp + 0x90], 1
jmp 0x140181efd
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0
jne 0x140181fd0
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.140013840
mov dword [rsp + 0x78], 0x200
mov edx, 0x200
lea rcx, [rsp + 0x70]
call fcn.140001d50
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.140002550
jmp 0x140181eec
mov rax, qword [rsp + 0x130]
cmp dword [rax + 0x88], 0x103
je 0x140182039
cmp qword [rsp + 0x88], 0
je 0x140181ffd
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.1400138c0
nop
lea rcx, [rsp + 0x70]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x138]
call fcn.140007060
mov eax, dword [rsp + 0xc0]
jmp 0x140182178
mov rax, qword [rsp + 0x130]
mov dword [rax + 0x88], 0
cmp qword [rsp + 0x88], 0
je 0x140182064
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [rsp + 0x94], 0
jmp 0x140182082
mov eax, dword [rsp + 0x94]
add eax, 1
mov dword [rsp + 0x94], eax
movsxd rbx, dword [rsp + 0x94]
lea rcx, [rsp + 0x48]
call fcn.1400202c0
cmp rbx, rax
jge 0x140182143
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
lea r8, [0x140253ddc]
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.1400137f0
mov r8, rax
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xd0]
call fcn.140006c50
mov qword [rsp + 0x110], rax
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x130]
call fcn.140181d00
nop
lea rcx, [rsp + 0xd8]
call fcn.140007060
jmp 0x140182071
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0x48]
call fcn.1400138c0
nop
lea rcx, [rsp + 0x70]
call fcn.140007060
nop
mov rcx, qword [rsp + 0x138]
call fcn.140007060
mov eax, dword [rsp + 0xe0]
add rsp, 0x120
pop rbx
ret