Function at 0x1400655e4
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov qword [rbp + 0xf8], rdx
mov qword [rbp + 0x100], r8
mov dword [rbp + 0x108], r9d
mov qword [rbp + 0xd0], 0
mov eax, dword [rbp + 0x108]
cdqe
mov rcx, rax
call fcn.1400c8290
call fcn.1400c7d90
mov rax, qword [rbp + 0xf0]
mov rdx, rax
lea rcx, [rbp + 0xf0]
call fcn.1400c8150
mov rdx, qword [rbp + 0x100]
lea rax, [rbp + 0x100]
mov rcx, rax
call fcn.1400c8150
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x38], 0
mov qword [rbp + 0xd8], 0
mov eax, 0
mov qword [rbp - 0x40], rax
mov qword [rbp + 0xc8], 0
mov rax, qword [rbp + 0xf0]
mov rcx, rax
call fcn.140062d0d
mov qword [rbp + 0xc0], rax
mov rax, qword [rbp + 0x100]
mov qword [rbp + 0xb8], rax
lea rax, [0x1418e361c]
mov qword [rbp + 0xb0], rax
mov rdx, qword [rbp + 0xb8]
mov rax, qword [rbp + 0xb0]
mov rcx, rax
call fcn.1400c81c0
test eax, eax
je 0x1400657d9
mov eax, dword [0x14190c5dc]
test eax, eax
je 0x140065789
mov rax, qword [0x14190c5c8]
mov qword [rbp + 0xa8], rax
mov rax, qword [0x14190c1b8]
mov qword [rbp + 0xa0], rax
mov eax, dword [0x14190c604]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x98], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x90], rax
mov r8, qword [rbp + 0x98]
mov rdx, qword [rbp + 0xa0]
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0xd8], rax
nop
jmp 0x1400658b8
nop
mov rax, qword [0x14190c5c8]
mov qword [rbp + 0x80], rax
mov rax, qword [0x14190c1b8]
mov qword [rbp + 0x78], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x70], rax
mov rcx, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
mov rax, qword [rbp + 0x80]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0xd8], rax
jmp 0x1400658b8
nop
mov rax, qword [0x14190c5c8]
mov qword [rbp + 0x60], rax
lea rax, [rbp - 0x28]
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x100]
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov rax, qword [rbp + 0x60]
mov r8, rdx
mov rdx, rax
call sub.ADVAPI32.dll_RegConnectRegistryW
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x54]
cdqe
mov qword [rbp + 0xc8], rax
mov eax, dword [0x14190c5dc]
test eax, eax
je 0x14006587e
mov rax, qword [0x14190c1b8]
mov qword [rbp + 0x48], rax
mov eax, dword [0x14190c604]
or eax, 0xf003f
cdqe
mov qword [rbp + 0x40], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp - 0x28]
mov r8, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rbp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, r8
mov r8d, 0
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyExW
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0xd8], rax
jmp 0x1400658b8
nop
mov rax, qword [0x14190c1b8]
mov qword [rbp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp - 0x28]
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x28]
mov r8, rcx
mov rcx, rax
call sub.ADVAPI32.dll_RegOpenKeyW
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
jne 0x1400659bd
mov qword [rbp - 0x18], 0x400
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e60
mov edx, eax
mov rax, qword [rbp - 0x18]
mov rcx, rax
call fcn.1400c52f0
call fcn.1400c7e60
mov edx, eax
lea rax, [rbp - 0x30]
mov rcx, rax
call fcn.1400c8040
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x10], rax
lea rax, [rbp - 0x18]
mov qword [rbp + 8], rax
lea rax, [rbp - 0x40]
mov qword [rbp], rax
mov rax, qword [rbp - 0x20]
mov r9, qword [rbp + 8]
mov r8, qword [rbp + 0x10]
mov rdx, qword [rbp + 0xf8]
mov rcx, qword [rbp]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rax
call sub.ADVAPI32.dll_RegEnumKeyExW
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0
jne 0x1400659a7
call fcn.1400c7e00
call fcn.1400c7e00
call fcn.1400c7e60
mov ecx, eax
mov rdx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x30]
mov r8d, ecx
mov rcx, rax
call fcn.1400c5350
call fcn.1400c7e60
mov edx, eax
lea rax, [rbp - 0x38]
mov rcx, rax
call fcn.1400c8040
jmp 0x1400659be
nop
lea rax, [rbp - 0x38]
lea rdx, [0x14190c738]
mov rcx, rax
call fcn.1400c82e0
jmp 0x1400659be
nop
mov rax, qword [rbp - 0x20]
mov rcx, rax
call sub.ADVAPI32.dll_RegCloseKey
mov qword [rbp - 0x10], rax
call fcn.1400c7e00
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.1400c8220
call fcn.1400c7fb0
mov qword [rbp + 0xd0], rax
nop
mov rax, qword [rbp + 0x100]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 0x30]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp - 0x38]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp + 0xf0]
mov rcx, rax
call fcn.1400c8120
mov rax, qword [rbp + 0xd0]
add rsp, 0x160
pop rbp
ret