Function at 0x14004afd0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x3fe0]
mov eax, 0x40e0
call fcn.140297960
sub rsp, rax
mov rax, qword [0x1403ceac0]
xor rax, rsp
mov qword [rbp + 0x3fd0], rax
mov r14, r8
mov rbx, rdx
mov rdi, rcx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.1400e72d0
nop
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x1fd0]
call fcn.1402b60e0
xor esi, esi
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], si
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], si
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], si
mov r9d, dword [rdi + 8]
or r9d, 0x20019
mov r8, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004b080
mov r8, qword [rbx]
mov rdx, qword [rdi + 0x10]
lea rcx, [rsp + 0x78]
call fcn.1400e74a0
mov edi, 1
test eax, eax
je 0x14004b0ec
mov ecx, edi
call fcn.1400de610
test eax, eax
je 0x14004b0e2
cmp qword [rbx + 0x18], 8
jb 0x14004b0ac
mov rbx, qword [rbx]
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, str.Cant_open_registry_key:__s
mov qword [rsp + 0x20], rax
mov r9d, 0x128
lea r8, str.CPCReg::EnumRegKeyValues
lea rdx, str.E:BT3304243d_d858_4efc_85b8_b3526d9f21d2PEFAppSrcPEFCommonPCReg.cpp
mov ecx, edi
call fcn.1400308b0
mov esi, 0x3f3
jmp 0x14004b243
mov dword [rsp + 0x50], 0x1000
mov dword [rsp + 0x48], 0x1000
mov dword [rsp + 0x4c], esi
lea rcx, [rsp + 0x78]
call fcn.1400e7370
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x1fd0]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x14004b243
nop
lea rax, [rbp + 0x1fd0]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14004b160
lea rdx, [rbp + 0x1fd0]
lea rcx, [rbp - 0x70]
call fcn.14002b640
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14004b190
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x58]
call fcn.14002b640
lea rdx, [rbp - 0x70]
mov rcx, r14
call fcn.14004b2e0
lea rcx, [rsp + 0x58]
cmp rax, rcx
je 0x14004b1dd
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x68]
mov rcx, rax
call fcn.14002b640
mov dword [rsp + 0x50], 0x1000
mov dword [rsp + 0x48], 0x1000
mov dword [rsp + 0x4c], esi
mov ebx, edi
inc edi
lea rcx, [rsp + 0x78]
call fcn.1400e7370
mov rcx, rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x50]
lea r8, [rbp + 0x1fd0]
mov edx, ebx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x14004b150
lea rcx, [rsp + 0x58]
call fcn.14002ce60
nop
lea rcx, [rbp - 0x70]
call fcn.14002ce60
nop
lea rcx, [rbp - 0x50]
call fcn.14002ce60
nop
lea rcx, [rsp + 0x78]
call fcn.1400e7310
mov eax, esi
mov rcx, qword [rbp + 0x3fd0]
xor rcx, rsp
call fcn.140296f70
add rsp, 0x40e0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret