Function at 0x140031544
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x190
mov qword [rsp + 0x188], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400ca118]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x20], rdx
xor r12d, r12d
mov dword [rbp + 4], r12d
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov qword [rdx + 0x10], r12
mov dword [rbp + 4], 1
lea rdx, [rcx + 0x30]
mov r8b, 1
lea rcx, [rbp + 0x40]
call fcn.140022a08
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
test al, al
je 0x140031766
mov r14d, r12d
lea r13d, [r12 + 0x40]
mov dword [rbp], r13d
lea rcx, [rbp + 8]
call fcn.140009b88
nop
mov eax, dword [rbp]
cmp eax, r13d
cmovb eax, r13d
mov dword [rbp], eax
mov edx, eax
lea rcx, [rbp + 8]
call fcn.14000de50
lea rcx, [rbp + 8]
call fcn.14000adb8
mov r15, rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp]
mov r8, rax
mov edx, r14d
mov rcx, qword [rsi + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x140031667
mov r8b, 1
mov rdx, r15
lea rcx, [rbp + 0x80]
call fcn.140009b58
nop
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.140018f6c
nop
lea rcx, [rbp + 0x80]
call fcn.14000a3b0
inc r14d
jmp 0x1400315de
cmp edi, 0xea
jne 0x140031679
mov eax, dword [rbp]
add eax, eax
jmp 0x1400315e1
cmp edi, 0x103
jne 0x14003169c
lea rcx, [rbp + 8]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x40]
call fcn.140022a60
mov rax, rbx
jmp 0x140031833
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
cmp word [0x1400a6650], r12w
jne 0x1400316c5
mov rax, r12
jmp 0x1400316d1
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0x80]
call fcn.1400045d0
nop
mov qword [rbp + 0xb8], 0xf
mov qword [rbp + 0xb0], r12
mov byte [rbp + 0xa0], r12b
lea rcx, str..._nsRegistry.cpp
call fcn.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0xa0]
call fcn.140004720
nop
mov ecx, edi
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x379
lea r8, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xc0]
call fcn.14005ba94
nop
mov qword [rbp + 0xb8], 7
mov qword [rbp + 0xb0], r12
mov word [rbp + 0xa0], r12w
cmp word [0x1400a6650], r12w
jne 0x14003178f
mov rax, r12
jmp 0x14003179b
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
lea rcx, [rbp + 0xa0]
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.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
mov edx, eax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x37f
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xc0]
call fcn.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0xc0]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret