Function at 0x14000ae5e
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
push r15
mov rax, 0xb
sub rsp, 8
mov qword [rsp], 0
dec rax
jne 0x14000ae76
sub rsp, 0x28
mov rax, qword [rsp + 0xb0]
mov qword [0x140117620], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x28]
sub rsp, 0x10
call fcn.14002aa00
add rsp, 0x10
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x30]
sub rsp, 0x10
call fcn.14002aa00
add rsp, 0x10
push qword [rsp + 0x28]
pop rcx
call fcn.140008c55
lea rax, [rsp + 0x40]
push qword [rsp + 0x30]
movabs rcx, 0x1400d1340
pop rdx
call fcn.14002a9a0
or rax, rax
je 0x14000af71
cmp dword [0x1401158bc], 0
je 0x14000af49
sub rsp, 8
lea rax, [rsp + 0x58]
mov rax, rax
push rax
movsxd r15, dword [0x1401158c4]
or r15, 0xf003f
mov rax, r15
push rax
push 0
push qword [0x1401157c8]
push qword [0x1401157f0]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegOpenKeyExW
add rsp, 0x30
mov qword [rsp + 0x48], rax
jmp 0x14000af6c
lea rax, [rsp + 0x50]
mov rax, rax
push rax
push qword [0x1401157c8]
push qword [0x1401157f0]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegOpenKeyW
mov qword [rsp + 0x48], rax
jmp 0x14000b00a
lea rax, [rsp + 0x60]
mov rax, rax
push rax
push qword [0x1401157f0]
push qword [rsp + 0x40]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegConnectRegistryW
movsxd rax, eax
mov qword [rsp + 0x58], rax
cmp dword [0x1401158bc], 0
je 0x14000afe9
sub rsp, 8
lea rax, [rsp + 0x58]
mov rax, rax
push rax
movsxd r15, dword [0x1401158c4]
or r15, 0xf003f
mov rax, r15
push rax
push 0
push qword [0x1401157c8]
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegOpenKeyExW
add rsp, 0x30
mov qword [rsp + 0x48], rax
jmp 0x14000b00a
lea rax, [rsp + 0x50]
mov rax, rax
push rax
push qword [0x1401157c8]
push qword [rsp + 0x70]
pop rcx
pop rdx
pop r8
call sub.ADVAPI32.DLL_RegOpenKeyW
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14000b0fc
mov qword [rsp + 0x68], 0x400
push qword [0x140117620]
sub rsp, 8
push qword [0x140117620]
push qword [rsp + 0x80]
pop rcx
pop rdx
sub rsp, 0x20
call fcn.140027ac0
add rsp, 0x28
lea rcx, [rsp + 0x40]
pop rdx
call fcn.14002a8d0
lea rax, [rsp + 0x40]
mov rax, rax
push rax
push 0
push 0
push 0
lea rax, [rsp + 0x88]
mov rax, rax
push rax
mov rax, qword [rsp + 0x60]
mov rax, rax
push rax
push qword [rsp + 0xc8]
push qword [rsp + 0x88]
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call sub.ADVAPI32.DLL_RegEnumKeyExW
add rsp, 0x40
mov qword [rsp + 0x48], rax
mov r15, qword [rsp + 0x48]
and r15, r15
jne 0x14000b0e8
push qword [0x140117620]
sub rsp, 8
push qword [0x140117620]
push qword [rsp + 0x80]
push qword [rsp + 0x58]
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140028a30
add rsp, 0x28
lea rcx, [rsp + 0x78]
pop rdx
call fcn.14002a8d0
jmp 0x14000b0fc
movabs rdx, 0x1400d1028
lea rcx, [rsp + 0x70]
call fcn.14002a770
push qword [rsp + 0x50]
pop rcx
call sub.ADVAPI32.DLL_RegCloseKey
mov rcx, qword [rsp + 0x70]
push qword [0x140117620]
sub rsp, 0x28
call fcn.14002a860
add rsp, 0x28
pop rax
add rax, qword [0x140117630]
jmp 0x14000b13b
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.14002aa70
add rsp, 0x28
mov rcx, qword [rsp + 0x40]
sub rsp, 0x28
call fcn.14002aa70
add rsp, 0x28
mov rcx, qword [rsp + 0x78]
sub rsp, 0x28
call fcn.14002aa70
add rsp, 0x28
mov rcx, qword [rsp + 0x30]
sub rsp, 0x28
call fcn.14002aa70
add rsp, 0x28
pop rax
add rsp, 0x80
pop r15
ret