Function at 0x1400c6c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x141949208]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, r8
mov rsi, rcx
mov byte [r8], 0
mov dword [rsp + 0x40], 0x2c
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x58]
call fcn.14009c960
mov rbx, rax
or edi, 0xffffffff
mov r8d, edi
lea rdx, [0x140221a18]
lea rcx, [rsp + 0x50]
call fcn.1400042b0
nop
mov byte [rsp + 0x30], 0x5c
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.14003b0f0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1400c6cc3
cmp eax, edi
je 0x1400c6cd2
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c6cd2
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1400c6cf2
cmp eax, 0xffffffff
je 0x1400c6d00
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1400c6d00
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
lea rcx, [rsp + 0x48]
call fcn.1400360e0
mov rdx, rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c6dfb
mov dword [rsp + 0x34], 0x40
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140221e10]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x34], 0x40
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x3c]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140221e18]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140221e20]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400c6df0
mov eax, dword [rbp - 0x78]
mov dword [rbp - 0x40], eax
mov eax, dword [rbp - 0x74]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x70]
mov dword [rbp + 0x68], eax
movups xmm0, xmmword [rbp - 0x6c]
movups xmmword [rbp + 4], xmm0
movups xmm0, xmmword [rbp - 0x5c]
movups xmmword [rbp + 0x58], xmm0
mov byte [r14], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x40]
movups xmm0, xmmword [rcx]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rsi + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rsi + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rsi + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rsi + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rsi + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rsi + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rsi + 0x80], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rsi + 0x90], xmm0
mov rax, qword [rcx + 0xa0]
mov qword [rsi + 0xa0], rax
mov eax, dword [rcx + 0xa8]
mov dword [rsi + 0xa8], eax
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1400c6e91
cmp eax, 0xffffffff
je 0x1400c6e9f
lock xadd dword [rcx], edi
cmp edi, 1
jne 0x1400c6e9f
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1400397e0
mov rax, rsi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140103500
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret