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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x3e8
mov rax, qword [0x1400243d8]
xor rax, rsp
mov qword [rsp + 0x3d8], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x170], 0
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax + 4]
mov dword [rsp + 0x3c0], eax
cmp dword [rsp + 0x3c0], 1
je 0x14000d734
cmp dword [rsp + 0x3c0], 2
je 0x14000d6e8
cmp dword [rsp + 0x3c0], 4
je 0x14000d6f5
jmp 0x14000d74b
mov dword [rsp + 0x170], 0
jmp 0x14000d74b
cmp dword [rsp + 0x3f8], 0
jne 0x14000d732
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax]
shl eax, 0x1f
sar eax, 0x1f
test eax, eax
jne 0x14000d727
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax]
shl eax, 0x1e
sar eax, 0x1f
test eax, eax
je 0x14000d732
mov dword [rsp + 0x170], 1
jmp 0x14000d74b
mov rax, qword [rsp + 0x3f0]
mov eax, dword [rax]
shl eax, 0x1f
sar eax, 0x1f
mov dword [rsp + 0x170], eax
cmp dword [rsp + 0x170], 0
jne 0x14000d763
cmp dword [rsp + 0x3f8], 0
je 0x14000d9e9
call fcn.14000a7c0
test eax, eax
je 0x14000d77a
lea rax, [0x1400263a0]
mov qword [rsp + 0x50], rax
jmp 0x14000d786
lea rax, [0x1400263c8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000d9e9
mov dword [rsp + 0x3b0], 0
mov dword [rsp + 0x3b4], 0x104
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.14000f9e0
lea rax, [rsp + 0x3b8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3b4]
lea r8, [rsp + 0x2a0]
mov edx, dword [rsp + 0x3b0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x14000d9de
lea rcx, [rsp + 0x2a0]
call fcn.14000f170
mov rcx, qword [rsp + 0x50]
call fcn.14000e120
mov qword [rsp + 0x3c8], rax
lea rcx, [rsp + 0x2a0]
call fcn.14000e120
mov rcx, qword [rsp + 0x3c8]
add rcx, rax
mov rax, rcx
cmp rax, 0x104
jae 0x14000d9a9
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x180]
call fcn.14000f9e0
lea r9, [rsp + 0x2a0]
mov r8, qword [rsp + 0x50]
lea rdx, [0x1400263f4]
lea rcx, [rsp + 0x60]
call fcn.14000eaa8
lea rax, [rsp + 0x178]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000d9a9
mov dword [rsp + 0x3b4], 0x104
lea rax, [rsp + 0x3b4]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x290]
xor r8d, r8d
lea rdx, [0x140025cac]
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [rsp + 0x170], 0
je 0x14000d935
mov dword [rsp + 0x3d0], 0
jmp 0x14000d943
mov eax, dword [rsp + 0x3f8]
mov dword [rsp + 0x3d0], eax
mov rax, qword [rsp + 0x3f0]
add rax, 8
mov ecx, dword [rsp + 0x3d0]
mov dword [rsp + 0x28], ecx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x2a0]
lea r8, [rsp + 0x180]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.14000dca0
cmp qword [rsp + 0x40], 0
je 0x14000d99b
mov rdx, qword [rsp + 0x178]
mov rcx, qword [rsp + 0x40]
call fcn.14000df70
mov rcx, qword [rsp + 0x178]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r8d, 0x104
xor edx, edx
lea rcx, [rsp + 0x2a0]
call fcn.14000f9e0
mov dword [rsp + 0x3b4], 0x104
mov eax, dword [rsp + 0x3b0]
inc eax
mov dword [rsp + 0x3b0], eax
jmp 0x14000d7de
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov rcx, qword [rsp + 0x3d8]
xor rcx, rsp
call fcn.14000e050
add rsp, 0x3e8
ret