Function at 0x140012a90
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], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14030d6e8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
xor r15d, r15d
mov qword [rsp + 0x50], r15
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [r15 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140012eac
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x80], 0x208
mov dword [rsp + 0x58], 1
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
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 0x140012ea1
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r15
lea rax, [rbp - 0x70]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x140012b70
movabs r14, 0x7ffffffffffffffe
cmp rbx, r14
ja 0x140012ee4
mov r12d, 0xa
mov qword [rsp + 0x78], 7
cmp rbx, 8
jae 0x140012bc3
mov qword [rsp + 0x70], rbx
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x60], r15w
jmp 0x140012c12
mov rsi, rbx
or rsi, 7
cmp rsi, r14
jbe 0x140012bd4
mov rsi, r14
jmp 0x140012bdb
cmp rsi, r12
cmovb rsi, r12
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x60]
call fcn.1400028c0
mov rdi, rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x70]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r15w
lea r9, [rsp + 0x60]
mov r8, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 8
cmovae r9, r8
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140012c66
mov rcx, rax
mov rdx, r9
mov rbx, r15
cmp word [r9], 0x2e
je 0x140012c56
cmp rcx, 1
je 0x140012c59
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x140012c43
mov rbx, rdx
test rbx, rbx
je 0x140012c66
sub rbx, r9
sar rbx, 1
jmp 0x140012c6d
mov rbx, 0xffffffffffffffff
lea rsi, [rbx + 1]
lea rdx, [rsp + 0x60]
cmp r10, 8
cmovae rdx, r8
cmp rsi, rax
jae 0x140012cb8
sub rax, rsi
lea rcx, [rdx + rsi*2]
mov rdi, r15
je 0x140012cab
cmp word [rcx], 0x2e
je 0x140012ca8
cmp rax, 1
je 0x140012cab
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x140012c95
mov rdi, rcx
test rdi, rdi
je 0x140012cb8
sub rdi, rdx
sar rdi, 1
jmp 0x140012cbf
mov rdi, 0xffffffffffffffff
cmp rdi, rbx
jbe 0x140012e63
cmp rbx, 0xffffffffffffffff
je 0x140012e63
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jb 0x140012eea
sub rdi, rbx
lea rbx, [rdi - 1]
sub rax, rsi
cmp rax, rbx
cmovb rbx, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
lea rsi, [rax + rsi*2]
cmp rbx, r14
ja 0x140012ede
mov qword [rsp + 0x48], 7
cmp rbx, 8
jae 0x140012d56
mov qword [rsp + 0x40], rbx
add rbx, rbx
mov r8, rbx
mov rdx, rsi
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memmove
mov word [rsp + rbx + 0x30], r15w
jmp 0x140012da3
mov rax, rbx
or rax, 7
cmp rax, r14
ja 0x140012d6d
mov r14, rax
cmp rax, 0xa
cmovb r14, r12
lea rdx, [r14 + 1]
lea rcx, [rsp + 0x30]
call fcn.1400028c0
mov rdi, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], r14
add rbx, rbx
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r15w
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
mov r8d, r12d
xor edx, edx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ebx, eax
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x140012e06
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e01
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e01
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140110974
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r15w
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x140012e5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140110974
mov eax, ebx
jmp 0x140012eae
cmp r10, 8
jb 0x140012ea1
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140012e99
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012e99
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140110974
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140110ce0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400013e0
nop
call fcn.1400013e0
nop
call fcn.1400119b0
int3