Function at 0x14002d1d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1400820c0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rsi, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rdx
xor r14d, r14d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x20]
call fcn.14005e8e0
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x18], 7
jbe 0x14002d22a
mov rdx, qword [rdx]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [rbp - 0x38], eax
mov rdi, 0xffffffffffffffff
test eax, eax
jne 0x14002d3b2
mov dword [rbp - 0x34], 0x104
lea rdx, [rbx + 0x38]
cmp qword [rdx + 0x18], 7
jbe 0x14002d270
mov rdx, qword [rdx]
lea rax, [rbp - 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 0x38], eax
test eax, eax
je 0x14002d4ba
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 6
lea rdx, [0x14006e87c]
lea rcx, [rsp + 0x70]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140009620
nop
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
lea rax, str.RegQueryValueExW_failed___
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x1c
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rbp - 0x50], xmm1
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.14002de90
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002d36e
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002d36e
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002d36e
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14002d4ba
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d4b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d51f
jmp 0x14002d4b5
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
mov r8d, 6
lea rdx, [0x14006e87c]
lea rcx, [rsp + 0x70]
call fcn.140010590
nop
call fcn.140009730
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140009620
nop
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
lea rax, str.RegOpenKeyExW_failed___
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], 0x19
movups xmm0, xmmword [rsp + 0x40]
movaps xmmword [rbp - 0x60], xmm0
movsd xmm1, qword [rsp + 0x50]
movsd qword [rbp - 0x50], xmm1
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea rdx, [rbp - 0x60]
mov rcx, qword [rsp + 0x30]
call fcn.14002de90
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14002d482
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14002d482
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002d482
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14002d4ba
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002d4b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002d519
call fcn.140038e94
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], r14
lea rax, [rbp - 0x20]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14002d4d6
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140010310
mov rax, rsi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.140038a00
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140042e3c
int3
call fcn.140042e3c
int3