Function at 0x140031860
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 [0x1400ca118]
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.14003681c
mov qword [r12], rax
mov dword [rbp + 0x34], 1
lea rdx, [r13 + 0x30]
mov r8b, 1
lea rcx, [rbp + 0xc0]
call fcn.140022a08
nop
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x68]
test al, al
je 0x140031de5
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.14000de50
lea rcx, [rbp + 0x40]
call fcn.14000adb8
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 0x140031ce5
mov eax, dword [rbp + 0x30]
test eax, eax
jle 0x140031cdd
cmp eax, 2
jle 0x140031c3d
cmp eax, 3
je 0x140031b56
cmp eax, 4
je 0x140031ad0
cmp eax, 7
je 0x140031a33
cmp eax, 0xb
jne 0x140031cdd
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.14002fea0
nop
mov byte [rsp + 0x20], dil
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x60]
mov rcx, r12
call fcn.14002f8dc
nop
lea rcx, [rbp + 0x140]
call fcn.14003011c
nop
lea rcx, [rbp + 0x18]
call fcn.14000a3b0
nop
jmp 0x140031cd1
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.14002fdac
nop
mov byte [rsp + 0x20], r15b
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x70]
mov rcx, r12
call fcn.14002f8dc
nop
lea rcx, [rbp + 0x140]
call fcn.14003011c
nop
lea rcx, [rbp + 0x120]
call fcn.140004460
nop
lea rcx, [rbp + 0x100]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x18]
jmp 0x140031cd8
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.14002fe28
nop
mov byte [rsp + 0x20], bl
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, r12
call fcn.14002f8dc
nop
lea rcx, [rbp + 0x140]
call fcn.14003011c
nop
lea rcx, [rbp + 0x100]
call fcn.14000a3b0
nop
jmp 0x140031ac7
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.14002fd24
nop
mov byte [rsp + 0x20], sil
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x90]
mov rcx, r12
call fcn.14002f8dc
nop
lea rcx, [rbp + 0x140]
call fcn.14003011c
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 0x140031bfa
call fcn.140058c3c
xor ecx, ecx
mov qword [rbp + 0x20], rcx
lea rax, vtable.MemoryBufferPtr_unsigned_char_.0
mov qword [rbp + 0x18], rax
test rcx, rcx
je 0x140031c19
mov edx, 1
call fcn.140058c3c
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 0x140031cd8
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.14002fca8
nop
mov byte [rsp + 0x20], r14b
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0xa0]
mov rcx, r12
call fcn.14002f8dc
nop
lea rcx, [rbp + 0x140]
call fcn.14003011c
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 0x140031914
cmp eax, 0xea
jne 0x140031cf6
mov eax, dword [rbp + 4]
add eax, eax
jmp 0x140031917
cmp eax, 0x103
jne 0x140031d1b
lea rcx, [rbp + 0x40]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0xc0]
call fcn.140022a60
mov rax, r12
jmp 0x140031eaf
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], rcx
mov word [rbp + 0x120], cx
cmp word [0x1400a6650], cx
jne 0x140031d42
mov rax, rcx
jmp 0x140031d4e
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x100]
call fcn.140004720
nop
mov ecx, dword [rbp + 0x38]
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x140]
call fcn.14005ba94
nop
mov qword [rbp + 0x138], 7
mov qword [rbp + 0x130], rbx
mov word [rbp + 0x120], bx
cmp word [0x1400a6650], bx
jne 0x140031e0c
mov rax, rbx
jmp 0x140031e18
lea rcx, [0x1400a6650]
call fcn.140065418
mov r8, rax
lea rdx, [0x1400a6650]
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.1400657f0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x100]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023e14
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.1400230c8
lea rdx, [0x1400c7a90]
lea rcx, [rbp + 0x140]
call fcn.14005ba94
nop
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140058630
mov rbx, qword [rsp + 0x280]
add rsp, 0x230
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret