Function at 0x14006fd60
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x14024cdb8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r13, rcx
xor r12d, r12d
mov dword [rbp - 0x29], r12d
lea r8d, [r12 + 0x10]
lea rdx, str.0WIN0GIA035UNMF7
call fcn.140023b80
call fcn.140027cc0
xor r8d, r8d
lea rdx, [rbp - 0x11]
mov rcx, rax
call fcn.140028320
cmp qword [rax + 0x18], 8
jb 0x14006fdcb
mov rax, qword [rax]
mov rbx, r12
mov qword [rbp - 0x21], r12
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006fdff
mov eax, r12d
mov rbx, qword [rbp - 0x21]
test eax, eax
jne 0x14006fe55
mov qword [rbp - 0x19], r12
mov dword [rbp - 0x25], 8
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
lea rdx, str.DEV_enable_beacon_debug
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006fe55
cmp dword [rbp - 0x29], 0xb
jne 0x14006fe55
mov rdi, qword [rbp - 0x19]
test rbx, rbx
je 0x14006fe66
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14006fe66
test rbx, rbx
je 0x14006fe63
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
cmp rdi, 1
sete bl
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x14006feb0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006feab
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006feab
call qword [0x1401cdd00]
int3
call fcn.1401816cc
mov byte [r13 + 0x88], bl
call fcn.140027cc0
mov r8d, 4
lea rdx, [rbp + 0xf]
mov rcx, rax
call fcn.140029380
mov rdi, rax
mov r14, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14006fedf
mov rdi, qword [rax]
mov qword [rbp - 0x11], r12
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov dword [rbp - 0x29], 1
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
mov r9d, r14d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r15, eax
mov rdx, r15
mov rcx, qword [rbp - 1]
cmp r15, rcx
ja 0x14006ff49
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
mov qword [rbp - 1], rdx
mov byte [rcx + r15], 0
jmp 0x14006ff99
mov rsi, rdx
sub rsi, rcx
mov r8, qword [rbp + 7]
mov rax, r8
sub rax, rcx
cmp rsi, rax
ja 0x14006ff85
mov qword [rbp - 1], rdx
lea rbx, [rbp - 0x11]
cmp r8, 0x10
cmovae rbx, qword [rbp - 0x11]
add rbx, rcx
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140182d06
mov byte [rbx + rsi], 0
jmp 0x14006ff99
mov byte [rsp + 0x20], 0
mov r9, rsi
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140024390
lea rax, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rax, qword [rbp - 0x11]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rbx, [r13 + 0x90]
lea rax, [rbp - 0x11]
cmp rbx, rax
je 0x140070010
mov rcx, rbx
call fcn.140023a80
movups xmm0, xmmword [rbp - 0x11]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 1]
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 1], r12
mov eax, 0xf
mov qword [rbp + 7], rax
mov byte [rbp - 0x11], 0
jmp 0x140070014
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x14007004f
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007004a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007004a
call qword [0x1401cdd00]
int3
call fcn.1401816cc
mov qword [rbp - 1], r12
mov qword [rbp + 7], 0xf
mov byte [rbp - 0x11], 0
mov rdx, qword [rbp + 0x27]
cmp rdx, 8
jb 0x1400700a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007009d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007009d
call qword [0x1401cdd00]
int3
call fcn.1401816cc
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140181670
lea r11, [rsp + 0xa0]
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