Function at 0x1400270c8
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 [0x140088e00]
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 [0x140069b90]
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, [0x140090860]
call fcn.14001ce38
mov rcx, rdi
call fcn.140028b30
cmp qword [rdi + 0x50], r12
jne 0x14002719a
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.14002e400
mov r9d, ebx
lea r8, str.RegisterDeviceNotification_failed_with_error__ld...
mov edx, 0x104
lea rcx, [rbp + 0x1b0]
call fcn.140012aa8
lea rdx, [rbp + 0x1b0]
jmp 0x1400271cf
mov esi, 0x208
mov r8d, esi
xor edx, edx
lea rcx, [rbp + 0x3c0]
call fcn.14002e400
lea r8, str.RegisterDeviceNotification_succeeded
mov edx, 0x104
lea rcx, [rbp + 0x3c0]
call fcn.140012aa8
lea rdx, [rbp + 0x3c0]
mov rcx, rdi
call fcn.140028e7c
xor edx, edx
mov rcx, qword [rdi + 8]
call sub.WTSAPI32.dll_WTSRegisterSessionNotification
mov rcx, rdi
call fcn.1400243b0
mov byte [rsp + 0x30], r12b
mov r13d, 1
test eax, eax
js 0x1400274a7
cmp qword [rdi + 0x78], r12
je 0x1400274a7
lfence
mov rcx, rdi
call fcn.140029188
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
lea rdx, [rdi + 0x58]
mov rax, qword [rax + 0x78]
call qword [0x140064a18]
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x2d8]
call qword [0x140064a18]
mov rcx, rdi
call fcn.140028038
mov dword [rsp + 0x68], r12d
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
lea rdx, [rsp + 0x68]
mov rax, qword [rax + 0x318]
call qword [0x140064a18]
cmp dword [rsp + 0x68], r13d
jne 0x1400272b4
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x2c0]
call qword [0x140064a18]
lfence
mov rcx, rdi
call fcn.140029630
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140021ea4
cmp qword [rdi + 0x78], r12
je 0x140027534
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 [0x140064a18]
cmp dword [rbx], r13d
jne 0x14002732e
lfence
mov rcx, rdi
call fcn.140028f88
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov edx, r13d
mov rax, qword [rax + 0x2c0]
call qword [0x140064a18]
cmp byte [rsp + 0x30], r12b
jne 0x14002742d
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 0x14002742d
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14002e400
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 0x1400273e1
lea r8, [rsp + 0x74]
lea rdx, [0x140069f30]
lea rcx, [rbp - 0x60]
call fcn.140013828
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 0x60]
call fcn.1400344b4
test rax, rax
je 0x14002742d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140019ca0
nop
cmp qword [rdi + 0x78], r12
je 0x140027529
lfence
mov rdx, rax
mov rcx, qword [rdi + 0x78]
call fcn.140021e34
nop
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
mov edx, r13d
mov rax, qword [rax + 0x330]
call qword [0x140064a18]
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x4a8]
call qword [0x140064a18]
cmp qword [rdi + 0x78], r12
je 0x140027534
lfence
mov rcx, qword [rdi + 0x78]
mov rax, qword [rcx]
xor edx, edx
mov rax, qword [rax + 0x280]
call qword [0x140064a18]
mov rcx, rdi
call fcn.140028fe8
mov rcx, rdi
call fcn.14002383c
mov edx, 0x6b
mov rcx, rdi
call fcn.140023bb0
mov dword [r15], r13d
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x5d0]
call fcn.14002e400
lea r8, str.1._Ready_for_clients_to_establish_connections...
mov edx, 0x104
lea rcx, [rbp + 0x5d0]
call fcn.140012aa8
lea rdx, [rbp + 0x5d0]
mov rcx, rdi
call fcn.140028e7c
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.14002ab60
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.14002b1f0
nop
mov ecx, 0x80004003
call fcn.14002b1f0
int3