Function at 0x180001528
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x180036850
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x1800998c0]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rcx, rdx
lea rdx, [rsp + 0x38]
xor edi, edi
mov rbx, r8
mov qword [rsp + 0x38], rdi
call qword [sym.imp.RPCRT4.dll_UuidToStringW]
mov r8, qword [rsp + 0x38]
lea rax, [rsp + 0x50]
lea edx, [rdi + 0x28]
sub r8, rax
lea rcx, [rsp + 0x50]
nop dword [rax + rax]
lea rax, [rdx + 0x7fffffd6]
test rax, rax
je 0x1800368d4
movzx eax, word [r8 + rcx]
test ax, ax
je 0x1800368d4
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x1800368b0
jmp 0x1800368d9
test rdx, rdx
jne 0x1800368dd
sub rcx, 2
mov word [rcx], di
lea rcx, [rsp + 0x38]
call qword [sym.imp.RPCRT4.dll_RpcStringFreeW]
lea r9, str.Interface
lea rax, [rbp - 0x10]
mov edx, 0x100
sub r9, rax
lea rcx, [rbp - 0x10]
mov r8d, edx
nop word [rax + rax]
lea rax, [r8 + 0x7ffffefe]
test rax, rax
je 0x180036934
movzx eax, word [r9 + rcx]
test ax, ax
je 0x180036934
mov word [rcx], ax
add rcx, 2
dec r8
jne 0x180036910
jmp 0x180036939
test r8, r8
jne 0x18003693d
sub rcx, 2
mov word [rcx], di
lea rax, [rbp - 0x10]
mov rcx, rdx
cmp word [rax], di
je 0x180036957
add rax, 2
dec rcx
jne 0x180036947
jmp 0x1800369b2
test rcx, rcx
je 0x1800369b2
mov r8, rdx
lea rax, [rbp - 0x10]
sub r8, rcx
mov rcx, rdx
lea rax, [rax + r8*2]
sub rcx, r8
je 0x1800369ab
add r8, 0x7ffffefe
lea r10, [rsp + 0x50]
add r8, rcx
sub r10, rax
test r8, r8
je 0x1800369a6
movzx r9d, word [r10 + rax]
test r9w, r9w
je 0x1800369a6
mov word [rax], r9w
add rax, 2
dec r8
dec rcx
jne 0x180036984
jmp 0x1800369ab
test rcx, rcx
jne 0x1800369af
sub rax, 2
mov word [rax], di
mov rcx, rdx
lea rax, [rbp - 0x10]
nop dword [rax]
cmp word [rax], di
je 0x1800369d0
add rax, 2
dec rcx
jne 0x1800369c0
jmp 0x180036a2e
test rcx, rcx
je 0x180036a2e
mov r8, rdx
lea rax, [rbp - 0x10]
sub r8, rcx
lea rax, [rax + r8*2]
sub rdx, r8
je 0x180036a27
lea rcx, [r8 + 0x7ffffefe]
lea r9, str.TypeLib
add rcx, rdx
sub r9, rax
nop dword [rax]
test rcx, rcx
je 0x180036a22
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x180036a22
mov word [rax], r8w
add rax, 2
dec rcx
dec rdx
jne 0x180036a00
jmp 0x180036a27
test rdx, rdx
jne 0x180036a2b
sub rax, 2
mov word [rax], di
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x10]
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x180036a85
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x40]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x40], 0x50
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x180036a8c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x80004005
jmp 0x180036abb
lea rcx, [rbp - 0x5e]
mov rdx, rbx
mov word [rbp - 0x16], di
call qword [sym.imp.RPCRT4.dll_UuidFromStringW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x180036ab3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x8000ffff
jmp 0x180036abb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.18003f5a0
lea r11, [rsp + 0x300]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret