Function at 0x1402a6ee4
Capabilities:
Create process on windows
Create process suspended
Create thread
Get common file path
Resume thread
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x610]
sub rsp, 0x710
mov rax, qword [0x140387a48]
xor rax, rsp
mov qword [rbp + 0x600], rax
mov edi, edx
mov r15, rcx
xor edx, edx
xor ecx, ecx
mov r12, r8
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_CreateJobObjectW]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x1402a6f45
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402a71c6
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
nop dword [rax + rax]
test byte [0x14038bd81], 0x20
mov esi, eax
je 0x1402a6f74
mov r8, r15
lea rdx, [0x140335440]
call fcn.14004186c
lea eax, [rsi - 1]
mov ebx, 0x80004005
cmp eax, 0x102
ja 0x1402a71b7
lea r8, str.RunDLL32.EXE
mov edx, 0x104
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchAppend]
nop dword [rax + rax]
test eax, eax
js 0x1402a71b7
mov r9d, 0x400
mov qword [rsp + 0x20], r15
lea r8, str.RunDLL32.EXE_Shell32.DLL_ShellExec_RunDLL__0x_X__s
mov edx, 0x208
lea rcx, [rbp + 0x1f0]
call fcn.14002d868
test eax, eax
js 0x1402a71b7
xor edx, edx
mov dword [rsp + 0x70], Ordinal_109
lea rcx, [rsp + 0x78]
lea r8d, [rdx + 0x60]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
lea rdx, [rbp + 0x1f0]
mov qword [rsp + 0x60], rax
lea rcx, [rbp - 0x20]
lea rax, [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
and qword [rsp + 0x38], 0
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
and dword [rsp + 0x20], 0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
nop dword [rax + rax]
test eax, eax
jne 0x1402a705a
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402a71b7
mov rdx, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_job_l2_1_0.dll_AssignProcessToJobObject]
nop dword [rax + rax]
test eax, eax
je 0x1402a7076
xor ebx, ebx
jmp 0x1402a7085
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402a717f
test dil, 2
je 0x1402a712b
mov rcx, r14
call fcn.1402a6e60
mov rdi, rax
test rax, rax
jne 0x1402a70ae
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402a714f
lea rax, [rsp + 0x68]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1402a6e10]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x1402a70e3
xor ebx, ebx
jmp 0x1402a70ee
call fcn.140020b4c
mov ebx, eax
test eax, eax
js 0x1402a711a
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
nop dword [rax + rax]
or r8d, 0xffffffff
mov rdx, rsi
call fcn.14009a950
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
jmp 0x1402a714f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ResumeThread]
nop dword [rax + rax]
test dil, 0x40
je 0x1402a714f
mov rdx, qword [rsp + 0x50]
mov rcx, r12
call fcn.14009d98c
test byte [0x14038bd81], 0x20
je 0x1402a717b
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetProcessId]
nop dword [rax + rax]
mov r9, r15
lea rdx, [0x140334f48]
mov r8d, eax
call fcn.1400417a0
test ebx, ebx
jns 0x1402a7195
mov rcx, qword [rsp + 0x50]
mov edx, 5
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x600]
xor rcx, rsp
call fcn.1400a15a0
lea r11, [rsp + 0x710]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret