Function at 0x140072f30
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x140321cd0]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rsi, r9
mov rbx, r8
mov rdi, rdx
xor r14d, r14d
mov rcx, r9
call fcn.14006f228
mov qword [rbp - 0x50], r14
cmp qword [rbx + 0x18], 8
jb 0x140072f73
mov rbx, qword [rbx]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140073213
mov dword [rbp - 0x48], r14d
mov dword [rbp - 0x44], r14d
mov dword [rbp - 0x40], r14d
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, r14d
cmp dword [rbp - 0x48], r14d
jbe 0x140073209
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r14
mov eax, dword [rbp - 0x44]
add eax, 0xa
mov dword [rbp - 0x38], eax
mov edx, eax
je 0x140073028
lea rcx, [rbp - 0x18]
call fcn.140075efc
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
mov qword [rbp - 0x20], r14
mov eax, dword [rbp - 0x40]
add eax, 0x14
mov dword [rbp - 0x34], eax
mov edx, eax
je 0x14007304a
lea rcx, [rbp - 0x30]
call fcn.140075e7c
mov dword [rbp - 0x3c], r14d
lea rax, [rbp - 0x34]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x38]
mov r8, qword [rbp - 0x18]
mov edx, edi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x140073180
cmp dword [rbp - 0x3c], 1
jne 0x140073180
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x38], r14
mov rdx, qword [rbp - 0x18]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400730b6
lea rcx, [rbp + 0x20]
call fcn.14000b7f0
nop
mov qword [rbp], r14
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], r14
mov rdx, qword [rbp - 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400730de
lea rcx, [rbp]
call fcn.14000b7f0
nop
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov r8, qword [rbp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.14000d0d0
nop
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
lea rdx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rdx, qword [rbp]
mov r8, qword [rbp + 0x10]
lea rcx, [rbp - 0x80]
call fcn.14000d0d0
nop
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.1400725ec
nop
lea rcx, [rbp - 0x80]
call fcn.14000a158
lea rcx, [rsp + 0x60]
call fcn.14000a158
nop
lea rcx, [rbp]
call fcn.14000a158
nop
lea rcx, [rbp + 0x20]
call fcn.14000a158
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400731c2
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400731b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007322f
call fcn.1400b2b1c
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r14
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400731fe
mov rdx, qword [rbp - 8]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400731f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140073235
call fcn.1400b2b1c
inc edi
cmp edi, dword [rbp - 0x48]
jb 0x140073006
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400b27a0
add rsp, 0x150
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400c7678
nop
call fcn.1400c7678
int3