Function at 0x7ff74b37180
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
xor r14d, r14d
lea rax, [r11 + 0x18]
mov r13, r8
mov qword [r8], r14
mov qword [r11 - 0x40], rax
lea r9, [r11 + 0x20]
xor r8d, r8d
mov qword [r11 - 0x48], r14
mov r12, rdx
mov rsi, rcx
mov qword [r11 - 0x38], r14
mov rbp, r14
mov dword [r11 + 0x18], r14d
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, r14d
je 0x7ff74b3721f
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374c7
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374c7
test byte [rcx + 0x1c], 8
je 0x7ff74b374c7
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 0x16]
lea r8, [0x7ff74b517f0]
mov r9, r12
mov dword [rsp + 0x20], ebx
call fcn.7ff74b298f0
jmp 0x7ff74b374c7
mov r8d, dword [rsp + 0x80]
mov rcx, qword [0x7ff74b584e0]
xor edx, edx
call qword [0x7ff74b58358]
mov rdi, rax
cmp rax, r14
je 0x7ff74b37468
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x28], rax
mov rdx, r12
mov rcx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, r14d
je 0x7ff74b372aa
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374b0
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374b0
test byte [rcx + 0x1c], 1
je 0x7ff74b374b0
mov edx, 0x17
jmp 0x7ff74b37499
cmp dword [rsp + 0x88], 1
je 0x7ff74b372f9
mov r8d, 0xb
mov ebx, r8d
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374b0
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374b0
test byte [rcx + 0x1c], 1
je 0x7ff74b374b0
lea edx, [r8 + 0xd]
mov dword [rsp + 0x20], r8d
jmp 0x7ff74b3749d
mov eax, dword [rsp + 0x80]
shr rax, 1
cmp word [rdi + rax*2 - 2], r14w
je 0x7ff74b37348
mov r8d, 0xb
mov ebx, r8d
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374b0
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374b0
test byte [rcx + 0x1c], 1
je 0x7ff74b374b0
lea edx, [r8 + 0xe]
jmp 0x7ff74b372ef
lea rdx, [0x7ff74b48980]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r14d
je 0x7ff74b3746f
lea rdx, [0x7ff74b51fb8]
mov rcx, rdi
call qword [sym.imp.msvcrt.dll__wcsicmp]
cmp eax, r14d
je 0x7ff74b3746f
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rcx, rdi
lea edx, [r9 + 1]
call sub.API_MS_Win_Security_SDDL_L1_1_0.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
cmp eax, r14d
jne 0x7ff74b373de
mov ebx, 0xb
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374b0
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374b0
test byte [rcx + 0x1c], 1
je 0x7ff74b374b0
call sub.KERNEL32.dll_GetLastError
mov rcx, qword [0x7ff74b58350]
lea edx, [rbx + 0x10]
mov dword [rsp + 0x20], eax
jmp 0x7ff74b3749d
mov rcx, qword [rsp + 0x30]
xor edx, edx
call fcn.7ff74af4aa4
cmp eax, r14d
jne 0x7ff74b3742f
mov r8d, 0xb
mov ebx, r8d
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374b0
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374b0
test byte [rcx + 0x1c], 1
je 0x7ff74b374b0
lea edx, [r8 + 0x11]
jmp 0x7ff74b372ef
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.API_MS_Win_Security_Base_L1_1_0.dll_GetSecurityDescriptorLength]
mov rcx, qword [0x7ff74b584e0]
xor edx, edx
mov r8d, eax
mov esi, eax
call qword [0x7ff74b58358]
mov rbp, rax
cmp rax, r14
je 0x7ff74b37468
mov rdx, qword [rsp + 0x30]
mov r8, rsi
mov rcx, rax
call sub.msvcrt.dll_memcpy
jmp 0x7ff74b374b0
mov ebx, 0xe
jmp 0x7ff74b374b0
mov ebx, 2
cmp dword [0x7ff74b582c8], r14d
je 0x7ff74b374b0
mov rcx, qword [0x7ff74b58350]
lea rax, [0x7ff74b58350]
cmp rcx, rax
je 0x7ff74b374b0
test byte [rcx + 0x1c], 1
je 0x7ff74b374b0
lea edx, [rbx + 0x18]
mov dword [rsp + 0x20], ebx
mov rcx, qword [rcx + 0x10]
lea r8, [0x7ff74b517f0]
mov r9, r12
call fcn.7ff74b298f0
cmp rdi, r14
je 0x7ff74b374c7
mov rcx, qword [0x7ff74b584e0]
mov r8, rdi
xor edx, edx
call qword [case.0x7ff74b3e5fd.0]
mov rcx, qword [rsp + 0x30]
cmp rcx, r14
je 0x7ff74b374d7
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp ebx, r14d
je 0x7ff74b374f7
cmp rbp, r14
je 0x7ff74b374f3
mov rcx, qword [0x7ff74b584e0]
mov r8, rbp
xor edx, edx
call qword [case.0x7ff74b3e5fd.0]
mov eax, ebx
jmp 0x7ff74b37543
mov rcx, qword [0x7ff74b584e0]
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [0x7ff74b58358]
cmp rax, r14
je 0x7ff74b3751c
mov rdx, rbp
mov rcx, rax
call fcn.7ff74b02910
jmp 0x7ff74b3751f
mov rax, r14
cmp rax, r14
jne 0x7ff74b3753d
mov rcx, qword [0x7ff74b584e0]
mov r8, rbp
xor edx, edx
call qword [case.0x7ff74b3e5fd.0]
mov eax, 0xe
jmp 0x7ff74b37543
mov qword [r13], rax
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret