Function at 0x1400fa6e0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x460]
sub rsp, 0x560
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x450], rax
movzx r15d, dl
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
lea rdx, [rbp]
add rcx, 0x30
call fcn.1400d4ad0
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
lea rdx, [rbp - 0x10]
lea rcx, [r14 + 0x30]
call fcn.1400d4ad0
nop
xor sil, sil
lea r8, [r14 + 0x5a8]
lea rdx, str.AMDSrcExt_
lea rcx, [rbp + 0x10]
call fcn.140044750
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae r8, qword [rbp + 0x10]
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
test rax, rax
je 0x1400fa789
mov sil, 1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x10]
call fcn.140004ff0
nop
mov rdi, 0xffffffffffffffff
mov rbx, qword [rbp - 8]
test rbx, rbx
je 0x1400fa7cc
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400fa7cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400fa7cc
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
test sil, sil
jne 0x1400fa9e8
test r15b, r15b
je 0x1400fa809
lea rdx, str.ToastOverlay___setting_active_flag_to_1
mov ecx, 7
call fcn.140083970
call fcn.140061c90
mov rcx, rax
mov r9b, 1
lea r8, [r14 + 0x5a8]
lea rdx, [r14 + 0x588]
call fcn.140023080
mov rax, qword [r14 + 0x5c8]
test rax, rax
je 0x1400fa831
mov rax, qword [rax]
mov rcx, qword [rax]
add rcx, 0xcc
xor edx, edx
mov r8d, 0x4000000
call fcn.140152140
jmp 0x1400fa842
lea rdx, str.ClearSharedMemoryPixels___SrcExtSharedMemory_not_allocated
mov ecx, 7
call fcn.1400838f0
lea rdx, str.ToastOverlay___starting_AMDRSSrcExt.exe
mov ecx, 7
call fcn.140083970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x240]
call fcn.140152140
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor ebx, ebx
test eax, eax
je 0x1400fa892
cmp eax, 0x104
je 0x1400fa892
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
jmp 0x1400fa896
mov word [rbp + 0x30], bx
mov qword [rbp - 0x30], rbx
movdqa xmm0, xmmword [0x1401f9dd0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], bx
lea rax, [rbp + 0x30]
mov r8, rdi
inc r8
cmp word [rax + r8*2], bx
jne 0x1400fa8b2
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x30]
call fcn.140005060
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
lea r8, str.AMDRSSrcExt.exe
lea rcx, [rbp + 0x240]
call qword [sym.imp.SHLWAPI.dll_PathCombineW]
lea r8, [0x1401c87fc]
lea rdx, [r14 + 0x5a8]
lea rcx, [rsp + 0x20]
call fcn.140029eb0
nop
lea rdx, [r14 + 0x588]
cmp qword [r14 + 0x5a0], 8
jb 0x1400fa91d
mov rdx, qword [r14 + 0x588]
mov r8, qword [r14 + 0x598]
mov rcx, rax
call fcn.140011ba0
mov qword [rbp - 0x50], rbx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x40], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
lea rcx, [rsp + 0x20]
call fcn.140004ff0
xorps xmm0, 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
movups xmmword [rbp - 0x60], xmm0
mov dword [rsp + 0x40], 0x70
lea rax, [rbp + 0x240]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rax, qword [rbp - 0x50]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x44], 0x500
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
cmp eax, 1
je 0x1400fa9d4
lea rdx, str.ToastOverlay___failed_to_launch_AMDRSSrcExt.exe
mov ecx, 7
call fcn.1400838f0
nop
lea rcx, [rbp - 0x50]
call fcn.140004ff0
nop
lea rcx, [rbp - 0x30]
call fcn.140004ff0
nop
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400faa18
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400faa18
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400faa18
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbp + 0x450]
xor rcx, rsp
call fcn.14014f2f0
lea r11, [rsp + 0x560]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret