Function at 0x140024bc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140052040]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14d, r14d
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140024ee3
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x5c], 0x208
mov dword [rsp + 0x58], 1
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140024ed8
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], r14w
jne 0x140024ca0
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400019a0
nop
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 7
cmova r9, r8
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140024d13
mov rcx, rax
mov rdx, r9
mov rbx, r14
cmp word [r9], 0x2e
je 0x140024d03
nop word [rax + rax]
cmp rcx, 1
je 0x140024d06
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x140024cf0
mov rbx, rdx
test rbx, rbx
je 0x140024d13
sub rbx, r9
sar rbx, 1
jmp 0x140024d1a
mov rbx, 0xffffffffffffffff
lea rsi, [rbx + 1]
lea rdx, [rsp + 0x60]
cmp r10, 7
cmova rdx, r8
cmp rsi, rax
jae 0x140024d65
sub rax, rsi
lea rcx, [rdx + rsi*2]
mov rdi, r14
je 0x140024d58
cmp word [rcx], 0x2e
je 0x140024d55
cmp rax, 1
je 0x140024d58
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140024d42
mov rdi, rcx
test rdi, rdi
je 0x140024d65
sub rdi, rdx
sar rdi, 1
jmp 0x140024d6c
mov rdi, 0xffffffffffffffff
cmp rdi, rbx
jbe 0x140024e9a
cmp rbx, 0xffffffffffffffff
je 0x140024e9a
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jb 0x140024f11
sub rdi, rbx
lea r8, [rdi - 1]
sub rax, rsi
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rax, qword [rsp + 0x60]
lea rdx, [rax + rsi*2]
lea rcx, [rsp + 0x30]
call fcn.1400019a0
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 7
cmova rcx, qword [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 0xa]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x140024e3d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024e38
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024e38
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
movdqa xmm0, xmmword [0x140047b70]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x140024e96
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140024e91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024e91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003d270
mov eax, ebx
jmp 0x140024ee5
cmp r10, 7
jbe 0x140024ed8
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140024ed0
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140024ed0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14003d270
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14003d250
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14000be40
nop
int3