Function at 0x1400a2770
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rsi, rcx
mov rax, qword [rcx + 0x528]
test rax, rax
je 0x1400a27c9
mov rax, qword [rax]
mov rcx, qword [rax]
add rcx, 0xcc
xor edx, edx
mov r8d, 0x4000000
call fcn.140152140
jmp 0x1400a27da
lea rdx, str.ClearSharedMemoryPixels___SrcExtSharedMemory_not_allocated
mov ecx, 7
call fcn.1400838f0
call fcn.140061c90
mov rcx, rax
lea rdx, [rsp + 0x20]
call fcn.1400219e0
mov rcx, qword [rax]
mov r14, qword [rcx]
mov rdi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400a282c
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400a282c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400a282c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test r14, r14
je 0x1400a286d
cmp byte [rsi + 0x98], 0
je 0x1400a2842
mov eax, dword [rsi + 0x9c]
jmp 0x1400a2848
mov eax, dword [rsi + 0x88]
mov dword [r14 + 0x6d8], eax
cmp byte [rsi + 0x98], 0
je 0x1400a2860
mov eax, dword [rsi + 0xa0]
jmp 0x1400a2866
mov eax, dword [rsi + 0x8c]
mov dword [r14 + 0x6dc], eax
lea r14, [rsi + 0x508]
mov r8, r14
lea rdx, str.AMDSrcExt_
lea rcx, [rbp - 0x40]
call fcn.140044750
lea r8, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r8, qword [rbp - 0x40]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x1400a28cf
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x40]
call fcn.140004ff0
lea rdx, str.LaunchSrcExt___already_running
mov ecx, 7
call fcn.1400838f0
jmp 0x1400a2a26
lea rcx, [rbp - 0x40]
call fcn.140004ff0
lea rdx, str.CustomSourceOverlay___setting_active_flag_to_1
mov ecx, 7
call fcn.140083970
call fcn.140061c90
mov rcx, rax
mov r9b, 1
mov r8, r14
lea rdx, [rsi + 0x4e8]
call fcn.140023080
lea rdx, str.CustomSourceOverlay___starting_AMDRSSrcExt.exe
mov ecx, 7
call fcn.140083970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.140152140
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ebx, ebx
test eax, eax
je 0x1400a2953
cmp eax, 0x104
je 0x1400a2953
lea rcx, [rbp - 0x20]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x1400a2957
mov word [rbp - 0x20], bx
mov qword [rbp - 0x60], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], bx
lea rax, [rbp - 0x20]
inc rdi
cmp word [rax + rdi*2], bx
jne 0x1400a2970
mov r8, rdi
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x60]
call fcn.140005060
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
lea r8, str.AMDRSSrcExt.exe
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
mov dword [rsp + 0x30], 0x70
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x48], rax
cmp qword [r14 + 0x18], 8
jb 0x1400a29ee
mov r14, qword [r14]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x34], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x1400a2a1d
lea rdx, str.CustomSourceOverlay___failed_to_launch_AMDRSSrcExt.exe
mov ecx, 7
call fcn.1400838f0
nop
lea rcx, [rbp - 0x60]
call fcn.140004ff0
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret