Function at 0x7fff25d6f2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x7fff25fcfe70]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, qword [rbp + 0x268]
mov rsi, rcx
mov r14, qword [rbp + 0x260]
mov r15, r9
mov qword [rsp + 0x78], rcx
mov r12, r8
xor ecx, ecx
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x60], r8
mov rbx, rdx
mov qword [rbp - 0x58], rdi
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x70], rsi
test rdx, rdx
je 0x7fff25de6ac2
movzx eax, word [rdx]
test ax, ax
je 0x7fff25de6ac2
test al, 1
jne 0x7fff25de6ac2
cmp qword [rdx + 8], rcx
je 0x7fff25d6f596
test r14, r14
je 0x7fff25de6ac2
test rdi, rdi
je 0x7fff25de6ac2
test r8, r8
je 0x7fff25de6ac2
test r14, r14
je 0x7fff25d6f3a7
test r15, r15
je 0x7fff25d6f573
cmp rsi, 0xffffffff80000004
je 0x7fff25d6f7a6
cmp rsi, 0xffffffff80000050
je 0x7fff25d6f7a6
cmp rsi, 0xffffffff80000060
je 0x7fff25d6f7a6
movzx eax, word [rdx]
mov qword [rsp + 0x2f8], r13
test ax, ax
je 0x7fff25d6f3e5
sub ax, 2
mov word [rdx], ax
test r14, r14
je 0x7fff25de6ad6
mov r15d, dword [r14]
add r15d, 0xc
mov dword [rsp + 0x40], 2
cmp r15d, 0x90
jae 0x7fff25d6f58b
cmp r15d, 0xc
jb 0x7fff25d6f58b
test sil, 2
jne 0x7fff25d6f5af
mov esi, dword [rsp + 0x40]
lea r12, [rbp - 0x40]
mov r13, qword [rsp + 0x70]
and r12d, 7
mov dword [rsp + 0x44], ecx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rcx
mov edx, r15d
test r12, r12
jne 0x7fff25de6b11
lea rcx, [rsp + 0x58]
mov r9, rax
mov qword [rsp + 0x28], rcx
mov r8d, esi
mov rcx, r13
mov dword [rsp + 0x20], r15d
mov rdx, rbx
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
cmp dword [rsp + 0x44], 0
mov edi, eax
jne 0x7fff25de6b59
cmp qword [rsp + 0x60], 0
jne 0x7fff25d6f722
mov rsi, qword [rsp + 0x78]
lea r13, [rbp - 0x40]
mov r15, qword [rbp - 0x68]
mov r12d, dword [rsp + 0x40]
cmp edi, 0x80000005
je 0x7fff25d6f57b
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x7fff25d6f77f
test edi, edi
js 0x7fff25d6f566
test r15, r15
je 0x7fff25d6f4e2
mov eax, dword [r13 + 8]
cmp dword [r14], eax
jb 0x7fff25de6c19
mov r8d, eax
lea rdx, [r13 + 0xc]
mov rcx, r15
call sub.ntdll.dll_memmove
mov rcx, qword [rbp - 0x60]
test r12d, r12d
je 0x7fff25de6c23
test rcx, rcx
je 0x7fff25d6f4fa
mov eax, dword [r13 + 4]
mov dword [rcx], eax
mov eax, dword [r13 + 8]
mov dword [r14], eax
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x7fff25d6f521
test edi, edi
js 0x7fff25d6f51b
test r15, r15
je 0x7fff25d6f51b
mov eax, dword [r13 + 8]
mov dword [rcx], eax
jmp 0x7fff25d6f521
mov dword [rcx], 0
lea rax, [rbp - 0x40]
cmp r13, rax
jne 0x7fff25d6f6ff
mov ecx, edi
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
nop dword [rax + rax]
mov r13, qword [rsp + 0x2f8]
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.7fff25dce640
add rsp, 0x300
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp edi, 0x80000005
jne 0x7fff25d6f501
jmp 0x7fff25d6f4e2
mov dword [r14], ecx
jmp 0x7fff25d6f3a7
test r15, r15
jne 0x7fff25d6f65b
xor edi, edi
jmp 0x7fff25d6f4ab
mov r15d, 0x90
jmp 0x7fff25d6f414
cmp word [rdx], 2
jne 0x7fff25de6acc
cmp word [rdx + 2], cx
je 0x7fff25d6f399
jmp 0x7fff25de6acc
mov qword [rbp - 0x80], rcx
xorps xmm0, xmm0
mov dword [rbp - 0x78], ecx
xor edx, edx
lea rcx, [rbp + 0x50]
mov r8d, 0x18a
movups xmmword [rbp - 0x50], xmm0
call sub.ntdll.dll_memset
and dword [rbp - 0x80], 0xffffffdf
lea rax, [rbp + 0x50]
lea r8, [rbp - 0x80]
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x74], 0x18a
mov rcx, rsi
call fcn.7fff25d70810
test eax, eax
js 0x7fff25de6b0a
test byte [rbp - 0x80], 2
je 0x7fff25d6f754
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x60]
mov eax, 2
xor edx, edx
lea r8, [rbp - 0x50]
mov qword [rsp + 0x38], rdx
mov r9d, 0x2000000
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x80]
mov dword [rsp + 0x28], edx
mov rdx, rsi
mov dword [rsp + 0x20], eax
call fcn.7fff25d6d6a0
test byte [rbp - 0x80], 0x20
jne 0x7fff25de6ae5
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jne 0x7fff25d6f768
xor ecx, ecx
jmp 0x7fff25d6f41e
cmp r12d, 2
jne 0x7fff25d6f4ab
mov eax, dword [rbp - 0x38]
cmp dword [r14], eax
jb 0x7fff25d6f4ab
mov edi, dword [rsp + 0x58]
xor edx, edx
mov rcx, qword gs:[0x60]
mov r8d, edi
mov qword [rsp + 0x78], rdi
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov r13, rax
test rax, rax
je 0x7fff25de6b91
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x50], 0
test al, 7
jne 0x7fff25de6b9b
lea rcx, [rsp + 0x58]
mov r9, rax
mov qword [rsp + 0x28], rcx
mov r8d, 2
mov rcx, qword [rsp + 0x70]
mov rdx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
cmp dword [rsp + 0x44], 0
mov edi, eax
je 0x7fff25d6f4ab
jmp 0x7fff25de6bdf
mov rcx, qword gs:[0x60]
mov r8, r13
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
jmp 0x7fff25d6f52e
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x7fff25d6f48d
cmp r13, rax
je 0x7fff25d6f48d
cmp edi, 0xc0000034
jne 0x7fff25d6f48d
mov r13, rax
mov qword [rsp + 0x70], rax
xor ecx, ecx
jmp 0x7fff25d6f42f
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x48]
mov eax, 1
jmp 0x7fff25d6f612
cmp qword [rsp + 0x48], 0
mov rax, rsi
cmovne rax, rcx
mov qword [rsp + 0x70], rax
jmp 0x7fff25d6f654
cmp qword [rsp + 0x48], 0
je 0x7fff25d6f4b9
cmp rcx, rsi
jne 0x7fff25d6f795
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
jmp 0x7fff25d6f4b9
call fcn.7fff25dcefc8
test al, al
je 0x7fff25de6acc
mov qword [rsp + 0x30], rdi
mov r9, r12
mov qword [rsp + 0x28], r14
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], r15
mov rcx, rsi
call qword [sym.imp.ext_ms_win_advapi32_registry_l1_1_0.dll_PerfRegQueryValue]
nop dword [rax + rax]
jmp 0x7fff25d6f544
cmp qword [rdx + 8], rcx
je 0x7fff25d6f596
mov eax, 0x57
jmp 0x7fff25d6f544
mov dword [rsp + 0x40], ecx
mov r15d, 0x10
jmp 0x7fff25d6f414
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rbp - 0x70]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25d6f646
mov ecx, eax
jmp 0x7fff25d6f530
mov rcx, qword gs:[0x60]
lea rax, [rbp - 0x40]
mov r8, rdx
mov qword [rsp + 0x68], rax
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x7fff25de6b4c
mov edi, 0xc0000017
jmp 0x7fff25d6f481
mov dword [rsp + 0x44], 1
jmp 0x7fff25d6f44d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
mov r8d, r15d
call sub.ntdll.dll_memcpy
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x50]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25d6f481
mov eax, 0xe
jmp 0x7fff25d6f53c
mov rcx, qword gs:[0x60]
mov r8, rdi
xor edx, edx
mov qword [rsp + 0x50], rax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x7fff25de6bd2
mov edi, 0xc0000017
jmp 0x7fff25d6f4ab
mov dword [rsp + 0x44], 1
jmp 0x7fff25d6f6c2
mov r8, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
call sub.ntdll.dll_memcpy
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
nop
jmp 0x7fff25d6f4ab
mov edi, 0x80000005
jmp 0x7fff25d6f4e2
test rcx, rcx
je 0x7fff25d6f501
mov eax, dword [r13 + 4]
mov dword [rcx], eax
jmp 0x7fff25d6f501