Function at 0x14000ad30
Capabilities:
Query or enumerate registry value
Set console window title
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140053040]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r12d, r12d
lea rcx, str.Checking_Xbox_Gamebar
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionGameDVR
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000aea9
mov dword [rbp + 0x24], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.AppCaptureEnabled
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000adda
mov eax, dword [rbp + 0x28]
jmp 0x14000ade7
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [rbp + 0x20]
test eax, eax
jne 0x14000aea9
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
lea r8d, [rax + 0x1d]
lea rdx, str.__Gamebar_is_already_disabled
lea rcx, [rsp + 0x50]
call fcn.140002270
nop
lea rcx, [0x140053ca0]
call fcn.14000b8c0
lea rdx, str.__
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
call fcn.14000fbf0
lea rcx, [0x140054530]
call fcn.14000d570
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000b4b6
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b4f5
call fcn.140016434
jmp 0x14000b4b6
mov dword [rbp + 0x20], r12d
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionGameDVR
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, eax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AppCaptureEnabled
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x14000b185
mov edx, edi
lea rcx, [rbp - 0x30]
call fcn.140003220
mov rsi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x27
jb 0x14000afcd
lea rax, [r8 + 0x27]
mov qword [rsi + 0x10], rax
mov rdi, rsi
cmp rcx, 0xf
jbe 0x14000af62
mov rdi, qword [rsi]
lea rax, [0x14004bebf]
mov ebx, 0x27
lea r15, str.__Failed_to_disable_Gamebar__Error_30_
cmp rax, rdi
jbe 0x14000af95
lea rax, [rdi + r8]
cmp r15, rax
ja 0x14000af95
cmp rdi, r15
ja 0x14000af8d
mov r14, r12
jmp 0x14000af98
mov r14, rdi
sub r14, r15
jmp 0x14000af98
mov r14, rbx
inc r8
lea rcx, [rdi + 0x27]
mov rdx, rdi
call fcn.14003c780
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.14003c780
sub rbx, r14
lea rdx, [r15 + 0x27]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, rbx
call fcn.14003c780
jmp 0x14000aff0
mov ebx, 0x27
mov qword [rsp + 0x28], rbx
lea r15, str.__Failed_to_disable_Gamebar__Error_30_
mov qword [rsp + 0x20], r15
mov edx, ebx
mov rcx, rsi
call fcn.140012370
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov r8d, 1
lea rdx, [0x14004a990]
lea rcx, [rbp - 0x70]
call fcn.140001f00
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x14000b0e4
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b0df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b4fb
call fcn.140016434
movdqa xmm0, xmmword [0x14004c1b0]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14000b131
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b12c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b501
call fcn.140016434
movdqa xmm0, xmmword [0x14004c1b0]
movdqu xmmword [rbp - 0x60], xmm0
mov byte [rbp - 0x70], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000b4b6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b4e9
jmp 0x14000ae9f
test ebx, ebx
je 0x14000b3ec
mov edx, ebx
lea rcx, [rbp - 0x10]
call fcn.140003220
mov rsi, rax
mov r8, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
mov rax, rcx
sub rax, r8
cmp rax, 0x27
jb 0x14000b22e
lea rax, [r8 + 0x27]
mov qword [rsi + 0x10], rax
mov rdi, rsi
cmp rcx, 0xf
jbe 0x14000b1c3
mov rdi, qword [rsi]
lea rax, [0x14004be97]
mov ebx, 0x27
lea r15, str.__Failed_to_disable_Gamebar__Error_29_
cmp rax, rdi
jbe 0x14000b1f6
lea rax, [rdi + r8]
cmp r15, rax
ja 0x14000b1f6
cmp rdi, r15
ja 0x14000b1ee
mov r14, r12
jmp 0x14000b1f9
mov r14, rdi
sub r14, r15
jmp 0x14000b1f9
mov r14, rbx
inc r8
lea rcx, [rdi + 0x27]
mov rdx, rdi
call fcn.14003c780
mov r8, r14
mov rdx, r15
mov rcx, rdi
call fcn.14003c780
sub rbx, r14
lea rdx, [r15 + 0x27]
add rdx, r14
lea rcx, [rdi + r14]
mov r8, rbx
call fcn.14003c780
jmp 0x14000b251
mov ebx, 0x27
mov qword [rsp + 0x28], rbx
lea r15, str.__Failed_to_disable_Gamebar__Error_29_
mov qword [rsp + 0x20], r15
mov edx, ebx
mov rcx, rsi
call fcn.140012370
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], 0xf
mov byte [rsi], 0
mov r8d, 1
lea rdx, [0x14004a990]
lea rcx, [rbp - 0x50]
call fcn.140001f00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [0x140053cb0]
call fcn.14000b8c0
lea rdx, str._X_
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
call fcn.14000fbf0
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000b34a
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b345
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b507
call fcn.140016434
movdqa xmm0, xmmword [0x14004c1b0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x14000b398
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b393
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b50d
call fcn.140016434
movdqa xmm0, xmmword [0x14004c1b0]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x14000b4b6
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ae9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b4ef
jmp 0x14000ae9f
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], r12
mov r8d, 0x5a
lea rdx, str.__Successfully_disabled_Gamebar__It_just_improves_PC_performace__useless_shit_by_microsft_
lea rcx, [rsp + 0x50]
call fcn.140002270
nop
lea rcx, [0x140053ca0]
call fcn.14000b8c0
lea rdx, str.__
call fcn.140001f90
lea rcx, [0x140053d00]
call fcn.14000b8c0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
call fcn.14000fbf0
lea rcx, [0x140053cf0]
call fcn.14000b8c0
lea rdx, str.__CHANGED_
call fcn.140001f90
mov rcx, rax
call fcn.14000d570
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000b4af
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b4aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b4e3
call fcn.140016434
mov byte [0x140055d08], 1
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400163d0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
int3
call fcn.14001d19c
nop
call fcn.14001d19c
nop
call fcn.14001d19c
nop
call fcn.14001d19c
nop
call fcn.14001d19c
int3