Function at 0x140031180
Capabilities:
Query or enumerate registry key

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 [0x1400c9118]
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.140022784
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x68]
test al, al
je 0x1400313a2
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.14000de94
lea rcx, [rbp + 8]
call fcn.14000aed0
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_RegEnumKeyExW]
mov edi, eax
test eax, eax
jne 0x1400312a3
mov r8b, 1
mov rdx, r15
lea rcx, [rbp + 0x80]
call fcn.140009b58
nop
lea rdx, [rbp + 0x80]
mov rcx, rbx
call fcn.140018f40
nop
lea rcx, [rbp + 0x80]
call fcn.14000a3b0
inc r14d
jmp 0x14003121a
cmp edi, 0xea
jne 0x1400312b5
mov eax, dword [rbp]
add eax, eax
jmp 0x14003121d
cmp edi, 0x103
jne 0x1400312d8
lea rcx, [rbp + 8]
call fcn.14000a3b0
nop
lea rcx, [rbp + 0x40]
call fcn.1400227dc
mov rax, rbx
jmp 0x14003146f
mov qword [rbp + 0x98], 7
mov qword [rbp + 0x90], r12
mov word [rbp + 0x80], r12w
cmp word [0x1400a54e0], r12w
jne 0x140031301
mov rax, r12
jmp 0x14003130d
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0xa0]
call fcn.140004720
nop
mov ecx, edi
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x347
lea r8, [rbp + 0xa0]
lea rcx, [rbp + 0xc0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xc0]
call fcn.14005b684
nop
mov qword [rbp + 0xb8], 7
mov qword [rbp + 0xb0], r12
mov word [rbp + 0xa0], r12w
cmp word [0x1400a54e0], r12w
jne 0x1400313cb
mov rax, r12
jmp 0x1400313d7
lea rcx, [0x1400a54e0]
call fcn.140065008
mov r8, rax
lea rdx, [0x1400a54e0]
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.1400653e0
mov r8, rax
lea rdx, str..._nsRegistry.cpp
lea rcx, [rbp + 0x80]
call fcn.140004720
nop
mov ecx, 0x3f2
call fcn.140023b78
mov edx, eax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x34d
lea r8, [rbp + 0x80]
lea rcx, [rbp + 0xc0]
call fcn.140022e44
lea rdx, [0x1400c67e8]
lea rcx, [rbp + 0xc0]
call fcn.14005b684
nop
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140058200
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret