Function at 0x140026c24
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x7f0]
sub rsp, 0x8f0
mov rax, qword [0x140086e08]
xor rax, rsp
mov qword [rbp + 0x7e0], rax
mov rdi, rcx
mov r15, qword [rbp + 0x840]
xor r12d, r12d
mov qword [rsp + 0x7c], 5
mov dword [rbp - 0x6c], r12d
mov dword [rsp + 0x78], 0x20
movups xmm0, xmmword [0x140068b30]
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, [0x14008e870]
call fcn.14001cb10
mov rcx, rdi
call fcn.140028634
cmp qword [rdi + 0x50], r12
jne 0x140026cf6
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.14002de80
mov r9d, ebx
lea r8, str.RegisterDeviceNotification_failed_with_error__ld...
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.140012a88
lea rdx, [rbp + 0x1b0]
jmp 0x140026d2b
mov esi, 0x208
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x3c0]
call fcn.14002de80
lea r8, str.RegisterDeviceNotification_succeeded
mov edx, 0x104
lea rcx, [rbp + 0x3c0]
call fcn.140012a88
lea rdx, [rbp + 0x3c0]
mov rcx, rdi
call fcn.140028980
xor edx, edx
mov rcx, qword [rdi + 8]
call sub.WTSAPI32.dll_WTSRegisterSessionNotification
mov rcx, rdi
call fcn.140023f08
mov byte [rsp + 0x30], r12b
mov r13d, 1
test eax, eax
js 0x140027003
cmp qword [rdi + 0x78], r12
je 0x140027003
lfence
mov rcx, rdi
call fcn.140028c84
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
lea rdx, [rdi + 0x58]
mov rax, qword [rax + 0x78]
call qword [0x140063a18]
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x2d8]
call qword [0x140063a18]
mov rcx, rdi
call fcn.140027b98
mov dword [rsp + 0x68], r12d
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov rax, qword [rax + 0x318]
call qword [0x140063a18]
cmp dword [rsp + 0x68], r13d
jne 0x140026e10
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x2c0]
call qword [0x140063a18]
lfence
mov rcx, rdi
call fcn.140029120
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140021a34
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
lea rbx, [rdi + 0x90]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x448]
call qword [0x140063a18]
cmp dword [rbx], r13d
jne 0x140026e8a
lfence
mov rcx, rdi
call fcn.140028a98
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov edx, r13d
mov rax, qword [rax + 0x2c0]
call qword [0x140063a18]
cmp byte [rsp + 0x30], r12b
jne 0x140026f89
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], r12d
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x60], r12
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 0x140026f89
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14002de80
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x70], r13d
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 0x140026f3d
lea r8, [rsp + 0x74]
lea rdx, [0x140068ea0]
lea rcx, [rbp - 0x60]
call fcn.1400137b8
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x60]
call fcn.140033d04
test rax, rax
je 0x140026f89
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140019a08
nop
cmp qword [rdi + 0x78], r12
je 0x140027085
lfence
mov rdx, rax
mov rcx, qword [rdi + 0x78]
call fcn.1400219c4
nop
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov edx, r13d
mov rax, qword [rax + 0x330]
call qword [0x140063a18]
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x4a8]
call qword [0x140063a18]
cmp qword [rdi + 0x78], r12
je 0x140027090
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x280]
call qword [0x140063a18]
mov rcx, rdi
call fcn.140028af8
mov rcx, rdi
call fcn.14002338c
mov edx, 0x6b
mov rcx, rdi
call fcn.140023708
mov dword [r15], r13d
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x5d0]
call fcn.14002de80
lea r8, str.1._Ready_for_clients_to_establish_connections...
mov edx, 0x104
lea rcx, [rbp + 0x5d0]
call fcn.140012a88
lea rdx, [rbp + 0x5d0]
mov rcx, rdi
call fcn.140028980
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rax, r13
mov rcx, qword [rbp + 0x7e0]
xor rcx, rsp
call fcn.14002a660
lea r11, [rsp + 0x8f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
mov ecx, 0x80004003
call fcn.14002ace0
nop
mov ecx, 0x80004003
call fcn.14002ace0
int3