Function at 0x140033584
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp + 0x10], rdx
xor r15d, r15d
mov dword [rbp + 8], r15d
mov qword [rdx + 8], r15
lea rax, vtable.ArrayMemoryBufferPtr_unsigned_char_.0
mov qword [rdx], rax
mov qword [rdx + 0x10], r15
mov dword [rbp + 8], 1
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022a08
nop
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x68]
test al, al
je 0x140033905
mov dword [rbp + 4], r15d
mov dword [rbp], r15d
mov rbx, qword [rdi + 0x10]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x1f0]
mov rdx, rax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp + 4]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14003384a
cmp dword [rbp + 4], 3
jne 0x14003379d
mov eax, dword [rbp]
test eax, eax
je 0x14003378c
mov ecx, eax
call fcn.140058c70
mov r8d, dword [rbp]
mov rdx, rax
mov rcx, rsi
call fcn.140006620
mov rbx, qword [rsi + 8]
mov rdi, qword [rdi + 0x10]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x1f0]
mov rdx, rax
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 4]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x14003378c
mov qword [rsi + 0x10], r15
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1400336d1
call fcn.140058c3c
mov qword [rsi + 8], r15
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r15
mov word [rbp + 0x60], r15w
cmp word [0x1400a6650], r15w
jne 0x1400336f1
mov rax, r15
jmp 0x1400336fd
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r15
mov byte [rbp + 0x80], r15b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x30b
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
lea rcx, [rbp + 0x20]
call fcn.140022a60
mov rax, rsi
jmp 0x1400339c3
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r15
mov word [rbp + 0x80], r15w
cmp word [0x1400a6650], r15w
jne 0x1400337c6
mov rax, r15
jmp 0x1400337d2
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r15
mov byte [rbp + 0x60], r15b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
lea r9, [rbp + 0x80]
mov r8d, 0x311
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140023684
lea rdx, [0x1400c7b20]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r15
mov word [rbp + 0x80], r15w
cmp word [0x1400a6650], r15w
jne 0x140033873
mov rax, r15
jmp 0x14003387f
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r15
mov byte [rbp + 0x60], r15b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x316
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r15
mov word [rbp + 0x80], r15w
cmp word [0x1400a6650], r15w
jne 0x14003392e
mov rax, r15
jmp 0x14003393a
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r15
mov byte [rbp + 0x60], r15b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x31b
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xa0]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret