Function at 0x140019e30
Capabilities:
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
sub rsp, 0x88
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x38], 1
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x3c], 1
lea rax, [rsp + 0x78]
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
call fcn.140005f40
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x90]
call fcn.1400194c0
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 1
je 0x140019ef8
cmp dword [rsp + 0x38], 2
je 0x140019ef8
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call fcn.140005f40
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140006610
nop
mov rcx, qword [rsp + 0xa8]
call fcn.140006610
mov rax, qword [rsp + 0x98]
jmp 0x14001a126
mov rax, qword [rsp + 0x90]
add rax, 0x18
mov rcx, rax
call fcn.140006920
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x140019f93
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call fcn.140005f40
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
mov rcx, qword [rsp + 0xa0]
call fcn.140006610
nop
mov rcx, qword [rsp + 0xa8]
call fcn.140006610
mov rax, qword [rsp + 0x98]
jmp 0x14001a126
mov rcx, qword [rsp + 0xa0]
call fcn.140006920
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [rsp + 0x34]
inc rax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov ecx, eax
call fcn.14003fb54
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0xa0]
call fcn.140006920
lea rcx, [rsp + 0x34]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x90]
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
call fcn.140006060
nop
cmp dword [rsp + 0x3c], 0
je 0x14001a050
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.140006890
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14002a4fc
mov rax, qword [rsp + 0x90]
cmp dword [rax], 0
je 0x14001a079
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rsp + 0x3c], 0
jne 0x14001a0db
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x98]
call fcn.140005f40
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.140006610
nop
mov rcx, qword [rsp + 0xa0]
call fcn.140006610
nop
mov rcx, qword [rsp + 0xa8]
call fcn.140006610
mov rax, qword [rsp + 0x98]
jmp 0x14001a126
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x98]
call fcn.140005f40
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.140006610
nop
mov rcx, qword [rsp + 0xa0]
call fcn.140006610
nop
mov rcx, qword [rsp + 0xa8]
call fcn.140006610
mov rax, qword [rsp + 0x98]
add rsp, 0x88
ret