Function at 0x140015810
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
push rdi
mov eax, 0x24c0
call fcn.140018420
sub rsp, rax
mov rax, qword [0x14004d028]
xor rax, rsp
mov qword [rsp + 0x24b0], rax
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x50], 0
lea rax, [rsp + 0x4b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x2000
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x24d8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x60]
call fcn.14000f020
nop
cmp qword [rsp + 0x24e8], 0
jne 0x1400158de
lea rdx, [0x140046cd4]
mov rcx, qword [rsp + 0x24d0]
call fcn.140008850
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14000f0a0
mov rax, qword [rsp + 0x24d0]
jmp 0x140015ae4
cmp qword [rsp + 0x24d8], 0xffffffff80000001
jne 0x140015991
lea rcx, [rsp + 0x60]
call fcn.14000f820
test eax, eax
je 0x14001596e
lea rcx, [rsp + 0x60]
call fcn.14000ff20
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x14001594b
mov qword [rsp + 0x40], 0xffffffff80000003
mov rax, qword [rsp + 0x24e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, str._s_s
mov edx, 0x200
lea rcx, [rsp + 0xb0]
call fcn.140009c30
jmp 0x14001596c
mov r9, qword [rsp + 0x24e0]
lea r8, [0x140046fac]
mov edx, 0x200
lea rcx, [rsp + 0xb0]
call fcn.140009c30
jmp 0x14001598f
mov r9, qword [rsp + 0x24e0]
lea r8, [0x140046fac]
mov edx, 0x200
lea rcx, [rsp + 0xb0]
call fcn.140009c30
jmp 0x1400159b2
mov r9, qword [rsp + 0x24e0]
lea r8, [0x140046fac]
mov edx, 0x200
lea rcx, [rsp + 0xb0]
call fcn.140009c30
cmp dword [rsp + 0x24f0], 0
je 0x1400159c6
mov dword [rsp + 0x34], 0x101
jmp 0x1400159ce
mov dword [rsp + 0x34], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x34]
xor r8d, r8d
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140015a2d
lea rdx, [0x140046cd4]
mov rcx, qword [rsp + 0x24d0]
call fcn.140008850
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14000f0a0
mov rax, qword [rsp + 0x24d0]
jmp 0x140015ae4
mov dword [rsp + 0x50], 0x2000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x24e8]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140015aa7
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [0x140046cd4]
mov rcx, qword [rsp + 0x24d0]
call fcn.140008850
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14000f0a0
mov rax, qword [rsp + 0x24d0]
jmp 0x140015ae4
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x24d0]
call fcn.140008850
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x60]
call fcn.14000f0a0
mov rax, qword [rsp + 0x24d0]
mov rcx, qword [rsp + 0x24b0]
xor rcx, rsp
call fcn.140017a80
add rsp, 0x24c0
pop rdi
ret