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

Disassembly:
push rdi
push r14
push r15
mov eax, 0x1b80
call fcn.140018cb0
sub rsp, rax
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rsp + 0x1ba8], rbx
mov qword [rsp + 0x1bb0], rsi
mov rax, qword [0x14003f2f0]
xor rax, rsp
mov qword [rsp + 0x1b70], rax
mov rbx, rcx
xor dil, dil
xor r15d, r15d
mov esi, r15d
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x170]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x570]
call fcn.1400166f0
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x370]
call fcn.1400166f0
mov rcx, rbx
call fcn.140005b10
test eax, eax
je 0x140011001
mov dword [rsp + 0x30], 1
lea r14, [0x140042700]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x170]
lea r8, [0x14002ce18]
lea rdx, str.File
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], r15d
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x570]
lea r8, [0x14002ce18]
lea rdx, str.Param
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], pe_nt_image_headers64
lea r9, [rsp + 0x370]
lea r8, [0x14002ce18]
lea rdx, str.WorkingDirectory
mov rcx, rbx
call fcn.14000db60
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 8
lea r9, [rsp + 0x160]
lea r8, [0x14002ce18]
lea rdx, str.ProcessSpawned
mov rcx, rbx
call fcn.14000db60
lea rcx, [rsp + 0x370]
or rbx, 0xffffffffffffffff
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], si
jne 0x140010d20
test rax, rax
jne 0x140010d41
lea rdx, [rsp + 0x370]
mov ecx, pe_nt_image_headers64
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea r9, [rsp + 0x370]
lea r8, [rsp + 0x570]
lea rdx, [rsp + 0x170]
lea rcx, str._nExecuting__s__Param__s__Working_Directory__s
call fcn.14000adf0
lea rax, [rsp + 0x170]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140010d70
test rbx, rbx
jne 0x140010d8f
lea rcx, str._nExecutable_not_specified
call fcn.14000adf0
jmp 0x140011001
lea rdx, [0x14002f550]
lea rcx, [rsp + 0x160]
call fcn.140017124
test eax, eax
je 0x140010dbf
lea rdx, [0x14002d8e4]
lea rcx, [rsp + 0x160]
call fcn.140017124
test eax, eax
jne 0x140010df0
mov dil, 1
lea rdx, [0x14002f558]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov rsi, rax
test rax, rax
jne 0x140010df0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str._nCreateJobObject_failed___d_.
call fcn.14000adf0
xor dil, dil
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x640
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], r15
lea rax, [rsp + 0x170]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x570]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0xa0], r15d
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xd8], r15
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x140010ecb
mov edx, pe_nt_image_headers64
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
test eax, eax
jne 0x140010e8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_raise_ShellExecute_to_realtime___d__n
call fcn.14000adf0
cmp dil, 1
jne 0x140010ea5
mov rdx, qword [rsp + 0xd8]
mov rcx, rsi
call fcn.140013500
or edx, 0xffffffff
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x140011001
lea r8, [rsp + 0x570]
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0xb70]
call fcn.14000e080
mov rdx, rax
lea rcx, str._nShellExecuteEx_failed__attempting_CreateProcess_Because___s
call fcn.14000adf0
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
xor edx, edx
lea r8d, [rax + 0x68]
lea rcx, [rsp + 0xf0]
call fcn.1400166f0
mov dword [rsp + 0xf0], 0x68
lea r9, [rsp + 0x570]
lea r8, [rsp + 0x170]
lea rdx, str._s__s
lea rcx, [rsp + 0x770]
call fcn.140018028
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x370]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x770]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140010fd3
cmp dil, 1
jne 0x140010fad
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call fcn.140013500
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or edx, 0xffffffff
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140011001
lea rdx, [rsp + 0x770]
lea rcx, [rsp + 0x1370]
call fcn.14000e080
mov rdx, rax
lea rcx, str.CreateProcess_Failed__s
call fcn.14000adf0
mov dword [0x1400434f8], 1
mov rcx, qword [rsp + 0x1b70]
xor rcx, rsp
call fcn.1400161c0
lea r11, [rsp + 0x1b80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret