Function at 0x14000d850
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp + 0x2f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14029fa58]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rdi, rcx
mov qword [rbp + 0x37], rcx
xor esi, esi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
call fcn.14000e420
mov ebx, dword [rax + 0x14]
test ebx, ebx
je 0x14000d911
cmp dword [rax + 0xc], 0xa
jb 0x14000d915
mov qword [rbp + 0x3f], rsi
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000d915
mov dword [rbp + 0x4b], esi
mov dword [rbp + 0x47], 4
lea rax, [rbp + 0x47]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x4b]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140268248]
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x3f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000d915
movzx ebx, word [rbp + 0x47]
call fcn.14000e420
mov rcx, rax
call fcn.140014ac0
cmp eax, 0xc
jb 0x14000d976
mov eax, 0x3fab
cmp bx, ax
jb 0x14000d976
mov ecx, 0x30
call fcn.14017fe18
mov rbx, rax
mov qword [rbp - 0x19], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rcx, rbx
call fcn.14000d1c0
mov byte [rbx + 0x28], 0
lea rax, vtable.wsc4com.0
mov qword [rbx], rax
jmp 0x14000da59
call fcn.14000e420
mov rcx, rax
call fcn.140014ac0
cmp eax, 0xc
jb 0x14000d9cd
mov ecx, 0x30
call fcn.14017fe18
mov rbx, rax
mov qword [rbp - 0x19], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rcx, rbx
call fcn.14000d1c0
mov byte [rbx + 0x28], 0
lea rax, vtable.wsc2com.0
mov qword [rbx], rax
jmp 0x14000da59
call fcn.14000e420
mov rcx, rax
call fcn.140014ac0
cmp eax, 4
jb 0x14000da21
mov ecx, 0x30
call fcn.14017fe18
mov rbx, rax
mov qword [rbp - 0x19], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
mov rcx, rbx
call fcn.14000d1c0
lea rax, vtable.wsccom.0
mov qword [rbx], rax
mov byte [rbx + 0x28], 0
jmp 0x14000da59
mov ecx, 0x28
call fcn.14017fe18
mov rbx, rax
mov qword [rbp - 0x19], rax
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov rcx, rbx
call fcn.14000d1c0
lea rax, vtable.wscwmi.0
mov qword [rbx], rax
mov qword [rdi], rbx
mov ecx, 0x98
call fcn.14017fe18
mov rbx, rax
mov qword [rbp - 0x19], rax
xor edx, edx
mov r8d, 0x98
mov rcx, rax
call fcn.140182920
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
movdqu xmmword [rbp + 0x1f], xmm0
lea r9, [rbp - 1]
lea r8, [rbp + 0xf]
lea rdx, [rbp + 0x1f]
mov rcx, rbx
call fcn.140015a80
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x19], xmm0
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14000e6c0
mov rax, qword [rbp - 0x19]
mov qword [rdi + 8], rax
mov rax, qword [rbp - 0x11]
mov qword [rbp - 9], rax
mov rsi, qword [rdi + 0x10]
mov qword [rbp - 0x11], rsi
mov qword [rdi + 0x10], rax
test rsi, rsi
je 0x14000db0b
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000db0b
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14000db0b
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14017fdc0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret