Function at 0x14004a400
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x330]
sub rsp, 0x430
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x320], rax
movzx r14d, dl
mov rsi, rcx
call fcn.140061f60
mov rcx, rax
call fcn.14006bb30
cmp eax, 2
je 0x14004a461
lea rdx, str.Cant_start_instant_replay._DVR_runs_only_for_rendering.
mov ecx, 6
call fcn.1400838f0
jmp 0x14004aff5
mov rdi, qword [rsi + 8]
mov rax, qword [rdi + 0x20]
test rax, rax
jne 0x14004a4a0
mov ecx, 0xa8
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.140152140
mov rdx, rdi
mov rcx, rbx
call fcn.140040750
nop
mov qword [rdi + 0x20], rax
mov rbx, qword [rax + 0x70]
mov rax, qword [rbx + 0x38]
xor r12d, r12d
test rax, rax
jne 0x14004a4e8
lea ecx, [rax + 0x28]
call fcn.14014f310
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
mov qword [rax + 0x20], rcx
mov qword [rax], rbx
mov dword [rax + 8], r12d
mov byte [rax + 0xc], cl
mov dword [rax + 0x10], r12d
mov qword [rax + 0x18], r12
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14004a504
cmp byte [rax + 0xc], r12b
je 0x14004a504
lea rdx, str.Cant_start_capturing_during_Remote_Gaming
mov ecx, 6
call fcn.140083930
jmp 0x14004aff5
mov rcx, qword [rsi + 8]
cmp byte [rcx + 0x50], r12b
jne 0x14004a51b
call fcn.140036ab0
test eax, eax
jne 0x14004afb6
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002d5c0
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rbx, rax
call fcn.140061f60
mov rcx, rax
mov rdx, qword [rbx + 8]
call fcn.140065f10
test al, al
je 0x14004a668
call fcn.140061c90
mov rcx, rax
call fcn.140028ef0
cmp eax, 3
jne 0x14004a56a
mov ebx, 0xec
jmp 0x14004a587
call fcn.140061c90
mov rcx, rax
call fcn.1400148e0
mov ebx, 0xb9
mov ecx, 0xe8
cmp eax, 2
cmove ebx, ecx
call fcn.1400623a0
mov rcx, rax
mov r8d, 0xb3
lea rdx, [rbp + 0x1d0]
call fcn.140060b50
nop
lea r15, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae r15, qword [rbp + 0x1d0]
mov r14, qword [rsi + 8]
mov rdi, qword [r14 + 0x20]
test rdi, rdi
jne 0x14004a5fa
mov ecx, 0xa8
call fcn.14014f310
mov rdi, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.140152140
mov rdx, r14
mov rcx, rdi
call fcn.140040750
mov rdi, rax
mov qword [r14 + 0x20], rax
mov rax, qword [rdi + 0x70]
cmp byte [rax + 0x51], 0
jne 0x14004a613
xor edx, edx
call fcn.140037880
mov rax, qword [rdi + 0x70]
mov byte [rax + 0x51], 1
call fcn.140061c90
mov rcx, rax
call fcn.140020330
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, eax
mov r8, r15
mov edx, ebx
mov rcx, rdi
call fcn.140040930
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
nop
lea rcx, [rbp + 0x1d0]
call fcn.140004ff0
jmp 0x14004aff5
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rbx, rax
call fcn.140061f60
mov rcx, rax
mov rdx, qword [rbx + 8]
call fcn.140065e60
test al, al
je 0x14004a78b
call fcn.140061c90
mov rcx, rax
call fcn.1400148e0
mov ebx, 0xb9
mov ecx, 0xe8
cmp eax, 2
cmove ebx, ecx
call fcn.1400623a0
mov rcx, rax
mov r8d, 0xf7
lea rdx, [rbp + 0x1d0]
call fcn.140060b50
nop
lea r15, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae r15, qword [rbp + 0x1d0]
mov r14, qword [rsi + 8]
mov rdi, qword [r14 + 0x20]
test rdi, rdi
jne 0x14004a71d
mov ecx, 0xa8
call fcn.14014f310
mov rdi, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.140152140
mov rdx, r14
mov rcx, rdi
call fcn.140040750
mov rdi, rax
mov qword [r14 + 0x20], rax
mov rax, qword [rdi + 0x70]
cmp byte [rax + 0x51], 0
jne 0x14004a736
xor edx, edx
call fcn.140037880
mov rax, qword [rdi + 0x70]
mov byte [rax + 0x51], 1
call fcn.140061c90
mov rcx, rax
call fcn.140020330
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, eax
mov r8, r15
mov edx, ebx
mov rcx, rdi
call fcn.140040930
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
nop
lea rcx, [rbp + 0x1d0]
call fcn.140004ff0
jmp 0x14004aff5
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002c1d0
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rdx, qword [rax + 8]
call fcn.140072b40
test eax, eax
jne 0x14004afef
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rbx, rax
cmp byte [rax + 0x18], r12b
je 0x14004a7f2
call fcn.14002d8e0
mov rcx, qword [rbx]
mov rdx, qword [rcx + 0x58]
mov ecx, dword [rdx + 0xf8]
cmp dword [rax + 0x58], ecx
je 0x14004a80d
xor edx, edx
mov rcx, rbx
call fcn.14002c610
movzx eax, byte [rbx + 0x34]
test al, al
jne 0x14004a80d
mov rcx, rbx
call fcn.14002c2e0
movzx edx, al
mov rcx, rbx
call fcn.14002c370
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
cmp byte [rax + 0x18], r12b
je 0x14004afef
movzx eax, byte [rax + 0x34]
test al, al
jne 0x14004afef
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
cmp byte [rax + 0x18], r12b
je 0x14004afb6
movzx eax, byte [rax + 0x34]
test al, al
jne 0x14004afb6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x78]
test al, al
jne 0x14004afb6
call fcn.140061c90
mov rcx, rax
mov r8d, 1
lea rdx, [rbp + 0x260]
call fcn.1400184e0
cmp dword [rbp + 0x260], 0xffffffff
je 0x14004afa5
lea r8, [rbp + 0x260]
lea rdx, [rbp + 0x2a0]
mov rcx, qword [rsi + 8]
call fcn.1400361a0
movups xmm0, xmmword [rbp + 0x260]
movups xmmword [rsi + 0x98], xmm0
movsd xmm1, qword [rbp + 0x270]
movsd qword [rsi + 0xa8], xmm1
movaps xmm0, xmmword [rbp + 0x2a0]
movups xmmword [rsi + 0x20], xmm0
movaps xmm1, xmmword [rbp + 0x2b0]
movups xmmword [rsi + 0x30], xmm1
movaps xmm0, xmmword [rbp + 0x2c0]
movups xmmword [rsi + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0x2d0]
movups xmmword [rsi + 0x50], xmm1
movaps xmm0, xmmword [rbp + 0x2e0]
movups xmmword [rsi + 0x60], xmm0
movaps xmm1, xmmword [rbp + 0x2f0]
movups xmmword [rsi + 0x70], xmm1
movaps xmm0, xmmword [rbp + 0x300]
movups xmmword [rsi + 0x80], xmm0
movsd xmm1, qword [rbp + 0x310]
movsd qword [rsi + 0x90], xmm1
call fcn.140061c90
mov rcx, rax
call fcn.140020aa0
mov dword [rsi + 0x10], eax
mov qword [rbp + 0x1f8], r12
mov qword [rbp + 0x208], r12
mov qword [rbp + 0x210], 7
mov word [rbp + 0x1f8], r12w
mov qword [rbp + 0x218], r12
mov qword [rbp + 0x228], r12
mov qword [rbp + 0x230], 7
mov word [rbp + 0x218], r12w
mov qword [rbp + 0x238], r12
mov qword [rbp + 0x248], r12
mov qword [rbp + 0x250], 7
mov word [rbp + 0x238], r12w
mov dword [rbp + 0x1f0], 1
mov dword [rbp + 0x258], 8
call fcn.140061c90
mov rcx, rax
mov r8b, 1
lea rdx, [rbp + 0x70]
call fcn.14001b1c0
mov rbx, rax
call fcn.140061c90
mov rcx, rax
lea rdx, [rbp + 0x50]
call fcn.14001abb0
nop
mov r8d, 0xe
lea rdx, str.InGame_replay
mov rcx, rax
call fcn.140011ba0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r9, rbx
lea r8, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.14002ac40
lea rcx, [rbp + 0x218]
call fcn.140004ff0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x218], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x228], xmm1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
lea rcx, [rsp + 0x50]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x70]
call fcn.140004ff0
nop
lea rcx, [rbp + 0x50]
call fcn.140004ff0
nop
lea rcx, [rbp + 0x70]
call fcn.140004ff0
xor r8d, r8d
lea rdx, [0x1401c16d8]
lea rcx, [rbp + 0x238]
call fcn.140005060
xor r8d, r8d
lea rdx, [0x1401c16d8]
lea rcx, [rbp + 0x1f8]
call fcn.140005060
call fcn.140061c90
mov rcx, rax
call fcn.140023460
mov rcx, qword [rsi + 8]
mov byte [rcx + 0x140], al
mov rax, qword [rsi + 8]
cmp byte [rax + 0x140], 0
je 0x14004aba9
call fcn.140061c90
mov rcx, rax
mov r8b, 1
lea rdx, [rbp + 0xb0]
call fcn.14001b1c0
mov rbx, rax
call fcn.140061c90
mov rcx, rax
lea rdx, [rbp + 0x90]
call fcn.14001abb0
nop
mov r8d, 7
lea rdx, str._replay
mov rcx, rax
call fcn.140011ba0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov r9, rbx
lea r8, [rbp - 0x50]
lea rcx, [rbp + 0x1d0]
call fcn.14002ac40
lea rcx, [rbp + 0x238]
call fcn.140004ff0
movups xmm0, xmmword [rbp + 0x1d0]
movups xmmword [rbp + 0x238], xmm0
movups xmm1, xmmword [rbp + 0x1e0]
movups xmmword [rbp + 0x248], xmm1
mov qword [rbp + 0x1e0], r12
mov qword [rbp + 0x1e8], 7
mov word [rbp + 0x1d0], r12w
lea rcx, [rbp + 0x1d0]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x50]
call fcn.140004ff0
nop
lea rcx, [rbp + 0x90]
call fcn.140004ff0
nop
lea rcx, [rbp + 0xb0]
call fcn.140004ff0
call fcn.140061c90
mov rcx, rax
call fcn.140020bf0
test eax, eax
jne 0x14004ac49
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x40], rax
call fcn.140061c90
mov rcx, rax
lea rdx, [rbp + 0xd0]
call fcn.14001abb0
mov r15, rax
mov rdi, qword [rsi + 8]
mov rax, qword [rdi + 0x20]
test rax, rax
jne 0x14004ac20
mov ecx, 0xa8
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.140152140
mov rdx, rdi
mov rcx, rbx
call fcn.140040750
nop
mov qword [rdi + 0x20], rax
movzx r8d, r14b
mov rdx, r15
mov rcx, rax
call fcn.140042810
test al, al
je 0x14004ac49
lea rdx, str.Instant_Replay:_Cant_start_capturing._We_could_not_access_the_output_folder
mov ecx, 6
call fcn.1400838f0
jmp 0x14004af7f
lea rax, [rbp + 0xf0]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x1f0]
mov dword [rbp + 0xf0], eax
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0xf8]
call fcn.140006b00
nop
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x118]
call fcn.140006b00
nop
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x138]
call fcn.140006b00
mov eax, dword [rbp + 0x258]
mov dword [rbp + 0x158], eax
movaps xmm0, xmmword [rbp + 0x2a0]
movaps xmmword [rbp - 0x30], xmm0
movaps xmm1, xmmword [rbp + 0x2b0]
movaps xmmword [rbp - 0x20], xmm1
movaps xmm0, xmmword [rbp + 0x2c0]
movaps xmmword [rbp - 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x2d0]
movaps xmmword [rbp], xmm1
movaps xmm0, xmmword [rbp + 0x2e0]
movaps xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x2f0]
movaps xmmword [rbp + 0x20], xmm1
movaps xmm0, xmmword [rbp + 0x300]
movaps xmmword [rbp + 0x30], xmm0
movsd xmm1, qword [rbp + 0x310]
movsd qword [rbp + 0x40], xmm1
mov rcx, qword [rsi + 8]
lea r8, [rbp + 0xf0]
lea rdx, [rbp - 0x30]
mov rcx, qword [rcx + 0x58]
call fcn.1400cc050
test eax, eax
jne 0x14004af6a
movsxd rdx, dword [rbp + 0x2a0]
lea rcx, [0x140045790]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002da30
lea rax, [rbp + 0x160]
mov qword [rsp + 0x48], rax
mov eax, dword [rbp + 0x1f0]
mov dword [rbp + 0x160], eax
lea rdx, [rbp + 0x1f8]
lea rcx, [rbp + 0x168]
call fcn.140006b00
nop
lea rdx, [rbp + 0x218]
lea rcx, [rbp + 0x188]
call fcn.140006b00
nop
lea rdx, [rbp + 0x238]
lea rcx, [rbp + 0x1a8]
call fcn.140006b00
mov eax, dword [rbp + 0x258]
mov dword [rbp + 0x1c8], eax
mov rcx, qword [rsi + 8]
mov r8b, 1
lea rdx, [rbp + 0x160]
mov rcx, qword [rcx + 0x58]
call fcn.1400cdde0
mov ebx, eax
mov rcx, qword [rsi + 8]
test eax, eax
jne 0x14004af55
mov word [rsi + 0x18], 1
call fcn.14002fbe0
mov rdx, qword [rax + 8]
add rdx, 0x38
lea rcx, [rsp + 0x70]
call fcn.140006b00
nop
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r8, qword [rsp + 0x70]
lea rdx, str.Instant_replay_has_been_started_on_desktop__s
lea ecx, [rbx + 6]
call fcn.140083970
nop
lea rcx, [rsp + 0x70]
call fcn.140004ff0
call fcn.1400616f0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8093
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
test r14b, r14b
je 0x14004aefc
call fcn.1400623a0
mov rcx, rax
lea r8d, [rbx + 0x74]
lea rdx, [rbp + 0x278]
call fcn.140060b50
nop
lea rdi, [rbp + 0x278]
cmp qword [rbp + 0x290], 8
cmovae rdi, qword [rbp + 0x278]
mov r14, qword [rsi + 8]
mov rbx, qword [r14 + 0x20]
test rbx, rbx
jne 0x14004aea7
mov ecx, 0xa8
call fcn.14014f310
mov rbx, rax
mov qword [rsp + 0x48], rax
xor edx, edx
mov r8d, 0xa8
mov rcx, rax
call fcn.140152140
mov rdx, r14
mov rcx, rbx
call fcn.140040750
mov rbx, rax
mov qword [r14 + 0x20], rax
mov rax, qword [rbx + 0x70]
cmp byte [rax + 0x51], 0
jne 0x14004aec0
xor edx, edx
call fcn.140037880
mov rax, qword [rbx + 0x70]
mov byte [rax + 0x51], 1
call fcn.140061c90
mov rcx, rax
call fcn.140020330
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
mov r9d, eax
mov r8, rdi
mov edx, reloc.d3d12.dll_Ordinal_102
mov rcx, rbx
call fcn.140040930
nop
lea rcx, [rbp + 0x278]
call fcn.140004ff0
call fcn.140061f60
mov rcx, rax
mov r9b, 1
xor r8d, r8d
lea edx, [r8 + 5]
call fcn.14006ab30
mov rax, qword [rsi + 8]
mov rcx, qword [rax + 0x130]
mov rax, qword [rcx]
test rax, rax
je 0x14004af7f
mov byte [rax + 2], 1
xor edx, edx
lea rcx, [0x14002ec70]
call qword [sym.imp.USER32.dll_EnumWindows]
call fcn.1400616f0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8092
mov rcx, qword [rax + 0x50]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x14004af7f
mov rcx, qword [rcx + 0x58]
call fcn.1400cd510
mov r8d, ebx
lea rdx, str.Instant_Replay:_Failed_to_enable_capturing_pipline_output__d
jmp 0x14004af74
mov r8d, eax
lea rdx, str.Instant_Replay:_Cant_start_capturing._Failed_to_start_capturing_pipline__d
mov ecx, 6
call fcn.1400838f0
nop
lea rcx, [rbp + 0x238]
call fcn.140004ff0
lea rcx, [rbp + 0x218]
call fcn.140004ff0
lea rcx, [rbp + 0x1f8]
call fcn.140004ff0
jmp 0x14004afb6
lea rdx, str.Instant_Replay:_Cant_start_capturing._Failed_to_get_capturing_profile
mov ecx, 6
call fcn.1400838f0
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
cmp byte [rax + 0x18], 0
je 0x14004aff5
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rcx, rax
call fcn.14002c790
test al, al
jne 0x14004aff5
mov rcx, qword [rsi + 8]
call fcn.14002fbe0
mov rcx, rax
xor edx, edx
call fcn.14002c610
jmp 0x14004aff5
mov word [rsi + 0x18], 0x101
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x430]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret