Function at 0x140002530
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rbp + 0x280], rax
lea r8, [rsp + 0x70]
lea rdx, str.SoftwareMyAppData
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1400027b2
xor r15d, r15d
mov r14d, r15d
mov dword [rsp + 0x78], 0x100
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x80]
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x1400027a7
mov esi, 0x16
movabs r12, 0x7fffffffffffffff
movabs r13, 0x8000000000000000
nop word [rax + rax]
inc r14d
mov dword [rsp + 0x7c], 0x100
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140002769
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x58], r15
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002650
cmp rbx, r12
ja 0x1400027ef
cmp rbx, 0xf
ja 0x140002691
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], 0xf
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x40], 0
jmp 0x140002720
mov rdi, rbx
or rdi, 0xf
cmp rdi, r12
jbe 0x1400026a6
mov rdi, r12
lea rax, [r13 + 0x27]
jmp 0x1400026d2
cmp rdi, 0x16
cmovb rdi, rsi
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400026bc
mov rsi, r15
jmp 0x1400026f9
cmp rcx, 0x1000
jb 0x1400026f1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400027e9
mov rcx, rax
call fcn.140004fd0
test rax, rax
je 0x1400027e2
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400026f9
call fcn.140004fd0
mov rsi, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov esi, 0x16
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.140003cc0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002769
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002764
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400027e2
call fcn.14000531c
mov dword [rsp + 0x78], 0x100
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x78]
lea r8, [rbp + 0x80]
mov edx, r14d
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x1400025f0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140004fb0
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140002040
int3
call fcn.140002100
int3