Function at 0x1401dd4c0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x17c0]
mov eax, 0x18c0
call fcn.1402a90d0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1910], rbx
mov rax, qword [0x1403eaa10]
xor rax, rsp
mov qword [rbp + 0x17b0], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x64], r12d
mov r15, qword [rdx]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov r14d, r12d
cmp dword [rsp + 0x64], r12d
jbe 0x1401dd7a1
lea r13, [0x140323de0]
nop dword [rax]
nop word [rax + rax]
mov r9d, 0x400
lea r8, [rbp + 0x7b0]
mov edx, r14d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x1401dd78c
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x7b0]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1401dd793
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r12d
cmp dword [rsp + 0x60], r12d
jbe 0x1401dd780
nop
mov dword [rbp - 0x68], 0x800
mov dword [rsp + 0x68], 0x800
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x68]
lea r8, [rbp + 0xfb0]
mov edx, edi
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
inc edi
test eax, eax
jne 0x1401dd76f
cmp dword [rsp + 0x68], 8
jb 0x1401dd776
cmp word [rbp - 0x4e], 0x3a
jne 0x1401dd776
lea rax, [rbp - 0x50]
or rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401dd670
mov qword [rbp - 0x78], r12
test ebx, ebx
jne 0x1401dd688
mov qword [rbp - 0x80], r13
jmp 0x1401dd6ab
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rbp - 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rbp - 0x80]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rbp - 0x80]
call fcn.1401ea290
nop
lea rdx, [rbp - 0x80]
mov rcx, qword [rsi + 8]
call fcn.1400f69f0
nop
cmp dword [rbp - 0x78], 0
jle 0x1401dd6d4
mov rcx, qword [rbp - 0x80]
call fcn.140298600
mov edx, 0x5c
lea rcx, [rbp - 0x50]
call fcn.14029aea8
test rax, rax
je 0x1401dd776
mov word [rax + 2], r12w
lea rax, [rbp - 0x50]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401dd700
mov qword [rsp + 0x78], r12
test ebx, ebx
jne 0x1401dd71a
mov qword [rsp + 0x70], r13
jmp 0x1401dd740
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401e9030
movsxd r9, ebx
mov eax, dword [rsp + 0x78]
inc eax
movsxd rdx, eax
lea r8, [rbp - 0x50]
mov rcx, qword [rsp + 0x70]
call fcn.14029b4d8
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x70]
mov rcx, qword [rsi + 8]
call fcn.1400f69f0
nop
cmp dword [rsp + 0x78], 0
jle 0x1401dd776
mov rcx, qword [rsp + 0x70]
call fcn.140298600
jmp 0x1401dd776
cmp eax, 0x103
je 0x1401dd780
cmp edi, dword [rsp + 0x60]
jb 0x1401dd600
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1401dd793
cmp eax, 0x103
je 0x1401dd7a1
inc r14d
cmp r14d, dword [rsp + 0x64]
jb 0x1401dd570
mov rcx, qword [rbp + 0x17b0]
xor rcx, rsp
call fcn.140297ff0
mov rbx, qword [rsp + 0x1910]
add rsp, 0x18c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret