Function at 0x7fff25d6bb1c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2c8
movaps xmmword [rax - 0x58], xmm6
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rax, qword [rbp + 0x248]
mov r12, r8
mov rdi, qword [rbp + 0x250]
mov r15, rdx
mov r13, qword [rbp + 0x238]
xorps xmm0, xmm0
mov r14, qword [rbp + 0x240]
mov ebx, 0x180
mov qword [rbp - 0x48], rax
mov r8d, ebx
xor eax, eax
mov qword [rsp + 0x70], rcx
xor edx, edx
mov qword [rbp - 0x50], rax
lea rcx, [rbp + 0x20]
mov dword [rsp + 0x58], r9d
mov esi, r9d
mov qword [rbp - 0x78], rdi
movups xmmword [rbp - 0x60], xmm0
call sub.ntdll.dll_memset
movups xmm6, xmmword [r15]
xor r8d, r8d
mov qword [rbp - 0x68], r8
mov qword [rsp + 0x60], r8
mov qword [rbp - 0x80], r8
lea edx, [r8 + 1]
lea r9d, [r8 + 2]
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x50], edx
cmp word [r15], r9w
jb 0x7fff25de5a24
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x7fff25de5a24
test byte [r15], dl
jne 0x7fff25de5a24
movzx eax, word [r15]
shr rax, 1
cmp word [rcx + rax*2 - 2], r8w
jne 0x7fff25de5a24
test r14, r14
je 0x7fff25de5a24
test r12, r12
je 0x7fff25de5a24
test byte [r12], dl
jne 0x7fff25de5a24
cmp word [r12], r8w
jne 0x7fff25d6bea8
mov qword [r14], r8
mov eax, 0xfffe
add word [r15], ax
mov rax, qword [r15 + 8]
cmp word [rax], 0x5c
je 0x7fff25d6bfa5
movzx eax, word [r12]
test ax, ax
jne 0x7fff25d6beb8
mov ecx, 0x40
test r13, r13
jne 0x7fff25d6be24
mov edx, ecx
mov eax, esi
bts edx, 8
and al, 8
cmove edx, ecx
mov dword [rsp + 0x78], edx
test byte [rsp + 0x70], r9b
jne 0x7fff25d6beda
test byte [0x7fff25fd28b0], r9b
jne 0x7fff25de58d4
mov rdi, qword [rsp + 0x70]
mov rsi, r15
mov qword [rsp + 0x60], rdi
mov qword [rbp - 0x80], r15
mov eax, dword [rsp + 0x50]
mov ebx, 0xc0000034
test eax, eax
je 0x7fff25d6bd32
test r13, r13
jne 0x7fff25d6be35
mov eax, dword [rsp + 0x78]
mov dword [rbp - 0x20], eax
mov dword [rbp - 0x38], 0x30
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rsi
test r13, r13
jne 0x7fff25d6be65
mov qword [rbp - 0x18], r8
mov rax, qword [rbp - 0x78]
mov edx, dword [rbp + 0x230]
mov qword [rbp - 0x10], r8
test rax, rax
jne 0x7fff25d6bec6
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r8
mov eax, dword [rsp + 0x58]
lea r8, [rbp - 0x38]
mov dword [rsp + 0x28], eax
mov rcx, r14
mov qword [rsp + 0x20], r12
call fcn.7fff25d6c2a0
mov ebx, eax
cmp eax, 0x40000016
je 0x7fff25de58f4
xor r8d, r8d
test ebx, ebx
js 0x7fff25d6bd2e
cmp dword [rsp + 0x68], 1
je 0x7fff25d6be72
mov eax, dword [rsp + 0x50]
test byte [0x7fff25fd28b0], 2
jne 0x7fff25de5942
mov dword [rsp + 0x50], r8d
test ebx, ebx
js 0x7fff25d6bdd9
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x7fff25d6bd5b
mov eax, dword [rsp + 0x68]
mov dword [rcx], eax
test byte [0x7fff25fd28b0], 2
jne 0x7fff25de59cf
test ebx, ebx
js 0x7fff25d6bd76
test byte [rbp - 0x60], 4
jne 0x7fff25d6bf61
test rdi, rdi
je 0x7fff25d6bd86
cmp rdi, qword [rsp + 0x70]
jne 0x7fff25d6bf6a
cmp qword [rbp - 0x68], r8
jne 0x7fff25d6bf81
test byte [rbp - 0x60], 0x20
jne 0x7fff25de59ff
mov ecx, ebx
movdqu xmmword [r15], xmm6
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.7fff25dce640
movaps xmm6, xmmword [rsp + 0x2b0]
add rsp, 0x2c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [rbp - 0x78]
mov r8, r12
mov r9d, dword [rsp + 0x58]
mov rdx, rsi
mov qword [rsp + 0x48], rax
mov rcx, rdi
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x40], eax
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov eax, dword [rbp + 0x230]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], eax
call fcn.7fff25da77e8
mov ebx, eax
xor r8d, r8d
jmp 0x7fff25d6bd5b
cmp byte [r13 + 0x18], r8b
mov eax, 0x42
cmovne ecx, eax
jmp 0x7fff25d6bc59
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x7fff25d6bcad
mov edx, dword [r13 + 0x10]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlValidRelativeSecurityDescriptor]
nop dword [rax + rax]
xor r8d, r8d
test al, al
jne 0x7fff25d6bcad
jmp 0x7fff25de59f5
mov rax, qword [r13 + 8]
mov qword [rbp - 0x18], rax
jmp 0x7fff25d6bcd0
call fcn.7fff25dd0fbc
xor r8d, r8d
test al, al
je 0x7fff25d6bd2e
mov eax, dword [rsp + 0x58]
lea rdx, [rbp - 0x38]
mov rcx, qword [r14]
mov r9, r12
mov dword [rsp + 0x20], eax
call qword [sym.imp.ext_ms_win_kernel32_registry_l1_1_0.dll_TermsrvCreateRegEntry]
nop dword [rax + rax]
xor r8d, r8d
jmp 0x7fff25d6bd2e
cmp qword [r12 + 8], r8
jne 0x7fff25d6bc23
jmp 0x7fff25de5a24
sub ax, r9w
mov word [r12], ax
jmp 0x7fff25d6bc4b
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rax
jmp 0x7fff25d6bcf6
mov rcx, qword [rsp + 0x70]
lea rax, [rbp + 0x20]
and dword [rbp - 0x60], 0xffffffdf
lea r8, [rbp - 0x60]
mov rdx, r15
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x54], ebx
call fcn.7fff25d70810
xor r8d, r8d
mov ebx, eax
test eax, eax
js 0x7fff25d6bd86
mov rcx, qword [rsp + 0x70]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rdi
lea r9, [rbp - 0x60]
mov qword [rsp + 0x38], rax
mov r8d, esi
lea rax, [rsp + 0x60]
mov rdx, r15
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
call fcn.7fff25da57a8
mov rdi, qword [rsp + 0x60]
xor r8d, r8d
mov ebx, eax
test eax, eax
js 0x7fff25d6bd76
mov rsi, qword [rbp - 0x80]
jmp 0x7fff25d6bc93
or qword [r14], 2
jmp 0x7fff25d6bd76
mov rcx, rdi
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
xor r8d, r8d
jmp 0x7fff25d6bd86
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x68]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
jmp 0x7fff25d6bd90
mov ebx, 0xc0000039
jmp 0x7fff25d6bd90
mov r8, rdi
lea rcx, [rsp + 0x70]
mov rdx, r15
call 0x7fff25e51af0
xor r8d, r8d
test eax, eax
jne 0x7fff25d6beda
jmp 0x7fff25d6bc82
mov rcx, qword [r14]
lea rax, [rbp - 0x40]
mov r9d, 0x28
mov qword [rsp + 0x20], rax
lea r8, [rbp - 8]
lea edx, [r9 - 0x24]
call qword [sym.imp.ntdll.dll_NtQueryKey]
nop dword [rax + rax]
mov rcx, qword [r14]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
xor r8d, r8d
test ebx, ebx
js 0x7fff25d6bd2e
movsxd rax, dword [rbp + 0xc]
mov qword [r14], rax
jmp 0x7fff25d6bd1f
test eax, eax
je 0x7fff25d6bd3f
cmp ebx, 0xc0000022
jne 0x7fff25d6bd3f
test byte [rbp - 0x60], 4
je 0x7fff25d6bd3f
cmp dword [rsp + 0x54], r8d
je 0x7fff25d6bd3f
cmp qword [rbp - 0x68], r8
je 0x7fff25de5999
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x68]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
and qword [rbp - 0x68], 0
mov rsi, qword [rbp - 0x80]
mov rax, qword [rbp - 0x78]
lea r9, [rsp + 0x54]
mov r8, rsi
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x60]
call 0x7fff25e51564
mov rdi, qword [rsp + 0x60]
xor r8d, r8d
mov ebx, eax
test eax, eax
js 0x7fff25d6bd76
jmp 0x7fff25d6bc93
cmp ebx, 0xc0000022
jne 0x7fff25d6bd68
test byte [rbp - 0x60], 4
je 0x7fff25d6bd76
cmp dword [rsp + 0x54], r8d
je 0x7fff25d6bd76
jmp 0x7fff25de596b
mov ebx, 0xc000000d
jmp 0x7fff25d6bd76
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25d6bd9a
mov eax, 0x57
jmp 0x7fff25d6bdad