Function at 0x1400076f8
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x12a0]
mov eax, 0x13a0
call fcn.14001a5e0
sub rsp, rax
mov rax, qword [0x14002b460]
xor rax, rsp
mov qword [rbp + 0x1290], rax
mov edi, ecx
call fcn.140007a90
test al, al
je 0x140007767
call fcn.140006ef0
mov rbx, rax
test rax, rax
je 0x140007767
and qword [rsp + 0x68], 0
lea r8, [rsp + 0x68]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14000778d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x1290]
xor rcx, rsp
call fcn.14001a4a0
lea r11, [rsp + 0x13a0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x60]
and qword [rsp + 0x60], 0
mov r9d, 1
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x1400077d2
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
jmp 0x140007761
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400077ff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
jmp 0x140007761
xor edx, edx
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x68]
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
and qword [rsp + 0x70], 0
xor eax, eax
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
lea rax, str.WinSta0Default
mov qword [rbp - 0x60], rax
mov eax, 5
mov word [rbp - 0x30], ax
mov dword [rbp - 0x70], 0x68
mov dword [rbp - 0x34], 1
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor r9d, r9d
lea rax, [rbp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x29]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov r8b, 1
lea rdx, str.inetcpl.cpl
lea rcx, [rbp + 0x290]
call fcn.140007b50
test edi, edi
je 0x1400078bd
mov r9d, edi
lea r8, str.___d
mov edx, 0x40
lea rcx, [rbp]
call fcn.140006960
lea r8, [rbp]
mov edx, 0x800
lea rcx, [rbp + 0x290]
call fcn.140016a90
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x50], rax
lea r8, [rbp + 0x290]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
lea rax, [rbp + 0x80]
xor dil, dil
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x4000410
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x14000795c
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x290]
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140007974
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000798a
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, dil
jmp 0x140007769