Function at 0x14006e9f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x140191010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xor r13d, r13d
mov qword [rbp + 0xf], r13
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], 7
mov word [rbp + 0xf], r13w
mov r12, 0xffffffff80000001
lea rcx, [rbp - 0x19]
call fcn.14006cd60
nop
cmp byte [rbp + 7], r13b
je 0x14006ebaa
mov r12, 0xffffffff80000003
lea rdx, [rbp - 0x19]
cmp qword [rbp - 1], 8
cmovae rdx, qword [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x14006ea71
lea rcx, [rbp + 0xf]
call fcn.140002ed0
mov rsi, qword [rbp + 0x1f]
mov rdi, qword [rbp + 0x27]
cmp rsi, rdi
jae 0x14006eab3
lea rax, [rsi + 1]
mov qword [rbp + 0x1f], rax
lea rax, [rbp + 0xf]
cmp rdi, 8
cmovae rax, qword [rbp + 0xf]
mov dword [rax + rsi*2], 0x5c
jmp 0x14006ebaa
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rsi
cmp rax, 1
jb 0x14006ed1b
lea r15, [rsi + 1]
mov rcx, r15
or rcx, 7
cmp rcx, rbx
ja 0x14006eb15
mov rdx, rdi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rdi, rax
ja 0x14006eb15
lea rax, [rdi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14006ed21
jmp 0x14006eb1f
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140002760
mov r14, rax
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], rbx
add rsi, rsi
mov r8, rsi
mov rcx, rax
cmp rdi, 8
jb 0x14006eb95
mov rbx, qword [rbp + 0xf]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + r14], 0x5c
lea rdx, [rdi*2 + 2]
cmp rdx, 0x1000
jb 0x14006eb81
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14006eb8e
mov rbx, rcx
lfence
mov rcx, rbx
call fcn.140071e50
jmp 0x14006eba6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, [rbp + 0xf]
call sub.VCRUNTIME140.dll_memcpy
mov dword [rsi + r14], 0x5c
mov qword [rbp + 0xf], r14
cmp byte [rbp + 7], 0
je 0x14006ebb9
lea rcx, [rbp - 0x19]
call fcn.140002de0
mov rcx, qword [rbp + 0x1f]
mov rdx, qword [rbp + 0x27]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1b
jb 0x14006ebff
lea rdi, [rcx + 0x1b]
mov qword [rbp + 0x1f], rdi
lea rbx, [rbp + 0xf]
cmp rdx, 8
cmovae rbx, qword [rbp + 0xf]
lea rcx, [rbx + rcx*2]
mov r8d, 0x36
lea rdx, str.SoftwareBitdefender_bdhtml
call sub.VCRUNTIME140.dll_memmove
mov word [rbx + rdi*2], r13w
jmp 0x14006ec22
lfence
mov qword [rsp + 0x20], 0x1b
lea r9, str.SoftwareBitdefender_bdhtml
xor r8d, r8d
lea edx, [r8 + 0x1b]
lea rcx, [rbp + 0xf]
call fcn.1400039f0
mov qword [rbp - 0x21], r13
mov dword [rbp - 0x25], 4
mov dword [rbp - 0x29], r13d
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006eca1
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.dark
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp - 0x29]
mov edx, 1
test eax, eax
cmove ecx, edx
mov dword [rbp - 0x29], ecx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x29], 1
sete bl
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x14006eceb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006ece6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006ece6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140071e50
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140071e30
lea r11, [rsp + 0x90]
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
call fcn.1400027d0
nop
call fcn.140001f10
int3