Function at 0x140010700
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1a8
movaps xmmword [rsp + 0x190], xmm6
mov rbx, r8
mov qword [rsp + 0x68], rdx
mov r12, rcx
mov rax, qword [0x1400f6398]
xor rax, rsp
mov qword [rsp + 0x188], rax
movaps xmm6, xmmword [section..rdata]
lea rdi, [rsp + 0x170]
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchProcess
lea r8, str..._.._base_process_launch_win.cc
lea rsi, [rsp + 0xf0]
mov rcx, rsi
mov r9d, 0xce
call fcn.14000a300
lea r8, [0x1400f9ac4]
mov rcx, rdi
mov rdx, rsi
call fcn.1400114c0
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsi + 0x70], r13
movaps xmmword [rsi + 0x60], xmm6
movaps xmmword [rsi + 0x50], xmm6
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0xf0]
call fcn.1400110e0
cmp dword [rbx + 0x24], 1
sete r15b
mov rbp, qword [rbx + 0x28]
mov rsi, qword [rbx + 0x30]
cmp rbp, rsi
je 0x140010bac
mov rax, rsi
sub rax, rbp
sar rax, 3
cmp rax, 0x1fffffff
ja 0x140010b9d
mov rcx, qword [rbp]
mov edx, 1
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140010bb3
lea rax, [rbp + 8]
cmp rax, rsi
je 0x140010859
mov rcx, qword [rax]
mov edx, 1
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140010e1a
lea rax, [rbp + 0x10]
cmp rax, rsi
je 0x140010859
mov rcx, qword [rax]
mov edx, 1
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140010e85
add rbp, 0x18
cmp rbp, rsi
jne 0x140010b5f
lea rcx, [rsp + 0xf0]
mov edx, 1
call fcn.140011400
test al, al
je 0x140010b9d
mov r9d, dword [rbx + 0x30]
mov r8, qword [rbx + 0x28]
sub r9d, r8d
and r9d, 0xfffffff8
lea rcx, [rsp + 0xf0]
mov edx, 0x20002
call fcn.140011160
test al, al
je 0x140010b9d
mov r15b, 1
mov esi, 0x80000
cmp byte [rbx + 0x21], 0
jne 0x140010be5
cmp byte [rbx + 0x48], 0
jne 0x140010bf2
mov eax, dword [rsp + 0x134]
mov ecx, eax
or ecx, 1
mov dword [rsp + 0x134], ecx
movzx ecx, byte [rbx + 0x20]
xor ecx, 1
mov word [rsp + 0x138], cx
mov rbp, qword [rbx + 0x58]
mov rdx, qword [rbx + 0x60]
mov rcx, rbp
or rcx, rdx
jne 0x140010c08
cmp qword [rbx + 0x68], 0
jne 0x140010c06
cmp qword [rbx + 0x50], 0
jne 0x140010aec
mov ebp, esi
or ebp, 0x1000000
cmp byte [rbx + 0x70], 0
cmove ebp, esi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
movzx eax, byte [rbx + 0x1f]
test al, al
jns 0x14001093c
mov rax, qword [rbx + 0x10]
mov rsi, qword [rbx + 8]
jmp 0x140010940
lea rsi, [rbx + 8]
test rax, rax
cmove rsi, rax
lea r14, [rsp + 0xf8]
lea rdi, [rsp + 0xb0]
mov qword [rdi + 0x10], r13
movaps xmmword [rdi], xmm6
mov rcx, rdi
mov rdx, qword [rsp + 0x68]
call fcn.140013610
mov rdx, qword [rbx + 0x40]
test rdx, rdx
jne 0x140010c35
xorps xmm0, xmm0
movaps xmmword [rsp + 0x90], xmm0
mov qword [rsp + 0xa0], 0
cmp byte [rbx + 0x90], 0
jne 0x140010cda
cmp qword [rbx + 0x88], 0
jne 0x140010d30
xor eax, eax
movzx ecx, r15b
cmp byte [rsp + 0xc7], 0
jns 0x1400109c4
mov rdx, qword [rsp + 0xb0]
jmp 0x1400109cc
lea rdx, [rsp + 0xb0]
lea rdi, [rsp + 0xd0]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], ecx
xor ecx, ecx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140010d8a
cmp byte [rsp + 0xa7], 0
js 0x140010db4
lea rcx, [rsp + 0x90]
mov qword [rcx + 0x10], r13
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xd0]
call fcn.140010f20
mov rcx, qword [rbx + 0x50]
test rcx, rcx
jne 0x140010b02
cmp byte [rbx + 0x71], 0
jne 0x140010dc6
cmp byte [rbx], 0
jne 0x140010de0
mov edx, dword [rsp + 0xa0]
mov rcx, qword [0x1400f9b80]
test rcx, rcx
jne 0x140010df8
lea rcx, [rsp + 0x90]
call fcn.1400110b0
mov rcx, r12
mov rdx, rax
call fcn.1400111a0
lea rcx, [rsp + 0x90]
call fcn.140011350
cmp byte [rsp + 0xc7], 0
jns 0x140010aa3
mov rcx, qword [rsp + 0xb0]
call fcn.1400897cc
lea rcx, [rsp + 0xf0]
call fcn.140011120
lea rcx, [rsp + 0x170]
call fcn.140011220
mov rcx, qword [rsp + 0x188]
xor rcx, rsp
call fcn.14008b870
mov rax, r12
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.1400136f0
lea ecx, [rsi + 0x1000000]
cmp eax, 5
cmovl esi, ecx
jmp 0x140010904
mov rdx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140010a3d
lea rsi, [rsp + 0x70]
movaps xmmword [rsi], xmm6
lea rcx, [rsp + 0x90]
call fcn.1400110b0
mov rcx, rsi
mov rdx, rax
call fcn.1400111a0
mov rcx, rsi
mov edx, 1
mov r8b, 1
call fcn.1400348d0
mov rcx, r12
xor edx, edx
call fcn.1400111a0
mov rcx, rsi
call fcn.140006060
jmp 0x140010a7f
mov rdi, qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea r15, str..._.._base_process_launch_win.cc
lea r14, [rsp + 0xd0]
mov rcx, qword [rbp]
mov edx, 1
mov r8d, 1
call rdi
test eax, eax
je 0x140010ef0
add rbp, 8
cmp rsi, rbp
je 0x140010859
jmp 0x140010b75
mov rcx, r12
xor edx, edx
call fcn.1400111a0
jmp 0x140010aa3
xor esi, esi
jmp 0x1400108a4
lea rdx, str..._.._base_process_launch_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0xe2
call fcn.140034590
mov rcx, rdi
call fcn.1400345b0
mov rcx, rdi
call fcn.1400345c0
jmp 0x140010802
or byte [rsp + 0x134], 0x80
jmp 0x1400108ae
lea rax, [0x1400bff1a]
mov qword [rsp + 0x108], rax
jmp 0x1400108b8
xor edx, edx
or eax, 0x101
mov dword [rsp + 0x134], eax
mov qword [rsp + 0x148], rbp
mov qword [rsp + 0x150], rdx
mov rax, qword [rbx + 0x68]
mov qword [rsp + 0x158], rax
jmp 0x1400108f9
lea rcx, [rsp + 0x90]
mov qword [rcx], 0
xor r8d, r8d
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x140010ccb
or ebp, 0x400
mov rdx, qword [rsp + 0x90]
movzx r8d, r15b
cmp byte [rsp + 0xc7], 0
jns 0x140010c74
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rbx + 0x40]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], 0
xor edx, edx
mov r8, rdi
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov esi, eax
mov rcx, qword [rsp + 0x90]
call sub.USERENV.dll_DestroyEnvironmentBlock
test esi, esi
jne 0x140010a14
mov rcx, r12
xor edx, edx
call fcn.1400111a0
jmp 0x140010a8c
lea r8, [rbx + 0x78]
lea rdx, [0x1400bff1c]
lea rcx, [rsp + 0x70]
call fcn.1400345e0
cmp byte [rsp + 0xa7], 0
js 0x140010e4c
lea rdi, [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rdi], xmm0
cmp byte [rdi + 0x17], 0
jns 0x140010e07
mov rax, qword [rsp + 0x90]
jmp 0x140010e0f
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140010d8a
lea r8, [rbx + 0x78]
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0x60]
call fcn.1400345e0
cmp byte [rsp + 0xa7], 0
js 0x140010eb7
lea rdi, [rsp + 0x90]
mov rax, qword [rsp + 0x80]
mov qword [rdi + 0x10], rax
movups xmm0, xmmword [rsp + 0x70]
movaps xmmword [rdi], xmm0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140010d19
mov rcx, r12
xor edx, edx
call fcn.1400111a0
cmp byte [rsp + 0xa7], 0
jns 0x140010a8c
mov rcx, qword [rsp + 0x90]
call fcn.1400897cc
jmp 0x140010a8c
mov rcx, qword [rsp + 0x90]
call fcn.1400897cc
jmp 0x140010a14
mov rcx, qword [rsp + 0x90]
call fcn.14001d210
mov ecx, eax
call qword [sym.imp.USER32.dll_AllowSetForegroundWindow]
jmp 0x140010a47
mov rcx, qword [rsp + 0x90]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x140010a50
mov r8, qword [rsp + 0x68]
call fcn.140034a30
jmp 0x140010a67
lea rax, [rsp + 0x90]
or ebp, 0x400
jmp 0x1400109ac
lea rdx, str..._.._base_process_launch_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0xe2
call fcn.140034590
mov rcx, rdi
call fcn.1400345b0
mov rcx, rdi
call fcn.1400345c0
jmp 0x140010827
mov rax, qword [rsp + 0x90]
mov word [rax], 0
mov qword [rsp + 0x98], 0
cmp byte [rsp + 0xa7], 0
jns 0x140010cfd
mov rcx, qword [rsp + 0x90]
call fcn.1400897cc
jmp 0x140010cfd
lea rdx, str..._.._base_process_launch_win.cc
lea rdi, [rsp + 0xd0]
mov rcx, rdi
mov r8d, 0xe2
call fcn.140034590
mov rcx, rdi
call fcn.1400345b0
mov rcx, rdi
call fcn.1400345c0
jmp 0x14001084c
mov rax, qword [rsp + 0x90]
mov word [rax], 0
mov qword [rsp + 0x98], 0
cmp byte [rsp + 0xa7], 0
jns 0x140010d61
mov rcx, qword [rsp + 0x90]
call fcn.1400897cc
jmp 0x140010d61
mov rcx, r14
mov rdx, r15
mov r8d, 0xe2
call fcn.140034590
mov rcx, r14
call fcn.1400345b0
mov rcx, r14
call fcn.1400345c0
jmp 0x140010b8e