Function at 0x1401a2b50
Capabilities:
Check if file exists
Create process on windows
Get common file path
Get file attributes

Disassembly:
push rsi
push rdi
push r12
mov eax, 0x20110
call fcn.140237890
sub rsp, rax
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x20138], rbx
mov qword [rsp + 0x20140], rbp
mov rax, qword [0x140300da0]
xor rax, rsp
mov qword [rsp + 0x20100], rax
mov rsi, rcx
xor ebp, ebp
mov dword [rsp + 0x58], ebp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
call fcn.1401e9268
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x1401a2bc2
mov ecx, 0x80004005
call fcn.140003c70
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea r12, str.SRSEndpointIsInitialized
test r12, 0xffffffffffff0000
jne 0x1401a2c06
movzx edi, r12w
mov ecx, edi
call fcn.1401eb134
test rax, rax
je 0x1401a2c27
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1400074b0
jmp 0x1401a2c27
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r12
lea rcx, [rsp + 0x50]
call fcn.140007720
nop
lea rax, [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x1401a2c5a
cmp rax, qword [rdi - 0x18]
jne 0x1401a2c5a
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x1401a2c98
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x1401a2c76
call fcn.1400f0ca0
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.140216220
lea rax, [rbx + 0x18]
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsi + 0x48]
call fcn.140041e00
mov ebx, eax
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1401a2cd7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test ebx, ebx
je 0x1401a2ce5
mov eax, 1
jmp 0x1401a2ee9
mov word [rsp + 0x100], 0
xor edx, edx
mov r8d, 0xfffc
lea rcx, [rsp + 0x102]
call fcn.1402197d0
mov word [rsp + 0x10100], 0
xor edx, edx
mov r8d, 0xfffc
lea rcx, [rsp + 0x10102]
call fcn.1402197d0
mov edx, 0x7fff
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1401a2e2e
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x100]
repne scasw ax, word [rdi]
not rcx
cmp word [rsp + rcx*2 + 0xfc], 0x5c
jne 0x1401a2d65
mov word [rsp + rcx*2 + 0xfc], ax
lea r8, [0x1402604d8]
mov edx, 0x7fff
lea rcx, [rsp + 0x100]
call fcn.1402175a0
lea r8, str.SRSLabs
mov edx, 0x7fff
lea rcx, [rsp + 0x100]
call fcn.1402175a0
lea r8, [0x1402604d8]
mov edx, 0x7fff
lea rcx, [rsp + 0x100]
call fcn.1402175a0
lea r8, str.176F4E15_8F7C_4833_ADED_81FAE8CCD186
mov edx, 0x7fff
lea rcx, [rsp + 0x100]
call fcn.1402175a0
lea r8, str._slInit64.dll
mov edx, 0x7fff
lea rcx, [rsp + 0x100]
call fcn.1402175a0
lea r8, str._rundll32.exe_
mov edx, 0x7fff
lea rcx, [rsp + 0x10100]
call fcn.1402175a0
lea r8, [rsp + 0x100]
mov edx, 0x7fff
lea rcx, [rsp + 0x10100]
call fcn.1402175a0
lea r8, str._SRS_InitializeEndpoints_Rundll32
mov edx, 0x7fff
lea rcx, [rsp + 0x10100]
call fcn.1402175a0
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401a2ee7
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rsp + 0x90]
call fcn.1402197d0
mov dword [rsp + 0x90], 0x68
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x10100]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401a2ee9
or edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdx, r12
lea rcx, [rsp + 0x80]
call fcn.1400073d0
lea r8, [rsp + 0x58]
mov rdx, rax
mov rcx, rsi
call fcn.14019c550
mov ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x20100]
xor rcx, rsp
call fcn.140216200
lea r11, [rsp + 0x20110]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret