Function at 0x1400072f0
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push rbp
push rbx
push rsi
push r14
lea rbp, [rsp - 8]
sub rsp, 0x108
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rax, qword [rcx]
mov rbx, rdx
mov rsi, rcx
cmp byte [rax + 0xd1], 0
je 0x140007327
xor r14b, r14b
jmp 0x140007363
movzx eax, byte [rcx + 0x20]
cmp byte [rcx + 0x21], al
sete dl
call fcn.140007780
test al, al
je 0x14000762b
movzx ecx, byte [rsi + 0x20]
xor r14b, r14b
test cl, cl
je 0x140007363
mov rdx, qword [rsi + 8]
nop dword [rax]
movzx eax, r14b
cmp qword [rdx + rax*8], 0
je 0x140007363
inc r14b
cmp r14b, cl
jne 0x140007350
mov rax, qword [rsi]
mov qword [rsp + 0x148], r12
xor r12d, r12d
cmp byte [rax + 0xd2], r12b
je 0x1400073e2
lea ecx, [r12 + 2]
call fcn.14001108c
mov rcx, rax
lea rdx, str._ls_...
mov r8, rbx
call fcn.140003250
mov rcx, qword [rsi + 0x38]
lea r9, [rbp - 0x20]
lea r8d, [r12 + 0xa]
mov dword [rbp - 0x20], r12d
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadConsoleW]
test eax, eax
je 0x140007623
cmp dword [rbp - 0x20], r12d
je 0x140007623
movzx eax, word [rsp + 0x50]
mov ecx, 0xffdf
sub ax, 0x59
test cx, ax
jne 0x140007623
jmp 0x140007407
cmp byte [rax + 0xd5], r12b
je 0x140007407
mov ecx, 2
call fcn.14001108c
mov rcx, rax
lea rdx, str._ls_n
mov r8, rbx
call fcn.140003250
movzx r8d, r14b
lea rdx, [0x14002e0d8]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x140], rdi
call fcn.140007a60
mov rcx, qword [rsi]
cmp qword [rcx + 0x88], r12
je 0x1400074a1
add rcx, 0x78
cmp qword [rcx + 0x18], 8
jb 0x14000743d
mov rcx, qword [rcx]
lea rdx, [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1400074a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rbx, qword [rsi]
mov edi, eax
add rbx, 0x78
cmp qword [rbx + 0x18], 8
jb 0x140007464
mov rbx, qword [rbx]
mov ecx, 2
call fcn.14001108c
mov r9, rbx
mov dword [rsp + 0x20], edi
lea r8, str.wargs
mov rcx, rax
lea rdx, str._hs:_error_:_SetEnvironmentVariableW__ls__error__u._n
call fcn.140003250
cmp dword [rsi + 0x24], r12d
jne 0x14000761b
mov dword [rsi + 0x24], 1
jmp 0x14000761b
mov rax, qword [rsi + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov ecx, 0xfffffff5
mov dword [rbp - 0x54], 0x100
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x40], rax
mov qword [rsp + 0x100], r15
mov dword [rsp + 0x70], 0x68
movups xmmword [rsp + 0x78], xmm0
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rbp - 0x68], xmm0
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ecx, 0xfffffff4
mov qword [rbp - 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
xor eax, eax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rbx
mov qword [rsp + 0x48], rax
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r15, qword [rsi]
test eax, eax
jne 0x14000759c
cmp qword [r15 + 0x18], 8
jb 0x140007556
mov r15, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 2
mov ebx, eax
call fcn.14001108c
mov r9d, ebx
mov qword [rsp + 0x20], r15
lea r8, str.wargs
mov rcx, rax
lea rdx, str._hs:_error_:_CreateProcessW_error__u_starting__ls_n
call fcn.140003250
mov eax, dword [rsi + 0x24]
test eax, eax
je 0x140007593
jle 0x140007613
mov dword [rsi + 0x24], 0xffffff81
jmp 0x140007613
mov r9, qword [rsp + 0x50]
mov rbx, r9
mov rdi, qword [rsp + 0x58]
mov rcx, r9
cmp byte [r15 + 0xd1], r12b
jne 0x1400075f7
mov rax, qword [rsi + 8]
mov rbx, r12
movzx edx, r14b
lea r8, [rax + rdx*8]
lea rax, [rbp - 0x20]
cmp r8, rax
je 0x1400075e9
mov rax, qword [r8]
mov rcx, r12
mov qword [r8], r9
test rax, rax
je 0x1400075e9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc byte [rsi + 0x21]
jmp 0x1400075f7
inc byte [rsi + 0x21]
test rcx, rcx
je 0x1400075f7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x140007605
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x140007613
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15, qword [rsp + 0x100]
mov rdi, qword [rsp + 0x140]
mov r12, qword [rsp + 0x148]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000ad20
add rsp, 0x108
pop r14
pop rsi
pop rbx
pop rbp
ret