Function at 0x1400318dc
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, 0x230
mov qword [rsp + 0x228], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
lea rbp, [rsp + 0x60]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x1400c9118]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r12, rdx
mov r13, rcx
mov qword [rbp + 0x58], rdx
xor ebx, ebx
mov dword [rbp + 0x34], ebx
mov qword [rdx], rbx
mov qword [rdx + 8], rbx
mov rcx, rdx
call fcn.14003689c
mov qword [r12], rax
mov dword [rbp + 0x34], 1
lea rdx, [r13 + 0x30]
mov r8b, 1
lea rcx, [rbp + 0xc0]
call fcn.140022784
nop
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
test al, al
je 0x140031e61
mov dword [rbp + 0x10], ebx
lea eax, [rbx + 0x40]
mov dword [rbp + 4], eax
lea rcx, [rbp + 0x40]
call fcn.140009b88
nop
mov r14b, byte [rbp]
mov r15b, byte [rbp]
mov sil, byte [rbp]
mov bl, byte [rbp]
mov dil, byte [rbp]
mov eax, dword [rbp + 4]
mov ecx, 0x40
cmp eax, ecx
cmovb eax, ecx
mov dword [rbp + 4], eax
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.14000de94
lea rcx, [rbp + 0x40]
call fcn.14000aed0
mov qword [rbp + 8], rax
xor edx, edx
mov dword [rbp + 0x30], edx
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x30], rdx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 4]
mov r8, rax
mov edx, dword [rbp + 0x10]
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rbp + 0x38], eax
xor ecx, ecx
test eax, eax
jne 0x140031d61
mov eax, dword [rbp + 0x30]
test eax, eax
jle 0x140031d59
cmp eax, 2
jle 0x140031cb9
cmp eax, 3
je 0x140031bd2
cmp eax, 4
je 0x140031b4c
cmp eax, 7
je 0x140031aaf
cmp eax, 0xb
jne 0x140031d59
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x100]
call fcn.140009b58
nop
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x18]
call fcn.140009b58
nop
mov rax, qword [r13]
lea rdx, [rbp + 0x100]
mov rcx, r13
call qword [rax + 0x90]
mov r8, rax
lea rdx, [rbp + 0x18]
lea rcx, [rbp + 0x140]
call fcn.14002ff1c
nop
mov byte [rsp + 0x20], dil
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, r12
call fcn.14002f958
nop
lea rcx, [rbp + 0x140]
call fcn.140030198
nop
lea rcx, [rbp + 0x18]
call fcn.14000a3b0
nop
jmp 0x140031d4d
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x18]
call fcn.140009b58
nop
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x100]
call fcn.140009b58
nop
mov rax, qword [r13]
lea r8, [rbp + 0x18]
lea rdx, [rbp + 0x120]
mov rcx, r13
call qword [rax + 0x80]
nop
mov r8, rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x140]
call fcn.14002fe28
nop
mov byte [rsp + 0x20], r15b
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, r12
call fcn.14002f958
nop
lea rcx, [rbp + 0x140]
call fcn.140030198
nop
lea rcx, [rbp + 0x120]
call fcn.140004460
nop
lea rcx, [rbp + 0x100]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x18]
jmp 0x140031d54
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x18]
call fcn.140009b58
nop
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x100]
call fcn.140009b58
nop
mov rax, qword [r13]
lea rdx, [rbp + 0x18]
mov rcx, r13
call qword [rax + 0x88]
mov r8d, eax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x140]
call fcn.14002fea4
nop
mov byte [rsp + 0x20], bl
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.14002f958
nop
lea rcx, [rbp + 0x140]
call fcn.140030198
nop
lea rcx, [rbp + 0x100]
call fcn.14000a3b0
nop
jmp 0x140031b43
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x120]
call fcn.140009b58
nop
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x100]
call fcn.140009b58
nop
mov rax, qword [r13]
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x18]
mov rcx, r13
call qword [rax + 0x98]
nop
mov r8, rax
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0x140]
call fcn.14002fda0
nop
mov byte [rsp + 0x20], sil
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, r12
call fcn.14002f958
nop
lea rcx, [rbp + 0x140]
call fcn.140030198
nop
lea rax, vtable.ArrayMemoryBufferPtr_unsigned_char_.0
mov qword [rbp + 0x18], rax
and qword [rbp + 0x28], 0
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140031c76
call fcn.140058838
xor ecx, ecx
mov qword [rbp + 0x20], rcx
lea rax, vtable.MemoryBufferPtr_unsigned_char_.0
mov qword [rbp + 0x18], rax
test rcx, rcx
je 0x140031c95
mov edx, 1
call fcn.140058838
and qword [rbp + 0x20], 0
lea rax, vtable.BufferPtr_unsigned_char_.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x100]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x120]
jmp 0x140031d54
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x100]
call fcn.140009b58
nop
mov r8b, 1
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x120]
call fcn.140009b58
nop
mov rax, qword [r13]
lea r8, [rbp + 0x100]
lea rdx, [rbp + 0x18]
mov rcx, r13
call qword [rax + 0x78]
nop
mov r8, rax
lea rdx, [rbp + 0x120]
lea rcx, [rbp + 0x140]
call fcn.14002fd24
nop
mov byte [rsp + 0x20], r14b
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0xa0]
mov rcx, r12
call fcn.14002f958
nop
lea rcx, [rbp + 0x140]
call fcn.140030198
nop
lea rcx, [rbp + 0x18]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x120]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x100]
call fcn.14000a3b0
inc dword [rbp + 0x10]
jmp 0x140031990
cmp eax, 0xea
jne 0x140031d72
mov eax, dword [rbp + 4]
add eax, eax
jmp 0x140031993
cmp eax, 0x103
jne 0x140031d97
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0xc0]
call fcn.1400227dc
mov rax, r12
jmp 0x140031f2b
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], rcx
mov word [rbp + 0x120], cx
cmp word [0x1400a54e0], cx
jne 0x140031dbe
mov rax, rcx
jmp 0x140031dca
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x120]
call fcn.1400045d0
nop
mov qword [rbp + 0x118], 0xf
xor eax, eax
mov qword [rbp + 0x110], rax
mov byte [rbp + 0x100], al
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x100]
call fcn.140004720
nop
mov ecx, dword [rbp + 0x38]
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 0x3c1
lea r8, [rbp + 0x100]
lea rcx, [rbp + 0x140]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x140]
call fcn.14005b684
nop
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], rbx
mov word [rbp + 0x120], bx
cmp word [0x1400a54e0], bx
jne 0x140031e88
mov rax, rbx
jmp 0x140031e94
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
lea rcx, [rbp + 0x120]
call fcn.1400045d0
nop
mov qword [rbp + 0x118], 0xf
mov qword [rbp + 0x110], rbx
mov byte [rbp + 0x100], bl
lea rcx, str..._nsRegistry.cpp
call fcn.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x100]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 0x3c7
lea r8, [rbp + 0x100]
lea rcx, [rbp + 0x140]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0x140]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret