Function at 0x1400a4780
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 - 0x70]
sub rsp, 0x170
mov rax, qword [0x1401761c0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, qword [rbp + 0xb0]
mov qword [rsp + 0x30], rsi
mov r14, qword [rbp + 0xb8]
mov r12, qword [rbp + 0xc0]
xor r13d, r13d
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
mov qword [rbp - 0x30], r13
mov dword [rbp - 0x44], r13d
mov dword [rbp - 0x48], 0x80
mov r15, qword [r12]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x44]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a4851
mov r9d, dword [rbp - 0x48]
lea r8, [rbp - 0x20]
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.1400a4b70
mov r8, qword [rbp - 0x30]
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], r8
mov ecx, dword [rbp - 0x44]
mov dword [rsi + 0x18], ecx
jmp 0x1400a497e
cmp eax, 0xea
je 0x1400a4888
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.1400a3280
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x1400a4961
mov edi, r13d
nop word [rax + rax]
mov r8d, eax
mov r9, qword [rbp - 0x38]
mov rdx, r9
mov rcx, qword [rbp - 0x40]
sub rdx, rcx
cmp r8, rdx
jae 0x1400a48c0
lea rax, [rcx + r8]
mov qword [rbp - 0x38], rax
jmp 0x1400a48f5
jbe 0x1400a48f5
mov rax, qword [rbp - 0x30]
sub rax, rcx
cmp r8, rax
jbe 0x1400a48dc
mov rdx, r8
lea rcx, [rbp - 0x40]
call fcn.140068a20
jmp 0x1400a48f1
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1400fed10
mov qword [rbp - 0x38], rbx
mov rcx, qword [rbp - 0x40]
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x44]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 0xea
jne 0x1400a4930
inc edi
cmp edi, 5
jge 0x1400a49bd
mov eax, dword [rbp - 0x48]
jmp 0x1400a48a0
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.1400a3280
mov rax, qword [rbp - 0x40]
mov rcx, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov eax, dword [rbp - 0x44]
mov dword [rsi + 0x18], eax
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x40], r13
lea rcx, [rbp - 0x40]
call fcn.14000d9f0
mov rax, rsi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400b89f0
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, r12
call fcn.14005d1c0
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.1400103b0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400a4de0
lea rdx, [0x140172930]
lea rcx, [rbp - 0x70]
call fcn.1400bb9a0
int3