Function at 0x1401083b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
mov rax, qword [0x141992390]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rsi, r8
mov rdi, rcx
mov byte [r8], 0
mov dword [rsp + 0x50], 0x2c
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x58]
call fcn.1400c16b0
mov rbx, rax
mov byte [rsp + 0x30], 0x5c
mov r8d, 0x37
lea rdx, [0x140282950]
lea rcx, [rsp + 0x40]
call fcn.1400405f0
nop
lea rax, [rsp + 0x40]
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.14004b8c0
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
mov ebx, 0xffffffff
test ecx, ecx
je 0x14010847a
cmp ecx, ebx
je 0x14010848e
mov ecx, ebx
mov rax, qword [rsp + 0x40]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x14010848e
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x40]
call fcn.140049bf0
nop
mov rax, qword [rsp + 0x58]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401084ae
cmp ecx, 0xffffffff
je 0x1401084c1
mov ecx, ebx
mov rax, qword [rsp + 0x58]
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401084c1
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x58]
call fcn.140049bf0
lea rcx, [rsp + 0x48]
call fcn.140046630
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 0x1401085bb
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, [0x140282cf8]
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, [0x140282d00]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140282d08]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401085b0
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 xmm1, xmmword [rbp - 0x5c]
movups xmmword [rbp + 0x58], xmm1
mov byte [rsi], 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x40]
movups xmm0, xmmword [rcx]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdi + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdi + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdi + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rdi + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rdi + 0x60], xmm0
movups xmm0, xmmword [rcx + 0x70]
movups xmmword [rdi + 0x70], xmm0
movups xmm1, xmmword [rcx + 0x80]
movups xmmword [rdi + 0x80], xmm1
movups xmm0, xmmword [rcx + 0x90]
movups xmmword [rdi + 0x90], xmm0
mov rax, qword [rcx + 0xa0]
mov qword [rdi + 0xa0], rax
mov eax, dword [rcx + 0xa8]
mov dword [rdi + 0xa8], eax
mov rax, qword [rsp + 0x48]
mov ecx, dword [rax]
test ecx, ecx
je 0x140108651
cmp ecx, 0xffffffff
je 0x140108664
mov rax, qword [rsp + 0x48]
lock xadd dword [rax], ebx
cmp ebx, 1
jne 0x140108664
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x48]
call fcn.140049bf0
mov rax, rdi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140121c90
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret