Function at 0x180086390
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x180140080]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor ebx, ebx
mov qword [rsp + 0x50], rbx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [rbx + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1800865f4
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 0x1800865e9
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bx
jne 0x180086470
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1800065a0
nop
lea r8, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 7
cmova r8, r9
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x1800864e3
mov rcx, rax
mov rdx, r8
mov rdi, rbx
cmp word [r8], 0x2e
je 0x1800864d3
nop word [rax + rax]
cmp rcx, 1
je 0x1800864d6
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x1800864c0
mov rdi, rdx
test rdi, rdi
je 0x1800864e3
sub rdi, r8
sar rdi, 1
jmp 0x1800864ea
mov rdi, 0xffffffffffffffff
lea rsi, [rdi + 1]
lea rdx, [rsp + 0x60]
cmp r10, 7
cmova rdx, r9
cmp rsi, rax
jae 0x180086533
sub rax, rsi
lea rcx, [rdx + rsi*2]
je 0x180086526
cmp word [rcx], 0x2e
je 0x180086523
nop
cmp rax, 1
je 0x180086526
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x180086510
mov rbx, rcx
test rbx, rbx
je 0x180086533
sub rbx, rdx
sar rbx, 1
jmp 0x18008653a
mov rbx, 0xffffffffffffffff
cmp rbx, rdi
jbe 0x1800865df
cmp rdi, 0xffffffffffffffff
je 0x1800865df
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 0x18008661e
sub rbx, rdi
lea r8, [rbx - 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.1800065a0
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
lea rcx, [rsp + 0x30]
call fcn.1800058a0
nop
lea rcx, [rsp + 0x60]
call fcn.1800058a0
mov eax, ebx
jmp 0x1800865f6
lea rcx, [rsp + 0x60]
call fcn.1800058a0
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.180100f50
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.180005cc0
nop
int3