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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x14f0
call fcn.140018420
sub rsp, rax
mov rax, qword [0x14004d028]
xor rax, rsp
mov qword [rsp + 0x14e0], rax
mov rax, qword [rsp + 0x1500]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x90]
call fcn.14000f020
nop
cmp qword [rsp + 0x1510], 0
jne 0x1400140b5
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x90]
call fcn.14000f0a0
mov eax, dword [rsp + 0x4c]
jmp 0x1400143ba
cmp qword [rsp + 0x1500], 0xffffffff80000001
jne 0x14001416e
lea rcx, [rsp + 0x90]
call fcn.14000f820
test eax, eax
je 0x14001414b
lea rcx, [rsp + 0x90]
call fcn.14000ff20
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140014128
mov qword [rsp + 0x60], 0xffffffff80000003
mov rax, qword [rsp + 0x1508]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, str._s_s
mov edx, 0x200
lea rcx, [rsp + 0xe0]
call fcn.140009c30
jmp 0x140014149
mov r9, qword [rsp + 0x1508]
lea r8, [0x140046fac]
mov edx, 0x200
lea rcx, [rsp + 0xe0]
call fcn.140009c30
jmp 0x14001416c
mov r9, qword [rsp + 0x1508]
lea r8, [0x140046fac]
mov edx, 0x200
lea rcx, [rsp + 0xe0]
call fcn.140009c30
jmp 0x14001418f
mov r9, qword [rsp + 0x1508]
lea r8, [0x140046fac]
mov edx, 0x200
lea rcx, [rsp + 0xe0]
call fcn.140009c30
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400141d7
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0x90]
call fcn.14000f0a0
mov eax, dword [rsp + 0x50]
jmp 0x1400143ba
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x78], 0x400
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x78]
lea r8, [rsp + 0xce0]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0x103
je 0x140014396
cmp dword [rsp + 0x44], 0
jne 0x14001437d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [rsp + 0xce0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001427b
jmp 0x1400141ef
lea rax, [rsp + 0x4e0]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov dword [rsp + 0x88], 0x800
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4e0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x8c]
xor r8d, r8d
mov rdx, qword [rsp + 0x1510]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140014370
mov edx, 8
lea rcx, [rsp + 0x80]
call fcn.1400013a0
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0x80]
call fcn.14000be30
nop
lea rcx, [rsp + 0x80]
call fcn.1400091f0
xor r8d, r8d
mov rdx, qword [rsp + 0x1518]
lea rcx, [rsp + 0x80]
call fcn.140009280
test eax, eax
jl 0x140014363
lea rdx, [rsp + 0xce0]
mov rcx, qword [rsp + 0x1520]
call fcn.14000be00
mov dword [rsp + 0x48], 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x80]
call fcn.14000a3d0
jmp 0x140014396
lea rcx, [rsp + 0x80]
call fcn.14000a3d0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14001437f
jmp 0x140014396
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x78], 0x400
jmp 0x1400141ef
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x90]
call fcn.14000f0a0
mov eax, dword [rsp + 0x54]
mov rcx, qword [rsp + 0x14e0]
xor rcx, rsp
call fcn.140017a80
add rsp, 0x14f0
pop rdi
ret