Function at 0x140016f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x3c8]
sub rsp, 0x4a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400625e0]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov r12, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x80], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
add rax, 0x18
mov qword [r12], rax
mov r13d, 1
mov r14d, r13d
mov dword [rsp + 0x30], r13d
mov byte [rbp - 0x70], r15b
xor edx, edx
mov r8d, 0x3ff
lea rcx, [rbp - 0x6f]
call fcn.14002b2f0
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x68], r15
mov r9d, r13d
lea r8, str.SOFTWAREMicrosoftInternet_Explorer
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.1400028e0
test eax, eax
jne 0x140017401
mov dword [rsp + 0x48], 0x400
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
xor r8d, r8d
lea rdx, str.svcVersion
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x140017196
mov eax, dword [rsp + 0x54]
dec eax
cmp eax, r13d
ja 0x140017196
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140017036
cmp byte [rbp + rax - 0x71], r15b
je 0x14001703a
jmp 0x140017196
mov byte [rbp - 0x70], 0
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x70]
test rax, 0xffffffffffff0000
jne 0x140017093
movzx esi, cx
xor edx, edx
mov ecx, esi
call fcn.1400017a0
test rax, rax
je 0x140017175
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140002140
mov rbx, qword [rsp + 0x38]
jmp 0x140017175
lea rax, [rbp - 0x70]
mov rsi, rdi
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400170a0
test esi, esi
jne 0x140017105
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140017175
cmp dword [rdx + 0x10], 0
jge 0x1400170e1
cmp dword [rbx - 0xc], 0
jge 0x1400170d5
mov ecx, 0x80070057
call fcn.140001850
int3
mov dword [rbx - 0x10], r15d
mov byte [rbx], 0
jmp 0x140017175
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400170f1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
jmp 0x140017175
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x70]
sub r14, rbx
test esi, esi
jns 0x14001711f
mov ecx, 0x80070057
call fcn.140001850
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14001713f
mov edx, esi
lea rcx, [rsp + 0x38]
call fcn.1400029e0
mov rbx, qword [rsp + 0x38]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r14, r15
movsxd r15, esi
mov r9, r15
ja 0x14001715c
lea r8, [r14 + rbx]
call fcn.1400296b4
jmp 0x140017165
lea r8, [rbp - 0x70]
call fcn.140029610
cmp esi, dword [rbx - 0xc]
jg 0x14001718b
mov dword [rbx - 0x10], esi
mov byte [r15 + rbx], 0
xor r15d, r15d
mov r14d, 3
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x14001719b
mov sil, 1
jmp 0x14001719e
mov ecx, 0x80070057
call fcn.140001850
nop
mov rbx, qword [rsp + 0x38]
xor sil, sil
test r14b, 2
je 0x1400171c6
and r14d, 0xfffffffd
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400171c1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14d, dword [rsp + 0x30]
test sil, sil
je 0x1400171de
lea rax, [rbp - 0x70]
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400171d0
jmp 0x1400173d9
mov dword [rsp + 0x4c], 0x400
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.Version
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001739c
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
ja 0x14001739c
mov eax, dword [rsp + 0x4c]
test eax, eax
je 0x14001723e
cmp byte [rbp + rax - 0x71], 0
je 0x140017242
jmp 0x14001739c
mov byte [rbp - 0x70], 0
lea rcx, [0x1400622e0]
mov rax, qword [0x1400622e0]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rbp - 0x70]
lea rax, [rbp - 0x70]
test rax, 0xffffffffffff0000
jne 0x14001729b
movzx esi, cx
xor edx, edx
mov ecx, esi
call fcn.1400017a0
test rax, rax
je 0x14001737d
mov r8d, esi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140002140
mov rbx, qword [rsp + 0x40]
jmp 0x14001737d
lea rax, [rbp - 0x70]
mov rsi, rdi
inc rsi
cmp byte [rax + rsi], 0
jne 0x1400172a2
test esi, esi
jne 0x14001730c
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14001737d
cmp dword [rdx + 0x10], 0
jge 0x1400172e3
cmp dword [rbx - 0xc], 0
jge 0x1400172d7
mov ecx, 0x80070057
call fcn.140001850
int3
mov dword [rbx - 0x10], r15d
mov byte [rbx], 0
jmp 0x14001737d
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400172f3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov r14d, dword [rsp + 0x30]
jmp 0x14001737d
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x70]
sub r15, rbx
test esi, esi
jns 0x140017326
mov ecx, 0x80070057
call fcn.140001850
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x140017345
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.1400029e0
mov rbx, qword [rsp + 0x40]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
cmp r15, r12
movsxd r12, esi
mov r9, r12
ja 0x140017362
lea r8, [r15 + rbx]
call fcn.1400296b4
jmp 0x14001736b
lea r8, [rbp - 0x70]
call fcn.140029610
cmp esi, dword [rbx - 0xc]
jg 0x140017391
mov dword [rbx - 0x10], esi
mov byte [r12 + rbx], 0
mov r12, qword [rsp + 0x70]
or r14d, 4
mov dword [rsp + 0x30], r14d
cmp dword [rbx - 0x10], 0
je 0x1400173a1
mov sil, 1
jmp 0x1400173a4
mov ecx, 0x80070057
call fcn.140001850
nop
mov rbx, qword [rsp + 0x40]
xor sil, sil
test r14b, 4
je 0x1400173c7
and r14d, 0xfffffffb
mov dword [rsp + 0x30], r14d
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400173c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test sil, sil
je 0x1400173e8
lea rax, [rbp - 0x70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400173d0
mov r8d, edi
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140002fd0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017401
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140017411
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, r12
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14002b2c0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret