Function at 0x140025fd8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x140086de8]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rcx
mov r14, qword [rbp + 0x840]
xor r15d, r15d
mov qword [rsp + 0x7c], 5
mov dword [rbp - 0x6c], r15d
mov dword [rsp + 0x78], 0x20
movups xmm0, xmmword [0x140067af0]
movdqu xmmword [rbp - 0x7c], xmm0
xor r8d, r8d
lea rdx, [rsp + 0x78]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
mov qword [rdi + 0x50], rax
lea rcx, [0x14008e890]
call fcn.14001cb0c
mov rcx, rdi
call fcn.1400277c4
cmp qword [rdi + 0x50], r15
jne 0x1400260ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov esi, 0x208
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x1b0]
call fcn.14002d0a0
mov r9d, ebx
lea r8, str.RegisterDeviceNotification_failed_with_error__ld...
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x1b0]
call fcn.1400129e8
lea rdx, [rbp + 0x1b0]
jmp 0x1400260e3
mov esi, 0x208
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x3c0]
call fcn.14002d0a0
lea r8, str.RegisterDeviceNotification_succeeded
mov ebx, 0x104
mov edx, ebx
lea rcx, [rbp + 0x3c0]
call fcn.1400129e8
lea rdx, [rbp + 0x3c0]
mov rcx, rdi
call fcn.140027a24
xor edx, edx
mov rcx, qword [rdi + 8]
call sub.WTSAPI32.dll_WTSRegisterSessionNotification
mov rcx, rdi
call fcn.1400239dc
mov byte [rsp + 0x30], r15b
mov r12d, 1
test eax, eax
js 0x140026370
cmp qword [rdi + 0x78], r15
je 0x140026370
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
lea rdx, [rdi + 0x58]
mov rax, qword [rax + 0x78]
call qword [0x1400629f0]
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x2b0]
call qword [0x1400629f0]
mov rcx, rdi
call fcn.140026e60
mov dword [rsp + 0x68], r15d
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov rax, qword [rax + 0x2f0]
call qword [0x1400629f0]
cmp dword [rsp + 0x68], r12d
jne 0x1400261b3
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x298]
call qword [0x1400629f0]
lfence
mov rcx, rdi
call fcn.140027e70
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140021ab4
mov rcx, rdi
call fcn.140027a58
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0x298]
call qword [0x1400629f0]
cmp byte [rsp + 0x30], r15b
jne 0x1400262f6
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], r15d
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareIntelDisplayigfxcuiprofiles
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400262f6
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14002d0a0
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], r12d
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.AutoApplyProfileName
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400262aa
lea r8, [rsp + 0x74]
lea rdx, [0x140067e80]
lea rcx, [rbp - 0x60]
call fcn.140013718
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x60]
call fcn.140032cb4
test rax, rax
je 0x1400262f6
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.1400199ec
nop
cmp qword [rdi + 0x78], r15
je 0x1400263f0
lfence
mov rdx, rax
mov rcx, qword [rdi + 0x78]
call fcn.140021a44
nop
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0x308]
call qword [0x1400629f0]
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x480]
call qword [0x1400629f0]
cmp qword [rdi + 0x78], r15
je 0x1400263fb
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x268]
call qword [0x1400629f0]
mov rcx, rdi
call fcn.140027ab8
mov rcx, rdi
call fcn.140023058
mov edx, 0x6b
mov rcx, rdi
call fcn.1400231dc
mov dword [r14], r12d
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x5d0]
call fcn.14002d0a0
lea r8, str.1._Ready_for_clients_to_establish_connections...
mov rdx, rbx
lea rcx, [rbp + 0x5d0]
call fcn.1400129e8
lea rdx, [rbp + 0x5d0]
mov rcx, rdi
call fcn.140027a24
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, r12
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.1400293b0
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004003
call fcn.140029a30
nop
mov ecx, 0x80004003
call fcn.140029a30
int3