Function at 0x7ff7529732d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r13, qword [rsp + 0xa0]
xor esi, esi
mov dword [rax + 0x10], esi
mov r14, r9
mov dword [rax + 8], esi
mov rbp, r8
mov r15, rdx
mov edi, esi
mov bl, 1
test rdx, rdx
je 0x7ff75297367d
mov rdx, r9
call fcn.7ff7529736b0
test al, al
jne 0x7ff75297367d
test r13, r13
je 0x7ff75297367d
lea rax, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x88]
mov rdx, rbp
mov qword [rsp + 0x20], rsi
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x7ff752973465
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov r8d, eax
mov ecx, 0x1100
mov qword [rsp + 0xa0], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
nop dword [rax + rax]
test eax, eax
je 0x7ff75297367d
lea esi, [rax + 1]
mov r12, 0xffffffffffffffff
mov eax, 2
mul rsi
cmovo rax, r12
mov rcx, rax
call fcn.7ff752974da8
mov rbx, rax
test rax, rax
je 0x7ff752973403
mov r8, qword [rsp + 0xa0]
mov edx, esi
mov rcx, rax
call fcn.7ff752980300
test eax, eax
jns 0x7ff752973403
mov rcx, rbx
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x7ff75297367d
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r9, r14
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 0x16]
call qword [0x7ff752984648]
test rbx, rbx
je 0x7ff75297367d
mov rcx, rbx
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
jmp 0x7ff75297367d
cmp dword [rsp + 0x88], 1
je 0x7ff7529734a0
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
xor edx, edx
mov r9, r14
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 0x18]
call qword [0x7ff752984648]
jmp 0x7ff75297367d
mov esi, dword [rsp + 0x80]
test esi, esi
jne 0x7ff7529734dc
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
lea r8d, [rsi + 0xe]
mov r9, r14
mov qword [rsp + 0x20], rbp
xor edx, edx
call qword [0x7ff752984648]
jmp 0x7ff75297367d
shr esi, 1
mov eax, 2
mov r12, 0xffffffffffffffff
lea ecx, [rsi + 1]
mul rcx
cmovo rax, r12
mov rcx, rax
call fcn.7ff752974da8
mov rdi, rax
test rax, rax
je 0x7ff75297367d
mov eax, esi
xor r9d, r9d
xor esi, esi
xor r8d, r8d
mov rdx, rbp
mov rcx, r15
mov word [rdi + rax*2], si
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
je 0x7ff75297364c
xor r15d, r15d
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x30], r15
xor r9d, r9d
mov dword [rsp + 0x28], r15d
mov r8d, eax
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0x1100
mov qword [rsp + 0xa0], r15
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
nop dword [rax + rax]
test eax, eax
je 0x7ff752973638
lea esi, [rax + 1]
mov eax, 2
mul rsi
cmovo rax, r12
mov rcx, rax
call fcn.7ff752974da8
mov rbx, rax
test rax, rax
je 0x7ff7529735df
mov r8, qword [rsp + 0xa0]
mov edx, esi
mov rcx, rax
call fcn.7ff752980300
test eax, eax
jns 0x7ff7529735df
mov rcx, rbx
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
jmp 0x7ff752973638
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
xor edx, edx
mov qword [rsp + 0x28], rbx
mov r9, r14
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 0x16]
call qword [0x7ff752984648]
test rbx, rbx
je 0x7ff752973638
mov rcx, rbx
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll____V_YAXPEAX_Z]
nop dword [rax + rax]
mov rdi, r15
jmp 0x7ff75297367d
cmp si, word [rdi]
jne 0x7ff75297367f
mov rcx, qword [0x7ff75298d070]
mov rax, qword [rcx]
movabs r10, 0x93002f291450c270
mov rax, qword [rax + 8]
xor edx, edx
mov r9, r14
mov qword [rsp + 0x20], rbp
lea r8d, [rdx + 0xe]
call qword [0x7ff752984648]
xor bl, bl
movzx eax, bl
mov qword [r13], rdi
mov rbx, qword [rsp + 0x90]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret