Function at 0x140016e40
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x130
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rbp + 0x28], rax
lea r8, str.AppLMRegKey
lea rdx, [rsp + 0x48]
lea rcx, [0x140313370]
call fcn.140053410
nop
mov rax, qword [rsp + 0x48]
movzx ecx, word [rax]
xor r12d, r12d
cmp cx, word [0x140296e0c]
jne 0x140016eab
mov ecx, r12d
jmp 0x140016eb0
sbb ecx, ecx
or ecx, 1
test ecx, ecx
jne 0x140016eb9
jmp 0x140017781
mov qword [rsp + 0x60], r12
call fcn.1400694ec
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140016ede
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
lea r14, [0x140296e0c]
mov rbx, r14
shr rbx, 0x10
test rbx, rbx
jne 0x140016f25
movzx esi, r14w
mov ecx, esi
call fcn.140068f14
test rax, rax
je 0x140016f3a
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140011830
jmp 0x140016f35
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.140011b80
mov rdi, qword [rsp + 0x40]
call fcn.1400694ec
mov rdx, rax
mov ecx, r12d
test rax, rax
setne cl
test ecx, ecx
jne 0x140016f5a
mov ecx, 0x80004005
call fcn.140011b60
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
test rbx, rbx
jne 0x140016f93
movzx ebx, r14w
mov ecx, ebx
call fcn.140068f14
test rax, rax
je 0x140016fa4
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140011830
jmp 0x140016fa4
xor r8d, r8d
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140011b80
nop
mov word [rbp], r12w
xor eax, eax
mov qword [rbp + 2], rax
mov qword [rbp + 0xa], rax
mov qword [rbp + 0x12], rax
mov qword [rbp + 0x1a], rax
mov dword [rbp + 0x22], eax
mov word [rbp + 0x26], ax
mov rsi, r12
xor r14b, r14b
mov byte [rsp + 0x30], r14b
mov dword [rsp + 0x54], r12d
mov dword [rsp + 0x50], r12d
or r15, 0xffffffffffffffff
nop dword [rax + rax]
lea r9, [rsp + 0x50]
lea r8, [0x140298078]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call fcn.14001c8a0
nop
mov r13, qword [rax]
lea rcx, [r13 - 0x18]
lea rbx, [rdi - 0x18]
cmp rcx, rbx
je 0x140017134
cmp dword [rbx + 0x10], 0
jl 0x140017048
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140017048
call fcn.1400116e0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14001703a
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x40], rax
jmp 0x140017134
movsxd r14, dword [r13 - 0x10]
test r14d, r14d
jne 0x1400170a5
mov r14, qword [rbx]
cmp dword [rbx + 8], 0
je 0x14001712e
cmp dword [rbx + 0x10], 0
jge 0x14001707b
cmp dword [rdi - 0xc], 0
jl 0x140017482
mov dword [rdi - 0x10], r12d
mov word [rdi], r12w
jmp 0x14001712e
lock add dword [rbx + 0x10], 0xffffffff
jg 0x14001708e
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
jmp 0x14001712e
test r13, r13
je 0x1400174a3
mov eax, dword [rdi - 0x10]
mov dword [rsp + 0x58], eax
mov r12, r13
sub r12, rdi
sar r12, 1
test r14d, r14d
js 0x140017498
mov ecx, 1
sub ecx, dword [rbx + 0x10]
mov eax, dword [rbx + 0xc]
sub eax, r14d
or eax, ecx
jge 0x1400170eb
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140011b00
mov rdi, qword [rsp + 0x40]
mov eax, dword [rsp + 0x58]
lea rbx, [r14 + r14]
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
mov r9, rbx
add rdx, rdx
cmp r12, rax
ja 0x140017110
lea r8, [rdi + r12*2]
call fcn.1401f366c
jmp 0x140017118
mov r8, r13
call fcn.1401f3588
cmp r14d, dword [rdi - 0xc]
jg 0x14001748d
mov dword [rdi - 0x10], r14d
xor r12d, r12d
mov word [rbx + rdi], r12w
movzx r14d, byte [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001714d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x40]
movzx eax, word [rdi]
cmp ax, word [0x140296e0c]
jne 0x140017163
mov eax, r12d
jmp 0x140017168
sbb eax, eax
or eax, 1
mov rbx, qword [rsp + 0x38]
test eax, eax
je 0x140017506
mov word [rbp], r12w
lea rdx, [rbx - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x1400171c8
cmp dword [rdx + 0x10], 0
jge 0x1400171a1
cmp dword [rbx - 0xc], 0
jl 0x1400174ae
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x1400171c8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400171b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140017321
mov dword [rsp + 0x54], SafeArrayGetElement
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.EulaDate
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rbp]
mov r14, r15
nop dword [rax]
inc r14
cmp word [rax + r14*2], 0
jne 0x140017230
test r14d, r14d
jne 0x140017297
lea rdx, [rbx - 0x18]
mov r14, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140017316
cmp dword [rdx + 0x10], 0
jge 0x14001726e
cmp dword [rbx - 0xc], 0
jl 0x1400174b9
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140017316
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001727e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r14]
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rdi, qword [rsp + 0x40]
jmp 0x140017316
mov r13d, dword [rbx - 0x10]
lea r12, [rbp]
sub r12, rbx
sar r12, 1
test r14d, r14d
js 0x1400174cf
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, r14d
or eax, ecx
jge 0x1400172d2
mov edx, r14d
lea rcx, [rsp + 0x38]
call fcn.140011b00
mov rbx, qword [rsp + 0x38]
movsxd rax, r14d
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400172f6
lea r8, [rbx + r12*2]
call fcn.1401f366c
jmp 0x1400172ff
lea r8, [rbp]
call fcn.1401f3588
cmp r14d, dword [rbx - 0xc]
jg 0x1400174c4
mov dword [rbx - 0x10], r14d
xor r12d, r12d
mov word [r13 + rbx], r12w
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx - 0x10], 8
jl 0x14001746c
mov r9d, 4
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.14001ca30
mov rcx, qword [rax]
call fcn.1401f4990
mov edi, eax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017367
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r9d, 2
lea r8d, [r9 + 2]
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x38]
call fcn.14001ca30
mov rcx, qword [rax]
call fcn.1401f4990
mov r14d, eax
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400173a3
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r8d, 6
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x38]
call fcn.14001ca00
mov rcx, qword [rax]
call fcn.1401f4990
mov ebx, eax
mov rdx, qword [rbp - 0x78]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400173da
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
cmp edi, 0x76c
setge al
test eax, eax
je 0x1400174fb
lea ecx, [r14 - 1]
cmp ecx, 0xb
ja 0x1400174f0
lea eax, [rbx - 1]
cmp eax, 0x1e
ja 0x1400174e5
mov qword [rbp - 0x28], 0
mov dword [rbp - 0x20], r12d
mov dword [rbp - 0x1c], ebx
mov dword [rbp - 0x18], ecx
lea eax, [rdi - 0x76c]
mov dword [rbp - 0x14], eax
mov dword [rbp - 8], r15d
lea rcx, [rbp - 0x28]
call fcn.1401f5020
cmp rax, 0xffffffffffffffff
je 0x1400174da
movzx r14d, byte [rsp + 0x30]
test r14b, r14b
je 0x140017455
cmp rsi, rax
jg 0x140017455
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
jmp 0x140017472
mov rsi, rax
mov r14b, 1
mov byte [rsp + 0x30], r14b
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x38]
jmp 0x140017472
movzx r14d, byte [rsp + 0x30]
cmp dword [rsp + 0x50], 0
jle 0x140017506
jmp 0x140016fe0
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
nop
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80070057
call fcn.140011b60
int3
mov ecx, 0x80004005
call fcn.140011b60
int3
mov ecx, 0x80004005
call fcn.140011b60
int3
mov ecx, 0x80004005
call fcn.140011b60
int3
test r14b, r14b
jne 0x140017514
lea rdx, [rbx - 0x18]
jmp 0x140017751
lea r8, str.EulaDate
lea rdx, [rbp - 0x60]
lea rcx, [0x140313370]
call fcn.140053410
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140017580
cmp dword [rbx + 0x10], 0
jl 0x140017571
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140017571
call fcn.1400116e0
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x140017566
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x140017580
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140011b80
nop
mov rdx, qword [rbp - 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017598
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsp + 0x38]
cmp dword [rax - 0x10], 8
jl 0x14001774d
mov r9d, 4
xor r8d, r8d
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x38]
call fcn.14001ca30
mov rcx, qword [rax]
call fcn.1401f4990
mov edi, eax
mov rdx, qword [rbp - 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400175e1
mov rcx, qword [rdx]
mov r10, qword [rcx]
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
mov r9d, 2
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.14001ca30
mov rcx, qword [rax]
call fcn.1401f4990
mov r14d, eax
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001761f
mov rcx, qword [rdx]
mov r9, qword [rcx]
call qword [r9 + reloc.OLEAUT32.dll_VariantClear]
mov r8d, 6
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call fcn.14001ca00
mov rcx, qword [rax]
call fcn.1401f4990
mov ebx, eax
mov rdx, qword [rbp - 0x80]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017656
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
cmp edi, 0x76c
setge al
test eax, eax
jne 0x140017671
mov ecx, 0x80004005
call fcn.140011b60
int3
lea ecx, [r14 - 1]
cmp ecx, 0xb
jbe 0x140017685
mov ecx, 0x80004005
call fcn.140011b60
int3
lea eax, [rbx - 1]
cmp eax, 0x1e
jbe 0x140017698
mov ecx, 0x80004005
call fcn.140011b60
int3
mov qword [rbp - 0x50], 0
mov dword [rbp - 0x48], r12d
mov dword [rbp - 0x44], ebx
mov dword [rbp - 0x40], ecx
lea eax, [rdi - 0x76c]
mov dword [rbp - 0x3c], eax
mov dword [rbp - 0x30], r15d
lea rcx, [rbp - 0x50]
call fcn.1401f5020
cmp rax, 0xffffffffffffffff
jne 0x1400176d1
mov ecx, 0x80070057
call fcn.140011b60
int3
cmp rsi, rax
jge 0x1400176e1
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
jmp 0x140017751
lea r8, [0x140297184]
lea rdx, str.EULA_IS_REQUIRED
lea rcx, [0x140313370]
call fcn.140053590
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017716
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017730
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x48]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017749
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor al, al
jmp 0x140017797
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017762
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14001777c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, qword [rsp + 0x48]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140017795
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov al, 1
mov rcx, qword [rbp + 0x28]
xor rcx, rsp
call fcn.1401f2f70
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret