Function at 0x14007a9e0
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 [0x1401b8010]
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.140078c90
nop
cmp byte [rbp + 7], r13b
je 0x14007ab9a
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 0x14007aa61
lea rcx, [rbp + 0xf]
call fcn.140002f20
mov rsi, qword [rbp + 0x1f]
mov rdi, qword [rbp + 0x27]
cmp rsi, rdi
jae 0x14007aaa3
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 0x14007ab9a
movabs rbx, 0x7ffffffffffffffe
mov rax, rbx
sub rax, rsi
cmp rax, 1
jb 0x14007ad0b
lea r15, [rsi + 1]
mov rcx, r15
or rcx, 7
cmp rcx, rbx
ja 0x14007ab05
mov rdx, rdi
shr rdx, 1
mov rax, rbx
sub rax, rdx
cmp rdi, rax
ja 0x14007ab05
lea rax, [rdi + rdx]
mov rbx, rcx
cmp rcx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14007ad11
jmp 0x14007ab0f
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140002610
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 0x14007ab85
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 0x14007ab71
add rdx, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x14007ab7e
mov rbx, rcx
lfence
mov rcx, rbx
call fcn.14007e2a0
jmp 0x14007ab96
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 0x14007aba9
lea rcx, [rbp - 0x19]
call fcn.140002e30
mov rcx, qword [rbp + 0x1f]
mov rdx, qword [rbp + 0x27]
mov rax, rdx
sub rax, rcx
cmp rax, 0x1b
jb 0x14007abef
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 0x14007ac12
lfence
mov qword [rsp + 0x20], 0x1b
lea r9, str.SoftwareBitdefender_bdhtml
xor r8d, r8d
lea edx, [r8 + 0x1b]
lea rcx, [rbp + 0xf]
call fcn.140003a40
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 0x14007ac91
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 0x14007acdb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007acd6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007acd6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007e2a0
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14007e250
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.140002820
nop
call fcn.1400027a0
int3