Function at 0x180061c30
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 [0x18036d060]
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 0x180061e98
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.180211600
mov dword [rsp + 0x58], 0x208
mov dword [rsp + 0x5c], 1
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
xor r8d, r8d
lea rdx, str.BuildLabEx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x180061e8d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x180061d10
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.18000dc00
nop
lea r8, [rsp + 0x60]
mov r9, qword [rsp + 0x60]
mov r10, qword [rsp + 0x78]
cmp r10, 8
cmovae r8, r9
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x180061d83
mov rcx, rax
mov rdx, r8
mov rbx, r14
cmp word [r8], 0x2e
je 0x180061d73
nop word [rax + rax]
cmp rcx, 1
je 0x180061d76
dec rcx
add rdx, 2
cmp word [rdx], 0x2e
jne 0x180061d60
mov rbx, rdx
test rbx, rbx
je 0x180061d83
sub rbx, r8
sar rbx, 1
jmp 0x180061d8a
mov rbx, 0xffffffffffffffff
lea rsi, [rbx + 1]
lea rdx, [rsp + 0x60]
cmp r10, 8
cmovae rdx, r9
cmp rsi, rax
jae 0x180061dd5
sub rax, rsi
lea rcx, [rdx + rsi*2]
mov rdi, r14
je 0x180061dc8
cmp word [rcx], 0x2e
je 0x180061dc5
cmp rax, 1
je 0x180061dc8
dec rax
add rcx, 2
cmp word [rcx], 0x2e
jne 0x180061db2
mov rdi, rcx
test rdi, rdi
je 0x180061dd5
sub rdi, rdx
sar rdi, 1
jmp 0x180061ddc
mov rdi, 0xffffffffffffffff
cmp rdi, rbx
jbe 0x180061e83
cmp rbx, 0xffffffffffffffff
je 0x180061e83
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
mov rax, qword [rsp + 0x70]
cmp rax, rsi
jb 0x180061ec6
sub rdi, rbx
lea r8, [rdi - 1]
sub rax, rsi
cmp rax, r8
cmovb r8, rax
lea rax, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rax, qword [rsp + 0x60]
lea rdx, [rax + rsi*2]
lea rcx, [rsp + 0x30]
call fcn.18000dc00
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rcx, qword [rsp + 0x30]
xor edx, edx
lea r8d, [rdx + 0xa]
call fcn.180227750
mov ebx, eax
lea rcx, [rsp + 0x30]
call fcn.18000db90
nop
lea rcx, [rsp + 0x60]
call fcn.18000db90
mov eax, ebx
jmp 0x180061e9a
lea rcx, [rsp + 0x60]
call fcn.18000db90
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.18007b140
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.180005960
nop
int3