Function at 0x18004f680
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x180141088]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rbx, rcx
mov qword [rbp + 0x3f], 0xf
xor edi, edi
mov qword [rbp + 0x37], rdi
mov byte [rbp + 0x27], dil
lea r8d, [rdi + 9]
lea rdx, str.Software_
lea rcx, [rbp + 0x27]
call fcn.180009ff0
nop
lea r8, [rbx + 0x30]
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x19]
call fcn.18001b8f0
nop
lea r8, str.Settings
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.18000c8f0
mov rdx, rax
lea rcx, [rbp + 0x27]
call fcn.18000bf30
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x18004f75e
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x18004f759
test cl, 0x1f
je 0x18004f72c
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004f73b
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004f74a
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18004f756
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], rdi
mov byte [rbp - 0x39], 0
mov rax, qword [rbp - 1]
cmp rax, 0x10
jb 0x18004f7c4
inc rax
mov rcx, qword [rbp - 0x19]
cmp rax, 0x1000
jb 0x18004f7bf
test cl, 0x1f
je 0x18004f792
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004f7a1
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004f7b0
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18004f7bc
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], rdi
mov byte [rbp - 0x39], 0
mov r8d, 0x12
lea rdx, str.IncludeBetaUpdates
lea rcx, [rbp - 0x39]
call fcn.180009ff0
nop
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x19]
call fcn.180033ea0
cmp qword [rax + 0x18], 8
jb 0x18004f802
mov rax, qword [rax]
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
mov r9d, 0x201
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete bl
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x18004f843
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.180031a90
test bl, bl
je 0x18004f8c2
mov dword [rbp + 0x1b], 4
mov dword [rbp + 0x17], 4
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x19]
call fcn.180033ea0
cmp qword [rax + 0x18], 8
jb 0x18004f86c
mov rax, qword [rax]
lea rcx, [rbp + 0x17]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x1f]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1b]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov r8, qword [rbp - 1]
cmp r8, 8
jb 0x18004f8ae
inc r8
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 0x19]
call fcn.180031a90
mov rcx, qword [rbp + 0xf]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [rbp + 0x1f]
test ebx, ebx
sete bl
jmp 0x18004f8c4
xor bl, bl
mov rax, qword [rbp - 0x21]
cmp rax, 0x10
jb 0x18004f91a
inc rax
mov rcx, qword [rbp - 0x39]
cmp rax, 0x1000
jb 0x18004f915
test cl, 0x1f
je 0x18004f8e8
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004f8f7
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004f906
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18004f912
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
test bl, bl
je 0x18004f929
cmp edi, 1
jne 0x18004f929
movzx ebx, dil
jmp 0x18004f92b
xor bl, bl
mov rax, qword [rbp + 0x3f]
cmp rax, 0x10
jb 0x18004f981
inc rax
mov rcx, qword [rbp + 0x27]
cmp rax, 0x1000
jb 0x18004f97c
test cl, 0x1f
je 0x18004f94f
call fcn.1800c0d4c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18004f95e
call fcn.1800c0d4c
int3
sub rcx, rax
cmp rcx, 8
jae 0x18004f96d
call fcn.1800c0d4c
int3
cmp rcx, 0x27
jbe 0x18004f979
call fcn.1800c0d4c
int3
mov rcx, rax
call fcn.1800af3bc
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1800ae8d0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret