Function at 0x14005c2e0
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 [0x1402bf200]
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 0x14005c3b1
mov r9d, dword [rbp - 0x70]
lea r8, [rbp - 0x50]
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x68]
call fcn.140044230
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 0x14005c4de
cmp eax, 0xea
je 0x14005c3e8
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.140059ec0
mov eax, dword [rbp - 0x70]
test eax, eax
je 0x14005c4c1
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 0x14005c420
lea rax, [rcx + r8]
mov qword [rbp - 0x60], rax
jmp 0x14005c455
jbe 0x14005c455
mov rax, qword [rbp - 0x58]
sub rax, rcx
cmp r8, rax
jbe 0x14005c43c
mov rdx, r8
lea rcx, [rbp - 0x68]
call fcn.140044560
jmp 0x14005c451
sub r8, rdx
lea rbx, [r9 + r8]
xor edx, edx
mov rcx, r9
call fcn.1401d80e0
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 0x14005c490
inc edi
cmp edi, 5
jge 0x14005c51d
mov eax, dword [rbp - 0x70]
jmp 0x14005c400
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.140059ec0
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.14002a0d0
mov rax, rsi
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14019acb0
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.140008910
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.14005ca40
lea rdx, [0x1402bada8]
lea rcx, [rsp + 0x70]
call fcn.14019cd80
int3