Function at 0x140034a70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0x158], 0xfffffffffffffffe
lea rbp, [rsp + 0x50]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov r15, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp + 0x10], rdx
xor r12d, r12d
mov dword [rbp + 8], r12d
mov rcx, rdx
call fcn.140009b88
mov dword [rbp + 8], 1
lea rdx, [r14 + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x20]
call fcn.140022784
nop
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x68]
test al, al
je 0x140034e07
mov dword [rbp + 4], r12d
mov dword [rbp], r12d
mov rbx, qword [r14 + 0x10]
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 0x1f0]
mov rdx, rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp]
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x140034d4c
mov eax, dword [rbp]
dec eax
cmp eax, 1
jbe 0x140034beb
mov qword [rbp + 0x78], 7
mov qword [rbp + 0x70], r12
mov word [rbp + 0x60], r12w
cmp word [0x1400a54e0], r12w
jne 0x140034b5e
mov eax, r12d
jmp 0x140034b6a
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x60]
call fcn.1400045d0
nop
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r12
mov byte [rbp + 0x80], r12b
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
lea r9, [rbp + 0x60]
mov r8d, 0x233
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0xa0]
call fcn.140023400
lea rdx, [0x1400c6878]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov eax, dword [rbp + 4]
test eax, eax
je 0x140034d3b
mov edx, eax
shr rdx, 1
test al, 1
je 0x140034c02
inc rdx
mov rcx, rsi
call fcn.14000de94
mov rdi, qword [r14 + 0x10]
mov rcx, rsi
call fcn.14000aed0
mov rbx, rax
mov rdx, qword [r15]
mov rcx, r15
call qword [rdx + 0x1f0]
mov rdx, rax
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rbp]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
je 0x140034d0b
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
cmp word [0x1400a54e0], r12w
jne 0x140034c79
mov rax, r12
jmp 0x140034c85
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r12
mov byte [rbp + 0x60], r12b
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x228
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
cmp dword [rbp], 2
jne 0x140034d3b
mov rax, qword [r14]
mov r8, rsi
lea rdx, [rbp + 0x60]
mov rcx, r14
call qword [rax + 0xf0]
nop
mov rdx, rax
mov rcx, rsi
call fcn.14000a948
nop
lea rcx, [rbp + 0x60]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x20]
call fcn.1400227dc
mov rax, rsi
jmp 0x140034ec5
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
cmp word [0x1400a54e0], r12w
jne 0x140034d75
mov rax, r12
jmp 0x140034d81
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r12
mov byte [rbp + 0x60], r12b
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, ebx
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x238
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
cmp word [0x1400a54e0], r12w
jne 0x140034e30
mov rax, r12
jmp 0x140034e3c
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0x78], 0xf
mov qword [rbp + 0x70], r12
mov byte [rbp + 0x60], r12b
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x60]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x23d
lea r8, [rbp + 0x60]
lea rcx, [rbp + 0xa0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xa0]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.140058200
add rsp, 0x160
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret