Function at 0x14006ab70
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140117240]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, qword [rbp + 0x80]
mov qword [rsp + 0x30], rsi
mov r14, qword [rbp + 0x88]
mov r12, qword [rbp + 0x90]
xor r13d, r13d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x68], xmm1
mov qword [rbp - 0x58], r13
mov dword [rbp - 0x6c], r13d
mov dword [rbp - 0x70], 0x80
mov r15, qword [r12]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x6c]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14006ac41
mov r9d, dword [rbp - 0x70]
lea r8, [rbp - 0x50]
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140029980
mov r8, qword [rbp - 0x58]
mov rdx, qword [rbp - 0x60]
mov rcx, qword [rbp - 0x68]
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov ecx, dword [rbp - 0x6c]
mov dword [rsi + 0x18], ecx
jmp 0x14006ad6e
cmp eax, 0xea
je 0x14006ac78
lea rcx, str.Cannot_query_registry_value_size
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r13
movups xmm1, xmmword [r12]
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rbp - 0x80], xmm1
lea rdx, [rsp + 0x70]
mov ecx, eax
call fcn.140069590
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x14006ad51
mov edi, r13d
nop word [rax + rax]
mov r8d, eax
mov r9, qword [rbp - 0x60]
mov rdx, r9
mov rcx, qword [rbp - 0x68]
sub rdx, rcx
cmp r8, rdx
jae 0x14006acb0
lea rax, [rcx + r8]
mov qword [rbp - 0x60], rax
jmp 0x14006ace5
jbe 0x14006ace5
mov rax, qword [rbp - 0x58]
sub rax, rcx
cmp r8, rax
jbe 0x14006accc
mov rdx, r8
lea rcx, [rbp - 0x68]
call fcn.140029470
jmp 0x14006ace1
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400b2790
mov qword [rbp - 0x60], rbx
mov rcx, qword [rbp - 0x68]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x6c]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x14006ad20
inc edi
cmp edi, 5
jge 0x14006adad
mov eax, dword [rbp - 0x70]
jmp 0x14006ac90
lea rcx, str.Cannot_query_registry_value_data
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], r13
movups xmm1, xmmword [r12]
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x50], xmm1
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140069590
mov rax, qword [rbp - 0x68]
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov eax, dword [rbp - 0x6c]
mov dword [rsi + 0x18], eax
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x68], r13
lea rcx, [rbp - 0x68]
call fcn.14001ad00
mov rax, rsi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400827b0
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r12
call fcn.14003aa50
mov qword [rsp + 0x30], rax
lea rax, str.Cannot_query_registry_data_due_to__value_changed_too_often
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x3e
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14006ae00
lea rdx, [0x140114e30]
lea rcx, [rsp + 0x70]
call fcn.1400850a4
int3