Function at 0x140067540
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0xad8], rbx
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0xa70], rax
mov rbp, r8
mov r14, rdx
mov qword [rsp + 0x50], rcx
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x20], rdx
lea r9, str.hKey_x__pAryValue_x__bDefEntry_u
lea r8, str.EnumEntry
lea rdx, str.CRegistryIF
mov rcx, qword [rcx]
call fcn.140081070
xor esi, esi
mov dword [rsp + 0x44], 0xff
mov dword [rsp + 0x40], 0x800
xor r12d, r12d
lea r15, method.CPtrArray.virtual_0
nop
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x270]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x70]
mov edx, r12d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov r13d, eax
test eax, eax
jne 0x1400677fb
cmp word [rsp + 0x70], ax
je 0x1400677fb
test rsi, rsi
jne 0x140067661
lea ecx, [rax + 0x30]
call fcn.140091360
mov rsi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14006765f
mov rcx, rax
call fcn.1400aa430
nop
mov qword [rsi], r15
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsi + 0x28], rax
jmp 0x140067661
xor esi, esi
mov ecx, 0x3fffffff
lea rax, [rsp + 0x70]
nop
nop
cmp word [rax], 0
je 0x140067682
add rax, 2
sub rcx, 1
jne 0x140067670
jmp 0x1400676ea
test rcx, rcx
je 0x1400676ea
mov eax, 0x3fffffff
sub rax, rcx
lea rbx, [rax + rax + 2]
test rbx, rbx
jle 0x1400676ea
mov r8, rbx
mov edx, 8
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400676ea
mov r9, rbx
lea r8, [rsp + 0x70]
mov rdx, rbx
mov rcx, rax
call fcn.1400cd500
test eax, eax
jne 0x1400676db
mov r8, rdi
mov rdx, qword [rsi + 0x10]
mov rcx, rsi
call fcn.1400aa678
jmp 0x1400676ea
mov r8, rdi
xor edx, edx
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rbp, rbp
je 0x1400677fb
cmp dword [rsp + 0x48], 1
jne 0x14006779e
mov ecx, 0x3fffffff
lea rax, [rsp + 0x270]
nop
nop
cmp word [rax], 0
je 0x140067725
add rax, 2
sub rcx, 1
jne 0x140067710
jmp 0x1400677fb
test rcx, rcx
je 0x1400677fb
mov eax, 0x3fffffff
sub rax, rcx
lea rbx, [rax + rax + 2]
test rbx, rbx
jle 0x1400677fb
mov r8, rbx
mov edx, 8
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400677fb
mov r9, rbx
lea r8, [rsp + 0x270]
mov rdx, rbx
mov rcx, rax
call fcn.1400cd500
test eax, eax
jne 0x14006778d
mov r8, rdi
mov rdx, qword [rbp + 0x10]
mov rcx, rbp
call fcn.1400aa678
jmp 0x1400677fb
mov r8, rdi
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1400677fb
mov ebx, dword [rsp + 0x40]
test rbx, rbx
jle 0x1400677fb
mov r8, rbx
mov edx, 8
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400677fb
mov r9, rbx
lea r8, [rsp + 0x270]
mov rdx, rbx
mov rcx, rax
call fcn.1400cd500
test eax, eax
jne 0x1400677ec
mov r8, rdi
mov rdx, qword [rbp + 0x10]
mov rcx, rbp
call fcn.1400aa678
jmp 0x1400677fb
mov r8, rdi
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rsp + 0x44], 0xff
mov dword [rsp + 0x40], 0x800
xor edx, edx
mov r8d, 0x1fe
lea rcx, [rsp + 0x70]
call fcn.1400cfef0
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x270]
call fcn.1400cfef0
add r12d, 1
cmp r13d, 0x103
jne 0x1400675d0
mov qword [rsp + 0x20], rsi
lea r9, [0x1400facf8]
lea r8, str.EnumEntry
lea rdx, str.CRegistryIF
mov r15, qword [rsp + 0x50]
mov rcx, qword [r15]
call fcn.140081270
mov rax, rsi
mov rcx, qword [rsp + 0xa70]
xor rcx, rsp
call fcn.1400cd6e0
mov rbx, qword [rsp + 0xad8]
add rsp, 0xa80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret