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

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x13a0
call fcn.140037820
sub rsp, rax
mov rax, qword [0x14004e300]
xor rax, rsp
mov qword [rsp + 0x1390], rax
mov edi, ecx
call fcn.140008888
test al, al
jne 0x14000851f
xor al, al
jmp 0x1400087a5
call fcn.140007d44
mov rbx, rax
test rax, rax
je 0x140008518
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 0x140008554
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140008518
mov rcx, qword [rsp + 0x68]
and qword [rsp + 0x60], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9d, 1
xor r8d, r8d
mov edx, 0x2000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x140008599
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
jmp 0x14000854c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400085c3
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 0x14000854c
xor edx, edx
lea rcx, [rsp + 0x90]
lea r8d, [rdx + 0x68]
call fcn.140024b80
mov rdx, qword [rsp + 0x60]
xor r11d, r11d
and qword [rsp + 0x70], r11
lea rax, str.WinSta0Default
lea rcx, [rsp + 0x70]
mov qword [rsp + 0xa0], rax
lea eax, [r11 + 5]
xor r8d, r8d
mov qword [rsp + 0x78], r11
mov qword [rsp + 0x80], r11
mov qword [rsp + 0x88], r11
mov word [rsp + 0xd0], ax
mov dword [rsp + 0x90], 0x68
mov dword [rsp + 0xcc], 1
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor r9d, r9d
lea r11, [rsp + 0x180]
lea edx, [r9 + 0x29]
xor r8d, r8d
xor ecx, ecx
mov qword [rsp + 0x20], r11
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea rdx, str.inetcpl.cpl
lea rcx, [rsp + 0x390]
mov r8b, 1
call fcn.14000895c
test edi, edi
je 0x1400086a7
lea r8, str.___d
lea rcx, [rsp + 0x100]
mov r9d, edi
mov edx, 0x40
call fcn.140022158
lea r8, [rsp + 0x100]
lea rcx, [rsp + 0x390]
mov edx, 0x800
call fcn.140022978
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x78]
lea r8, [rsp + 0x390]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x90]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x180]
xor edx, edx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
xor dil, dil
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 0x140008751
lea rax, [rsp + 0x78]
lea rdx, [rsp + 0x390]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
xor ecx, ecx
mov dword [rsp + 0x28], 0x10
and dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000876d
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 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 0x140008783
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
mov rcx, qword [rsp + 0x1390]
xor rcx, rsp
call fcn.140021c70
mov rbx, qword [rsp + 0x13b8]
add rsp, 0x13a0
pop rdi
ret