Function at 0x140047040
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
lea rdx, str.Remote_video_playback_pipeline_start
mov ecx, 6
call fcn.140083970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x40]
call fcn.140152140
mov byte [rsp + 0x20], 0
mov r9d, 0x208
lea r8, [rbp - 0x40]
lea rdx, str.RemoteVideo
lea rcx, str.SOFTWAREAMDDVR
call fcn.140006ff0
test al, al
je 0x140047349
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x1400470d0
test r8, r8
je 0x140047349
xor ebx, ebx
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x58], rbx
mov edi, 7
mov qword [rbp - 0x50], rdi
mov word [rbp - 0x68], bx
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.140005060
nop
mov qword [rsp + 0x58], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x68], xmm0
lea r14, [rbp - 0x68]
mov r15, qword [rbp - 0x68]
mov r12, qword [rbp - 0x50]
cmp r12, 8
cmovae r14, r15
movabs r13, 0x7ffffffffffffffe
mov rsi, qword [rbp - 0x58]
cmp rsi, 8
jae 0x14004714f
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x70], rdi
jmp 0x140047188
mov rbx, rsi
or rbx, 7
cmp rbx, r13
cmova rbx, r13
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x58]
call fcn.140005370
mov qword [rsp + 0x58], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140151a90
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x68], rsi
lea rcx, [rbp - 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400472f8
call fcn.140061c90
mov rcx, rax
lea rdx, [rsp + 0x78]
call fcn.14001abb0
nop
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
cmovae rax, rcx
mov rbx, qword [rbp - 0x78]
cmp word [rax + rbx*2 - 2], 0x5c
je 0x1400471f0
mov edx, 0x5c
lea rcx, [rsp + 0x78]
call fcn.140005630
mov rdx, qword [rbp - 0x70]
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x78]
mov rax, r13
sub rax, rbx
cmp rax, rsi
jb 0x140047379
lea r13, [rsp + 0x78]
cmp rdx, 8
cmovae r13, rcx
lea rax, [rbp - 0x68]
cmp r12, 8
cmovae rax, r15
mov qword [rsp + 0x50], rax
xor r12d, r12d
mov qword [rsp + 0x30], r12
lea r15, [rsi + rbx]
lea r14, [rsp + 0x30]
cmp r15, 7
jbe 0x14004727f
mov rdi, r15
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x14004724f
mov rdi, rax
jmp 0x14004725b
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rdx, rdi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005370
mov r14, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], rdi
add rbx, rbx
mov r8, rbx
mov rdx, r13
mov rcx, r14
call fcn.140151a90
lea rcx, [rbx + r14]
lea r8, [rsi + rsi]
mov rdx, qword [rsp + 0x50]
call fcn.140151a90
mov word [r14 + r15*2], r12w
lea rcx, [rsp + 0x58]
call fcn.140004ff0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsp + 0x68], xmm1
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r12w
lea rcx, [rsp + 0x30]
call fcn.140004ff0
nop
lea rcx, [rsp + 0x78]
call fcn.140004ff0
call fcn.140061c90
mov rcx, rax
call fcn.140023c70
cmp eax, 2
jne 0x140047323
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
call qword [sym.imp.amdlinkremoteserver.dll_LinkServerStart]
jmp 0x140047335
lea rdx, str.Remote_server_1.0_is_deprecated
mov ecx, 6
call fcn.1400838f0
nop
lea rcx, [rsp + 0x58]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x68]
call fcn.140004ff0
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003c20
nop
int3